@charset "UTF-8";
/**
 * グリッドシステム（非推奨）
 */
/**
 * グリッドシステム（非推奨）
 */
/**
 * グリッドシステム（非推奨）
 */
/* ------------------------------
  Popover
------------------------------- */
/* ------------------------------
 ベーススタイル
------------------------------ */
.entry-style .acms-cssgrid {
  --acms-gap: var(--unit-gap-x);
}
.entry-style .acms-stack,
.entry-style .acms-vstack,
.entry-style .acms-hstack {
  --acms-stack-spacing: var(--unit-gap-x);
}

.entry-style {
  /* コンテンツの初めの要素には上余白をつけない */
}
.entry-style > *:first-child, .entry-style > *:first-child.column-block-editor > *:first-child, .entry-style > *:first-child.js-edit_inplace > *:first-child, .entry-style > *:first-child.js-edit_inplace-hovering + .js-edit_inplace > *:first-child {
  margin-block-start: 0;
}

:where(.entry-style) img,
:where(.entry-style) video {
  max-width: 100%;
  height: auto;
}
:where(.entry-style) audit,
:where(.entry-style) canvas,
:where(.entry-style) embed,
:where(.entry-style) iframe,
:where(.entry-style) object,
:where(.entry-style) svg,
:where(.entry-style) video {
  display: block;
  vertical-align: middle;
}

/* stylelint-disable max-line-length */
/* stylelint-enable max-line-length */
/* ------------------------------
　フィールドスタイル調整
------------------------------ */
/* 価格表ユニットのユニットグループアイテムの境界線 */
[data-unit-type=custom_pricing] .acms-admin-table-admin-edit {
  border-collapse: collapse;
}
[data-unit-type=custom_pricing] .acms-admin-table-admin-edit .sortable-item {
  border-top: 1px solid #ccc;
}
[data-unit-type=custom_pricing] .acms-admin-table-admin-edit .sortable-item:first-child {
  border: 0;
}

/* ------------------------------
 テキスト
------------------------------ */
/* リンク
----------------------------- */
.entry-style a:not(:where([class~=not-editor-style], [class~=not-editor-style] *, [class~=media-image-block], [class~=media-image-block] *, [class~=column-image], [class~=column-image] *, [class~=column-media], [class~=column-media] *, [class~=column-eximage], [class~=column-eximage] *)) {
  color: currentcolor;
  -webkit-text-decoration: underline dotted 2px;
          text-decoration: underline dotted 2px;
  text-underline-offset: 3px;
}
.entry-style a:not(:where([class~=not-editor-style], [class~=not-editor-style] *, [class~=media-image-block], [class~=media-image-block] *, [class~=column-image], [class~=column-image] *, [class~=column-media], [class~=column-media] *, [class~=column-eximage], [class~=column-eximage] *))[target=_blank] {
  margin-right: 4px;
}
.entry-style a:not(:where([class~=not-editor-style], [class~=not-editor-style] *, [class~=media-image-block], [class~=media-image-block] *, [class~=column-image], [class~=column-image] *, [class~=column-media], [class~=column-media] *, [class~=column-eximage], [class~=column-eximage] *))[target=_blank]::after {
  display: inline-block;
  flex: none;
  width: 0.875em;
  height: 0.875em;
  margin-left: 4px;
  vertical-align: baseline;
  content: "";
  background-color: currentcolor;
  -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgd2lkdGg9IjEyIiBoZWlnaHQ9IjEyIiB2aWV3Qm94PSIwIDAgMTIgMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjI1IDYuMjkxNjdWMTEuMjVIMC43NVYwLjc1SDUuNzA4MzMiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMS4yNTA3IDAuNzVMNS43MDg5OCA2LjI5MTY3IiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNMTEuMjQ5MyA0LjgzMzMzVjAuNzVINy4xNjYwMiIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS41Ii8+PC9zdmc+Cg==);
          mask-image: url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgd2lkdGg9IjEyIiBoZWlnaHQ9IjEyIiB2aWV3Qm94PSIwIDAgMTIgMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjI1IDYuMjkxNjdWMTEuMjVIMC43NVYwLjc1SDUuNzA4MzMiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMS4yNTA3IDAuNzVMNS43MDg5OCA2LjI5MTY3IiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNMTEuMjQ5MyA0LjgzMzMzVjAuNzVINy4xNjYwMiIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS41Ii8+PC9zdmc+Cg==);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}
@media (hover: hover) {
  .entry-style a:not(:where([class~=not-editor-style], [class~=not-editor-style] *, [class~=media-image-block], [class~=media-image-block] *, [class~=column-image], [class~=column-image] *, [class~=column-media], [class~=column-media] *, [class~=column-eximage], [class~=column-eximage] *)):-moz-any-link:hover {
    text-decoration: none;
  }
  .entry-style a:not(:where([class~=not-editor-style], [class~=not-editor-style] *, [class~=media-image-block], [class~=media-image-block] *, [class~=column-image], [class~=column-image] *, [class~=column-media], [class~=column-media] *, [class~=column-eximage], [class~=column-eximage] *)):any-link:hover {
    text-decoration: none;
  }
}

.entryFormLiteEditor a {
  color: currentcolor;
  -webkit-text-decoration: underline dotted 2px;
          text-decoration: underline dotted 2px;
  text-underline-offset: 3px;
}
.entryFormLiteEditor a[target=_blank] {
  margin-right: 4px;
}
.entryFormLiteEditor a[target=_blank]::after {
  display: inline-block;
  flex: none;
  width: 0.875em;
  height: 0.875em;
  margin-left: 4px;
  vertical-align: baseline;
  content: "";
  background-color: currentcolor;
  -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgd2lkdGg9IjEyIiBoZWlnaHQ9IjEyIiB2aWV3Qm94PSIwIDAgMTIgMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjI1IDYuMjkxNjdWMTEuMjVIMC43NVYwLjc1SDUuNzA4MzMiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMS4yNTA3IDAuNzVMNS43MDg5OCA2LjI5MTY3IiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNMTEuMjQ5MyA0LjgzMzMzVjAuNzVINy4xNjYwMiIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS41Ii8+PC9zdmc+Cg==);
          mask-image: url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgd2lkdGg9IjEyIiBoZWlnaHQ9IjEyIiB2aWV3Qm94PSIwIDAgMTIgMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjI1IDYuMjkxNjdWMTEuMjVIMC43NVYwLjc1SDUuNzA4MzMiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMS4yNTA3IDAuNzVMNS43MDg5OCA2LjI5MTY3IiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNMTEuMjQ5MyA0LjgzMzMzVjAuNzVINy4xNjYwMiIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS41Ii8+PC9zdmc+Cg==);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}
@media (hover: hover) {
  .entryFormLiteEditor a:-moz-any-link:hover {
    text-decoration: none;
  }
  .entryFormLiteEditor a:any-link:hover {
    text-decoration: none;
  }
}

/* em
----------------------------- */
.entry-style em:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  font-style: italic;
}

/* strong
----------------------------- */
.entry-style strong:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  font-weight: bold;
}

/* mark
----------------------------- */
.entry-style mark:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  color: inherit;
  background-color: var(--color-highlight);
}

/* code
----------------------------- */
.entry-style code:not(:where([class~=not-editor-style], [class~=not-editor-style] *, [class~=code-highlight], [class~=code-highlight] *)) {
  padding: 0 0.25rem;
  margin-inline: 0.25rem;
  font-size: 87.5%;
  color: var(--color-primary);
  background-color: var(--color-white);
  border: var(--border-width-sm) solid currentcolor;
  border-radius: var(--border-radius-sm);
}

/* 見出し
----------------------------- */
.entry-style h1:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  margin-block: calc(var(--entry-el-margin-md) + var(--unit-heading-margin-top-add)) var(--entry-el-margin-sm);
}

.entry-style h2:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  margin-block: calc(var(--entry-el-margin-md) + var(--unit-heading-margin-top-add)) var(--entry-el-margin-sm);
}

.entry-style h3:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  margin-block: calc(var(--entry-el-margin-md) + var(--unit-heading-margin-top-add)) var(--entry-el-margin-sm);
}

.entry-style h4:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  margin-block: calc(var(--entry-el-margin-md) + var(--unit-heading-margin-top-add)) var(--entry-el-margin-sm);
}

.entry-style h5:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  margin-block: calc(var(--entry-el-margin-md) + var(--unit-heading-margin-top-add)) var(--entry-el-margin-sm);
}

.entry-style h6:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  margin-block: calc(var(--entry-el-margin-md) + var(--unit-heading-margin-top-add)) var(--entry-el-margin-sm);
}

.entry-style h2:not(:where([class~=not-editor-style], [class~=not-editor-style] *)).heading-line {
  padding-block-end: var(--entry-el-padding-xs);
  border-block-end: var(--border-width-md) solid var(--color-gray100);
}
.entry-style h2:not(:where([class~=not-editor-style], [class~=not-editor-style] *)).heading-primary {
  position: relative;
  padding-block-end: calc(var(--entry-el-padding-xs) + var(--border-width-lg));
}
.entry-style h2:not(:where([class~=not-editor-style], [class~=not-editor-style] *)).heading-primary::before {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 2em;
  height: var(--border-width-lg);
  content: "";
  background: var(--color-primary);
}

.entry-style h3:not(:where([class~=not-editor-style], [class~=not-editor-style] *)).heading-line {
  padding-block-end: var(--entry-el-padding-xs);
  border-block-end: var(--border-width-md) solid var(--color-gray100);
}
.entry-style h3:not(:where([class~=not-editor-style], [class~=not-editor-style] *)).heading-primary {
  position: relative;
  padding-block-end: calc(var(--entry-el-padding-xs) + var(--border-width-lg));
}
.entry-style h3:not(:where([class~=not-editor-style], [class~=not-editor-style] *)).heading-primary::before {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 2em;
  height: var(--border-width-lg);
  content: "";
  background: var(--color-primary);
}

.entry-style h4:not(:where([class~=not-editor-style], [class~=not-editor-style] *)).heading-line {
  padding-block-end: var(--entry-el-padding-xs);
  border-block-end: var(--border-width-md) solid var(--color-gray100);
}
.entry-style h4:not(:where([class~=not-editor-style], [class~=not-editor-style] *)).heading-primary {
  position: relative;
  padding-block-end: calc(var(--entry-el-padding-xs) + var(--border-width-lg));
}
.entry-style h4:not(:where([class~=not-editor-style], [class~=not-editor-style] *)).heading-primary::before {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 2em;
  height: var(--border-width-lg);
  content: "";
  background: var(--color-primary);
}

.entry-style h2:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  font-size: 1.5625rem;
  line-height: var(--line-height-md);
}
@media (min-width: 48rem) {
  .entry-style h2:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
    font-size: 1.953125rem;
    line-height: var(--line-height-sm);
  }
}

.entry-style h3:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  font-size: 1.25rem;
  line-height: var(--line-height-lg);
}
@media (min-width: 48rem) {
  .entry-style h3:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
    font-size: 1.5625rem;
    line-height: var(--line-height-md);
  }
}

.entry-style h4:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  font-size: 1rem;
  line-height: var(--line-height-base);
}
@media (min-width: 48rem) {
  .entry-style h4:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
    font-size: 1.25rem;
    line-height: var(--line-height-lg);
  }
}

/* 本文
----------------------------- */
.entry-style p:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  margin-block: 0 var(--entry-el-margin-md);
  font-size: 1rem;
  line-height: 1.6;
}

/* リスト
----------------------------- */
.entry-style ul:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  --list-space-y: 0.5rem; /* アイテム間の縦余白 */
  display: grid;
  gap: var(--list-space-y);
  padding-left: calc(1lh + 0.375rem);
  margin-block: 0 var(--entry-el-margin-md);
}
.entry-style ul:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) > li { /* ul 内に ol, ol 内に ul が入っていた時の対策として子セレクタで指定 */
  position: relative;
  font-size: 1rem;
  line-height: var(--line-height-base);
}
.entry-style ul:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) > li::marker {
  content: none;
}
.entry-style ul:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) > li::before {
  position: absolute;
  top: calc(0.5lh - 0.1875rem);
  left: calc((0.5lh + 0.1875rem) * -1);
  width: 0.375rem;
  height: 0.375rem;
  content: "";
  background: var(--color-secondary);
  border-radius: 50%;
}
.entry-style ul:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) > li:last-child {
  margin-bottom: 0;
}
.entry-style ul:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) > li > * {
  /* ブロックエディタ：リセット用 */
  margin-block: 0;
}
.entry-style ul:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) > li ul {
  margin-top: var(--list-space-y);
}

/* 番号付きリスト */
.entry-style ol:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  --order-list-space-y: 0.5rem; /* アイテム間の縦余白 */
  display: grid;
  grid-template-columns: minmax(1lh, auto) 1fr; /* 列を「番号用」と「テキスト用」に分ける */ /* ulの1階層目テキストはじまりと揃えるために minmax(1lh, auto) で最小値を設定 */
  gap: var(--order-list-space-y) 0.375rem; /* アイテム間余白, 番号とテキスト間余白 */
  padding-inline-start: 0;
  margin-block: 0 var(--entry-el-margin-md);
  counter-reset: order-list;
}
.entry-style ol:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) > li { /* ul 内に ol, ol 内に ul が入っていた時の対策として子セレクタで指定 */
  clear: both;
  display: grid;
  grid-template-columns: subgrid; /* アイテム番号の幅を揃えるための設定 */
  grid-column: 1/-1; /* 列をまたいで全幅を確保 */
  grid-auto-flow: column;
  font-size: 1rem;
  line-height: var(--line-height-base);
}
.entry-style ol:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) > li::marker {
  content: none;
}
.entry-style ol:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) > li::before {
  grid-column: 1;
  padding-top: 1.4px; /* 番号位置の微調整 */
  font-weight: bold;
  color: var(--color-text-2nd);
  word-break: keep-all;
  white-space: nowrap;
  content: counters(order-list, "-") ". ";
  counter-increment: order-list;
}
.entry-style ol:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) > li > * {
  /* ブロックエディタ：リセット用 */
  margin-block: 0;
}
.entry-style ol:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) > li ol {
  grid-column: 1/-1; /* 列をまたいで全幅を確保 */
  padding-left: 1rem;
  margin-top: var(--order-list-space-y);
}

/* 記述リスト */
.entry-style dl:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  display: block; /* リセット用 */
  padding-block: 0; /* リセット用 */
  margin-block: 0 var(--entry-el-margin-md);
  border: 0; /* リセット用 */
}
.entry-style dl:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) dt {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  line-height: var(--line-height-base);
}
.entry-style dl:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) dd {
  margin-bottom: 1rem;
  margin-left: 0; /* リセット用 */
  font-size: 1rem;
  line-height: var(--line-height-base);
}
.entry-style dl:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) dd + dt {
  margin-top: 0; /* リセット用 */
}
.entry-style dl:not(:where([class~=not-editor-style], [class~=not-editor-style] *)).box-bordered {
  border: var(--border-width-sm) solid var(--color-gray30);
  border-radius: var(--border-radius-lg);
}
.entry-style dl:not(:where([class~=not-editor-style], [class~=not-editor-style] *)).box-bordered dt {
  padding-inline: var(--entry-el-padding-xs);
  padding-top: var(--entry-el-padding-sm);
  border-top: var(--border-width-sm) solid var(--color-gray30);
}
.entry-style dl:not(:where([class~=not-editor-style], [class~=not-editor-style] *)).box-bordered dt:first-child {
  border: 0;
}
.entry-style dl:not(:where([class~=not-editor-style], [class~=not-editor-style] *)).box-bordered dd {
  padding-inline: var(--entry-el-padding-xs);
  padding-bottom: var(--entry-el-padding-sm);
  margin-bottom: 0;
}
@media (min-width: 48rem) {
  .entry-style dl:not(:where([class~=not-editor-style], [class~=not-editor-style] *)).box-bordered dt {
    padding-inline: var(--entry-el-padding-md);
    padding-top: var(--entry-el-padding-md);
  }
  .entry-style dl:not(:where([class~=not-editor-style], [class~=not-editor-style] *)).box-bordered dd {
    padding-inline: var(--entry-el-padding-md);
    padding-bottom: var(--entry-el-padding-md);
  }
}

/* ソースコード
----------------------------- */
.entry-style pre:not(:where([class~=not-editor-style], [class~=not-editor-style] *, [class~=code-highlight], [class~=code-highlight] *)) {
  max-width: 100%;
  padding: var(--entry-el-padding-sm);
  margin-block: 0 var(--entry-el-margin-md);
  overflow: auto;
  font-size: 1rem;
  line-height: var(--line-height-lg);
  color: var(--color-text); /* 閲覧側画面の文字色はライブラリに依存 */
  background-color: var(--color-white);
  border: var(--border-width-sm) solid var(--color-primary);
  border-radius: var(--border-radius-lg);
}
.entry-style pre:not(:where([class~=not-editor-style], [class~=not-editor-style] *, [class~=code-highlight], [class~=code-highlight] *)) code {
  padding: 0;
  /* リセット用 */
  margin: 0;
  font-size: inherit;
  color: inherit;
  background-color: inherit;
  border: none;
  box-shadow: none;
}
@media (min-width: 48rem) {
  .entry-style pre:not(:where([class~=not-editor-style], [class~=not-editor-style] *, [class~=code-highlight], [class~=code-highlight] *)) {
    padding: var(--entry-el-padding-md);
  }
}

/* 水平罫線
----------------------------- */
.entry-style hr:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  margin-bottom: var(--entry-el-margin-md);
  border: 0 solid var(--color-gray70);
  border-top-width: var(--border-width-sm);
}
@media (min-width: 48rem) {
  .entry-style hr:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
    margin-bottom: var(--entry-el-margin-lg);
  }
}

/* ブロックエディタ用 */
[data-type=horizontalRule] {
  margin-block: var(--entry-el-margin-md);
}
[data-type=horizontalRule] hr {
  margin-block: 0;
}
@media (min-width: 48rem) {
  [data-type=horizontalRule] {
    margin-block: var(--entry-el-margin-md);
  }
  [data-type=horizontalRule] hr {
    margin-block: 0;
  }
}

/* ------------------------------
 ブロックエディター内要素のレイアウト
------------------------------ */
/* レイアウト */
:where(.entry-style) :where([data-type=columns]) {
  box-sizing: border-box;
  display: grid;
  grid-auto-flow: column;
}
:where(.entry-style) :where([data-type=columns]).layout-two-column {
  grid-template-columns: repeat(2, 1fr);
}
:where(.entry-style) :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-style) :where([data-type=columns]) {
  gap: var(--unit-gutter-var);
}

/* ------------------------------
 グループユニット
------------------------------ */
.entry-style {
  /* 全てのグループ・ユニット */
}
@media (min-width: 48rem) {
  .entry-style [class*=gu-] .pricing-group {
    margin-bottom: 0;
  }
}
.entry-style .gu-bg-gray {
  background: var(--color-gray10);
  border-radius: var(--border-radius-lg);
}
.entry-style .gu-bg-primary {
  background: var(--color-primary-light);
  border-radius: var(--border-radius-lg);
}
.entry-style .gu-bg-gray,
.entry-style .gu-bg-primary,
.entry-style .gu-border {
  padding: var(--entry-el-padding-md);
  margin: 0 0 var(--entry-el-margin-md) 0;
}
.entry-style .gu-bg-gray > *:not(.not-editor-style):first-child,
.entry-style .gu-bg-gray > *:first-child.column-block-editor > *:first-child,
.entry-style .gu-bg-primary > *:not(.not-editor-style):first-child,
.entry-style .gu-bg-primary > *:first-child.column-block-editor > *:first-child,
.entry-style .gu-border > *:not(.not-editor-style):first-child,
.entry-style .gu-border > *:first-child.column-block-editor > *:first-child {
  margin-top: 0;
}
.entry-style .gu-bg-gray > *:not(.not-editor-style):last-child,
.entry-style .gu-bg-gray > *:last-child.column-block-editor > *:last-child,
.entry-style .gu-bg-primary > *:not(.not-editor-style):last-child,
.entry-style .gu-bg-primary > *:last-child.column-block-editor > *:last-child,
.entry-style .gu-border > *:not(.not-editor-style):last-child,
.entry-style .gu-border > *:last-child.column-block-editor > *:last-child {
  margin-bottom: 0;
}
.entry-style .gu-border {
  position: relative;
}
.entry-style .gu-border::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  border: var(--border-width-sm) solid var(--color-gray30);
  border-radius: var(--border-radius-lg);
}
.entry-style .gu-narrow {
  max-width: 80%;
  margin-right: auto;
  margin-left: auto;
}

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

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

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

/* ------------------------------
 引用
------------------------------ */
.entry-style blockquote:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  padding: var(--entry-el-padding-sm);
  margin-block: 0 var(--entry-el-margin-md);
  /* リセット用 */
  margin-inline: 0;
  font-size: 1rem;
  line-height: var(--line-height-xl);
  border: var(--border-width-md) solid var(--color-gray30);
  /* ブロックエディタ調整：リセット用 */
  /* ブロックエディタ調整 */
}
.entry-style blockquote:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) > * {
  margin-block: 0;
}
.entry-style blockquote:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) * + * {
  margin-block-start: 1rem;
}
.entry-style blockquote:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) a {
  color: currentcolor;
  -webkit-text-decoration: underline dotted 2px;
          text-decoration: underline dotted 2px;
  text-underline-offset: 3px;
  /* 中に画像が入っているリンクの時 */
}
.entry-style blockquote:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) a[target=_blank] {
  margin-right: 4px;
}
.entry-style blockquote:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) a[target=_blank]::after {
  display: inline-block;
  flex: none;
  width: 0.875em;
  height: 0.875em;
  margin-left: 4px;
  vertical-align: baseline;
  content: "";
  background-color: currentcolor;
  -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgd2lkdGg9IjEyIiBoZWlnaHQ9IjEyIiB2aWV3Qm94PSIwIDAgMTIgMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjI1IDYuMjkxNjdWMTEuMjVIMC43NVYwLjc1SDUuNzA4MzMiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMS4yNTA3IDAuNzVMNS43MDg5OCA2LjI5MTY3IiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNMTEuMjQ5MyA0LjgzMzMzVjAuNzVINy4xNjYwMiIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS41Ii8+PC9zdmc+Cg==);
          mask-image: url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgd2lkdGg9IjEyIiBoZWlnaHQ9IjEyIiB2aWV3Qm94PSIwIDAgMTIgMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjI1IDYuMjkxNjdWMTEuMjVIMC43NVYwLjc1SDUuNzA4MzMiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMS4yNTA3IDAuNzVMNS43MDg5OCA2LjI5MTY3IiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNMTEuMjQ5MyA0LjgzMzMzVjAuNzVINy4xNjYwMiIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS41Ii8+PC9zdmc+Cg==);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}
@media (hover: hover) {
  .entry-style blockquote:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) a:-moz-any-link:hover {
    text-decoration: none;
  }
  .entry-style blockquote:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) a:any-link:hover {
    text-decoration: none;
  }
}
.entry-style blockquote:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) a:has(img) {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
@media (hover: hover) {
  .entry-style blockquote:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) a:has(img):hover {
    opacity: 0.7;
  }
}
.entry-style blockquote:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) img {
  width: 100%;
}
.entry-style blockquote:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) strong {
  /* リセット用 */
  background: transparent;
}
@media (min-width: 48rem) {
  .entry-style blockquote:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
    padding: var(--entry-el-padding-md);
    margin-bottom: var(--entry-el-margin-lg);
  }
}

/* ------------------------------
 リンクボタン
------------------------------ */
/* 上下余白 */
:where(.entry-style) [data-type=linkButton] {
  margin-block: 0 var(--entry-el-margin-md);
}

/* リンク */
:where(.entry-style) [data-type=linkButton] a {
  box-sizing: border-box;
  display: inline-flex;
  gap: 4px;
  place-items: center;
  min-height: 3rem;
  padding: var(--btn-padding-y) var(--btn-padding-x);
  margin-right: 0; /* リセット */
  font-size: 1rem;
  font-weight: bold;
  line-height: var(--line-height-base);
  text-decoration: none; /* リセット */
  background-color: var(--color-primary);
  border-radius: var(--border-radius-md);
}
:where(.entry-style) [data-type=linkButton] a, :where(.entry-style) [data-type=linkButton] a:link, :where(.entry-style) [data-type=linkButton] a:visited {
  color: var(--color-white);
}
:where(.entry-style) [data-type=linkButton] a[target=_blank]::after {
  display: inline-block;
  flex: none;
  width: 0.875em;
  height: 0.875em;
  margin-left: 4px;
  vertical-align: baseline;
  content: "";
  background-color: currentcolor;
  -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgd2lkdGg9IjEyIiBoZWlnaHQ9IjEyIiB2aWV3Qm94PSIwIDAgMTIgMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjI1IDYuMjkxNjdWMTEuMjVIMC43NVYwLjc1SDUuNzA4MzMiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMS4yNTA3IDAuNzVMNS43MDg5OCA2LjI5MTY3IiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNMTEuMjQ5MyA0LjgzMzMzVjAuNzVINy4xNjYwMiIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS41Ii8+PC9zdmc+Cg==);
          mask-image: url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgd2lkdGg9IjEyIiBoZWlnaHQ9IjEyIiB2aWV3Qm94PSIwIDAgMTIgMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjI1IDYuMjkxNjdWMTEuMjVIMC43NVYwLjc1SDUuNzA4MzMiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMS4yNTA3IDAuNzVMNS43MDg5OCA2LjI5MTY3IiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNMTEuMjQ5MyA0LjgzMzMzVjAuNzVINy4xNjYwMiIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS41Ii8+PC9zdmc+Cg==);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}
@media (any-hover: hover) {
  :where(.entry-style) [data-type=linkButton] a {
    transition: background-color 0.2s ease;
  }
  :where(.entry-style) [data-type=linkButton] a:where(:-moz-any-link):hover {
    background: var(--color-primary-hover);
    opacity: 1;
  }
  :where(.entry-style) [data-type=linkButton] a:where(:any-link):hover {
    background: var(--color-primary-hover);
    opacity: 1;
  }
}

/* ------------------------------
 カスタムユニット
------------------------------ */
/* 目次ユニット
------------------------------ */
.entry-style {
  /* 「目次」見出し */
  /* リスト */
  /* 下階層リストレイアウト */
  /* アイテム */
  /* アイテムリンク */
}
.entry-style .entry-outline {
  padding-block: 1.5rem;
  padding-inline: 1rem;
  margin-block: var(--entry-el-margin-md) var(--entry-el-margin-lg);
  background-color: var(--color-white);
  border: var(--border-width-sm) solid var(--color-gray30);
  border-radius: var(--border-radius-lg);
}
@media (min-width: 30rem) {
  .entry-style .entry-outline {
    padding: 2rem;
  }
}
.entry-style .entry-outline-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: var(--line-height-lg);
}
.entry-style .entry-outline-list-wrap .outline-list {
  display: grid;
  grid-template-columns: minmax(1.5rem, auto) 1fr; /* 列を「番号用」と「テキスト用」に分ける */
  gap: 0.75rem 0.375rem; /* アイテム間余白, 番号とテキスト間余白 */
  padding-inline-start: 0;
  margin-block: 0;
  counter-reset: outline-list;
}
.entry-style .entry-outline-list-wrap .outline-item .outline-list {
  grid-column: 1/-1; /* 列をまたいで全幅を確保 */
  padding-left: 1rem;
}
.entry-style .entry-outline-list-wrap .outline-item {
  display: contents; /* li要素自体はグリッドレイアウトに影響させない */
  font-size: 1rem;
  line-height: var(--line-height-base);
  color: var(--color-text);
}
.entry-style .entry-outline-list-wrap .outline-item span,
.entry-style .entry-outline-list-wrap .outline-item strong,
.entry-style .entry-outline-list-wrap .outline-item em {
  display: contents;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  background: none;
}
.entry-style .entry-outline-list-wrap .outline-item::marker {
  content: none;
}
.entry-style .entry-outline-list-wrap .outline-item a {
  display: grid;
  grid-template-columns: subgrid; /* アイテム番号の幅を揃えるための設定 */
  grid-column: 1/-1; /* 列をまたいで全幅を確保 */
  grid-auto-flow: column;
  text-decoration: none;
  /* 番号を生成 */
}
.entry-style .entry-outline-list-wrap .outline-item a, .entry-style .entry-outline-list-wrap .outline-item a:link, .entry-style .entry-outline-list-wrap .outline-item a:visited {
  color: inherit;
}
.entry-style .entry-outline-list-wrap .outline-item a::before {
  grid-column: 1;
  font-weight: bold;
  color: var(--color-text-2nd);
  word-break: keep-all;
  white-space: nowrap;
  content: counters(outline-list, "-") ". ";
  counter-increment: outline-list;
}
@media (hover: hover) {
  .entry-style .entry-outline-list-wrap .outline-item a {
    transition: color 0.25s ease;
  }
  .entry-style .entry-outline-list-wrap .outline-item a:-moz-any-link:hover {
    color: var(--color-primary);
    cursor: pointer;
  }
  .entry-style .entry-outline-list-wrap .outline-item a:any-link:hover {
    color: var(--color-primary);
    cursor: pointer;
  }
}

/* メッセージユニット
------------------------------ */
.entry-style .message {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0 0 var(--entry-el-margin-md);
  overflow: hidden;
  background: var(--color-gray10);
  border-radius: var(--border-radius-lg);
}
.entry-style .message-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1rem;
}
.entry-style .message-image {
  height: 15rem;
  overflow: hidden;
}
.entry-style .message-image img {
  width: 100%;
  height: auto;
}
.entry-style .message-lead {
  position: relative;
  margin: 0;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: var(--line-height-lg);
}
.entry-style .message-content {
  margin: 0;
}
.entry-style .message-source {
  margin: 0;
}
.entry-style .message-source::before {
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  margin: 0 1rem 0 0;
  vertical-align: middle;
  content: "";
  background: var(--color-gray30);
}

@media (min-width: 48rem) {
  .entry-style .message {
    flex-direction: row;
  }
  .entry-style .message-wrap {
    position: relative;
    box-sizing: border-box;
    width: 50%;
    padding: 6rem 3rem;
  }
  .entry-style .message-image {
    order: 1;
    width: 50%;
    height: initial;
  }
  .entry-style .message-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
  }
  .entry-style .message-lead {
    font-size: 1.5625rem;
    line-height: var(--line-height-md);
  }
  .entry-style .message-content {
    margin: 0;
  }
}
/* 料金テーブル
------------------------------ */
.entry-style .pricing-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--col-gutter);
  justify-content: center;
  padding: 0;
  margin: 0 0 var(--entry-el-margin-md);
}
.entry-style .pricing-group:has(.is-recommend) {
  padding-top: 16px;
}
.entry-style .pricing-item {
  position: relative;
  display: flex;
  flex: 0 1 100%;
  list-style: none;
}
.entry-style .pricing-inner {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 2.5rem 1rem 1.5rem;
  background: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  transition: transform 0.25s ease;
}
.entry-style .pricing-header {
  padding: 0 0 1rem;
  margin: 0 0 1rem;
  text-align: center;
  border-bottom: var(--border-width-sm) solid var(--color-gray30);
}
.entry-style .pricing-label-wrap {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  transform: translateY(-50%);
}
.entry-style .pricing-label {
  display: inline-block;
  padding: 0.25rem 1.5rem;
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  line-height: var(--line-height-base);
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: var(--border-radius-round);
  box-shadow: var(--box-shadow);
}
.entry-style .pricing-label::after {
  position: absolute;
  bottom: -9px;
  left: 50%;
  width: 12px;
  height: 10px;
  content: "";
  background-color: var(--color-primary);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transform: translateX(-50%);
}
.entry-style .pricing-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  line-height: var(--line-height-lg);
  color: var(--color-primary);
}
.entry-style .pricing-desc {
  margin: 0;
  font-size: 0.8rem;
  line-height: var(--line-height-base);
  color: var(--color-text-2nd);
}
.entry-style .pricing-price {
  margin: 0 0 0.5rem;
  font-size: 2.44140625rem;
  font-weight: bold;
  line-height: var(--line-height-xs);
  text-align: center;
}
.entry-style .pricing-unit {
  margin-left: 0.25rem;
  font-size: 1rem;
}
.entry-style .pricing-check-group {
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  line-height: var(--line-height-base);
  list-style: none;
}
.entry-style .pricing-check-group li {
  padding-left: 1.625rem;
  margin: 0 0 0.5rem;
}
.entry-style .pricing-check-group li::before {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 0.375rem 0 -1.625rem;
  vertical-align: top;
  content: "";
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzc1MjFfMTU2NTcpIj4KPHBhdGggZD0iTTkuOTk5ODQgMTguMzMzN0MxNC42MDIyIDE4LjMzMzcgMTguMzMzMiAxNC42MDI3IDE4LjMzMzIgMTAuMDAwM0MxOC4zMzMyIDUuMzk3OTUgMTQuNjAyMiAxLjY2Njk5IDkuOTk5ODQgMS42NjY5OUM1LjM5NzQ2IDEuNjY2OTkgMS42NjY1IDUuMzk3OTUgMS42NjY1IDEwLjAwMDNDMS42NjY1IDE0LjYwMjcgNS4zOTc0NiAxOC4zMzM3IDkuOTk5ODQgMTguMzMzN1oiIHN0cm9rZT0iIzMzNEVCMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNNy41IDkuOTk5NjdMOS4xNjY2NyAxMS42NjYzTDEyLjUgOC4zMzMwMSIgc3Ryb2tlPSIjMzM0RUIwIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzc1MjFfMTU2NTciPgo8cmVjdCB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==);
  background-size: contain;
}
.entry-style .pricing-button {
  display: block;
  margin: 0 0 1rem;
}
.entry-style .pricing-text-info {
  margin: 0;
  font-size: 0.8rem;
  line-height: var(--line-height-base);
  color: var(--color-text-2nd);
  text-align: center;
}

@media (min-width: 48rem) {
  .entry-style .pricing-group {
    flex-flow: row wrap;
    gap: var(--col-gutter);
  }
  .entry-style .pricing-item {
    box-sizing: border-box;
    flex: 1 1 calc(33.3333333333% - 2rem);
  }
  .entry-style .pricing-inner {
    padding-inline: 1.5rem;
  }
  .entry-style .pricing-label {
    padding: 0.5rem 1.5rem;
    font-size: 1.25rem;
  }
}
/* ------------------------------
 埋め込みユニット
------------------------------ */
[class*=column-embed-] {
  margin-block: var(--unit-margin-top) var(--unit-margin-bottom);
}
[class*=column-embed-] a.acms-embed-link {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--color-text);
  text-decoration: none;
  border: var(--border-width-sm) solid var(--color-gray30);
  border-radius: var(--border-radius-lg);
}
@media (hover: hover) {
  [class*=column-embed-] a.acms-embed-link {
    transition: background-color 0.3s ease;
  }
  [class*=column-embed-] a.acms-embed-link:hover {
    background-color: var(--color-hover-bg);
  }
}
[class*=column-embed-] .acms-embed-link-image-container img {
  display: block;
  max-width: 100%;
  height: auto;
}
[class*=column-embed-] .acms-embed-link-content {
  padding: 1rem;
  margin: 0; /* リセット */
  line-height: var(--line-height-base);
}
[class*=column-embed-] .acms-embed-link-site-name {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
}
[class*=column-embed-] .acms-embed-link-title {
  margin: 0 0 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1rem;
  font-weight: bold;
  white-space: nowrap;
}
[class*=column-embed-] .acms-embed-link-description {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: 0.8rem;
  color: var(--color-text-2nd);
  -webkit-box-orient: vertical;
}
@media (min-width: 48rem) {
  [class*=column-embed-] a.acms-embed-link {
    flex-direction: row;
  }
  [class*=column-embed-] .acms-embed-link-image-container {
    box-sizing: border-box;
    flex: 1 0 auto;
    width: 33.3333333333%;
    padding: 0;
  }
  [class*=column-embed-] .acms-embed-link-image-container img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  [class*=column-embed-] .acms-embed-link-content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 0.6666666667;
    padding: 1rem;
    overflow: hidden;
  }
  [class*=column-embed-] .acms-embed-link-title {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
    font-weight: bold;
    white-space: nowrap;
  }
}

/* ------------------------------
 - ブロックエディタのファイル（縦積み、ボタン型）
 - メディアファイル
 - ファイル
 ※ media-downloadは動的、storageは静的書き出しに対応
------------------------------ */
:where(.entry-style) [data-type=fileBlock],
[class*=column-media]:has(a[href*=media-download], a[href*=storage]),
[class*=column-file] {
  margin-block: 0 var(--entry-el-margin-md);
  font-size: 0; /* Descender space 対策 */
}

/* ボタン型
------------------------------ */
/* リンク */
:where(.entry-style) [data-type=fileBlock][data-display-type=button] a,
:where(.entry-style) [class*=column-media] a[href*=media-download],
:where(.entry-style) [class*=column-media] a[href*=storage],
:where(.entry-style) [class*=column-file] a {
  box-sizing: border-box;
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.5rem;
  color: var(--color-text);
  text-decoration: none; /* リセット用 */
  background-color: var(--color-white);
  border: var(--border-width-sm) solid var(--color-gray40);
  border-radius: var(--border-radius-md);
}
@media (any-hover: hover) {
  :where(.entry-style) [data-type=fileBlock][data-display-type=button] a,
  :where(.entry-style) [class*=column-media] a[href*=media-download],
  :where(.entry-style) [class*=column-media] a[href*=storage],
  :where(.entry-style) [class*=column-file] a {
    transition: background-color 0.2s ease;
  }
  :where(.entry-style) [data-type=fileBlock][data-display-type=button] a:where(:-moz-any-link):hover, :where(.entry-style) [class*=column-media] a[href*=media-download]:where(:-moz-any-link):hover, :where(.entry-style) [class*=column-media] a[href*=storage]:where(:-moz-any-link):hover, :where(.entry-style) [class*=column-file] a:where(:-moz-any-link):hover {
    background-color: var(--color-gray20);
    border-color: var(--color-gray40); /* hover動作上書きのため */
  }
  :where(.entry-style) [data-type=fileBlock][data-display-type=button] a:where(:any-link):hover,
  :where(.entry-style) [class*=column-media] a[href*=media-download]:where(:any-link):hover,
  :where(.entry-style) [class*=column-media] a[href*=storage]:where(:any-link):hover,
  :where(.entry-style) [class*=column-file] a:where(:any-link):hover {
    background-color: var(--color-gray20);
    border-color: var(--color-gray40); /* hover動作上書きのため */
  }
}

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

/* キャプションタイポグラフィ設定 */
:where(.entry-style) [data-type=fileBlock] .caption,
:where(.entry-style) [class*=column-file] .caption,
:where(.entry-style) [class*=column-media]:has(a[href*=media-download], a[href*=storage]):has(.columnIcon):not(:has(.column-pdf-image)) .caption {
  margin: 0; /* リセット */
  font-size: 1rem;
  line-height: var(--line-height-base);
  color: currentcolor;
}

/* PDFプレビュー
------------------------------ */
/* リンク */
:where(.entry-style) [class*=column-media]:has(.column-pdf-image) a {
  display: inline-grid;
  gap: 0.5rem;
  justify-items: center;
  /* リンクスタイルリセット */
  padding: 0;
  border: 0;
}
@media (any-hover: hover) {
  :where(.entry-style) [class*=column-media]:has(.column-pdf-image) a:hover {
    background-color: transparent; /* リセット */
  }
  :where(.entry-style) [class*=column-media]:has(.column-pdf-image) a:hover .column-pdf-image {
    opacity: 0.7;
  }
  :where(.entry-style) [class*=column-media]:has(.column-pdf-image) a:hover .caption {
    border-bottom-color: currentcolor;
  }
}

:where(.entry-style) .column-pdf-image {
  max-width: 100%;
  border: var(--border-width-sm) solid var(--color-gray40);
  transition: opacity 0.2s ease;
}

:where(.entry-style) .column-pdf-image-caption-box {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin: 0;
}
:where(.entry-style) .column-pdf-image-caption-box .columnIcon {
  width: 2rem;
}
:where(.entry-style) .column-pdf-image-caption-box .caption {
  margin: 0; /* リセット */
  font-size: 0.8rem;
  line-height: var(--line-height-base);
  color: var(--color-text-2nd);
  border-bottom: var(--border-width-sm) dotted transparent;
}
:where(.entry-style) .column-pdf-image-caption-box .column-pdf-image-download-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-text);
}
:where(.entry-style) .column-pdf-image-caption-box .column-pdf-image-download-icon svg {
  width: 100%;
  height: 100%;
  color: inherit;
  -o-object-fit: contain;
     object-fit: contain;
}
:where(.entry-style) .column-pdf-image-caption-box .column-pdf-image-download-icon svg path {
  stroke: currentcolor;
}

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

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

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

/* ------------------------------
 メディア画像・画像・画像URL
------------------------------ */
/* 共通設定
------------------------------ */
:where(.entry-style) figure,
:where(.entry-style) [role=figure]:not(:has(a[href*=media-download], a[href*=storage])) {
  margin-block: 0 var(--entry-el-margin-md);
  margin-inline: 0;
  line-height: 0; /* Descender space 対策 */
  text-align: center;
}
:where(.entry-style) figure a,
:where(.entry-style) [role=figure]:not(:has(a[href*=media-download], a[href*=storage])) a {
  display: inline-block;
  /* リセット用 */
  text-decoration: none;
  /* マウスオーバー用 */
  transition: opacity 0.2s ease;
}
:where(.entry-style) figure a:hover,
:where(.entry-style) [role=figure]:not(:has(a[href*=media-download], a[href*=storage])) a:hover {
  opacity: 0.7;
}
:where(.entry-style) figure img,
:where(.entry-style) [role=figure]:not(:has(a[href*=media-download], a[href*=storage])) img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
}

/* キャプション
------------------------------ */
:where(.entry-style) figcaption,
:where(.entry-style) [role=figure]:not(:has(a[href*=media-download], a[href*=storage])) .caption {
  display: block;
  margin: 4px 0 0; /* 余白リセットのため全方向指定 */
  font-size: 0.8rem;
  line-height: var(--line-height-base);
  color: var(--color-text-2nd);
}

/* ------------------------------
 地図
------------------------------ */
.column-map,
.column-street-view {
  margin-block: var(--unit-margin-top) var(--unit-margin-bottom);
}

:where(.column-map div:has(> .js-open-street-map)),
:where(.column-map div:has(> .js-s2d-ready)),
:where(.column-street-view div:has(> .js-street-view)) {
  max-width: 100%;
}

:where(.column-map .js-open-street-map),
:where(.column-map .js-s2d-ready),
:where(.column-street-view .js-street-view) {
  aspect-ratio: 16/9; /* デフォルトのアスペクト比 */
  border-radius: var(--border-radius-lg);
}

/* ------------------------------
 モジュールユニット
------------------------------ */
[class*=column-module] {
  margin-block: var(--unit-margin-top) var(--unit-margin-bottom);
}

/* ------------------------------
 テーブル
------------------------------ */
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  margin: 0 0 var(--entry-el-margin-md);
  overflow: hidden;
  border-spacing: 0;
  border-collapse: separate; /* テーブルに角丸をつけるため separate にしています */
  background-color: var(--color-white);
  border: var(--border-width-sm) solid var(--color-gray30);
  border-radius: var(--border-radius-lg);
}
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) th,
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) td {
  padding: var(--entry-el-padding-xs);
  font-size: 1rem;
  line-height: var(--line-height-base);
  border: 0; /* リセット */
  border-top: var(--border-width-sm) solid var(--color-gray30);
  border-left: var(--border-width-sm) solid var(--color-gray30);
  /* 要素間余白を確保(管理画面での行列操作用UIを考慮しつつ) */
}
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) th > *,
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) td > * {
  margin-block: 0; /* リセット */
}
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) th > *:not(.ProseMirror-widget) + *,
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) td > *:not(.ProseMirror-widget) + * {
  margin-block-start: 1rem;
}
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) th:first-child,
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) td:first-child {
  border-left: 0;
}
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) tr:first-child th,
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) tr:first-child td {
  border-top: 0;
}
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) th {
  vertical-align: top;
  text-align: left;
  background-color: var(--color-gray10);
}
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) td {
  background-color: var(--color-white); /* リセット用 */
}
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) a {
  color: currentcolor;
  -webkit-text-decoration: underline dotted 2px;
          text-decoration: underline dotted 2px;
  text-underline-offset: 3px;
}
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) a[target=_blank] {
  margin-right: 4px;
}
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) a[target=_blank]::after {
  display: inline-block;
  flex: none;
  width: 0.875em;
  height: 0.875em;
  margin-left: 4px;
  vertical-align: baseline;
  content: "";
  background-color: currentcolor;
  -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgd2lkdGg9IjEyIiBoZWlnaHQ9IjEyIiB2aWV3Qm94PSIwIDAgMTIgMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjI1IDYuMjkxNjdWMTEuMjVIMC43NVYwLjc1SDUuNzA4MzMiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMS4yNTA3IDAuNzVMNS43MDg5OCA2LjI5MTY3IiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNMTEuMjQ5MyA0LjgzMzMzVjAuNzVINy4xNjYwMiIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS41Ii8+PC9zdmc+Cg==);
          mask-image: url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgd2lkdGg9IjEyIiBoZWlnaHQ9IjEyIiB2aWV3Qm94PSIwIDAgMTIgMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjI1IDYuMjkxNjdWMTEuMjVIMC43NVYwLjc1SDUuNzA4MzMiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2Utd2lkdGg9IjEuNSIvPjxwYXRoIGQ9Ik0xMS4yNTA3IDAuNzVMNS43MDg5OCA2LjI5MTY3IiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNMTEuMjQ5MyA0LjgzMzMzVjAuNzVINy4xNjYwMiIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS41Ii8+PC9zdmc+Cg==);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}
@media (hover: hover) {
  .entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) a:-moz-any-link:hover {
    text-decoration: none;
  }
  .entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) a:any-link:hover {
    text-decoration: none;
  }
}
@media (min-width: 48rem) {
  .entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) th,
  .entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) td {
    padding: var(--entry-el-padding-sm);
    font-size: 1rem;
  }
}

.entry-style div:has(> table):not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
  margin-bottom: var(--entry-el-margin-md);
  overflow-x: auto;
}
.entry-style div:has(> table):not(:where([class~=not-editor-style], [class~=not-editor-style] *)) table {
  width: 100%;
  margin: 0;
}

/* スクロールするテーブル */
.acms-table-scrollable th,
.acms-table-scrollable td,
.js-table-unit-scroll-hint th,
.js-table-unit-scroll-hint td {
  word-break: keep-all;
  white-space: nowrap;
}

/* ブロックエディター編集画面用打ち消し */
.acms-admin-block-editor-content .entry-style table {
  overflow: visible; /* ブロックエディター編集画面では装飾操作用UIの表示を妨げないように「overflow: hidden;」はしないでください */
  border-radius: 0;
}

/* ------------------------------
 動画ユニット
------------------------------ */
.column-youtube,
.column-video {
  margin-block: var(--unit-margin-top) var(--unit-margin-bottom);
}

:where(.column-iframe iframe) {
  display: block; /* Descender space 対策 */
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9; /* デフォルトのアスペクト比 */
}

/* ------------------------------
　　ボーダー付きカード
------------------------------ */
.card-bordered-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
@media (hover: hover) {
  .card-bordered-link .card-bordered {
    transition: all 0.3s ease;
  }
  .card-bordered-link .card-bordered-img {
    transition: 0.4s 0.2s ease-out;
    will-change: transform;
  }
  .card-bordered-link:-moz-any-link:hover .card-bordered {
    background-color: var(--color-hover-bg-2nd);
    box-shadow: var(--box-shadow-hover);
  }
  .card-bordered-link:any-link:hover .card-bordered {
    background-color: var(--color-hover-bg-2nd);
    box-shadow: var(--box-shadow-hover);
  }
  .card-bordered-link:-moz-any-link:hover .card-bordered-img {
    transform: scale(1.2);
  }
  .card-bordered-link:any-link:hover .card-bordered-img {
    transform: scale(1.2);
  }
}

.card-bordered {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
}

:not(.is-admin-page) { /* 編集画面ではアニメーションしない */ }
:not(.is-admin-page) .js .js-animation-row .card-bordered {
  opacity: 0;
  will-change: transform, opacity;
}
:not(.is-admin-page) .js .js-animation-row.is-show .card-bordered {
  animation: fade-in 0.2s 0.7s 1 both;
}

.card-bordered-img-wrap {
  width: 100%;
  aspect-ratio: var(--card-img-aspect-ratio, 16/9);
  overflow: hidden;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.card-bordered-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.card-bordered-text-layout {
  padding: 1rem;
}
@media (min-width: 48rem) {
  .card-bordered-text-layout {
    padding: 2rem;
  }
}

.card-bordered-title,
.entry-style .card-bordered-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: var(--line-height-md);
  color: var(--color-text);
}
@media (min-width: 48rem) {
  .card-bordered-title,
  .entry-style .card-bordered-title {
    font-size: 1.5625rem;
    line-height: var(--line-height-lg);
  }
}

/* ------------------------------
　　カード
------------------------------ */
/* カード全体リンク */
.card-link {
  position: relative;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.card-link::after {
  position: absolute;
  inset: calc(var(--card-bg-space) * -1);
  z-index: 1;
  content: "";
  background-color: transparent;
  border-radius: var(--border-radius-lg);
}
@media (hover: hover) {
  .card-link::after {
    transition: background-color 0.3s ease;
  }
}
@media (hover: hover) {
  .card-link .card-img {
    transition: transform 0.4s 0.2s ease-out;
    will-change: transform;
  }
  .card-link .card-read-more-icon {
    transition: background-color 0.3s ease;
  }
}
@media (hover: hover) and (min-width: 30rem) {
  .card-link:-moz-any-link:hover {
    /*
      * sm幅以上でのみ、リンクホバー時に背景色が表示されるように設定しています。
      * この背景色は、シャドウのようにコンテンツからはみ出して表示されます。
      * sm幅未満では画面端に角丸背景色が接することで、視覚的バランスを損なうため適用していません。
      */
  }
  .card-link:any-link:hover {
    /*
      * sm幅以上でのみ、リンクホバー時に背景色が表示されるように設定しています。
      * この背景色は、シャドウのようにコンテンツからはみ出して表示されます。
      * sm幅未満では画面端に角丸背景色が接することで、視覚的バランスを損なうため適用していません。
      */
  }
  .card-link:-moz-any-link:hover::after {
    background-color: var(--color-hover-bg-2nd);
  }
  .card-link:any-link:hover::after {
    background-color: var(--color-hover-bg-2nd);
  }
}
@media (hover: hover) {
  .card-link:-moz-any-link:hover .card-img {
    transform: scale(1.2);
  }
  .card-link:any-link:hover .card-img {
    transform: scale(1.2);
  }
  .card-link:-moz-any-link:hover .card-read-more-icon {
    background-color: var(--color-icon-bg-hover);
  }
  .card-link:any-link:hover .card-read-more-icon {
    background-color: var(--color-icon-bg-hover);
  }
}

.card-link-inner {
  position: relative;
  z-index: 2;
}

/* カードレイアウト */
.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

:not(.is-admin-page) { /* 編集画面ではアニメーションしない */ }
:not(.is-admin-page) .js .js-animation-row .card {
  opacity: 0;
  will-change: transform, opacity;
}
:not(.is-admin-page) .js .js-animation-row.is-show .card {
  animation: fade-in 0.2s 0.7s 1 both;
}

/* カード画像 */
.card-img-wrap {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--card-img-aspect-ratio, 16/9);
  -o-object-fit: cover;
     object-fit: cover;
}

/* 画像上に重ねて表示するラベル */
.card-img-label-position {
  position: absolute;
  display: inline-block;
  margin-block: 0;
  line-height: var(--line-height-none);
}
.card-img-label-position.left-top {
  top: 10px;
  left: 10px;
}
.card-img-label-position.right-top {
  top: 10px;
  right: 10px;
}
.card-img-label-position.right-bottom {
  right: 10px;
  bottom: 10px;
}
.card-img-label-position.left-bottom {
  bottom: 10px;
  left: 10px;
}

/* 画像上に重ねて表示する new ラベル */
.label-triangle {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  width: 4rem;
  height: 4rem;
  margin-block: 0;
}
.label-triangle svg .st1 {
  fill: var(--color-icon-bg);
}
.label-triangle.right-top {
  top: 0;
  right: 0;
  left: initial;
  rotate: 90deg;
}
.label-triangle.right-bottom {
  top: initial;
  right: 0;
  bottom: 0;
  left: initial;
  rotate: 180deg;
}
.label-triangle.left-bottom {
  top: initial;
  bottom: 0;
  rotate: 270deg;
}

/* テキスト類全体の縦積みレイアウト */
.card-texts-layout {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ラベルの横並びレイアウト */
.card-labels-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}

/* 日付とNewラベル配置 */
.card-date-layout {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}

/* 日付 */
.card-date {
  font-size: 0.8rem;
  line-height: var(--line-height-base);
  color: var(--color-text-2nd);
}

/* 見出し */
.card-title,
.entry-style .card-title {
  margin-block: 0;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: var(--line-height-md);
  color: var(--color-text);
}

/* 概要文 */
.card-description,
.entry-style .card-description {
  display: -webkit-box;
  margin-block: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  font-size: 1rem;
  line-height: var(--line-height-xl);
  color: var(--color-text-2nd);
  -webkit-box-orient: vertical;
}

/* タグ横並びリスト */
.card-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  align-items: flex-start;
  padding-inline-start: 0;
  margin-top: 0;
  margin-bottom: 0;
  line-height: var(--line-height-none);
  list-style-type: none;
}

/* 補足ラベルリスト */
.card-supplement-label-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  align-items: flex-start;
}

/* 補足ラベル */
.card-supplement-label {
  font-size: 1rem;
  line-height: var(--line-height-xl);
  color: var(--color-text);
}

/* 著者 */
.card-author {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
  font-size: 0.8rem;
  line-height: var(--line-height-base);
  color: var(--color-text-2nd);
}

.card-author-img {
  display: inline-block;
  width: 2rem;
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-round);
}

/* 詳しく見る */
.card-read-more,
.entry-style .card-read-more {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  height: 1.5rem;
  margin: 0;
  line-height: var(--line-height-base);
}
@media (min-width: 48rem) {
  .card-read-more,
  .entry-style .card-read-more {
    gap: 0.5rem;
    height: 1.75rem;
  }
}

.card-read-more-text {
  font-size: 0.8rem;
  font-weight: bold;
  line-height: var(--line-height-base);
  color: var(--color-text);
}
@media (min-width: 48rem) {
  .card-read-more-text {
    font-size: 1rem;
  }
}

.card-read-more-icon {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 1rem;
  height: auto;
  aspect-ratio: 1/1;
  background-color: var(--color-icon-bg);
  border-radius: 50%;
}
.card-read-more-icon svg {
  width: 0.625rem;
  height: 0.625rem;
  color: var(--color-white);
  -o-object-fit: contain;
     object-fit: contain;
}
.card-read-more-icon svg path {
  stroke: currentcolor;
}
@media (min-width: 48rem) {
  .card-read-more-icon {
    width: 1.25rem;
  }
}

/* 横スライダー用 */
@media (max-width: 63.98rem) {
  .card-carousel {
    padding: var(--card-bg-space);
    margin: calc(var(--card-bg-space) * -1);
    overflow-x: auto;
  }
  .card-carousel .card-list {
    display: flex;
    flex-wrap: nowrap;
  }
  .card-carousel .card {
    width: 258px;
  }
}
/* ------------------------------
　　よくあるご質問
------------------------------ */
.faq {
  --hover-speed: 0.3s;
  min-width: 0; /* .faq-body 内要素はみ出し防止 */
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
}
.entry-style .faq::before {
  content: none; /* モジュールユニット時のユニットスタイルによるスタイル上書き防止 */
}
@media (hover: hover) {
  .faq {
    transition: box-shadow var(--hover-speed) ease;
  }
  .faq:hover {
    box-shadow: var(--box-shadow-hover);
  }
}

.faq-question-button {
  position: relative;
  box-sizing: border-box;
  display: flex;
  gap: 1rem;
  align-items: center;
  width: 100%; /* エントリー編集画面でのリセット用 */
  background: transparent; /* エントリー編集画面でのリセット用 */
  border: 0; /* エントリー編集画面でのリセット用 */
}
.faq-question-button.toggle-button {
  padding: 2rem 1rem;
}
@media (min-width: 48rem) {
  .faq-question-button.toggle-button {
    padding: 2rem;
  }
}

.faq-icon {
  flex: 0 0 auto;
  min-width: 1.5rem;
  margin-block: 0;
  font-size: 1.5625rem;
  font-weight: bold;
  line-height: var(--line-height-none);
  text-align: center;
  text-box-trim: trim-both;
  text-box-edge: text;
}
@media (min-width: 48rem) {
  .faq-icon {
    min-width: 2rem;
    font-size: 1.953125rem;
  }
}
.entry-style .faq-icon {
  /* モジュールユニット時のユニットスタイルによるスタイル上書き防止 */
  margin-block: 0;
  font-size: 1.5625rem;
  line-height: var(--line-height-none);
}
@media (min-width: 48rem) {
  .entry-style .faq-icon {
    font-size: 1.953125rem;
  }
}
.faq-icon a {
  color: currentcolor;
  text-decoration: none;
}

.faq-question {
  margin-block: 0;
  font-size: 1rem;
  border-radius: var(--border-radius-lg);
}
.faq-question:has(+ [aria-hidden=false]) {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.faq-question .faq-icon {
  color: var(--color-primary);
}
.faq-question .faq-title {
  flex: 1;
  margin: 0;
  font-weight: bold;
  line-height: var(--line-height-base);
  color: var(--color-text);
  text-align: left;
}
@media (hover: hover) {
  .faq-question {
    transition: background-color var(--hover-speed) ease;
  }
  .faq:hover .faq-question {
    background-color: var(--color-hover-bg-2nd);
  }
}
@media (min-width: 48rem) {
  .faq-question {
    font-size: 1.25rem;
    line-height: var(--line-height-lg);
  }
}

.faq-body {
  min-width: 0; /* .faq-body 内要素はみ出し防止 */
}

.acms-admin-unit-content .faq .toggle-body-contents,
.acms-admin-modal-content .faq .toggle-body-contents {
  display: none; /* モジュールユニットで表示する時は常に非表示 */
}

.faq-answer {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 2rem 0;
  margin: 0 1rem;
  border-top: 1px solid var(--color-gray30);
}
.faq-answer .faq-icon {
  color: var(--color-gray90);
}
.faq-answer .entry-style {
  margin-bottom: calc(var(--entry-el-margin-md) * -1);
}
.faq-answer .acms-admin-btn-action-group {
  /* .entry-style に負の margin-bottom を指定しているため、
    ログイン時に表示されるエントリー編集ボックスが、ユニットと密着しないように間隔を追加 */
  margin-top: calc(var(--entry-el-margin-md) + 1rem);
}
@media (hover: hover) {
  .faq-answer {
    transition: border-top-color var(--hover-speed) ease;
  }
  .faq:hover .faq-answer {
    border-top-color: transparent;
  }
}
@media (min-width: 48rem) {
  .faq-answer {
    margin: 0 2rem;
  }
}

/* 質問リスト */
.faq-list {
  display: grid;
  gap: 2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.entry-style .faq-list {
  /* モジュールユニット時のユニットスタイルによるスタイル上書き防止 */
  gap: 2rem;
  padding: 0;
  margin: 0;
}

/* 質問セクションリスト */
.faq-section-list {
  display: grid;
  gap: 3rem;
}
@media (min-width: 48rem) {
  .faq-section-list {
    gap: 4rem;
  }
}

/* ------------------------------
　　事業紹介
------------------------------ */
/* 事業一覧
------------------------------ */
/* 事業一覧用見出し */
.service-card-title,
.entry-style .service-card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: var(--line-height-lg);
  color: var(--color-text);
}
@media (min-width: 48rem) {
  .service-card-title,
  .entry-style .service-card-title {
    font-size: 1.5625rem;
    line-height: var(--line-height-md);
  }
}

/* 事例一覧用サービス名ラベル */
.service-card-work-name,
.entry-style .service-card-work-name {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  line-height: var(--line-height-base);
  color: var(--color-text);
}

/* ------------------------------
　　アコーディオン
------------------------------ */
.toggle-button {
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  font-family: inherit;
  color: var(--color-text);
  text-align: left;
  text-decoration: none;
  background: none;
  border: 0;
}
.toggle-button.js-post-include-disabled {
  color: inherit;
  opacity: 1;
}

.toggle-icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-left: auto;
  line-height: var(--line-height-none);
  color: var(--color-text);
  transition: 0.3s ease;
}
.toggle-button.is-active .toggle-icon {
  transform: rotate(180deg);
}
.toggle-icon svg {
  width: 100%;
  height: 100%;
  color: inherit;
  -o-object-fit: contain;
     object-fit: contain;
}
.toggle-icon svg path {
  stroke: currentcolor;
}
@media (min-width: 48rem) {
  .toggle-icon {
    width: 2rem;
    height: 2rem;
  }
}

.toggle-body-contents {
  display: none;
}




/* ==========================================================================
  エントリー（ユニット）まわり
  site-drug39 で実際に効いている状態（editor.css ＋ assets/css の
  common.css / c-btn.css / c-table.css / c-accordion.css / c-tab.css のエントリー関連部分）を再現。
  サイズ・余白・構造は site-drug39 と同一、色だけ tsumugido（assets/css/style.css）に置き換え。
  ※ assets/css/style.css は px 指定のみのため、ルート文字サイズの変更は影響しない
========================================================================== */

:root {
  /* === ブランド・アクセント（tsumugido） === */
  --primary-color: #2d503f; /* site-drug39: #0052A1 → style.css --green */
  --secondary-color: #eaf1e7; /* site-drug39: #F0FBFF → style.css --sage */
  --color-sub-2: #d5e3cf; /* site-drug39: #CCE4FF */
  /* === テキスト・基本背景 === */
  --text-color: #2c3e27; /* site-drug39: #2E3841 → style.css --ink */
  --color-main: #2c3e27;
  --color-bg-main: #FFFFFF;
  --color-bg-sub-1: #f1f3ee; /* site-drug39: #EBEBEB */
  /* === 固定色 === */
  --color-black: #000000;
  --color-white: #ffffff;
  --color-red: #E10000;
  --color-pink: #D70072;
  --color-blue: #04279B;
  --color-blue-light: #3255C3;
  /* === 罫線・区切り === */
  --color-border: #d3d8ce; /* site-drug39: #DCDCDC */
  --color-border-light: #e4e8df; /* site-drug39: #EBEBEB */
  --color-border-blue: #d4d6ce; /* site-drug39: #D6DFE6 */
  --color-divider: #c6c8c1; /* site-drug39: #D9D9D9 → style.css --line */
  /* === グレー === */
  --color-gray-bg: #f1f3ee; /* site-drug39: #ECECEC */
  --color-gray-light: #dfe3da; /* site-drug39: #DDDDDD */
  --color-gray-text: #5a5a5a; /* site-drug39: #333333 → style.css --muted */
  /* === 装飾 === */
  --color-shadow-beige: #EBE8E4;
  /* === お知らせカテゴリー === */
  --color-cate-topics: #FE8B8C;
  --color-cate-recruit: #23B7C4;
  --color-cate-shop: #608BCE;
  --color-cate-event: #FF9D00;

  /* === a-blog cms 標準変数（include/head/css-variables.css の青系を上書き） === */
  --color-primary: #2d503f; /* #334EB0 */
  --color-primary-hover: #223d30; /* #2B4193 */
  --color-primary-light: #eaf1e7; /* #F5F6FB */
  --color-primary-light-hover: #d5e3cf; /* #D5DAEF */
  --color-primary-bg-hover: #d5e3cf; /* #D1D7ED */
  --color-text: #2c3e27; /* #333333 */
  --color-text-2nd: #5a5a5a; /* #5E5E5E */
  --color-focus: #a87528; /* #0061D1 → style.css のフォーカス色 */
  --box-shadow-focus: 0 0 0 .25rem rgba(168, 117, 40, .4);

  /* === サイズ（site-drug39 common.css と同一） === */
  --f-size-root: 0.73vw;
  --f-size-base: 1.6rem;
  --f-size-h2: 3.8rem;
  --f-size-h3: 3rem;
  --f-size-h4: 2.2rem;
  --f-size-h5: 2rem;
  --f-size-s: 1.6rem;
  --f-size-xs: 1.4rem;
  --font-base: "Noto Sans JP", sans-serif;
  --font-en: "Plus Jakarta Sans", sans-serif;
  --l-height-base: 1.8;
  --l-height-h2: 1.3;
  --l-height-h3: 1.4;
  --l-height-h4: 1.2;
  --l-spacing: 0;
  --content-width: 120rem;
  --content-max-width: calc(100% - 4rem);
  --btn-shadow-1: 0 0.6rem 1rem rgba(0, 0, 0, .18);
  --card-shadow-1: 0 0.4rem 3rem rgba(45, 80, 63, .1); /* site-drug39: rgba(0, 121, 204, .1) */
  --radius-1: 1.2rem;
  --spacer-base: 3rem;
  --spacer-section: 6rem;
  width: 100%;
  height: 100%;
  font-size: var(--f-size-root);
}
@media screen and (max-width: 767px) {
  :root {
    --f-size-root: 2.6667vw;
    --f-size-base: 1.6rem;
    --f-size-h2: 2.6rem;
    --f-size-h3: 1.8rem;
    --f-size-h4: 1.8rem;
    --f-size-s: 1.4rem;
    --l-height-h4: 1.6;
    --content-max-width: 90%;
    --spacer-section: 4rem;
  }
}

/* 見出し
----------------------------------------*/
.c-ttl__h2 {
  font-size: var(--f-size-h2);
  font-weight: bold;
  line-height: var(--l-height-h2);
  border-left: 0.8rem solid var(--primary-color);
  padding-left: 2rem;
  padding-block: 0.5rem;
  margin-bottom: 2rem;
}
.c-ttl__h3 {
  font-size: var(--f-size-h3);
  line-height: var(--l-height-h3);
  font-weight: bold;
  background: var(--primary-color);
  color: var(--color-white);
  padding: 1rem 2rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
}
.c-ttl__h4 {
  font-size: var(--f-size-h4);
  line-height: var(--l-height-h4);
  font-weight: bold;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}
.c-ttl__h4::before {
  content: "";
  position: absolute;
  width: 1.5rem;
  height: 0.3rem;
  background: var(--primary-color);
  left: 0;
  top: 1.4rem;
}
.c-ttl__h5 {
  font-size: var(--f-size-h5);
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* テキスト
----------------------------------------*/
.text-center {
  text-align: center !important;
}
.text-right {
  text-align: right !important;
}
.text-left {
  text-align: left !important;
}
.text-bold {
  font-weight: bold;
}
.text-link {
  color: var(--primary-color);
  text-decoration: underline;
}

ruby {
  line-height: 2.5;
}
ruby rt {
  font-size: 1rem;
  font-weight: 400;
}

/* リスト
----------------------------------------*/
.c-list__ul {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.c-list__ul li {
  position: relative;
  padding-left: 2rem;
}
.c-list__ul li::before {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  background: var(--primary-color);
  border-radius: 50%;
  left: 0;
  top: 1.1rem;
}
.c-list__ol {
  counter-reset: number;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.c-list__ol li {
  position: relative;
  padding-left: 2rem;
}
.c-list__ol li::before {
  counter-increment: number;
  content: counter(number) ".";
  position: absolute;
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: bold;
  top: 0.5rem;
  left: 0;
  line-height: 1;
}
.c-list__ul li::before {
  background: var(--primary-color) !important;
}
.c-list__ol li::before {
  color: var(--primary-color) !important;
}

/* 囲み
----------------------------------------*/
.c-box__bg {
  background: var(--secondary-color);
  padding: 2rem;
  margin-block: 2rem;
  border-radius: 1rem;
}
.c-box__border {
  border: 1px solid var(--primary-color);
  padding: 2rem;
  margin-block: 2rem;
  border-radius: 1rem;
}
.c-box__bg > div > *:last-of-type,
.c-box__border > div > *:last-of-type {
  margin-bottom: 0;
}

[data-fit=true] {
  overflow: hidden;
}
[data-fit=true] img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ボタン
----------------------------------------*/
.c-btn {
  margin-block: 2rem 3rem;
}
.c-btn a {
  position: relative;
  display: inline-block;
  background: var(--primary-color);
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: bold;
  padding: 1rem 5rem;
  border-radius: 5rem;
  border: 2px solid var(--primary-color);
  transition: opacity 0.3s;
}
.c-btn a:hover {
  background: var(--primary-color) !important;
  opacity: 0.5;
}
.c-btn a::after {
  content: "";
  position: absolute;
  border-bottom: 0.3rem solid var(--color-white);
  border-right: 0.3rem solid var(--color-white);
  transform: rotate(-45deg);
  width: 0.8rem;
  height: 0.8rem;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 2rem;
}
.c-btn__more {
  margin-top: 2rem;
  margin-bottom: 3rem;
}
@media screen and (max-width: 767px) {
  .c-btn__more {
    text-align: center;
    margin-top: 5.5rem;
  }
}
.c-btn__more a {
  position: relative; /* ::before の矢印画像の基準 */
  text-align: left;
  padding-block: 2.2rem;
  padding-right: 7.5rem;
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--text-color) !important;
  background: none;
  transition: opacity 0.3s;
}
.c-btn__more a:hover {
  background: none !important;
  color: var(--text-color) !important;
  opacity: 0.5;
}
.c-btn__more a::before {
  content: "";
  position: absolute;
  width: 5.6rem;
  height: 5.6rem;
  /* site-drug39 の btn-arrow.svg を tsumugido の緑で再現 */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Ccircle cx='28' cy='28' r='27.5' fill='none' stroke='%232d503f'/%3E%3Cpath d='M25.5 21.5l6.386 6.386-6.386 6.386' fill='none' stroke='%232d503f' stroke-linecap='round' stroke-width='2'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
/* 別タブ（target="_blank"）でもリンクボタンユニット標準の外部リンクアイコンは付けない */
.c-btn__more a[target=_blank] {
  margin-right: 0;
}
.c-btn__more a[target=_blank]::after {
  content: none;
  display: none;
}
.c-btn__border a {
  background: var(--color-white);
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
  transition: opacity 0.3s;
}
.c-btn__border a:hover {
  background: var(--color-white) !important;
  color: var(--primary-color) !important;
  opacity: 0.5;
}
.c-btn__border a::after {
  border-color: var(--primary-color);
}

/* テーブル
----------------------------------------*/
table.c-table {
  margin-bottom: 2rem;
  width: 100%;
}
table.c-table th {
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
  text-align: left;
  font-size: 1.8rem;
  font-weight: bold;
  vertical-align: text-top;
}
table.c-table td {
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
  font-size: 1.8rem;
}
.c-table__scroll {
  overflow: scroll;
}
.c-table__scroll table {
  min-width: 50rem;
}

/* アコーディオン
----------------------------------------*/
.c-accordion {
  margin-bottom: 5rem;
}
.c-accordion__item {
  margin-bottom: 2rem;
}
.c-accordion__item .text-q {
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  background: var(--secondary-color);
  padding: 2.5rem 3rem;
  font-size: 1.8rem;
  font-weight: 500;
  border-radius: 1rem;
  /* <button> 化のためのリセット(見た目は <p> 時と同一) */
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  color: inherit;
  font-family: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  -webkit-appearance: none;
          appearance: none;
}
@media screen and (max-width: 767px) {
  .c-accordion__item .text-q {
    padding: 1.5rem 2rem;
    font-size: 1.6rem;
  }
}
.c-accordion__item .text-q::before {
  content: "";
  position: absolute;
  width: 2rem;
  height: 3px;
  background: var(--primary-color);
  right: 2rem;
  top: 0;
  bottom: 0;
  margin: auto;
}
.c-accordion__item .text-q::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 2rem;
  background: var(--primary-color);
  right: 2.8rem;
  top: 0;
  bottom: 0;
  margin: auto;
}
.c-accordion__item .text-a {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
  padding: 0 2rem;
  font-size: 1.6rem;
}
@media screen and (max-width: 767px) {
  .c-accordion__item .text-a {
    font-size: 1.4rem;
  }
}
.c-accordion__item.active .text-q::after {
  display: none;
}
.c-accordion__item.active .text-a {
  margin: 2rem 0 4rem;
}

.color-gray .c-accordion__item .text-q {
  background: var(--color-gray-bg);
}
.color-gray .c-accordion__item .text-q::before {
  background: var(--color-gray-text);
}
.color-gray .c-accordion__item .text-q::after {
  background: var(--color-gray-text);
}

/* タブ
----------------------------------------*/
.c-tab__sort {
  margin-bottom: 5rem;
}
.c-tab__sort-nav {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  gap: 2rem;
}
@media screen and (max-width: 767px) {
  .c-tab__sort-nav {
    gap: 1rem;
  }
}
.c-tab__sort-nav li {
  cursor: pointer;
  flex: 1;
  text-align: center;
  border: 1px solid var(--primary-color);
  background: var(--color-white);
  padding: 1rem;
  font-size: 1.6rem;
  font-weight: 500;
  border-radius: 0.5rem;
}
@media screen and (max-width: 767px) {
  .c-tab__sort-nav li {
    flex: inherit;
    width: 47%;
  }
}
.c-tab__sort-nav li.active {
  background: var(--primary-color);
  color: var(--color-white);
}
.c-tab__sort-contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4rem;
}
@media screen and (max-width: 767px) {
  .c-tab__sort-contents {
    gap: 2rem;
  }
}
.c-tab__sort-item {
  background: var(--color-gray-bg);
  width: calc(50% - 2rem);
  padding: 4rem 4rem;
  border-radius: 0.5rem;
}
@media screen and (max-width: 767px) {
  .c-tab__sort-item {
    padding: 3rem 2rem;
    width: 100%;
  }
}
.c-tab__switch {
  margin-bottom: 5rem;
}
.c-tab__switch-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
}
.c-tab__switch-nav li {
  cursor: pointer;
  display: inline-block;
  width: 20rem;
  text-align: center;
  padding: 1.5rem;
  transition: 0.3s;
  background: var(--color-white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  font-weight: 500;
  font-size: 1.8rem;
  border-radius: 0.5rem;
}
.c-tab__switch-nav li.active {
  background: var(--primary-color);
  color: var(--color-white);
}
.c-tab__switch-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.c-tab__switch-item.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* エントリーヘッダー・ファイル
   site-drug39 は .c-contents / .main 配下。tsumugido の .p-entry 配下でも同じ指定が効くよう :is() で併記
----------------------------------------*/
:is(.c-contents, .p-entry) .entry-header-title {
  font-size: 27px;
  font-weight: bold;
  line-height: var(--l-height-h2);
  margin-bottom: 2rem;
}
:is(.c-contents, .p-entry) .entry-header-date {
  font-size: var(--f-size-base);
}
:is(.c-contents, .p-entry) .entry-header-category-label {
  font-size: var(--f-size-base);
  padding: 0.2rem 1.5rem;
}

.media-file-block,
.media-file-block div {
  width: 100%;
}
.media-file-block a {
  width: 100%;
}
.media-file-block a .caption {
  font-size: 1.4rem;
}

:where(.entry-style) [data-type="fileBlock"][data-display-type="button"] img, :where(.entry-style) [class*="column-media"] .columnIcon, :where(.entry-style) [class*="column-file"] .columnIcon {
  width: 5rem;
}

.column-block-editor > p {
  margin-top: 1.5rem;
}

/* 記事本文の可読性調整
----------------------------------------*/
.main > .entry {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}

:is(.main, .p-entry) .entry-style {
  --entry-readable-font-size: clamp(17px, 1.7rem, 18px);
  font-size: var(--entry-readable-font-size);
  line-height: 1.75;
  letter-spacing: 0.03em;
}

:is(.main, .p-entry) .entry-style :where(p, li, dt, dd, th, td) {
  font-size: var(--entry-readable-font-size);
  line-height: 1.75;
  letter-spacing: 0.03em;
  font: 400 15px/1.8 "Noto Sans JP",sans-serif;
}

/* 画像キャプション：editor.css の 0.8rem は画面幅で縮むため下限付きで上書き */
:is(.main, .p-entry) .entry-style figcaption,
:is(.main, .p-entry) .entry-style figcaption p,
:is(.main, .p-entry) .entry-style [role="figure"]:not(:has(a[href*="media-download"], a[href*="storage"])) .caption {
  font-size: clamp(14px, 1.4rem, 15px);
}
:is(.main, .p-entry) .entry-style p,
:is(.main, .p-entry) .entry-style :where(ul, ol, dl, table, blockquote, figure) {
  margin-block: 0 2rem;
}

/* 新旧エディタの出力差を表示側で正規化 */
:is(.main, .p-entry) .entry-style :where(h1, h2, h3, h4, h5, h6) strong {
  font-weight: inherit;
}

:is(.main, .p-entry) .entry-style :where(ul, ol) > li > p,
:is(.main, .p-entry) .entry-style table :where(th, td) > p,
:is(.main, .p-entry) .entry-style blockquote > p:last-child,
:is(.main, .p-entry) .entry-style figcaption > p:last-child {
  margin: 0;
}

/* 囲み・ファイル要素内では、既存の末尾余白リセットを維持 */
:is(.main, .p-entry) .entry-style .c-box__bg > div > *:last-of-type,
:is(.main, .p-entry) .entry-style .c-box__border > div > *:last-of-type {
  margin-bottom: 0;
}

:is(.main, .p-entry) .entry-style [data-type="fileBlock"] .caption,
:is(.main, .p-entry) .entry-style [class*="column-file"] .caption,
:is(.main, .p-entry) .entry-style [class*="column-media"]:has(a[href*="media-download"], a[href*="storage"]):has(.columnIcon):not(:has(.column-pdf-image)) .caption {
  margin: 0;
}

:is(.main, .p-entry) .entry-style :where(h2):not(:first-child) {
  margin-top: 5rem;
}
:is(.main, .p-entry) .entry-style :where(h3, h4, h5, h6):not(:first-child) {
  margin-top: 3rem;
  margin-bottom: 1rem;
}
:is(.main, .p-entry) .entry-style h2 {
  font-size: 27px;
  margin-bottom: 1.5rem;
  padding: 6px 15px;
  border-left: 7px solid;
  background: var(--color-gray10);
}


/* 記事詳細：前後・一覧へ戻るボタン
----------------------------------------*/
.serial-nav-item-index a {
  position: relative;
  box-sizing: border-box;
  display: inline-block;
  width: 24rem;
  max-width: 100%;
  padding: 1.3rem 5rem;
  color: var(--primary-color) !important;
  font-size: clamp(16px, 1.7rem, 18px);
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-align: center;
  background: var(--color-white);
  border: 2px solid var(--primary-color);
  border-radius: 5rem;
  transition: color 0.3s, background-color 0.3s;
}

.serial-nav-item-index a::before {
  position: absolute;
  top: 50%;
  left: 2.2rem;
  width: 0.8rem;
  height: 0.8rem;
  content: "";
  border-bottom: 0.3rem solid currentColor;
  border-left: 0.3rem solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* 既存テーマのホバー用オーバーレイを無効化 */
.serial-nav-item-index a::after {
  content: none;
}

@media (hover: hover) {
  .serial-nav-item-index a:hover {
    color: var(--color-white) !important;
    background: var(--primary-color);
  }
}

.acms-admin-group-unit-start {
  z-index: 10 !important;
}