:root {
  --color-brand: #009e96;
  --color-text: #292929;
  --color-text-muted: #777777;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f7f2;
  --color-news-card: #f3f8f6;
  --color-placeholder: #e8eceb;
  --color-line: #ececec;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --space-side: 80px;
  --hero-side: 24px;
  --content: 1280px;
  --header-height: 100px;
  --radius-hero: 60px;
  --radius-card: 24px;
  --radius-button: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
p,
h1,
h2,
h3 {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

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

.section-inner {
  width: min(100% - (var(--space-side) * 2), var(--content));
  margin-inline: auto;
}

.site-header {
  background: var(--color-bg);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 var(--space-side);
}

.site-header__logo {
  margin: 0;
}

.site-header__logo a {
  display: block;
}

.site-header__logo img {
  width: 180px;
  height: 89px;
  object-fit: contain;
}

.site-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-header__toggle-bar,
.site-header__toggle-bar::before,
.site-header__toggle-bar::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--color-text);
  content: "";
}

.site-header__toggle-bar::before,
.site-header__toggle-bar::after {
  position: relative;
}

.site-header__toggle-bar::before {
  top: -7px;
}

.site-header__toggle-bar::after {
  top: 5px;
}

.site-nav .menu {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.site-nav .menu > .menu-item {
  position: relative;
}

.site-nav__parent {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a:focus-visible,
.site-nav__subtoggle:focus-visible,
.site-header__toggle:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

.site-nav__subtoggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.site-nav__subtoggle::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.menu-item-has-children.is-open > .site-nav__parent > .site-nav__subtoggle::before {
  transform: translateY(2px) rotate(-135deg);
}

.site-nav .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.site-nav .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.site-nav .sub-menu a {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 24px;
  white-space: nowrap;
}

.site-nav .sub-menu a:hover {
  color: var(--color-brand);
}

.menu-item-has-children.is-open > .sub-menu,
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

.site-nav__external {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-left: 6px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath stroke='black' stroke-width='1.5' d='M6 3H3.5A1.5 1.5 0 0 0 2 4.5v8A1.5 1.5 0 0 0 3.5 14h8a1.5 1.5 0 0 0 1.5-1.5V10M9 2h5v5M7 9l7-7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath stroke='black' stroke-width='1.5' d='M6 3H3.5A1.5 1.5 0 0 0 2 4.5v8A1.5 1.5 0 0 0 3.5 14h8a1.5 1.5 0 0 0 1.5-1.5V10M9 2h5v5M7 9l7-7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero {
  padding: 50px var(--hero-side) 0;
}

.hero__frame {
  position: relative;
  height: 800px;
}

.hero__media {
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-hero);
  background: var(--color-placeholder);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 28%),
    linear-gradient(to left, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 28%);
  pointer-events: none;
}

.hero__catch {
  position: absolute;
  top: -55px;
  margin: 0;
  font-size: 110px;
  font-weight: 700;
  line-height: 120px;
  color: var(--color-brand);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0;
}

.hero__catch--kitamoto {
  left: 18%;
}

.hero__catch--hagukumu {
  right: 18%;
}

.news {
  padding: 56px 0 40px;
}

.news__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 32px;
  margin-bottom: 44px;
  padding-left: max(var(--space-side), calc((100% - var(--content)) / 2));
  padding-right: var(--hero-side);
}

.news__intro {
  flex: 1 1 28rem;
  min-width: min(100%, 28rem);
}

.news__heading {
  font-size: 40px;
  font-weight: 700;
  line-height: 56px;
  color: var(--color-brand);
}

.heading-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 32px;
}

.heading-accent::before,
.heading-accent::after {
  content: "";
  background: var(--color-brand);
}

.heading-accent::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.heading-accent::after {
  width: 48px;
  height: 3px;
}

.heading-accent--left {
  justify-content: flex-start;
}

.news__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.news__intro .news__tags {
  margin-bottom: 0;
}

.news-promo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 20px;
  width: auto;
  min-height: 200px;
  margin-top: -28px;
  padding: 0 20px 0 0;
  overflow: hidden;
  background: var(--color-news-card);
  border-radius: var(--radius-card);
  color: inherit;
}

.news-promo__image {
  flex: 0 0 auto;
  width: calc(200px * 1241 / 1754 + 20px);
  height: 200px;
  overflow: hidden;
}

.news-promo__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.news-promo__body {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  padding: 14px 0;
}

.news-promo__title {
  color: var(--color-brand);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.news-promo__detail {
  margin-top: 7px;
  color: var(--color-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.news-promo__lead {
  margin-top: 6px;
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.news__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-button);
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 500;
}

.news__tag.is-active {
  background: var(--color-brand);
  color: #fff;
}

.news__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--color-news-card);
  border-radius: var(--radius-card);
}

.news-card__link {
  display: block;
  padding: 16px;
}

.news-card__image {
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--color-placeholder);
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__content {
  padding-top: 16px;
}

.news-card__meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  line-height: 20px;
}

.news-card__meta time {
  color: var(--color-text-muted);
}

.news-card__meta span {
  color: var(--color-brand);
}

.news-card__title {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__excerpt {
  margin-top: 8px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news__more {
  margin-top: 26px;
  text-align: right;
}

.news__more a {
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 500;
}

.activities {
  padding: 32px 0 80px;
}

.activities__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.activities__heading-en {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-brand);
}

.about__heading-en {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.activities__heading-jp,
.about__heading-jp {
  display: block;
  font-size: 40px;
  font-weight: 700;
  line-height: 56px;
}

.activity {
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 80px;
  align-items: stretch;
  min-height: 360px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-line);
}

.activity--reverse {
  grid-template-columns: 600px 1fr;
}

.activity--reverse .activity__body {
  order: 2;
}

.activity__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 40px;
}

.activity__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 56px;
}

.activity__text {
  max-width: 500px;
  margin: 12px 0 auto;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.activity__media {
  width: 100%;
  min-height: 312px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--color-placeholder);
}

.activity__media img,
.activity-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-card__image {
  height: 240px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-button);
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.button--solid {
  min-width: 220px;
  height: 56px;
  background: var(--color-brand);
  color: #fff;
}

.activities__sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.activity-card__link {
  display: block;
  color: inherit;
}

.activity-card__image {
  overflow: hidden;
  border-radius: 20px;
  background: var(--color-placeholder);
}

.activity-card__title {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 700;
}

.about {
  padding: 64px 0;
  background: var(--color-bg-soft);
}

.about__heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about__text {
  max-width: 640px;
  margin: 40px 0 52px;
  font-size: 16px;
  line-height: 1.8;
}

.site-footer {
  background: var(--color-brand);
  color: #fff;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 80px;
  width: min(100% - (var(--space-side) * 2), var(--content));
  margin: 0 auto;
  padding: 64px 0 48px;
}

.site-footer__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.site-footer__description {
  margin-top: 36px;
  font-size: 16px;
  line-height: 24px;
}

.site-footer__nav .menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  line-height: 24px;
}

.site-footer__copyright {
  grid-column: 1 / -1;
  margin-top: 40px;
  font-size: 12px;
  line-height: 24px;
}

@media (max-width: 1100px) {
  :root {
    --space-side: 40px;
  }

  .activity,
  .activity--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .activity--reverse .activity__body {
    order: 0;
  }

  .activity__body {
    padding: 0;
  }

  .hero {
    padding-top: 24px;
  }

  .hero__frame {
    height: 520px;
  }

  .hero__media {
    border-radius: 32px;
  }

  .hero__catch {
    font-size: 64px;
    line-height: 72px;
    top: 16px;
  }

  .news__cards,
  .activities__sub {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .news-promo {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --space-side: 20px;
    --header-height: 72px;
  }

  .site-header__logo img {
    width: 132px;
    height: auto;
  }

  .site-header__toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-height);
    z-index: 20;
    background: #fff;
    padding: 16px 20px 24px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  }

  .site-header {
    position: relative;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav .menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
  }

  .site-nav .menu > .menu-item {
    width: 100%;
  }

  .site-nav__parent {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav__subtoggle {
    width: 40px;
    height: 40px;
  }

  .menu-item-has-children:hover > .sub-menu,
  .menu-item-has-children:focus-within > .sub-menu {
    display: none;
  }

  .menu-item-has-children.is-open > .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    margin-top: 4px;
    padding: 0 0 8px 12px;
    box-shadow: none;
  }

  .site-nav .sub-menu::before {
    content: none;
  }

  .site-nav .sub-menu a {
    white-space: normal;
    padding: 8px 8px 8px 4px;
  }

  .hero__frame {
    height: 420px;
  }

  .hero__media {
    border-radius: 24px;
  }

  .hero__catch {
    font-size: 40px;
    line-height: 48px;
  }

  .hero__catch--kitamoto {
    left: 8%;
  }

  .hero__catch--hagukumu {
    right: 8%;
  }

  .news {
    padding-top: 80px;
  }

  .news__top {
    padding-left: var(--space-side);
    padding-right: var(--space-side);
  }

  .news__heading,
  .activities__heading-jp,
  .about__heading-jp {
    font-size: 28px;
    line-height: 40px;
  }

  .news-promo {
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-height: 0;
    padding: 20px 0 0;
    box-shadow: none;
  }

  .news-promo__image {
    width: auto;
    height: 250px;
    aspect-ratio: 1241 / 1754;
    margin-inline: auto;
  }

  .news-promo__image img {
    object-fit: contain;
    object-position: center;
  }

  .news-promo__body {
    flex: 1 1 auto;
    width: 100%;
    padding: 14px 16px 16px;
  }

  .news-promo__title {
    font-size: 22px;
  }

  .news-promo__detail {
    font-size: 18px;
  }

  .news-promo__lead {
    font-size: 13px;
  }

  .news__tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news__tag {
    width: 100%;
    min-width: 0;
  }

  .activity__title {
    font-size: 24px;
    line-height: 36px;
  }

  .activity__body .button {
    margin-top: 24px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    padding: 48px 0 32px;
  }
}

.news-archive {
  padding-bottom: 80px;
}

.news-archive__empty {
  padding: 48px 0 80px;
  color: var(--color-text-muted);
}

.pagination {
  margin-top: 48px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-button);
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 500;
}

.pagination .page-numbers.current {
  background: var(--color-brand);
  color: #fff;
}

.pagination .page-numbers.dots {
  border: 0;
}

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

.news-single {
  padding: 80px 0;
}

.news-single__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 56px;
}

.news-single__meta {
  margin-top: 16px;
}

.news-single__image {
  width: 100%;
  min-height: 280px;
  margin: 32px 0 40px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-placeholder);
}

.news-single__image img {
  width: 100%;
  height: auto;
}

.news-single__body {
  max-width: 800px;
}

.news-single__body > * + * {
  margin-top: 1.25em;
}

.news-single__body a {
  color: var(--color-brand);
  text-decoration: underline;
}

.news-single__body h2,
.news-single__body h3,
.news-single__body h4 {
  font-weight: 700;
  line-height: 1.4;
}

.news-single__body h2 {
  font-size: 28px;
}

.news-single__body h3 {
  font-size: 22px;
}

.news-single__body ul,
.news-single__body ol {
  padding-left: 1.5em;
  list-style: revert;
}

.news-single__body li + li {
  margin-top: 0.4em;
}

.news-single__body blockquote {
  margin: 1.5em 0;
  padding: 16px 24px;
  border-left: 3px solid var(--color-brand);
  background: var(--color-bg-soft);
}

.news-single__body figure,
.news-single__body .wp-block-image {
  margin: 1.5em 0;
}

.news-single__body figcaption {
  margin-top: 8px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.news-single__back {
  margin-top: 48px;
}

.news-single__back a {
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .news-single {
    padding: 48px 0;
  }

  .news-single__title {
    font-size: 28px;
    line-height: 40px;
  }

  .news-single__image {
    min-height: 180px;
    margin: 24px 0 32px;
  }

  .news-single__body h2 {
    font-size: 22px;
  }
}

.contents {
  padding: 80px 0;
}

.contents__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 56px;
  color: var(--color-brand);
}

.contents__heading {
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
}

.contents__hero {
  margin-top: 32px;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.contents__hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}

.contents__latest,
.contents__history {
  margin-top: 56px;
}

.contents__event {
  margin-top: 32px;
}

.contents__event-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-brand);
}

.contents__event-text {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.8;
}

.contents__event-more {
  margin-top: 12px;
}

.contents__event-more a {
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 500;
}

.contents__event + .contents__latest {
  margin-top: 40px;
}

.contents__notice {
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.8;
}

.contents__posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.contents-post {
  padding: 24px;
  background: var(--color-news-card);
  border-radius: var(--radius-card);
}

.contents-post .news-card__image {
  margin-bottom: 16px;
}

.contents-post__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.contents-post__title a:hover {
  color: var(--color-brand);
}

.contents-post .news-card__meta {
  margin-top: 12px;
}

.contents-post__excerpt {
  margin-top: 12px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.contents-post__more {
  margin-top: 16px;
}

.contents-post__more a {
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 500;
}

.contents__body {
  max-width: 800px;
}

.contents__body > * + * {
  margin-top: 1.25em;
}

.contents__body a {
  color: var(--color-brand);
  text-decoration: underline;
}

.contents__body h2,
.contents__body h3,
.contents__body h4 {
  font-weight: 700;
  line-height: 1.4;
}

.contents__body ul,
.contents__body ol {
  padding-left: 1.5em;
  list-style: revert;
}

@media (max-width: 768px) {
  .contents {
    padding: 48px 0;
  }

  .contents__title {
    font-size: 28px;
    line-height: 40px;
  }

  .contents__heading {
    font-size: 24px;
    line-height: 36px;
  }

  .contents__hero {
    border-radius: 16px;
  }

  .contents__hero img {
    aspect-ratio: 16 / 9;
  }

  .contents__latest,
  .contents__history {
    margin-top: 40px;
  }

  .contents__event {
    margin-top: 24px;
  }

  .contents__event-title {
    font-size: 20px;
  }

  .contents__event + .contents__latest {
    margin-top: 32px;
  }

  .contents__posts {
    grid-template-columns: 1fr;
  }
}

.contents__hero--fit img {
  aspect-ratio: auto;
  object-fit: contain;
}
