@charset "UTF-8";
/* ------------------------------
  ベースレイアウト
------------------------------ */
.entry-column .acms-cssgrid {
  --acms-gap: global.$grid-space-sm;
}
.entry-column .acms-stack,
.entry-column .acms-vstack,
.entry-column .acms-hstack {
  --acms-stack-spacing: global.$grid-space-sm;
}

.entry-column {
  /* コンテンツの初めの要素には上余白をつけない */
}
.entry-column > *:first-child, .entry-column > *:first-child.js-edit_inplace > *:first-child, .entry-column > *:first-child.js-edit_inplace-hovering + .js-edit_inplace > *:first-child,
.entry-column .acms-entry-unit-full > *:first-child,
.entry-column .acms-entry-unit-full > *:first-child.js-edit_inplace > *:first-child,
.entry-column .acms-entry-unit-full > *:first-child.js-edit_inplace-hovering + .js-edit_inplace > *:first-child {
  margin-top: 0;
}
.entry-column .entry-container {
  clear: both;
}

.entry-column img,
.entry-column video {
  max-width: 100%;
  height: auto;
}
.entry-column audio,
.entry-column canvas,
.entry-column embed,
.entry-column iframe,
.entry-column object,
.entry-column svg,
.entry-column video {
  display: block;
  vertical-align: middle;
}

/* ------------------------------
  タイポグラフィ（本文要素）
------------------------------ */
.entry-column {
  line-height: 1.5;
  font-size: 16px;
  font-size: 1rem;
}
.entry-column p {
  margin: 0 0 30px;
  line-height: 1.7;
}
.entry-column a {
  border-bottom: 1px dashed;
}
.entry-column a:link, .entry-column a:visited {
  color: var(--color-text-light);
}
.entry-column a:hover {
  color: var(--color-text-light);
  cursor: pointer;
}
.entry-column a:link, .entry-column a:hover, .entry-column a:visited {
  text-decoration: none;
}
.entry-column a:hover {
  color: var(--color-primary);
}
.entry-column em {
  font-style: normal;
  font-weight: bold;
  color: var(--color-primary);
}
.entry-column strong {
  font-style: normal;
  font-weight: bold;
  background: linear-gradient(transparent 45%, var(--color-bg-highlight) 45%);
}
.entry-column h2 {
  padding: 15px 10px;
  margin: 40px 0 30px 0;
  background-color: var(--color-bg-light);
  font-size: 18px;
  font-size: 1.125rem;
}
.entry-column h3 {
  padding-left: 10px;
  margin: 40px 0 30px 0;
  border-left: 2px solid var(--color-primary);
  font-size: 18px;
  font-size: 1.125rem;
}
.entry-column h4 {
  margin: 40px 0 30px 0;
  margin-bottom: 30px;
  font-size: 18px;
  font-size: 1.125rem;
  color: var(--color-text-light);
}
.entry-column h5 {
  margin: 40px 0 30px 0;
  margin-bottom: 30px;
  font-size: 16px;
  font-size: 1rem;
  font-weight: bold;
}
.entry-column {
  /* リスト */
}
.entry-column ul {
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}
.entry-column ul ul,
.entry-column ul ol {
  margin-top: 10px;
  margin-bottom: 0;
}
.entry-column ul > li {
  position: relative;
  padding-left: 12px;
  color: var(--color-text-base);
}
.entry-column ul > li::before {
  position: absolute;
  top: 9.5px;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background-color: var(--color-primary);
}
.entry-column ul > li:last-child {
  margin-bottom: 0;
}
.entry-column ul > li p {
  margin-bottom: 10px;
}
.entry-column {
  /* 番号付きリスト */
}
.entry-column ol {
  padding: 0;
  margin: 0 0 30px;
  counter-reset: order-list;
}
.entry-column ol ul,
.entry-column ol ol {
  margin-top: 10px;
  margin-bottom: 0;
}
.entry-column ol > li {
  position: relative;
  padding-left: 20px;
  list-style: none;
}
.entry-column ol > li:last-child {
  margin-bottom: 0;
}
.entry-column ol > li::before {
  position: absolute;
  top: 0;
  left: 0;
  font-weight: bold;
  color: var(--color-primary);
  content: counter(order-list);
  counter-increment: order-list;
}
.entry-column ol > li p {
  margin-bottom: 10px;
}
.entry-column {
  /* 引用 */
}
.entry-column blockquote {
  padding: 20px;
  margin: 0 0 30px;
  line-height: 1.7;
  border: 1px solid var(--color-border-base);
  border-left: 7px solid var(--color-border-base);
}
.entry-column blockquote > p:last-child {
  margin-bottom: 0;
}
.entry-column {
  /* ソースコード */
}
.entry-column pre {
  max-width: 100%;
  padding: 15px;
  margin: 0 0 30px 0;
  overflow-x: auto;
  overflow-y: hidden;
  background-color: var(--color-bg-light);
  border: none;
  border-radius: 0;
}
.entry-column pre code {
  padding: 0;
  /* リセット用 */
  margin: 0;
  font-size: inherit;
  color: inherit;
  background-color: inherit;
  border: none;
  box-shadow: none;
}
.entry-column code,
.entry-column pre,
.entry-column samp {
  font-family: Menlo, Monaco, "Courier New", monospace;
}
.entry-column ul, .entry-column ol, .entry-column dl {
  overflow: hidden;
}

/* ------------------------------
 ブロックエディター内要素のレイアウト
------------------------------ */
/* レイアウト */
:where(.entry-column) :where([data-type=columns]) {
  box-sizing: border-box;
  display: grid;
  grid-auto-flow: column;
}
:where(.entry-column) :where([data-type=columns]).layout-two-column {
  grid-template-columns: repeat(2, 1fr);
}
:where(.entry-column) :where([data-type=columns]).layout-three-column {
  grid-template-columns: repeat(3, 1fr);
}

/* 管理画面側 */
:where(.acms-admin-block-editor) :where([data-type=columns]) {
  gap: 1rem !important;
}

/* 閲覧画面側 */
:where(.entry-column) :where([data-type=columns]) {
  gap: 10px;
}

/* ------------------------------
 配置
------------------------------ */
.align-left {
  display: flex;
  justify-content: flex-start;
}

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

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

/* ------------------------------
 リンクボタン
------------------------------ */
:where(.entry-column) [data-type=linkButton] {
  margin-bottom: 30px;
}
:where(.entry-column) [data-type=linkButton] a {
  box-sizing: border-box;
  display: inline-block;
  width: 335px;
  max-width: 100%;
  padding: 8px;
  font-weight: bold;
  line-height: 2;
  color: var(--color-text-invert);
  text-align: center;
  text-decoration: none;
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 5px;
  font-size: 16px;
  font-size: 1rem;
  transition: opacity 0.2s;
}
:where(.entry-column) [data-type=linkButton] a:hover {
  opacity: 0.8;
}
:where(.entry-column) [data-type=linkButton] a:link, :where(.entry-column) [data-type=linkButton] a:hover, :where(.entry-column) [data-type=linkButton] a:visited {
  color: var(--color-text-invert);
  text-decoration: none;
}
:where(.entry-column) [data-type=linkButton] a.is-disabled, :where(.entry-column) [data-type=linkButton] a:disabled {
  pointer-events: none !important;
  opacity: 0.65;
}

/* ------------------------------
 ブロックエディタのファイル
------------------------------ */
:where(.entry-column) [data-type=fileBlock] {
  margin-bottom: 30px;
}

/* ボタン型
------------------------------ */
/* リンク */
:where(.entry-column) [data-type=fileBlock][data-display-type=button] a {
  box-sizing: border-box;
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.5rem;
  color: var(--color-text-base);
  text-decoration: none; /* リセット用 */
  background-color: #fff;
  border: 1px solid var(--color-border-base);
  border-radius: 5px;
}
@media (any-hover: hover) {
  :where(.entry-column) [data-type=fileBlock][data-display-type=button] a {
    transition: opacity 0.2s ease;
  }
  :where(.entry-column) [data-type=fileBlock][data-display-type=button] a:where(:-moz-any-link):hover {
    color: var(--color-text-base);
    opacity: 0.8;
  }
  :where(.entry-column) [data-type=fileBlock][data-display-type=button] a:where(:any-link):hover {
    color: var(--color-text-base);
    opacity: 0.8;
  }
}

/* ファイルアイコン */
:where(.entry-column) [data-type=fileBlock][data-display-type=button] img {
  display: inline-block;
  width: 2rem;
  max-width: 100%;
  height: auto;
}

/* キャプションタイポグラフィ設定 */
:where(.entry-column) [data-type=fileBlock][data-display-type=button] .caption {
  margin: 0; /* リセット */
  font-size: 0.9em;
  line-height: 1.5;
}

/* ブロックエディタのファイル（縦積み）
------------------------------ */
/* キャプション */
:where(.entry-column) [data-type=fileBlock][data-display-type=icon] .caption {
  display: block;
  margin: 4px 0 0; /* 余白リセットのため全方向指定 */
  font-size: 0.9em;
  line-height: 1.5;
  text-align: center;
}

:where(.entry-column) [data-type=fileBlock][data-display-type=icon] img {
  width: 4.5rem;
  max-width: 100%;
  height: auto;
}

/* リンク動作スタイル（閲覧画面のみ） */
:where(.entry-column) [data-type=fileBlock][data-display-type=icon] a {
  /* リンクスタイルリセット */
  padding: 0;
  border: 0;
}
@media (any-hover: hover) {
  :where(.entry-column) [data-type=fileBlock][data-display-type=icon] a {
    transition: opacity 0.2s ease;
  }
  :where(.entry-column) [data-type=fileBlock][data-display-type=icon] a:hover {
    opacity: 0.8;
  }
}

/* ------------------------------
 画像
------------------------------ */
/* 上下余白 */
:where(.entry-column) figure,
:where(.entry-column) [role=figure] {
  margin: 0 0 30px;
  line-height: 0; /* Descender space 対策 */
}
:where(.entry-column) figure a,
:where(.entry-column) [role=figure] a {
  display: inline-block;
  /* リセット用 */
  text-decoration: none;
  border-bottom: none !important;
}
:where(.entry-column) figure img,
:where(.entry-column) [role=figure] img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/* キャプション
------------------------------ */
:where(.entry-column) figcaption,
:where(.entry-column) [role=figure] .caption {
  display: block;
  margin: 4px 0 0; /* 余白リセットのため全方向指定 */
  font-size: 0.9em;
  line-height: 1.5;
  text-align: center;
}

/* ------------------------------
  テーブル
------------------------------ */
.entry-column table {
  width: 100%;
  margin-bottom: 30px;
  border-collapse: collapse;
  border: 1px solid var(--color-border-base);
}
.entry-column th > *:last-child,
.entry-column td > *:last-child {
  margin-bottom: 0;
}
.entry-column th {
  padding: 10px;
  font-weight: normal;
  text-align: left;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-base);
}
.entry-column td {
  padding: 10px;
  border: 1px solid var(--color-border-base);
}
@media screen and (max-width: 767px) {
  .entry-column table th,
  .entry-column table td {
    white-space: nowrap;
  }
}
