#wpadminbar ul#wp-admin-bar-root-default > li {
  width: auto !important;
}

#wpadminbar * {
  height: 16px !important;
}

.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
  font-size: none; /* ブラウザ or 親スタイルに戻す */
  margin: none;
  padding: none;
  font-weight: none;
}

.wp-block {
  margin-bottom: 1em;
}

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

a {
  color: var(--wp--preset--color--link);
  text-decoration: none;
}

.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--style--block-gap, 1em);
  width: 100%;
  max-width: 980px;
}
.wp-block-column {
  flex: 1;
  min-width: 0;
}

/* ここからCSS */

/* editor.css */

/* 全体のリセット */
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  box-sizing: border-box;
}

/* 要素ごとのベースリセット */
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote {
  width: -webkit-fill-available !important;
  margin: 0;
  padding: 0;
  font-weight: normal;
  list-style: none;
  border: none;
  max-width: 980px;
}

.wp-block-list {
  list-style: none;
  padding-left: 1.5em;
  margin: 1em 0;
}

.wp-block-list li {
  position: relative;
  margin-bottom: 0.6em;
  padding: 0 1.2em;
  font-weight: 500;
  line-height: 1.6;
}

.wp-block-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -0.15em;
  font-size: 1.2em;
  color: #ff8d00;
  font-weight: bold;
}

h1 {
  color: #222;
  font-size: 28px !important;
  padding: 0px 12px;
  display: block;
  font-weight: 700;
  margin: 24px;
}
h2 {
  color: #222;
  background-color: rgba(0, 0, 0, 0);
  font-size: 24px !important;
  padding: 16px;
  display: block;
  border: 2px solid #ff8d00;
  box-shadow: 5px 8px 0 #ff8d00;
  font-weight: 700;
  margin: 24px;
}
h3 {
  color: #222;
  font-size: 18px !important;
  padding: 10px 20px;
  display: block;
  border-left: 6px solid #ff8d00;
  position: relative;
  margin: 24px;
}
h4 {
}
h5 {
}
h6 {
}

.wp-block-sgb-box {
  width: 100% !important;
  max-width: 980px;
}

.wp-block-sgb-box p {
  padding: 24px;
  padding-top: 0px;
  width: 100% !important;
}

.wp-block-group {
  width: 100%;
  max-width: 980px;
  display: grid;
}

.wp-block-media-text {
  display: flex;
  flex-direction: row;
  padding: 16px;
  width: 100%;
  max-width: 980px;
  align-items: center;
}

.wp-block-media-text figure {
  flex: 1;
}

.wp-block-media-text__content {
  flex: 1;
}

#widgets-editor .box6,
.block-editor .box6,
.editor-styles-wrapper .box6 {
  border: none !important;
  background: none !important;
}

:where(.editor-styles-wrapper)
  .is-layout-constrained
  > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  margin: 0 !important;
  width: 100% !important;
}

body {
  background-color: #fff !important;
}

[id^="sgb-css-id"] {
  width: 100%;
  max-width: 980px;
}

.wp-block-gallery {
  width: 100%;
}

.wp-block-image.size-large {
  flex: 1;
}

.wp-block-image.size-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* v2-block-title01-ja */

.v2-block-title01-ja {
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: none;
  padding: 16px;
}

.v2-block-title01-ja h4 {
  width: 100% !important;
  max-width: 100% !important;
  font-size: 20px !important;
  color: #f3820b;
  font-weight: 600;
  position: relative;
  margin-bottom: 24px;
  width: fit-content;
  line-height: 1.3;
  font-family: "heisei-kaku-gothic-std";
}

.v2-block-title01-ja h4::before {
  content: "";
  width: 48px;
  left: 0px;
  position: absolute;
  height: 2px;
  background-color: #f3820b;
  bottom: -10px;
}

.v2-block-title01-ja h3 {
  width: 100% !important;
  max-width: 100% !important;
  color: #181818;
  font-family: "heisei-kaku-gothic-std";
  font-size: 40px !important;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  padding: 0px !important;
  border-left: none !important;
  margin: 0 !important;
}

/* .v2-block-title02-ja */

.v2-block-title02-ja {
  width: 100%;
  max-width: 980px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background-color: none;
  padding: 16px;
}

.v2-block-title02-ja .sub-title {
  width: 100% !important;
  max-width: 100% !important;
  font-size: 14px !important;
  color: #f3820b;
  font-weight: 600;
  position: relative;
  margin-bottom: 4px;
  width: fit-content;
  line-height: 1.3;
  font-family: "heisei-kaku-gothic-std";
  padding-left: 12px;
}

.v2-block-title02-ja .sub-title::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background-color: #f3820b;
}

.v2-block-title02-ja .main-title {
  width: 100% !important;
  max-width: 100% !important;
  color: #181818;
  font-family: "heisei-kaku-gothic-std";
  font-size: 32px !important;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
}

/* v2-block-box-row */

.v2-block-box-row {
  width: -webkit-fill-available;
  max-width: 980px;
  background-color: #fef9f3;
  padding: 48px;
  border-radius: 4px;
  display: flex;
  gap: 0px;
  padding: 16px;
  margin: 0px 20px;
}

.v2-block-box-row h4 {
  width: 100% !important;
  max-width: 100% !important;
  font-size: 20px !important;
  color: #f3820b;
  font-weight: 600;
  position: relative;
  margin-bottom: 4px;
  width: fit-content;
  line-height: 1.3;
  font-family: "heisei-kaku-gothic-std";
}

.v2-block-box-row h4::before {
  content: "";
  width: 48px;
  left: 0px;
  position: absolute;
  height: 2px;
  background-color: #f3820b;
  bottom: -10px;
}

.v2-block-box-row h3 {
  width: 100% !important;
  max-width: 100% !important;
  color: #181818;
  font-family: "heisei-kaku-gothic-std";
  font-size: 24px !important;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
}

/* v2-block-main-visual */

.v2-block-main-visual {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  width: 100%;
  max-width: 100% !important;
  height: 640px;
  margin-top: 100px;
  margin-bottom: 48px;
  background-color: #ff8d00;
}

.v2-block-main-visual-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  z-index: 0;
  max-height: 640px !important;
}

.v2-block-main-visual .wp-block-group {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: row;
  width: 100%;
  height: 100%;
  max-width: 100%;
}

.v2-block-main-visual-fr .wp-block-group {
  display: flex;
  flex-direction: column;
  color: #ffffff;
  flex: 1;
  justify-content: flex-end;
  position: absolute;
  z-index: 10;
  width: 100%;
  max-width: 980px;
  height: auto;
  align-items: flex-start;
  padding: 0 20px;
  margin-bottom: 48px;
}

.v2-block-main-visual-sub-heading {
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: bold;
  color: #fff;
}

.v2-block-main-visual-main-heading {
  font-size: 48px;
  font-weight: 900;
  line-height: 56px;
  color: #fff;
  margin-bottom: 20px;
}

.v2-block-main-visual-mi {
  position: relative;
  z-index: 2;
  flex: 1;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
}

.v2-block-main-visual-mi img {
  height: 100%;
  object-fit: cover !important;
  max-height: 100% !important;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  width: 60% !important;
}

.wp-block-gallery.is-layout-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 16px;
  max-width: 980px;
}

.wp-block-gallery.is-layout-flex img {
  width: 100%;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: contain;
}

/* 1カラム */
.wp-block-gallery.columns-1 > .wp-block-image,
.wp-block-gallery.has-1-columns > .wp-block-image {
  flex: 0 0 100%;
}

/* 2カラム */
.wp-block-gallery.columns-2 > .wp-block-image,
.wp-block-gallery.has-2-columns > .wp-block-image {
  flex: 0 0 calc(50% - 1rem);
}

/* 3カラム */
.wp-block-gallery.columns-3 > .wp-block-image,
.wp-block-gallery.has-3-columns > .wp-block-image {
  flex: 0 0 calc(33.3333% - 1rem);
}

/* 4カラム */
.wp-block-gallery.columns-4 > .wp-block-image,
.wp-block-gallery.has-4-columns > .wp-block-image {
  flex: 0 0 calc(25% - 1rem);
}

/* 5カラム */
.wp-block-gallery.columns-5 > .wp-block-image,
.wp-block-gallery.has-5-columns > .wp-block-image {
  flex: 0 0 calc(20% - 1rem);
}

/* 6カラム */
.wp-block-gallery.columns-6 > .wp-block-image,
.wp-block-gallery.has-6-columns > .wp-block-image {
  flex: 0 0 calc(16.6667% - 1rem);
}

/* 7カラム */
.wp-block-gallery.columns-7 > .wp-block-image,
.wp-block-gallery.has-7-columns > .wp-block-image {
  flex: 0 0 calc(14.2857% - 1rem);
}

/* 8カラム */
.wp-block-gallery.columns-8 > .wp-block-image,
.wp-block-gallery.has-8-columns > .wp-block-image {
  flex: 0 0 calc(12.5% - 1rem);
}

.wp-block-spacer {
  height: 64px !important;
}

.wp-block-button__link {
  background: linear-gradient(135deg, #ff8d00 0%, #ffa733 100%);
  color: #fff;
  padding: 0.7em 1.4em;
  border: none;
  border-radius: 9999px; /* pill型 */
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #e67e00 0%, #ff9a1f 100%);
}

.wp-block-buttons {
  gap: 1em;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
}

/* Gutenberg ボタン配置対応 */
.wp-block-buttons.is-content-justification-left {
  justify-content: flex-start;
}

.wp-block-buttons.is-content-justification-center {
  justify-content: center;
}

.wp-block-buttons.is-content-justification-right {
  justify-content: flex-end;
}

.wp-block-buttons.is-layout-flex {
  display: flex;
  width: 100%;
  max-width: 980px;
  padding: 0px 20px;
  gap: 0.5em;
}

.wp-block-button {
  margin: 0;
}

.wp-block-button__link {
  display: inline-block;
}

:where(.editor-styles-wrapper) .wp-block-gallery {
  gap: 0 !important;
}

.v2-block-box-voice {
  display: flex;
  gap: 36px;
  padding: 24px;
}

/* 通常時（680px以上） */
.has-small-font-size {
  font-size: 14px;
}
.has-medium-font-size {
  font-size: 16px;
}
.has-large-font-size {
  font-size: 20px;
}

/* 680px以下 */
@media (max-width: 680px) {
  .has-small-font-size {
    font-size: 14px;
  }
  .has-medium-font-size {
    font-size: 16px;
  }
  .has-large-font-size {
    font-size: 18px;
  }
}

.v2-block-box001-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 4rem 2rem;
  flex-wrap: wrap;
  max-width: 980px;
}

.v2-block-box001-top > .wp-block-group {
  flex: 1;
  /* max-width: 320px; */
}

.v2-block-box001-top > .wp-block-group > .wp-block-buttons {
  padding: 0;
  margin: 0;
}

.v2-block-box001-top-title {
  font-size: 3rem !important;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
  margin-bottom: 1.5rem;
  padding: 0 !important;
  border: none !important;
}

.v2-block-box001-top-subtitle {
  font-size: 14px !important;
  line-height: 2;
  margin-bottom: 2rem;
}

.wp-block-buttons {
  margin-top: 1rem;
}

/* .v2-block-box001-top figure {
  flex: 1 !important;
  min-width: 320px !important;
  max-width: 600px !important;
  margin: 0;
} */

.v2-block-box001-top img {
  width: 100% !important;
  height: auto !important;
  max-height: 9999px !important;
  display: block !important;
  object-fit: cover;
}

/*.v2-block-box002-top*/

.v2-block-box002-top {
  position: relative !important;
  width: 100% !important;
  height: 200px !important;
  overflow: hidden !important;
  max-width: 9999px !important;
}

.v2-block-box002-top > .wp-block-group,
.v2-block-main-visual-mi {
  max-width: 9999px !important;
}

.v2-block-main-visual-fr > .wp-block-group > .frag {
  max-width: 980px !important;
}

/* 背景画像を絶対配置、横100%、高さ200px */
.v2-block-box002-top-bg {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 200px !important;
  z-index: 1 !important;
  max-width: 9999px;
}

.v2-block-box002-top-bg img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* テキスト部分を中央寄せ＋白文字 */
.v2-block-box002-top > .wp-block-group {
  position: relative !important;
  z-index: 2 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  color: white !important;
}

.v2-block-box002-top-title {
  font-size: 64px !important;
  font-weight: bold !important;
  margin: 0 !important;
  color: white !important;
  border: none !important;
  padding: 0 !important;
  line-height: 1.2;
  font-family: "din-2014", sans-serif !important;
}

.v2-block-box002-top-subtitle {
  font-size: 20px !important;
  margin-top: 0px !important;
  color: white !important;
}

.v2-block-title-top-main {
  font-family: "din-2014", "heisei-kaku-gothic-std", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 64px !important;
  letter-spacing: 0;
  line-height: 1.2 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center;
}

.v2-block-title-top-sub {
  font-family: inherit; /* 必要に応じて "din-2014" に揃えてもOK */
  font-size: 20px;
  font-weight: 700;
  line-height: 180%;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  text-align: center;
}

.slider-header {
  width: 100%;
  max-width: 980px;
  margin: 0 20px;
  padding: 64px 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v2-block-box004-top {
  padding: 24px;
}

.v2-block-box004-title {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
}

.v2-block-box004-line {
  height: 1px;
  background-color: #e0e0e0;
  margin: 8px 0 8px 0;
}

.v2-block-box004-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.4;
}

.v2-block-box004-img {
  width: 100%;
  height: auto;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 12px;
  display: block;
  text-align: center;
  font-size: 16px;
  color: #181818;
}

.v2-block-box005-wrap {
  width: 100% !important;
  max-width: 9999px !important;
}

.v2-block-box005-top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  padding: 32px;
  height: 320px;
  background-color: #252525;
}

.v2-block-box005-top .wp-block-buttons.is-layout-flex {
  width: fit-content !important;
  padding: 0 !important;
}

.v2-block-box005-top .wp-block-group.is-layout-grid {
  width: auto !important;
  gap: 16px;
  z-index: 1;
}

.wp-block-group .v2-block-box005-top .wp-block-button__link {
  background: white;
  color: #151515;
  padding: 0.7em 1.4em;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.v2-block-box005-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  line-height: 1.4;
  z-index: 1;
}

.v2-block-box005-subtitle {
  font-size: 14px;
  text-align: center;
  color: #fff;
  z-index: 1;
}

.v2-block-box005-bg {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.recommend-block {
  gap: 24px;
}

.recommend-block .wp-block-media-text__media img {
  max-width: 200px;
}

.recommend-block .wp-block-media-text__media {
  max-width: 200px;
}

.has-text-align-center {
  text-align: center !important;
  padding: 0 20px;
}

.barrier-free-box {
  padding: 0 20px;
}

.barrier-free-box .wp-block-group {
  display: grid;
  align-items: start !important;
}

.barrier-free-box .wp-block-image {
  text-align: center;
  height: fit-content;
}

.barrier-free-box .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.musical-story p {
  padding: 0 20px;
}
.accessibility-musical {
  padding: 0 20px;
}
.musical-schedule {
  width: 100%;
  max-width: 9999px !important;
  background-color: #151515;
}

.musical-schedule .sgb-full-bg {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.musical-schedule .sgb-full-bg .sgb-full-bg__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.musical-schedule
  .sgb-full-bg
  .sgb-full-bg__content
  .wp-block-image.size-large {
  width: 100%;
  max-width: 800px;
}

/* レスポンシブ対応 */

@media (max-width: 640px) {
  .wp-block-spacer {
    height: 24px !important;
  }
  .v2-block-box-row {
    flex-direction: column;
  }
  .wp-block-gallery {
    flex-direction: column;
  }
  .v2-block-main-visual-main-heading {
    font-size: 36px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
  }
  .v2-block-main-visual-sub-heading {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  }
  .v2-block-main-visual {
    height: 480px;
    margin-top: 80px;
  }
  .wp-block-media-text {
    flex-direction: column;
  }
  .v2-block-title01-ja h3 {
    font-size: 32px !important;
  }
  .v2-block-title02-ja .main-title {
    font-size: 24px !important;
  }
  .wp-block-button {
    width: 100%;
  }
  .wp-block-button__link {
    width: 100%;
    text-align: center;
  }
  .wp-block-gallery.columns-5 img,
  .wp-block-gallery.has-5-columns img {
    width: 100%;
    height: auto;
  }
  .wp-block-gallery.columns-5,
  .wp-block-gallery.has-5-columns {
    flex-wrap: wrap; /* 明示的に wrap を指定 */
  }
  .wp-block-gallery.columns-5 > .wp-block-image,
  .wp-block-gallery.has-5-columns > .wp-block-image {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem); /* 必要ならこれも */
  }
  .wp-block-gallery.is-layout-flex {
    flex-direction: row;
  }
  .v2-block-box-voice {
    display: block;
  }
  .wp-block-columns {
    flex-direction: column;
  }
  .pickup-slider-wrapper {
    margin-left: 16px !important;
  }
  .is-layout-grid:has(.v2-block-box004-top) {
    grid-template-columns: none !important;
  }
  .v2-block-box005-wrap {
    grid-template-columns: none !important;
  }
  .wp-block-group .v2-block-box005-top .wp-block-button__link {
    padding: 0.7em 1em;
    font-size: 13px;
  }

  .v2-block-box005-title {
    font-size: 24px;
  }

  .v2-block-box005-subtitle {
    font-size: 14px;
  }
  .v2-block-box005-top {
    height: 280px;
  }
  .barrier-free-box {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px;
  }
  .barrier-free-box p {
    font-size: 13px;
  }
  .v2-block-box001-top {
    flex-direction: column;
  }
  .v2-block-box001-top-title {
    font-size: 36px !important;
  }
  .v2-block-box001-top-subtitle {
    margin-bottom: 0;
  }
  .wp-block-embed.is-type-video {
    width: 100%;
    height: 280px;
    padding: 0 20px;
  }
  .wp-block-embed.is-type-video .wp-block-embed__wrapper {
    height: 100%;
  }
  .wp-block-embed.is-type-video iframe {
    height: 100%;
  }
  .page-musical {
    grid-template-columns: none !important;
    gap: 24px !important;
  }
  .v2-block-title-top-main {
    font-size: 40px !important;
  }
  .v2-block-title-top-main.cta {
    font-size: 40px !important;
  }
  .v2-block-title-top-sub {
    font-size: 14px !important;
  }
}

.individual-resonance {
  margin-top: 100px !important;
}
