@charset "utf-8";
/*
 * ブロックエディターの出力（.column-block-editor の中）だけに効く CSS
 * tools/build_block_editor_css.py で生成（手で直さない）
 */
.column-block-editor {
	--unit-gap-x: 1.25rem;
	--unit-margin-top: 1rem;
	--unit-margin-bottom: 0;
}
.column-block-editor [data-type=horizontalRule] {
  margin-block: var(--unit-margin-top) var(--unit-margin-bottom);
}

.column-block-editor [data-type=horizontalRule] hr {
  margin-block: 0;
}

.column-block-editor .align-left {
  display: flex;
  justify-content: flex-start;
}

.column-block-editor .align-right {
  display: flex;
  justify-content: flex-end;
}

.column-block-editor .align-center {
  display: flex;
  justify-content: center;
}

.column-block-editor .align-left {
  display: flex;
  justify-content: flex-start;
}

.column-block-editor .align-right {
  display: flex;
  justify-content: flex-end;
}

.column-block-editor .align-center {
  display: flex;
  justify-content: center;
}

.column-block-editor .align-left {
  display: flex;
  justify-content: flex-start;
}

.column-block-editor .align-right {
  display: flex;
  justify-content: flex-end;
}

.column-block-editor .align-center {
  display: flex;
  justify-content: center;
}

.column-block-editor .align-left {
  display: flex;
  justify-content: flex-start;
}

.column-block-editor .align-right {
  display: flex;
  justify-content: flex-end;
}

.column-block-editor .align-center {
  display: flex;
  justify-content: center;
}

.column-block-editor .align-left {
  display: flex;
  justify-content: flex-start;
}

.column-block-editor .align-right {
  display: flex;
  justify-content: flex-end;
}

.column-block-editor .align-center {
  display: flex;
  justify-content: center;
}

.column-block-editor .align-left {
  display: flex;
  justify-content: flex-start;
}

.column-block-editor .align-right {
  display: flex;
  justify-content: flex-end;
}

.column-block-editor .align-center {
  display: flex;
  justify-content: center;
}

.column-block-editor .align-left {
  display: flex;
  justify-content: flex-start;
}

.column-block-editor .align-right {
  display: flex;
  justify-content: flex-end;
}

.column-block-editor .align-center {
  display: flex;
  justify-content: center;
}

.column-block-editor .align-left {
  display: flex;
  justify-content: flex-start;
}

.column-block-editor .align-right {
  display: flex;
  justify-content: flex-end;
}

.column-block-editor .align-center {
  display: flex;
  justify-content: center;
}

.column-block-editor .align-left {
  display: flex;
  justify-content: flex-start;
}

.column-block-editor .align-right {
  display: flex;
  justify-content: flex-end;
}

.column-block-editor .align-center {
  display: flex;
  justify-content: center;
}

.column-block-editor .align-left {
  display: flex;
  justify-content: flex-start;
}

.column-block-editor .align-right {
  display: flex;
  justify-content: flex-end;
}

.column-block-editor .align-center {
  display: flex;
  justify-content: center;
}

.column-block-editor :where([data-type=columns]) {
  box-sizing: border-box;
  display: grid;
  grid-auto-flow: column;
}

.column-block-editor :where([data-type=columns]).layout-two-column {
  grid-template-columns: repeat(2, 1fr);
}

.column-block-editor :where([data-type=columns]).layout-three-column {
  grid-template-columns: repeat(3, 1fr);
}

.column-block-editor :where([data-type=columns]) > :where([data-type=column]) {
  min-width: 0;
}

.column-block-editor :where([data-type=columns]) {
  gap: var(--unit-gap-x);
}

.column-block-editor :where([data-type=group]) {
  box-sizing: border-box;
  margin-block: var(--unit-margin-top) var(--unit-margin-bottom);
}

.column-block-editor [data-type=group] > :first-child {
  margin-top: 0;
}

.column-block-editor [data-type=group] > :last-child {
  margin-bottom: 0;
}

.column-block-editor :where([data-type=group][style*=background-color]) {
  padding: var(--unit-gap-x);
}

.column-block-editor :where([data-type=imageBlock]) .media-width-25 {
  max-width: 25%;
}

.column-block-editor :where([data-type=imageBlock]) .media-width-33 {
  max-width: 33%;
}

.column-block-editor :where([data-type=imageBlock]) .media-width-50 {
  max-width: 50%;
}

.column-block-editor :where([data-type=imageBlock]) .media-width-66 {
  max-width: 66%;
}

.column-block-editor :where([data-type=imageBlock]) .media-width-75 {
  max-width: 75%;
}

.column-block-editor :where([data-type=imageBlock]) .media-width-100 {
  max-width: 100%;
}

.column-block-editor [data-type=linkButton],
.column-block-editor [data-type=fileBlock][data-display-type=button] {
  margin-block: var(--unit-margin-top) var(--unit-margin-bottom);
}

.column-block-editor [data-type=linkButton] a,
.column-block-editor [data-type=fileBlock][data-display-type=button] a {
  box-sizing: border-box;
  display: inline-flex;
  gap: 0.5rem;
  place-items: center;
  min-height: 40px;
  padding: 0.625rem 1.5rem;
  font-weight: bold;
  line-height: 1.4;
  text-decoration: none;
  background-color: #595963;
  border-radius: calc(infinity * 1px); 
  font-size: 14px;
}

@media print {
.column-block-editor [data-type=linkButton] a,
.column-block-editor [data-type=fileBlock][data-display-type=button] a {
    font-size: 14px;
}
}

.column-block-editor [data-type=linkButton] a,
.column-block-editor [data-type=linkButton] a:link,
.column-block-editor [data-type=linkButton] a:visited,
.column-block-editor [data-type=fileBlock][data-display-type=button] a,
.column-block-editor [data-type=fileBlock][data-display-type=button] a:link,
.column-block-editor [data-type=fileBlock][data-display-type=button] a:visited {
  color: #fff;
}

@media (any-hover: hover) {
.column-block-editor [data-type=linkButton] a,
.column-block-editor [data-type=fileBlock][data-display-type=button] a {
    transition: background-color 0.2s ease;
}
}

@media (any-hover: hover) {
.column-block-editor [data-type=linkButton] a:where(:any-link):hover,
.column-block-editor [data-type=fileBlock][data-display-type=button] a:where(:any-link):hover {
    color: #fff; 
    background-color: #35353a;
}
}

.column-block-editor [data-type=fileBlock][data-display-type=button] img {
  width: auto;
  height: 1lh;
}

.column-block-editor [data-type=fileBlock][data-display-type=button] .caption {
  margin: 0; 
  color: currentcolor;
}

.column-block-editor [data-type=embedBlock] {
  margin-block: var(--unit-margin-top) var(--unit-margin-bottom);
  container-type: inline-size;
  line-height: normal;
  text-align: left;
}

.column-block-editor [data-type=embedBlock] > * {
  max-width: 100%;
}

.column-block-editor [data-type=embedBlock] > figure {
  margin: 0;
}

.column-block-editor :where([data-type=embedBlock][data-align=center], [data-type=embedBlock][data-align=right]) [data-embed-content] {
  display: flex;
  flex-direction: column;
}

.column-block-editor :where([data-type=embedBlock][data-align=center]) [data-embed-content] {
  align-items: center;
}

.column-block-editor :where([data-type=embedBlock][data-align=right]) [data-embed-content] {
  align-items: flex-end;
}

.column-block-editor .embed-block-card {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  line-height: normal;
  text-align: left;
  text-decoration: none;
  background-color: #f1f1f1;
}

@media (hover: hover) {
.column-block-editor .embed-block-card {
    transition: background-color 0.2s ease;
}
}

@media (hover: hover) {
.column-block-editor .embed-block-card:hover {
    background-color: #e5e5e5;
}
}

.column-block-editor .embed-block-card-image-container {
  display: block;
  flex-shrink: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1.91/1;
}

.column-block-editor .embed-block-card-image-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column-block-editor .embed-block-card-content {
  min-width: 0;
}

.column-block-editor .embed-block-card .embed-block-card-title {
  display: block;
  padding: 0;
  margin: 0 0 0.5rem;
  line-height: 1.4;
  color: #333;
  text-decoration: none;
  font-size: 16px;
}

@media print {
.column-block-editor .embed-block-card .embed-block-card-title {
    font-size: 16px;
}
}

@media (hover: hover) {
.column-block-editor .embed-block-card .embed-block-card-title:hover {
    text-decoration: underline;
}
}

.column-block-editor .embed-block-card .embed-block-card-title:hover {
  opacity: 1;
}

.column-block-editor .embed-block-card .embed-block-card-title::after {
  position: absolute;
  inset: 0;
  content: "";
}

.column-block-editor .embed-block-card a.embed-block-card-title:focus-visible {
  outline: none;
}

.column-block-editor .embed-block-card:has(a.embed-block-card-title:focus-visible) {
  outline: 2px solid currentcolor;
  outline: -webkit-focus-ring-color auto 1px;
  outline-offset: 1px;
}

.column-block-editor .embed-block-card-provider {
  display: block;
  padding: 0;
  margin: 0;
  color: #333;
  font-size: 12px;
}

@media print {
.column-block-editor .embed-block-card-provider {
    font-size: 12px;
}
}

.column-block-editor .embed-block-card-description {
  display: block;
  padding: 0;
  margin: 0.5rem 0 0;
  line-height: 1.6;
  color: #333;
  font-size: 14px;
}

@media print {
.column-block-editor .embed-block-card-description {
    font-size: 14px;
}
}

.column-block-editor :where(iframe, video, object, embed):not(:where([data-type=embedBlock], [class^=align-], [class*=" align-"], acms-isolated-preview-root) *) {
  margin-block: var(--unit-margin-top) var(--unit-margin-bottom);
}

.column-block-editor [data-type=fileBlock][data-display-type=icon] {
  margin-block: var(--unit-margin-top) var(--unit-margin-bottom);
  font-size: 0; 
  text-align: center;
}

.column-block-editor [data-type=fileBlock][data-display-type=icon] img {
  display: inline-block;
  width: 56px;
  max-width: 100%;
  height: auto;
}

.column-block-editor [data-type=fileBlock][data-display-type=icon] .caption {
  display: block;
  margin: 4px 0 0; 
  line-height: 1.5;
  font-size: 12px;
}

@media print {
.column-block-editor [data-type=fileBlock][data-display-type=icon] .caption {
    font-size: 12px;
}
}

.column-block-editor [data-type=fileBlock][data-display-type=icon] a {
  display: inline-block;
  text-decoration: none;
}

@media (any-hover: hover) {
.column-block-editor [data-type=fileBlock][data-display-type=icon] a {
    transition: opacity 0.2s ease;
}
}

@media (any-hover: hover) {
.column-block-editor [data-type=fileBlock][data-display-type=icon] a:where(:any-link):hover {
    opacity: 0.7;
}
}

.column-block-editor .acms-table-scrollable th,
.column-block-editor .acms-table-scrollable td,
.column-block-editor .js-table-unit-scroll-hint th,
.column-block-editor .js-table-unit-scroll-hint td {
  word-break: keep-all;
  white-space: nowrap;
}
