@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;
}

/* 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;
  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-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;
  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-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-base);
}
@media (min-width: 48rem) {
  .entry-style h2:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
    font-size: 1.953125rem;
  }
}

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

.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;
  }
}

/* 本文
----------------------------- */
.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: var(--line-height-lg);
}

/* リスト
----------------------------- */
.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-bottom: 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-bottom: 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-sm);
  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-sm);
  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;
  margin-block: 0 var(--entry-el-margin-md);
}
: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);
}

/* カラム上下余白
/* 編集画面でのブロックエディターでのカラム上下余白親要素でとるため、
/* 子要素の最初と最後の上下マージンをリセット
/* 上書きのため詳細度高め（0,0,2,0）
----------------------------- */
:where(.entry-style) [data-type=column] > *:first-child {
  margin-block-start: 0;
}
:where(.entry-style) [data-type=column] > *:last-child {
  margin-block-end: 0;
}

/* メディアサイズ
----------------------------- */
:where(.media-image-block) figure {
  /* リセット用 */
  margin: 0;
}
:where(.media-image-block) .media-width-25 {
  max-width: 25%;
}
:where(.media-image-block) .media-width-33 {
  max-width: 33%;
}
:where(.media-image-block) .media-width-50 {
  max-width: 50%;
}
:where(.media-image-block) .media-width-66 {
  max-width: 66%;
}
:where(.media-image-block) .media-width-75 {
  max-width: 75%;
}
:where(.media-image-block) .media-width-100 {
  max-width: 100%;
}

/* ------------------------------
 グループユニット
------------------------------ */
.entry-style {
  /* 全てのグループ・ユニット */
}
@media (min-width: 48rem) {
  .entry-style [class*=gu-] .pricing-group {
    padding: 4rem 0 2rem;
    margin-right: 0;
    margin-left: 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) var(--entry-el-padding-xs);
  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-lg);
  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;
  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-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) .node-linkButton,
.link-button-block {
  margin-block: 0 var(--entry-el-margin-md);
}

/* リンク */
.acms-admin-block-editor-link-button-link,
.link-button-block-link {
  box-sizing: border-box;
  display: inline-flex;
  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: 1.3;
  text-decoration: none; /* リセット */
  background-color: var(--color-primary);
  border-radius: var(--border-radius-md);
}
.acms-admin-block-editor-link-button-link, .acms-admin-block-editor-link-button-link:link, .acms-admin-block-editor-link-button-link:visited,
.link-button-block-link,
.link-button-block-link:link,
.link-button-block-link:visited {
  color: var(--color-white);
}

/* リンクスタイル（閲覧画面のみ） */
.link-button-block-link {
  text-decoration: none;
}
@media (hover: hover) {
  .link-button-block-link {
    transition: background-color 0.2s ease;
  }
  .link-button-block-link:where(:-moz-any-link):hover {
    background: var(--color-primary-hover);
    opacity: 1;
  }
  .link-button-block-link:where(:any-link):hover {
    background: var(--color-primary-hover);
    opacity: 1;
  }
}

.entry-style .link-button-block-link {
  text-decoration: none; /* リセット */
}

.entry-style .link-button-block-link[target=_blank] {
  margin-right: 0; /* リセット */
}

/* ------------------------------
 カスタムユニット
------------------------------ */
/* 目次ユニット
------------------------------ */
.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: 1.5;
}
.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: 1.5;
  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.5625rem;
  font-weight: bold;
}
.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 {
    height: auto;
    font-size: 1.5625rem;
  }
  .entry-style .message-content {
    margin: 0;
  }
}
/* 料金テーブル
------------------------------ */
.entry-style .pricing-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--col-gutter);
  justify-content: center;
  padding: 4rem 0 2rem;
  padding: 0;
  margin: 1.5rem 0;
}
.entry-style .pricing-group:has(.is-recommend) {
  padding-top: 16px;
}
.entry-style .pricing-item {
  position: relative;
  display: flex;
  flex: 0 1 100%;
  margin: 0 0 var(--entry-el-margin-md) 0;
  list-style: none;
}
.entry-style .pricing-inner {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 2.5rem 2rem 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;
  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-ss);
  text-align: center;
}
.entry-style .pricing-unit {
  font-size: 1rem;
}
.entry-style .pricing-check-group {
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  list-style: none;
}
.entry-style .pricing-check-group li {
  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 0;
  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);
    padding: 6rem 0 4rem;
    margin: 0;
  }
  .entry-style .pricing-item {
    box-sizing: border-box;
    flex: 1 1 calc(33.3333333333% - 2rem);
    margin: 0 0 var(--entry-el-margin-md) 0;
  }
  .entry-style .pricing-item:hover .pricing-inner {
    box-shadow: var(--box-shadow-hover);
  }
  .entry-style .pricing-label {
    padding: 0.5rem 1.5rem;
    font-size: 1.25rem;
  }
  .entry-style .pricing-title {
    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; /* リセット */
}
[class*=column-embed-] .acms-embed-link-site-name {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text);
}
[class*=column-embed-] .acms-embed-link-title {
  margin: 0 0 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1rem;
  font-weight: bold;
  line-height: var(--line-height-sm);
  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;
  -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: 1.25rem;
    font-weight: bold;
    white-space: nowrap;
  }
}

/* ------------------------------
 - ブロックエディタのファイル（縦積み、ボタン型）
 - メディアファイル
 - ファイル
 ※ media-downloadは動的、storageは静的書き出しに対応
------------------------------ */
:where(.entry-style) .node-fileBlock,
.media-file-block,
[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 対策 */
}

/* ボタン型
------------------------------ */
/* リンク */
.acms-admin-block-editor-file-link,
.media-file-block[data-display-type=button] a,
[class*=column-media] a[href*=media-download],
[class*=column-media] a[href*=storage],
[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-file-block[data-display-type=button] a,
[class*=column-media] a[href*=media-download],
[class*=column-media] a[href*=storage],
[class*=column-file] a,
.entry-style [class*=column-file] a { /* hover動作上書きのため詳細度高めて指定 */ }
@media (hover: hover) {
  .media-file-block[data-display-type=button] a,
  [class*=column-media] a[href*=media-download],
  [class*=column-media] a[href*=storage],
  [class*=column-file] a,
  .entry-style [class*=column-file] a {
    transition: background-color 0.2s ease;
  }
  .media-file-block[data-display-type=button] a:where(:-moz-any-link):hover, [class*=column-media] a[href*=media-download]:where(:-moz-any-link):hover, [class*=column-media] a[href*=storage]:where(:-moz-any-link):hover, [class*=column-file] a:where(:-moz-any-link):hover, .entry-style [class*=column-file] a:where(:-moz-any-link):hover {
    background-color: var(--color-gray20);
    border-color: var(--color-gray40); /* hover動作上書きのため */
  }
  .media-file-block[data-display-type=button] a:where(:any-link):hover,
  [class*=column-media] a[href*=media-download]:where(:any-link):hover,
  [class*=column-media] a[href*=storage]:where(:any-link):hover,
  [class*=column-file] a:where(:any-link):hover,
  .entry-style [class*=column-file] a:where(:any-link):hover {
    background-color: var(--color-gray20);
    border-color: var(--color-gray40); /* hover動作上書きのため */
  }
}

/* ファイルアイコン */
.acms-admin-block-editor-file-link img,
.media-file-block[data-display-type=button] img,
[class*=column-media] .columnIcon,
[class*=column-file] .columnIcon {
  display: inline-block;
  width: 2rem;
  max-width: 100%;
  height: auto;
}

/* キャプションタイポグラフィ設定 */
.acms-admin-block-editor-file-link .caption,
.media-file-block[data-display-type=button] .caption,
[class*=column-file] .caption,
[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プレビュー
------------------------------ */
/* リンク */
[class*=column-media]:has(.column-pdf-image) a {
  display: inline-grid;
  gap: 0.5rem;
  justify-content: center;
  /* リンクスタイルリセット */
  padding: 0;
  border: 0;
}
@media (hover: hover) {
  [class*=column-media]:has(.column-pdf-image) a:hover {
    background-color: transparent; /* リセット */
  }
  [class*=column-media]:has(.column-pdf-image) a:hover .column-pdf-image {
    opacity: 0.7;
  }
  [class*=column-media]:has(.column-pdf-image) a:hover .caption {
    border-bottom-color: currentcolor;
  }
}

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

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

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

.acms-admin-block-editor-file:not(:has(.acms-admin-block-editor-file-link)),
.media-file-block[data-display-type=icon] {
  text-align: center;
}
.acms-admin-block-editor-file:not(:has(.acms-admin-block-editor-file-link)) img,
.media-file-block[data-display-type=icon] img {
  width: 4.5rem;
  max-width: 100%;
  height: auto;
}

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

/* ------------------------------
 メディア画像・画像・画像URL
------------------------------ */
/* 管理画面側：ブロックエディターfigure要素リセット用 */
.acms-admin-block-editor-image {
  margin: 0;
}

/* 上下余白 */
:where(.media-image-block),
:where(.entry-style) .node-imageBlock,
[class*=column-image],
[class*=column-media]:not(:has(a[href*=media-download], a[href*=storage])),
[class*=column-eximage] {
  margin-block: 0 var(--entry-el-margin-md);
}

/* 画像ユニット：style属性でwidth指定された場合の横はみ出し防止 */
[class*=column-image][style*=width] {
  max-width: 100%;
}

/* 共通設定
------------------------------ */
:where(.media-image-block),
:where(.acms-admin-block-editor-image),
[class*=column-image],
[class*=column-media]:not(:has(a[href*=media-download], a[href*=storage])),
[class*=column-eximage] {
  line-height: 0; /* Descender space 対策 */
}
:where(.media-image-block) a,
:where(.acms-admin-block-editor-image) a,
[class*=column-image] a,
[class*=column-media]:not(:has(a[href*=media-download], a[href*=storage])) a,
[class*=column-eximage] a {
  display: inline-block;
  /* リセット用 */
  text-decoration: none;
  /* マウスオーバー用 */
  transition: opacity 0.2s ease;
}
:where(.media-image-block) a:hover,
:where(.acms-admin-block-editor-image) a:hover,
[class*=column-image] a:hover,
[class*=column-media]:not(:has(a[href*=media-download], a[href*=storage])) a:hover,
[class*=column-eximage] a:hover {
  opacity: 0.7;
}
:where(.media-image-block) img,
:where(.acms-admin-block-editor-image) img,
[class*=column-image] img,
[class*=column-media]:not(:has(a[href*=media-download], a[href*=storage])) img,
[class*=column-eximage] img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
}

:where(.media-image-block),
:where(.acms-admin-block-editor-image) {
  text-align: center;
}

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

[class*=column-image] .caption,
[class*=column-media]:not(:has(a[href*=media-download], a[href*=storage])) .caption,
[class*=column-eximage] .caption {
  text-align: center;
}

/* ------------------------------
 地図
------------------------------ */
.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-bottom: var(--border-width-sm) solid var(--color-gray30);
  border-left: var(--border-width-sm) solid var(--color-gray30);
}
.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:last-child th,
.entry-style table:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) tr:last-child td {
  border-bottom: 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] *)) p {
  margin-block: 0;
}
.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;
  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-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-base);
  color: var(--color-text);
}
@media (min-width: 48rem) {
  .card-bordered-title,
  .entry-style .card-bordered-title {
    font-size: 1.5625rem;
  }
}

/* ------------------------------
　　カード
------------------------------ */
/* カード全体リンク */
.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: 1;
}
.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-base);
  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-lg);
  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;
}

/* 補足ラベルリスト */
.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-lg);
  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: 1;
}
@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;
  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: 1;
  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: 1;
}
@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;
  }
}

.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;
}

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

/* 事例一覧用サービス名ラベル */
.service-card-work-name,
.entry-style .service-card-work-name {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  line-height: var(--line-height-lg);
  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: auto;
  aspect-ratio: 1/1;
  margin-left: auto;
  line-height: 1;
  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;
  }
}

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