html :where(.wp-block) {
  max-width: calc(var(--size-1240) + var(--size-40)) !important;
}

html :where(.editor-styles-wrapper) {
    padding: 0px !important;
}

body .editor-styles-wrapper {
  font-family: "Noto Sans JP", sans-serif !important;
}

.max-w {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
}

[contenteditable]:focus {
  outline: none !important;
}

.editor-styles-wrapper .wp-block-custom-gutenberg-blocks-list {
  li.u-list-wrap > .block-editor-rich-text__editable {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  [data-rich-text-placeholder],
  [data-rich-text-placeholder]::before {
    display: none !important;
    content: none !important;
  }

  li.u-list-wrap {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

}

/* Module line-height */
.l-page-header__sub-title {
  line-height: 1.5 !important;
}

.l-page-header__read {
  line-height: 1.6 !important;
}

.l-navigation__tabs-link {
  line-height: 1.4 !important;
}

.p-page-desc__texts{
  line-height: 1.6 !important;
}

.p-page__image-with-text__text {
  line-height: 1.6 !important;
}

.p-page__image-with-text__text p{
  line-height: 1.6 !important;
}

.p-page__image-with-text__image-caption {
  line-height: 1.15 !important;
}

.p-page-personal__text{
  line-height: 1.6 !important;
}

.p-page-text-link{
  line-height: 1.6 !important;
}

.c-button {
  line-height: 1.6 !important;
}

.l-navigation__anchors-link-wrap{
  font-size: 16px;
}

.p-page-card__label{
  line-height: 1.4 !important;
}

.p-page-card__text {
  line-height: 1.6 !important;
}

.p-page-image-with-text__label {
  line-height: 1.4 !important;
}

.p-page-image-with-text__text {
  line-height: 1.6 !important;
}

.p-page-image__caption{
  line-height: 1.4 !important;
}

.p-page-movies__text{
  line-height: 1.6 !important;
}

.p-page-contact__desc {
  line-height: 1.6 !important;
}

.p-page__image-with-text.u-col-2 .p-page__image-with-text-contents {
  margin-top: 0;
  margin-bottom: 0;
}

/*Required*/
.field-required::after {
  display: inline-block;
  margin-inline: 0.15em;
  content: "*";
  color: var(--color-maximumred);
  font-size: 0.875rem;
}

.c-reload-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.6);
  z-index: 10;
}

.c-reload-spinner {
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

.is-error .components-text-control__input { 
  border-color:#d63638;
}
