sup {
  vertical-align: top;
  font-size: 50%;
}
sub {
  vertical-align: top;
  font-size: 50%;
}

@media (max-width: 781px) {
  body {
    --wp--preset--font-size--extra-small: .625rem;
    --wp--preset--font-size--small: .75rem;
    --wp--preset--font-size--base: .875rem;
    --wp--preset--font-size--large: 1rem;
    --wp--preset--font-size--x-large: 1.125rem;
    --wp--preset--font-size--extra-large: 1.25rem;
    --wp--preset--font-size--super-large: 1.5rem;
    --wp--preset--font-size--huge: 2rem;
    --wp--preset--font-size--giant: 2.5rem;
    font-size: var(--wp--preset--font-size--base);
    --wp--preset--spacing--20: 0.5rem;
    --wp--preset--spacing--30: 1.25rem;
    --wp--preset--spacing--40: 1.5rem;
    --wp--preset--spacing--50: 1.75rem;
    --wp--preset--spacing--60: 2.25rem;
    --wp--preset--spacing--70: 2.75rem;
    --wp--preset--spacing--80: 3.25rem;
  }
  br.pc,
  :where(.sp\:hidden) {
    display: none;
  }
}
@media (min-width: 1024px) {
  br.sp,
  :where(.pc\:hidden) {
    display: none;
  }
}

html :is(.has-huge-font-size, .has-giant-font-size){
  line-height: 1.25;
}

:where(.strong) {
  font-weight: 600;
}

a {
  word-break: break-all;
}

:where(.is-root-container, .news-content) a[href]:not(:where(.wp-block-button__link, .wp-block-navigation-item__content)) {
  color: var(--bg--color--type-link);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
:where(.has-text-color, .news-header, .owned-media-item, .releases-item, .important-notices, #breadcrumbs) a[href] {
  color: inherit;
}
a[href]:hover {
  text-decoration: none;
}
:where(a:hover img:not(.swiper img)) {
  opacity: 0.6;
}
:is(.wp-block-biglobe-icon.is-style-covered, .is-style-card, .releases-item, .owned-media-item) a:hover::after {
  background-color: #fff;
  opacity: 0.4;
}

/* bg, layout */

.is-root-container > .has-background {
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  --padding-y: clamp(80px, calc((100vw - 800px) * 0.25), 120px);
  padding-top: var(--padding-y);
  padding-bottom: var(--padding-y);
}
.is-root-container > .has-background *:first-child {
  margin-block-start: 0;
}

.is-style-left-space {
  max-width: var(--wp--style--global--content-size);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(0px, calc(100vw - 800px), 320px);
}

.is-style-with-circle {
  position: relative;
}
.is-style-with-circle > * {
  position: relative;
}
.is-style-with-circle::before {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  --circle-radius: clamp(600px, calc(780 / 1280 * 100vw), 87.5vh);
  width: var(--circle-radius);
  aspect-ratio: 1;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Ccircle cx='800' cy='800' r='800'/%3E%3C/svg%3E%0A");
  mask-size: cover;
  background-color: hsl(207, 3%, 100%);
}
.is-style-with-circle.has-bg-dark-background-color::before {
  background-color: var(--bg--color--brand);
}

/* headings */

:is([class^=wp-block], p, ul, ol):first-child {
  margin-block-start: 0;
}

html :is(.editor-styles-wrapper, .is-layout-constrained) h2.wp-block-heading:nth-child(n + 2) {
  margin-block-start: 8rem;
}
@media (min-width: 1024px) {
  h2.wp-block-heading:not(.is-style-plain)::after {
    width: 3rem;
    height: 4px;
  }
}
@media (max-width: 781px) {
  html :is(.editor-styles-wrapper, .is-layout-constrained) h2.wp-block-heading:nth-child(n + 2) {
    margin-block-start: 4rem;
  }
}

:is(h2, h3).wp-block-heading:not(.is-style-plain, .has-text-color, .has-background :is(h2, h3)) {
  color: var(--bg--color--bg-dark);
}

.wp-block-biglobe-heading-with-en h4 {
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}
.wp-block-biglobe-heading-with-en h2 {
  font-size: clamp(1.5rem, 2.1875vw, 1.75rem);
  font-weight: 400;
  line-height: 1.3125;
  margin-top: 0.25em;
}
.has-bg-dark-background-color .wp-block-biglobe-heading-with-en {
  color: #fff;
}
.wp-block-biglobe-heading-with-en h4:not(.has-bg-dark-background-color h4) {
  color: var(--bg--color--bg-dark);
}

/* list */

:is(.editor-styles-wrapper, .is-layout-constrained) :where(:not(.wp-block-query)) li:not(.wp-block-navigation-item) {
  margin-top: .5em;
}
:is(.editor-styles-wrapper, .is-layout-constrained) ul li::marker {
  color: var(--bg--color--icon-primary);
}

ol.is-style-circle-num {
  counter-reset: my-counter;
  list-style: none;
  padding: 0;
}
ol.is-style-circle-num li {
  padding-left: 2em;
}
ol.is-style-circle-num li:before {
  content: counter(my-counter);
  counter-increment: my-counter;
  background-color:  var(--bg--color--icon-primary);
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 1.25em;
  width: 1.25em;
  vertical-align: middle;
  color: #ffffff;
  line-height: 1;
  padding-bottom: 0.1em;
  box-sizing: border-box;
  margin-left: -2em;
  margin-right: .75em;
}

/* table */

:is(.wp-block-table) :is(table):not(td table) {
  border-bottom: 1px solid var(--bg--color--button-disable);
}
:is(.wp-block-table) :is(th, td) {
  border: none;
  border-top: 1px solid var(--bg--color--button-disable);
  padding: 1.5em 0;
}
:is(.wp-block-table) :is(th) {
  font-weight: 500;
  white-space: nowrap;
  padding-right: 1em;
  text-align: left;
  vertical-align: top;
}
:is(.wp-block-table) :is(p) {
  line-height: inherit;
  margin-block-end: 0;
}
:is(.wp-block-table) :is(p):first-child {
  margin-block-start: 0;
}
@media (max-width: 1023px) {
  :is(.wp-block-table) :is(th, td):not(:where(th, td) :is(th, td)) {
    display: block;
    border: none;
    padding: 0;
  }
  :is(.wp-block-table) tr:not(:where(th, td) tr) {
    display: block;
    border-top: 1px solid var(--bg--color--button-disable);
    padding: 1.5em 0;
  }
  :is(.wp-block-table) td:not(:where(th, td) td) {
    padding-top: 1em;
  }
}

:is(.wp-block-table :where(th, td)) table {
  width: auto;
}
:is(.wp-block-table :where(th, td)) table :is(th, td) {
  border: none;
  padding: .5em 0;
}
:is(.wp-block-table :where(th, td)) table :is(th, td):first-child {
  padding-right: 1em;
}

/* button */

html :is(.editor-styles-wrapper, .is-layout-constrained) .wp-element-button {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
html :is(.editor-styles-wrapper, .is-layout-constrained) .wp-block-button:not(.is-style-plain) .wp-element-button {
  min-width: 240px;
}
html :is(.editor-styles-wrapper, .is-layout-constrained) .wp-block-button i[class*=fa] {
  font-size: var(--wp--preset--font-size--base);
  margin-right: 0.75em;
}
html :is(.editor-styles-wrapper, .is-layout-constrained) .wp-block-button.is-style-plain .wp-element-button {
  padding: 0;
  background: none;
  color: var(--bg--color--button-enable);
}
html :is(.editor-styles-wrapper, .is-layout-constrained) .wp-block-button.is-style-fill .wp-element-button:hover {
  background-color: var(--bg--color--button-hover);
  color: #fff;
}
html :is(.editor-styles-wrapper, .is-layout-constrained) .wp-block-button:where(.is-style-outline, .is-style-plain) .wp-element-button:hover {
  background-color: var(--bg--color--button-hover-light);
}
html :is(.editor-styles-wrapper, .is-layout-constrained) .is-style-in_page .wp-block-button .wp-block-button__link {
  position: relative;
  padding-left: 2rem;
  padding-right: 2rem;
}
html :is(.editor-styles-wrapper, .is-layout-constrained) .is-style-in_page .wp-block-button .wp-block-button__link::before {
  content: '';
  width: 1.5em;
  height: 1.5em;
  mask-image: var(--bg--icon--allow-downward);
  mask-size: contain;
  mask-repeat: no-repeat;
  background-color: currentColor;
  position: absolute;
  right: .75em;
}
@media (max-width: 781px) {
  .wp-block-button .wp-element-button.wp-block-button__link {
    font-size: var(--wp--preset--font-size--base);
  }
}

/* media text, columns, image */

.is-style-outline:where(.wp-block-media-text, .wp-block-columns, .wp-block-image) {
  border: 2px solid var(--bg--color--button-disable);
  border-radius: 1rem;
  overflow: hidden;
}
.wp-block-media-text .wp-block-media-text__media {
  border-radius: 4px;
  overflow: hidden;
}
html :is(.wp-block-media-text) p {
  line-height: 1.5;
}
.is-style-outline:where(.wp-block-media-text) .wp-block-media-text__content {
  padding: max(1rem, 8%);
  padding-bottom: max(1.5rem, 10%);
}

.is-style-inset-shadow:where(.wp-block-media-text, .wp-block-columns, .wp-block-image) {
  border-radius: 4px;
  position: relative;
}
.is-style-inset-shadow:where(.wp-block-media-text, .wp-block-columns, .wp-block-image)::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.16) inset;
  pointer-events: none;
}

.is-style-card:where(.wp-block-media-text, .wp-block-columns, .wp-block-column, .wp-block-group) {
  background-color: #fff;
  padding: 0;
  overflow: hidden;
  border-radius: .5rem;
}
.is-style-card:where(.wp-block-media-text, .wp-block-columns, .wp-block-column, .wp-block-group) {
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.08), 0px 1px 6px rgba(0, 0, 0, 0.08);
}

.is-type-video .wp-block-embed__wrapper {
  border-radius: 1rem;
  overflow: hidden;
}

/* navigation */
.wp-block-navigation.is-layout-flex {
  row-gap: 1em;
  column-gap: 2em;
}
.wp-block-navigation-item {
  font-size: var(--wp--preset--font-size--small);
}
.wp-block-biglobe-icon a {
  color: var(--bg--color--icon-primary);
}
.is-style-card:has(.wp-block-biglobe-icon.is-style-covered a) {
  position: relative;
}
.wp-block-biglobe-icon.is-style-covered a::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
}
