
/* サイドメニュー調整 */
html #block-menu-main{display: none;}
html #block-menu-side{display: none;}
html #block-menu-special{display: none;}

html.no-js #block-menu-main{display: block;}
html.no-js #block-menu-side{display: block;}
html.no-js #block-menu-special{display: block;}

.component-menu-main .menu-active-trail + .menu-children + .menu-children{display: block;}
li[data-depth="3"] svg.icon.minus{display: none;}
li[data-depth="3"] > .menu-children:nth-of-type(2) li:first-of-type{border-top: none;}
li[data-curl=""]{pointer-events: none;display: none;}

/* contentsリスト調整 */
html #block-page-children{display: none;}
html.no-js #block-page-children{display: block;}

/* サイトマップ調整 */
.component-sitemap .menu-children[data-depth="2"]{font-size: 1.3em;}
.component-sitemap li[data-depth-cat="3"]{font-size: 1em;}
.component-sitemap [class*="menu-item-depth-"] .component-link:before{content:"・";}
.component-sitemap .menu-item-depth-1 .component-link:before{content:"";}

.component-sitemap [class*="menu-item-depth-"] + .menu-children{margin-left: 2.4em;}
.component-sitemap .menu-item-depth-1 + .menu-children{margin-left: 0;}

/* 年度表示 */
.component-table-contract .table-head th{background-color: #fcfcfc;}

/* ブロックエディター及びユニットの配置設定 */
.align-left {
  display: flex;
  justify-content: flex-start;
}

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

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

:where(.acms-entry) :where([data-type='columns']),:where(.top-textarea) :where([data-type='columns']) {
  display: grid;
  grid-auto-flow: column;
  box-sizing: border-box;
  gap: 1rem; 
}

/* 2カラム */
:where(.acms-entry) :where([data-type='columns']).layout-two-column,:where(.top-textarea) :where([data-type='columns']).layout-two-column {
  grid-template-columns: repeat(2, 1fr);
}

/* 3カラム */
:where(.acms-entry) :where([data-type='columns']).layout-three-column,:where(.top-textarea) :where([data-type='columns']).layout-three-column  {
  grid-template-columns: repeat(3, 1fr);
}

/* ブロックエディター内の画像調整 */
.column-block-editor img{height: auto;}
.column-block-editor a.link[data-icon="pdf"]{}

/* ブロックエディターカスタムクラス*/
.icon-new::after{content:url(../image_file/img/newimage1.gif);display: inline-block;}
.not-bb{text-decoration: none!important;}

/* 契約テーブル下部余白 */
.component-table-contract{margin-bottom: 20px;}

/* エントリー下部：お問い合わせ */
.block-page-section .section-title{display: block;}

/* ページャー 現ページ */
.pager .page-span:not(:has(a)){display: block;text-decoration: none;padding: 4px 6px;font-weight: bold;}

/* hr調整 */
hr.clearHidden{border: none!important;}

/* トップページ：緊急情報 */
.emergency-info{border: 2px solid #f74811;background: #ffc;padding: 1em;max-width: 100%;}
.emergency-info .head{font-size: 1.3em;color: #f74812;margin: 0 0 1rem 0;line-height: 1;display: flex;align-items: center;font-weight: 700;letter-spacing: 0.1em;}
.emergency-info .head svg{width: 1em;height: 1em;margin-right: 0.5em;}
.emergency-info .txt{font-size: 1em;color: #c13104;}
@media screen and (max-width: 767px), (max-width: 896px) and (orientation:landscape) {
  .emergency-info{max-width: calc(100% - 20px);margin: auto;}
}

/* トップページ：自由項目 */
.top-textarea.editor-content{margin: 20px 0;max-width: 100%;padding: 0;}
.top-textarea.editor-content h2{margin-right: 0;margin-left: 0;}
.top-textarea.editor-content h3{margin-right: 0;margin-left: 0;}
.top-textarea.editor-content img{max-width: 100%;height: auto;}
.top-textarea.editor-content figure{margin-right: 0;margin-left: 0;}
.top-textarea.editor-content blockquote{background: #fafafa;margin-right: 0;margin-left: 0;padding: 10px;}
.top-textarea.editor-content blockquote p{margin: 0;}
.top-textarea.editor-content .link-button-block .link-button-block-link{padding: 10px;background: #193d94;color: #fff;text-decoration: none;display: inline-block;}
@media screen and (max-width: 767px), (max-width: 896px) and (orientation:landscape) {
	.top-textarea.editor-content{padding: 0 10px;}
}

/* エントリー内の余白調整 */
.editor-content.acms-entry{padding: 0;}
.editor-content.acms-entry h2{margin-right: 0;margin-left: 0;}
.editor-content.acms-entry h3{margin-right: 0;margin-left: 0;}

/* ファイル設置ユニット */
.unit-mediafile a{display: block;width: fit-content;margin-bottom: 10px;}