html,
:root {
  --bg-footer: var(--color-text); /* フッター背景。デザインカンプに合わせ本文色（濃紺）と共通化 */
  /* この案件固有のテーマカラー。デザインカンプの実測値 */
  --color-brand: #2a6f9c;             /* メインの青（ボタン・リンク・日付等） */
  --color-brand-rgb: 42, 111, 156;
  --color-text: #22303a;              /* 本文・見出しの濃紺。フッター背景にも使用 */
  --color-accent: #f0b93a;            /* アクセントの黄色（見出しのドット・下線） */
  --color-background-subtle: #eef6fb; /* 薄い青の背景（メインビジュアル・セクション背景） */
  --color-border: #d5e6f0;            /* 境界線・淡色面の薄い青 */
  --radius-card: 20px;                /* カード状の白背景の角丸（デザインカンプのカードに合わせる） */

  /* 以下は共通トークン（tokens.css）の既定値をそのまま移したもの。
     納品時に tokens.css をアップロードしなくて済むよう、この案件で使うトークンを main.css に集約している */
  --color-text-muted: #999999;        /* 補助的な文字色 */
  --color-text-inverse: #ffffff;      /* 暗い背景の上の白文字 */
  --color-background: #ffffff;        /* 基本の背景色 */
  --font-family-base: "Manrope", "Noto Sans JP", sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.8;
  --radius-base: 8px;                 /* 画像・カード等の角丸 */
  --radius-round: 10px;               /* 小さな丸ドット等を完全な円にする角丸 */
  --radius-pill: 50px;                /* ボタン等のピル形状 */
}


html,
body {
  height: 100%;
}

div.ccm-page {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  font-family: var(--font-family-base);
}

/* Body Styles
-------------------------------------------------- */

div.ccm-page {
  background-color: var(--color-background);
  color: var(--color-text);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: var(--line-height-base);
  overflow-wrap: anywhere;
}

.ccm-toolbar-visible .navbar-fixed-top {
  top: 48px;
  z-index: 4;
}

/* a
-------------------------------------------------- */

div.ccm-page a {
  color: var(--color-text);
  transition: color 0.5s 0s ease;
  text-decoration: none;
}

div.ccm-page a:hover,
div.ccm-page a:focus,
div.ccm-page a:active {
  color: var(--color-brand);
}

div.ccm-page #main-section p > a {
  background: linear-gradient(#222222, #222222) 0 100% / 100% 1px no-repeat;
}

div.ccm-page #main-section p > a:hover {
  text-decoration: none;
  background: transparent 0 100% / 100% 0px no-repeat;
}

div.ccm-page a > img {
  transition: all 0.3s ease-in;
}
div.ccm-page a:hover > img {
  opacity: 0.6;
}

/* h1 h2 h3 h4 h5 h6
-------------------------------------------------- */

div.ccm-page h1,
div.ccm-page .h1 {
  color: var(--color-text-inverse);
  font-size: 2em;
  font-weight: 600;
}

div.ccm-page h1.error {
  color: var(--color-text-muted);
}

div.ccm-page h2,
div.ccm-page .h2 {
  position: relative;
  font-size: 1.75em;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75em;
  padding-bottom: 0.5em;
}

/* div.ccm-page h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px;
  height: 2px;
  background: var(--color-accent);
} */

div.ccm-page h3,
div.ccm-page .h3 {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75em;
  padding-bottom: 0.25em;
  border-bottom: 3px solid var(--color-text-muted);
}

div.ccm-page h3.secondary {
  color: var(--color-text-muted);
}

div.ccm-page h4,
div.ccm-page .h4 {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: 0.75em;
}

div.ccm-page h4.secondary {
  color: var(--color-text-muted);
}

div.ccm-page h5,
div.ccm-page .h5 {
  font-size: 1.125em;
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: 0.75em;
}

div.ccm-page h6,
div.ccm-page .h6 {
  font-size: 1em;
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: 0.75em;
}

div.ccm-page .h1 .small,
div.ccm-page .h1 small,
div.ccm-page .h2 .small,
div.ccm-page .h2 small,
div.ccm-page .h3 .small,
div.ccm-page .h3 small,
div.ccm-page .h4 .small,
div.ccm-page .h4 small,
div.ccm-page .h5 .small,
div.ccm-page .h5 small,
div.ccm-page .h6 .small,
div.ccm-page .h6 small,
div.ccm-page h1 .small,
div.ccm-page h1 small,
div.ccm-page h2 .small,
div.ccm-page h2 small,
div.ccm-page h3 .small,
div.ccm-page h3 small,
div.ccm-page h4 .small,
div.ccm-page h4 small,
div.ccm-page h5 .small,
div.ccm-page h5 small,
div.ccm-page h6 .small,
div.ccm-page h6 small {
  font-weight: 500;
  color: var(--color-text-muted);
}

@media screen and (max-width: 767.98px) {
  div.ccm-page h1,
  div.ccm-page .h1 {
    font-size: 1.5em;
  }

  div.ccm-page h2,
  div.ccm-page .h2 {
    font-size: 1.375em;
    font-weight: 700;
  }

  div.ccm-page h3,
  div.ccm-page .h3 {
    font-size: 1.3em;
    font-weight: 700;
  }

  div.ccm-page h4,
  div.ccm-page .h4 {
    font-size: 1.25em;
    font-weight: 700;
  }

  div.ccm-page h5,
  div.ccm-page .h5 {
    font-size: 1em;
    font-weight: 700;
  }

  div.ccm-page h6,
  div.ccm-page .h6 {
    font-size: 0.875em;
    font-weight: 700;
  }
}

/* p
-------------------------------------------------- */
div.ccm-page p,
div.ccm-page li,
div.ccm-page dt,
div.ccm-page dd,
div.ccm-page .btn {
  font-size: 1em;
}

@media screen and (max-width: 767.98px) {
  div.ccm-page p,
  div.ccm-page li,
  div.ccm-page dt,
  div.ccm-page dd,
  div.ccm-page .btn {
    font-size: 0.875em;
  }
}

/* @media screen and (max-width: 479.98px) {
  div.ccm-page p,
  div.ccm-page li,
  div.ccm-page dt,
  div.ccm-page dd,
  div.ccm-page .btn {
    font-size: 0.775em;
  }
} */

/* Header
-------------------------------------------------- */

div.ccm-page #main-header-home {
  width: 100%;
  margin-top: 90px; /* 固定ヘッダー（nav の min-height）の高さ分 */
  height: calc(100svh - 90px); /* ヘッダーを除いた画面の高さに収める */
  background-color: var(--color-background-subtle);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* キャッチコピーをメインビジュアルの左下に寄せる */
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
}
div.ccm-page #main-header-home .container {
  display: grid;
  align-items: end; /* キャッチコピーをメインビジュアルの下端に寄せる */
  height: 100%;

}

div.ccm-page #main-header-home div {
  text-align: left;
}

div.ccm-page #main-header-home span:nth-of-type(1) {
  font-size: clamp(1.25rem, 0.5rem + 3.6vw, 3.5rem); /* スマホ幅（375px）で1行に収まるよう21px程度まで縮める */
  font-weight: 600;
  line-height: 1.4;
  /* color: rgba(255, 255, 255, 0.5); */
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.8);
  font-feature-settings: "palt";
}

div.ccm-page #main-header-home span:nth-of-type(2) {
  font-size: clamp(0.9375rem, 0.6rem + 1.75vw, 2rem); /* スマホ幅では最小15px程度まで縮める */
  font-weight: 500;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.8);
  font-feature-settings: "palt";
}

/* div.ccm-page #main-header-home span:nth-of-type(3) {
  font-size: clamp(1rem, 0.5833rem + 1.3333vw, 1.75rem);
  font-weight: 600;
  color: #646464;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.8);
} */

div.ccm-page #main-header-page {
  margin-top: 90px; /* 固定ヘッダー（nav の min-height）の高さ分 */
  min-height: max(120px, 11.5vw); /* 背景画像の人物・矢印が広い画面でも隠れないよう、高さを画面幅に比例させる */
  display: flex;
  align-items: center; /* 高さが中身より大きいときも見出しを縦中央に置く */
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  background-color: var(--color-background);
}

div.ccm-page #main-header-page h1 {
  color: #fff;
  /*text-shadow: 2px 2px 10px rgb(var(--color-brand-rgb), 0.6);*/
  margin: 0px;
  padding-top: 48px;
  padding-bottom: 40px;
}

div.ccm-page #main-header-page small {
  color: #fff;
  font-size: 0.725em;
  display: block;
  font-weight: 200;
}

div.ccm-page a.anchor {
  display: block;
  padding-top: 90px;
  margin-top: -90px;
}

#main-header-page img {
 width: 112px;
 height: 100px;
}

@media screen and (max-width:576px) {
  #main-header-page img {
    width: 45px;
    height: 40px;
  }
}

/*--------------------------------------------------------------
# Header / Navigation（配色・余白は過去案件のデザインに準拠。開閉の仕組みはBootstrap5 collapseのまま）
--------------------------------------------------------------*/
div.ccm-page nav.navbar {
  margin-bottom: 0;
  z-index: 9997;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 90px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--color-text-inverse);
  transition: all 0.5s;
  padding: 8px 16px;
}

div.ccm-page .navbar-nav {
  justify-content: end;
  align-items: center;
}

div.ccm-page .navbar-nav > li {
  text-align: initial;
  vertical-align: top;
}

div.ccm-page .navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  font-size: 16px;
  color: var(--color-text);
  text-align: center;
  transition: all 0.5s;
}

div.ccm-page .navbar-nav li.nav-item > a small {
  display: block;
  line-height: 1;
  font-weight: 200;
  font-size: 12px;
  padding-top: 5px;
  text-align: center;
  color: var(--color-text);
  transition: color 0.5s;
}

div.ccm-page .navbar-nav .nav-link:hover small,
div.ccm-page .navbar-nav .nav-link.active small {
  color: var(--color-brand); /* アクセントの黄色は白背景で読みにくいため、メインの青を使う */
  font-weight: 500;
}

/* ヘッダーは白背景（メインビジュアルはヘッダーの高さ分下げて重ねない） */
div.ccm-page nav.navbar {
  background: var(--color-background);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--color-text) 10%, transparent); /* 下側に薄い影 */
}

/* キーボード操作時のみフォーカスリングを表示。ヘッダーは半透明でヒーロー画像に
   重なるため、背景の明暗どちらでも視認できるよう濃色・白の二重リングにする */
div.ccm-page .navbar-nav .nav-link:focus-visible {
  outline: 2px solid var(--color-text-inverse);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--color-brand);
}

.navbar-toggler {
  border: none !important;
  padding: 0;
  cursor: pointer;
}

.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: none !important;
}

/* キーボード操作時のみフォーカスリングを表示（マウスクリック時は非表示）。
   ヘッダーは半透明でヒーロー画像に重なるため、背景の明暗どちらでも視認できるよう
   濃色・白の二重リングにしてコントラストを確保する */
.navbar-toggler:focus-visible {
  outline: 2px solid var(--color-text-inverse);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--color-brand);
}

div.ccm-page .navbar-toggler-icon {
  transition: background-image 0.2s ease;
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2851, 51, 51, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 開いたときは同じ .navbar-toggler-icon の背景を×アイコンに差し替える（独自class・独自要素は追加しない） */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2851, 51, 51, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M7 7l16 16M23 7L7 23'/%3e%3c/svg%3e");
}

#navbar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9996;
  background: rgba(51, 51, 51, 0.4);
}

#navbar-overlay.active {
  display: block;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
}

@media (max-width: 991.98px) {
  #navbarSupportedContent.collapse.show,
  #navbarSupportedContent.collapsing {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-brand);
    z-index: 9997;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
    padding: 8px 0;
  }

  #navbarSupportedContent .navbar-nav {
    flex-direction: column;
    width: 100%;
    margin: 0 !important;
  }

  #navbarSupportedContent .navbar-nav .nav-item {
    display: block;
    width: 100%;
  }

  #navbarSupportedContent .nav-link {
    color: var(--color-text-inverse) !important;
    padding: 16px 24px !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    text-align: left;
    width: 100%;
  }

  #navbarSupportedContent .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  #navbarSupportedContent .nav-link small {
    display: inline;
    margin-left: 0.5rem;
    padding-top: 0;
    text-align: left;
    background: none;
    filter: none;
    color: rgba(255, 255, 255, 0.8);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.8);
  }
}

@media (max-width: 575px) {
  div.ccm-page nav.navbar {
    min-height: 80px;
  }
  div.ccm-page .navbar-brand img {
    max-height: 54px;
    width: 220px;
    height: auto;
  }
  div.ccm-page nav.navbar .container-fluid {
    padding-inline: 0;
  }
}

/* home
-------------------------------------------------- */
div.ccm-page .home-concept,
div.ccm-page .home-recruit,
div.ccm-page .home-news {
  padding: 5rem 0;
}

div.ccm-page .home-concept {
  padding-bottom: 0;
  background:#EEF6FB;
}

/* About Us を白い角丸の背景で囲む（薄い青のセクション背景の上にカード状に載せる） */
div.ccm-page .home-concept > .container {
  background-color: var(--color-background);
  border-radius: var(--radius-card);
  padding: 3rem;
}

@media screen and (max-width: 767.98px) {
  div.ccm-page .home-concept > .container {
    width: calc(100% - 2rem); /* スマホでも左右に背景色が見えるよう少し内側に寄せる */
    padding: 2rem 1.5rem;
  }
}

div.ccm-page .home-concept h2,
div.ccm-page .home-recruit h2,
div.ccm-page .home-news h2 {
  font-size: 3em;
  font-weight: 600;
  padding-bottom: 0.25em;
}

div.ccm-page .home-concept h6,
div.ccm-page .home-recruit h6,
div.ccm-page .home-news h6 {
  color: var(--color-text);
}

/* 見出し内のサブラベル（アイブロウ）。TOP-PAGE.md記載の標準パターン
   （<h2 style="font-size:..."><span style="font-size:...;display:block;">サブラベル</span>見出し</h2>）
   に合わせ、フォントサイズ・display:blockはHTML側のstyle属性で指定する。ここでは色・行間・下部マージンを指定し、
   色は案件ごとに :root トークンの上書きで差し替える。 */
div.ccm-page h2 > span {
  color: var(--color-brand); /* デザインカンプのサブラベル（NEWS等）に合わせて青 */
  line-height: 1.2; /* 見出し本文との間が全体共通のline-height:1.8で間延びしないようにする */
  margin-bottom: 5px; /* サブラベルと見出し本文の間の余白 */
}

/* サブラベルの左に黄色の丸を付ける（テキストの前に置くため ::before を使う） */
div.ccm-page h2 > span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: var(--radius-round);
  background-color: var(--color-accent);
  vertical-align: middle;
}

@media screen and (max-width: 1199.98px) {
  div.ccm-page .home-concept h2,
  div.ccm-page .home-recruit h2,
  div.ccm-page .home-news h2 {
    font-size: 2.25em;
  }
}

@media screen and (max-width: 767.98px) {
  div.ccm-page .home-concept,
  div.ccm-page .home-recruit,
  div.ccm-page .home-news {
    padding: 1.75em 0;
  }
  div.ccm-page .home-concept h2,
  div.ccm-page .home-recruit h2,
  div.ccm-page .home-news h2 {
    font-size: 2em;
  }
  div.ccm-page .home-concept p {
    font-size: 0.925em;
  }
}

/* main-section
-------------------------------------------------- */

div.ccm-page #main-section {
  background-color: var(--color-background);
  color: #000;
  padding: 3.75em 0;
}

div.ccm-page #main-section :is(h2, h3, h4, h5, h6) {
  margin-top: 1.75em;
}

div.ccm-page #main-section .container:first-child :is(h2, h3, h4, h5, h6):first-child {
  margin-top: 0;
}

div.ccm-page #main-section p {
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 1em;
}

div.ccm-page #main-section p .fa,
div.ccm-page #main-section p .fab,
div.ccm-page #main-section p .fal,
div.ccm-page #main-section p .far,
div.ccm-page #main-section p .fas {
  display: inline;
}

div.ccm-page #main-section li {
  font-size: 1em;
}

@media screen and (max-width: 767.98px) {
  div.ccm-page #main-section {
    padding-bottom: 1.875em;
  }
  div.ccm-page #main-section p,
  div.ccm-page #main-section li,
  div.ccm-page blockquote {
    font-size: 0.925em;
  }
}

/* section --------------------------------------- */

div.ccm-page section {
  padding-bottom: 1.25em;
}

/* footer
-------------------------------------------------- */
div.ccm-page #footer {
  margin-top: auto;
  background-color: var(--bg-footer);
}

div.ccm-page .footer h5 {
  color: var(--color-text-inverse);
  margin-bottom: 0.5em;
}

div.ccm-page .footer h5 small {
  font-weight: normal;
  font-size: 0.75em;
}

div.ccm-page .footer p {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: 12px;
  font-weight: 200;
}

div.ccm-page .footer p,
div.ccm-page .footer a {
  color: var(--color-text-inverse);
  transition: color 0.5s 0s ease;
}
div.ccm-page .footer p > a {
  background: linear-gradient(var(--color-text-inverse), #222222) 0 100% / 100% 1px no-repeat;
}

div.ccm-page #main-section a:hover {
  background: transparent 0 100% / 100% 0px no-repeat;
}

div.ccm-page .footer a:hover {
  background: transparent 0 100% / 100% 0px no-repeat;
  /* color: var(--color-text-muted); */
  text-decoration: none;
}

div.ccm-page #top-footer {
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--color-border);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

div.ccm-page #bottom-footer {
  background-color: var(--color-text);
  color: var(--color-text-inverse);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

div.ccm-page #bottom-footer .copyright {
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.5);
}

div.ccm-page #bottom-footer .ccm-block-social-links a > .fa {
  color: var(--color-text-inverse);
}

div.ccm-page #bottom-footer .ccm-block-social-links a > .fa:hover,
div.ccm-page #bottom-footer .ccm-block-social-links a > .fa:active,
div.ccm-page #bottom-footer .ccm-block-social-links a > .fa:focus {
  color: var(--color-text-muted);
}

div.ccm-page #bottom-footer .logo {
  display: flex;
  justify-content: flex-start;
  padding-top: 1.75em;
}

@media screen and (min-width: 768px) {
  div.ccm-page #bottom-footer .logo {
    justify-content: flex-end;
    padding-top: 0;
  }
}
div.ccm-page #top-footer div a {
  transition: 0.3s;
}



/* max-width: 1399.98px
-------------------------------------------------- */
@media screen and (max-width: 1399.98px) {
}

/* max-width: 1199.98px
-------------------------------------------------- */

@media screen and (max-width: 1199.98px) {
}

/* max-width: 991.98px
-------------------------------------------------- */

@media screen and (max-width: 991.98px) {
  div.ccm-page #main-header-home {
    background-position: 82% bottom;
  }

}

/* max-width: 767.98px
-------------------------------------------------- */

@media screen and (max-width: 767.98px) {
  div.ccm-page #main-header-home {
    background-position: 80% bottom;
  }

  div.ccm-page #main-header-page {
    margin-top: 90px;
    min-height: 108px;
  }

  div.ccm-page #main-header-page h1 {
    font-size: 28px;
    padding-top: 40px;
    padding-bottom: 34px;
    /* display: flex;
    align-items: end;
    gap: 5px; */
  }

}

/* max-width: 479.98px
-------------------------------------------------- */

@media screen and (max-width: 575px) {
  div.ccm-page #main-header-home {
    margin-top: 80px; /* この幅では nav の min-height が 80px */
    height: calc(100svh - 80px); /* ヘッダー込みで画面の高さにぴったり */
    padding-bottom: 1.5rem; /* キャッチコピーを下端に近づける（PCは3rem） */
  }

  div.ccm-page #main-header-page {
    margin-top: 80px; /* この幅では nav の min-height が 80px */
    min-height: 92px;
  }

  div.ccm-page #main-header-page h1 {
    font-size: 22px;
    padding-top: 30px;
    padding-bottom: 26px;
  }

  div.ccm-page #main-header-page span {
    padding: 0 10px;
  }
}

/* side nav menu
-------------------------------------------------- */

div.ccm-page ul.seren-vertical-menu {
  margin-bottom: 20px;
  border-top: 1px solid var(--color-border);
  position: sticky;
  top: 90px;
  z-index: 99;
}

div.ccm-page ul.seren-vertical-menu > li {
  position: relative;
  z-index: 0;
  border-bottom: 1px solid var(--color-border);
  transition: all 0.5s;
  width: 100%;
}

div.ccm-page ul.seren-vertical-menu > li::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--color-background-subtle) 25%, transparent),
    color-mix(in srgb, var(--color-background-subtle) 5%, transparent)
  );
  opacity: 0;
  transition: opacity 0.5s;
}

div.ccm-page ul.seren-vertical-menu > li:hover::before {
  opacity: 1;
}

div.ccm-page ul.seren-vertical-menu > li > a {
  color: var(--color-text);
  margin-left: 2em;
  padding: 13px 10px;
  text-decoration: none !important;
  display: block;
}

div.ccm-page ul.seren-vertical-menu > li > a:focus,
div.ccm-page ul.seren-vertical-menu > li > a:hover {
  background-color: transparent !important;
  text-decoration: none;
  transition: color 0.5s ease 0s;
}

div.ccm-page ul.seren-vertical-menu > li > a:before {
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: "\f105";
  margin-left: -1.5em;
  padding-right: 0.5em;
  transition: color 0.5s ease 0s;
}

div.ccm-page ul.seren-vertical-menu > li > a:hover:before {
  color: var(--color-brand) !important;
}

div.ccm-page ul.seren-vertical-menu > li.selected {
  font-weight: 600;
  background: var(--color-background-subtle);
}

/* div.ccm-page ul.seren-vertical-menu > li.selected a,
div.ccm-page ul.seren-vertical-menu > li.selected a:before {
} */

div.ccm-page ul.seren-vertical-menu > li > ul > li {
  text-align: right;
  list-style: none;
  padding: 0 0.5em 0.5em;
}

div.ccm-page ul.seren-vertical-menu > li > ul > li > a {
  text-decoration: none !important;
  padding: 0.5em 0;
}

div.ccm-page ul.seren-vertical-menu > li > ul > li > a:hover:after {
  color: var(--color-brand) !important;
  transition: color 1s ease 0s;
}

div.ccm-page ul.seren-vertical-menu > li > ul > li.selected {
  color: var(--color-brand);
  font-weight: 600;
}

div.ccm-page ul.seren-vertical-menu > li > ul > li.selected > a {
  color: var(--color-brand);
}

div.ccm-page ul.seren-vertical-menu > li > ul > li.selected > a:after,
div.ccm-page ul.seren-vertical-menu > li > ul > li.selected > a:focus:after,
div.ccm-page ul.seren-vertical-menu > li > ul > li.selected > a:hover:after {
  color: var(--color-brand) !important;
}

div.ccm-page .seren-vertical-menu .collapse > li {
  border: none;
}

div.ccm-page .seren-vertical-menu .collapse > li > a:focus,
div.ccm-page .seren-vertical-menu .collapse > li > a:hover {
  background-color: transparent !important;
  text-decoration: none;
}

div.ccm-page .vertical-menu-title > small:before {
  content: "\A";
  white-space: pre;
}

div.ccm-page .vertical-menu-title > small {
  font-size: inherit;
}

@media screen and (max-width: 767.98px) {
  div.ccm-page .vertical-menu-title > small:before {
    content: " ";
    white-space: pre;
  }
}

/* btn
-------------------------------------------------- */

div.ccm-page .btn {
  border-radius: 0;
  font-weight: 500;
  padding: 0.725em 1.75em 0.5em;
}

div.ccm-page #main-section a.btn,
div.ccm-page #main-section .btn {
  text-decoration: none;
}

div.ccm-page .btn-group-lg > .btn,
div.ccm-page .btn-lg {
  border-width: 2px;
}

div.ccm-page .btn-xlg {
  padding: 16px 24px;
  line-height: 1.3333333;
  border-width: 3px;
}

div.ccm-page .btn-normal{
  padding: 10px 50px 10px 20px;
  min-height: 40px;
  color: var(--color-text);
  position: relative;
  background-color: var(--color-background);
  border-radius: var(--radius-pill);
}


/* 右端の丸い矢印アイコン（画像を使わずCSSで描画）。::before = 丸、::after = 矢印（くの字）。
   丸が欠けないよう、overflow:hidden や z-index:-1 での背面配置は使わない。
   また transform: translateY(-50%) で縦中央にすると、ホバーの色変化中に端数ピクセルの
   描画領域で円の上端が欠けることがあるため、top/bottom:0 + margin:auto で中央に置く */
div.ccm-page .btn-normal::before {
  content: "";
  width: 30px;
  height: 30px;
  position: absolute;
  right: 8px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  transition: background-color 0.4s, right 0.3s ease;
  border-radius: 50%;
  background-color: var(--color-brand);
}

/* 矢印は丸の中心（右端から 8px + 半径15px = 23px）に置く。
   translate(50%, -50%) で四角の中心を丸の中心に合わせ、回転後の「＞」は線のある右側に
   重心が寄るため、translateX(-2px) で見た目の中心を補正してから45度回転させる */
div.ccm-page .btn-normal::after {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  right: 23px;
  top: 50%;
  transform: translate(50%, -50%) translateX(-2px) rotate(45deg);
  border-top: 1.5px solid var(--color-text-inverse);
  border-right: 1.5px solid var(--color-text-inverse);
  transition: right 0.3s ease;
}

/* ホバー時（キーボード操作でリンクにフォーカスしたときも同様）のアニメーション：
   文字を青に、丸を少し濃い青にし、丸と矢印をいっしょに右へ4pxスライドする。
   transform で動かすと描画中に円が欠けることがあるため、right の値を変えて動かす */
div.ccm-page .btn-normal {
  transition: color 0.3s ease;
}

@media screen and (min-width:992px) {
  div.ccm-page .btn-normal:hover,
  div.ccm-page a:focus-visible > .btn-normal {
    color: var(--color-brand);
  }

  div.ccm-page .btn-normal:hover::before,
  div.ccm-page a:focus-visible > .btn-normal::before {
    background-color: color-mix(in srgb, var(--color-brand) 75%, var(--color-text)); /* ホバー時は少し濃い青 */
  }

  div.ccm-page .btn-normal:hover::before,
  div.ccm-page a:focus-visible > .btn-normal::before {
    right: 4px; /* 通常時 8px → 4px（右へ4px） */
  }

  div.ccm-page .btn-normal:hover::after,
  div.ccm-page a:focus-visible > .btn-normal::after {
    right: 19px; /* 通常時 23px → 19px（丸と同じだけ右へ） */
  }
}

/* 動きを減らす設定の利用者にはスライドさせない */
@media (prefers-reduced-motion: reduce) {
  div.ccm-page .btn-normal::before {
    transition: background-color 0.4s;
  }

  div.ccm-page .btn-normal::after {
    transition: none;
  }
}

div.ccm-page .btn-transparent {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background-color: transparent;
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out;
}

div.ccm-page a.btn-transparent:hover,
div.ccm-page a.btn-transparent:focus,
div.ccm-page a.btn-transparent:active,
div.ccm-page .btn-transparent:hover,
div.ccm-page .btn-transparent:focus,
div.ccm-page .btn-transparent:active {
  color: var(--color-text-inverse);
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  transition: all 0.3s ease-in;
}

div.ccm-page a.btn-light-transparent,
div.ccm-page .btn-light-transparent {
  border-color: var(--color-text-inverse);
  color: var(--color-text-inverse);
  background-color: transparent;
  transition: all 0.2s ease-out;
}

div.ccm-page a.btn-light-transparent:hover,
div.ccm-page a.btn-light-transparent:focus,
div.ccm-page a.btn-light-transparent:active,
div.ccm-page .btn-light-transparent:hover,
div.ccm-page .btn-light-transparent:focus,
div.ccm-page .btn-light-transparent:active {
  color: var(--color-text);
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
  transition: background-color 0.3s ease-in, border-color 0.3s ease-in;
}

div.ccm-page a.btn-dark-transparent,
div.ccm-page .btn-dark-transparent {
  border-color: #000;
  color: #000;
  background-color: transparent;
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out;
}

div.ccm-page a.btn-dark-transparent:hover,
div.ccm-page a.btn-dark-transparent:focus,
div.ccm-page a.btn-dark-transparent:active,
div.ccm-page .btn-dark-transparent:hover,
div.ccm-page .btn-dark-transparent:focus,
div.ccm-page a.btn-dark-transparent:active {
  color: var(--color-text-inverse);
  background-color: rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 0, 0, 0.8);
  transition: background-color 0.3s ease-in, border-color 0.3s ease-in;
}

/* spacer
-------------------------------------------------- */

div.ccm-page .spacer-10 {
  height: 10px;
}

div.ccm-page .spacer-20 {
  height: 20px;
}

div.ccm-page .spacer-30 {
  height: 30px;
}

div.ccm-page .spacer-40 {
  height: 40px;
}

div.ccm-page .spacer-50 {
  height: 50px;
}

div.ccm-page .spacer-60 {
  height: 60px;
}

div.ccm-page .spacer-70 {
  height: 70px;
}

div.ccm-page .spacer-80 {
  height: 80px;
}

div.ccm-page .spacer-90 {
  height: 90px;
}

div.ccm-page .spacer-100 {
  height: 100px;
}

/* social-links
-------------------------------------------------- */

div.ccm-page .ccm-block-social-links a > .fa {
  color: #000;
  transition: color 1s ease-in-out;
  font-size: 18px;
}

div.ccm-page .ccm-block-social-links a > .fa:hover,
div.ccm-page .ccm-block-social-links a > .fa:active,
div.ccm-page .ccm-block-social-links a > .fa:focus {
  color: var(--color-brand);
  font-size: 18px;
}

/* form
-------------------------------------------------- */

div.ccm-page input[type="text"],
div.ccm-page input[type="email"],
div.ccm-page input[type="tel"],
div.ccm-page input[type="search"],
div.ccm-page input[type="url"],
div.ccm-page input[type="password"],
div.ccm-page input,
div.ccm-page input.form-control,
div.ccm-page .ui-autocomplete-input,
div.ccm-page textarea,
div.ccm-page .uneditable-input {
  border-radius: 0;
}

div.ccm-page div.ccm-block-type-form span.text-muted {
  color: var(--color-border);
}

/* pagenation
-------------------------------------------------- */

div.ccm-page .pagination > li:first-child > a,
div.ccm-page .pagination > li:first-child > span {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  margin-left: 0;
}

div.ccm-page .pagination > li:last-child > a,
div.ccm-page .pagination > li:last-child > span {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

div.ccm-page .pagination > .active > a,
div.ccm-page .pagination > .active > a:focus,
div.ccm-page .pagination > .active > a:hover,
div.ccm-page .pagination > .active > span,
div.ccm-page .pagination > .active > span:focus,
div.ccm-page .pagination > .active > span:hover {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
}

div.ccm-page .pagination a {
  color: var(--color-text);
}

/* image
-------------------------------------------------- */

div.ccm-page .center-block > img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

div.ccm-page img {
  display: inline-block;
  height: auto;
  max-width: 100%;
}

/* list
-------------------------------------------------- */

div.ccm-page ul.list {
  counter-reset: counter-name;
  padding-left: 0;
  margin-bottom: 2em;
}

div.ccm-page ul.list li {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 1em 0 1em 20px;
  border-bottom: 1px dotted var(--color-brand);
}

div.ccm-page ul.bordered {
  counter-reset: counter-name;
  padding-left: 0;
}

div.ccm-page ul.bordered li {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 1em 0 1em 1.75em;
  border-bottom: 1px dotted var(--color-brand);
}

div.ccm-page ul.bordered li::before {
  content: "";
  background-color: var(--color-brand);
  width: 5px;
  height: 5px;
  border-radius: var(--radius-round);
  position: absolute;
  left: 0.5em;
  top: 1.625em;
  margin: auto 0;
  padding: 4px;
}

div.ccm-page .list-styled {
  counter-reset: counter-name;
  padding: 0;
  margin: 0;
}

div.ccm-page .list-styled li {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0 0 0 1.75em;
}

div.ccm-page .list-styled li::before {
  content: "";
  background-color: var(--color-brand);
  width: 5px;
  height: 5px;
  border-radius: var(--radius-round);
  position: absolute;
  left: 0.5em;
  top: 0.625em;
  margin: auto 0;
  padding: 4px;
}

div.ccm-page ol {
  counter-reset: counter-name;
  padding-left: 0;
}

div.ccm-page ol li {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0 0 0 2.4em;
}

div.ccm-page ol.bordered {
  counter-reset: counter-name;
  padding-left: 0;
}

div.ccm-page ol.bordered li {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 1em 0 1em 2.4em;
  border-bottom: 0.5px solid var(--color-border);
}

div.ccm-page ol.no-border {
  counter-reset: counter-name;
  padding-left: 0;
}

div.ccm-page ol.no-border li {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0 0 0 2.4em;
  border-bottom-style: none !important;
}

div.ccm-page ol li:before,
div.ccm-page ol.bordered li:before,
div.ccm-page ol.no-border li:before {
  counter-increment: counter-name;
  content: counter(counter-name) ".";
  color: var(--color-brand);
  font-weight: 700;
  position: absolute;
  left: 0;
  display: block;
  width: 1.6em;
  text-align: right;
}

/* achievements
-------------------------------------------------- */

div.ccm-page #achievements ul {
  padding-left: 0;
  margin-bottom: 2em;
}

div.ccm-page #achievements ul li {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 1em 0em 1em 0.5em;
  border-bottom: 1px dotted var(--color-brand);
}

div.ccm-page #achievements ul li > strong:first-child {
  color: var(--color-brand);
  font-size: 1.125em;
  font-weight: 600;
  line-height: 1.4;
  display: inline-block;
  margin: 0 0 0.5em -0.25em;
}

div.ccm-page #achievements ul li strong {
  font-weight: 600;
  font-style: normal;
}

div.ccm-page #achievements ul li img {
  margin-top: 1em;
  padding: 0.25em 0.5em;
}

div.ccm-page #achievements ul li br {
  margin-bottom: 0.5em;
}

/* publications
-------------------------------------------------- */

div.ccm-page .publications {
  padding: 1em;
  border-bottom: 0.5px solid var(--color-border);
}

div.ccm-page #main-section .publications p {
  margin-bottom: 0.25em;
}

div.ccm-page #main-section .publications ul {
  list-style: none;
}

div.ccm-page #main-section .publications ul li {
  color: rgba(var(--color-brand-rgb), 1);
}

div.ccm-page .publications ul li::before {
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: "\f105";
  margin-left: -1.5em;
  padding-right: 0.5em;
  transition: color 1s ease 0s;
}

div.ccm-page #main-section .publications ul li a {
  color: rgba(var(--color-brand-rgb), 1);
}

div.ccm-page #main-section .publications ul li a:hover,
div.ccm-page #main-section .publications ul li a:focus,
div.ccm-page #main-section .publications ul li a:active {
  color: rgba(var(--color-brand-rgb), 0.5);
}

/* news, history
蟷ｴ譛域律陦ｨ遉ｺ
-------------------------------------------------- */

div.ccm-page .news-wrapper {
  margin-bottom: 2em;
}

div.ccm-page dl.news,
div.ccm-page dl.history {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
}

div.ccm-page dl.news dt,
div.ccm-page dl.news dd,
div.ccm-page dl.history dt,
div.ccm-page dl.history dd {
  padding: 1.25em 0.25em;
  border-bottom: 0.5px solid var(--color-border);
  box-sizing: border-box;
}

div.ccm-page dl.news dt,
div.ccm-page dl.history dt {
  color: var(--color-text);
  width: 16%;
}

/* ニュースの日付はデザインカンプに合わせてメインの青（沿革 dl.history は濃紺のまま） */
div.ccm-page dl.news dt {
  color: var(--color-brand);
}

div.ccm-page dl.news dd,
div.ccm-page dl.history dd {
  margin: 0;
  width: 84%;
}

div.ccm-page dl.news dd p,
div.ccm-page dl.history dd p {
  font-size: inherit !important;
  line-height: inherit !important;
}

div.ccm-page dl.news dd p:last-of-type,
div.ccm-page dl.history dd p:last-of-type {
  margin-bottom: 0 !important;
}

div.ccm-page dl.history dt:last-of-type,
div.ccm-page dl.history dd:last-of-type {
  border-bottom: none;
}

@media screen and (max-width: 1199.98px) {
  div.ccm-page dl.news dt,
  div.ccm-page dl.history dt {
    width: 20%;
  }

  div.ccm-page dl.news dd,
  div.ccm-page dl.history dd {
    width: 80%;
  }
}

@media screen and (max-width: 991.98px) {
  div.ccm-page .news-wrapper {
    margin-bottom: 24px;
  }
  div.ccm-page dl.news dt,
  div.ccm-page dl.history dt {
    width: 100%;
    padding: 0.75em 0.25em 0;
    border-bottom: none;
  }

  div.ccm-page dl.news dd,
  div.ccm-page dl.history dd {
    width: 100%;
    padding: 0.25em 0.25em 0.75em;
  }
}

/* blog
-------------------------------------------------- */

.blog-page-list {
  padding: 1.2em 0;
  border-bottom: 0.5px solid var(--color-border);
}

.blog-page-list h4 {
  margin-bottom: 5px !important;
  margin-top: 0 !important;
}

div.blog-page-title {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 40px;
}

div.blog-page-title h3 {
  margin-bottom: 0px;
  padding-bottom: 0px;
}

div.blog-page-title span.page-date {
  margin-right: 2em;
}

div.blog-page-title span.page-date,
div.blog-page-title span.page-author {
  font-style: italic;
  font-size: 0.85em;
}

/* block
-------------------------------------------------- */

div.ccm-page .ccm-block-page-list-rss-feed .fa-rss {
  background-color: var(--color-brand);
  color: #000;
  padding: 3px 5px;
  margin-bottom: 15px;
}

div.ccm-page .ccm-block-page-list-rss-feed .fa-rss:hover {
  background-color: var(--color-brand);
}

div.ccm-page ul.ccm-block-date-navigation-dates {
  list-style-type: none;
  padding-bottom: 0;
  padding-left: 0;
}

div.ccm-page .ccm-block-date-navigation-dates a {
  text-decoration: none;
}

div.ccm-page .ccm-block-date-navigation-dates a:focus,
div.ccm-page .ccm-block-date-navigation-dates a:active {
  text-decoration: none;
}

div.ccm-page .ccm-block-tags-wrapper a:hover,
div.ccm-page ccm-block-tags-wrapper a:focus {
  text-decoration: none;
}

div.ccm-page .ccm-block-tags-wrapper .ccm-block-tags-tag,
div.ccm-page .ccm-block-tags-wrapper label {
  border-radius: 0;
}

div.ccm-page .ccm-block-tags-wrapper .ccm-block-tags-tag {
  background-color: var(--color-brand);
  color: var(--color-text-inverse);
  padding: 0.125em 0.25em;
  transition: all 0.5s 0s ease;
}

div.ccm-page .ccm-block-tags-wrapper a:hover .ccm-block-tags-tag {
  background-color: var(--color-text-muted);
  color: var(--color-text-inverse);
}

div.ccm-page .ccm-block-tags-wrapper .label {
  font-size: 100%;
}

/* breadcrumb
-------------------------------------------------- */

#breadcrumb {
  background-color: var(--color-background-subtle);
}
.breadcrumb {
  /* background-color: var(--color-background); */
  margin-bottom: 0;
  padding: 0.2em 0;
  font-size: 0.875em;
}

.breadcrumb > li + li:before {
  padding: 0 5px;
  color: var(--color-border);
  content: "/\00a0";
}
.breadcrumb .active {
  color: #999;
}

.breadcrumb a {
  text-decoration: none;
  transition: 0.5s;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb a img {
  margin-right: 5px;
}


/* Page-top
-------------------------------------------------- */

#back-top a {
  z-index: 500;
  background: rgba(var(--color-brand-rgb), 0.75);
  text-decoration: none;
  color: var(--color-text-inverse);
  font-size: 18px;
  padding: 0;
  width: 46px;
  height: 46px;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-base);
  position: fixed;
  bottom: 20px;
  right: 20px;
  transition: 0.5s;
  border: none;
}

#back-top a > i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#back-top a:hover {
  text-decoration: none;
  background: rgba(var(--color-brand-rgb), 1);
}

/* Link
-------------------------------------------------- */

div.ccm-page ul.link {
  list-style: none;
  padding-left: 0;
}

div.ccm-page ul.link > li {
  border-bottom: 1px solid var(--color-border);
}

div.ccm-page ul.link > li:first-child {
  border-top: 1px solid var(--color-border);
}

div.ccm-page ul.link ul {
  list-style: none;
  padding-left: 0;
}

div.ccm-page ul.link li {
  color: #000;
  display: block;
  padding: 3px 0px 3px 22px;
  position: relative;
}

div.ccm-page ul.link li a {
  display: block;
  padding: 5px 0;
  text-decoration: none !important;
}

div.ccm-page ul.link li a:focus,
ul.link li a:hover {
  background-color: transparent !important;
  text-decoration: underline !important;
}

div.ccm-page ul.mini-bar {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

div.ccm-page ul.mini-bar > li {
  border-bottom: 1px solid var(--color-border);
  color: #000;
  display: block;
  padding: 8px 5px 8px 10px;
  position: relative;
}

div.ccm-page ul.mini-bar > li:first-child {
  border-top: 1px solid var(--color-border);
}

div.ccm-page ul.mini-bar > li > a {
  display: block;
  position: relative;
  text-decoration: none !important;
}

div.ccm-page ul.mini-bar > li > a:focus,
.ccm-page ul.mini-bar > li > a:hover {
  background-color: transparent !important;
  text-decoration: none;
}

div.ccm-page ul.mini-bar > li.selected {
  color: var(--color-text-muted);
  background-color: #fdeaeb;
}

div.ccm-page ul.mini-bar > li.selected > a {
  color: var(--color-text-muted) !important;
}

div.ccm-page ul.mini-bar > li.selected > a:focus,
.ccm-page ul.mini-bar > li.selected > a:hover {
  color: #1f1f1f !important;
}

div.ccm-page ul.mini-bar > li.selected > a:before {
  color: var(--color-text-inverse) !important;
}

div.ccm-page ul.mini-bar > li.selected > a:focus:before,
.ccm-page ul.mini-bar > li.selected > a:hover:before {
  color: var(--color-text-inverse) !important;
}

/* Horizontal Navigation
----------------------------------------------------------------- */
div.ccm-page .horizontal-nav {
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;
}

div.ccm-page .horizontal-nav > li {
  display: inline;
  margin: 0px;
  padding: 0px;
}

div.ccm-page .horizontal-nav > li > a {
  border: 1px solid #222;
  border-top: none;
  border-bottom: none;
  padding: 0 1.25em;
  margin-left: -1px;
  margin-bottom: 0.75em;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  float: left;
}

div.ccm-page .horizontal-nav > li > a:hover {
  transition: all 0.3s ease;
}

div.ccm-page .horizontal-nav > li:first-child > a {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  margin-left: 0;
}

div.ccm-page .horizontal-nav > li:last-child > a {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

div.ccm-page .horizontal-nav > .active > a,
div.ccm-page .horizontal-nav > .active > a:focus,
div.ccm-page .horizontal-nav > .active > a:hover {
  font-weight: 600;
}

/* original
----------------------------------------------------------------- */

.disabled {
  pointer-events: none;
  color: #d2d2d2 !important;
}

a.disabled small {
  color: #d2d2d2 !important;
}

/* animation ------------------- */

.fadeUp {
  clip-path: inset(0 100% 0 0);
  animation: textAnime 1s forwards, gradationTextAnimation 3s linear infinite;
  display: inline-block;
  /* text-align: center; */
}

@keyframes textAnime {
  0% {
    -webkit-clip-path: inset(0 100% 0 0);
    clip-path: inset(0 100% 0 0);
  }

  100% {
    webkit-clip-path: inset(0);
    clip-path: inset(0);
  }
}

/* figcaption ------------------- */
div.ccm-page figcaption {
  margin: 3px 0 30px 0;
  font-size: 13px;
  line-height: 1.2;
  color: #474747;
}

/* nav-horizontal ------------------- */
div.ccm-page .nav-pills {
  margin-bottom: 1.5em;
  row-gap: 8px;
}

div.ccm-page .nav-pills li.nav-item:not(:first-child) {
  margin-left: 2px;
}

div.ccm-page .nav-pills li.nav-item:not(:last-child) {
  margin-right: 2px;
}

div.ccm-page .nav-pills li.nav-item a {
  color: var(--color-brand);
  background-color: var(--color-background);
  text-align: center;
  text-decoration: none !important;
  padding: 0.725em 1.75em;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-brand);
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out;
}

div.ccm-page .nav-pills li.nav-item a:hover {
  color: var(--color-text-inverse);
  background-color: color-mix(in srgb, var(--color-brand) 80%, transparent);
  transition: background-color 0.3s ease-in, border-color 0.3s ease-in;
}

div.ccm-page .nav-pills li.nav-item a.active,
div.ccm-page .nav-pills li.nav-item a.active:focus,
div.ccm-page .nav-pills li.nav-item a.active:hover {
  color: var(--color-text-inverse);
  background-color: var(--color-brand);
  cursor: default;
  pointer-events: none;
}

div.ccm-page .nav-pills li.nav-item:has(small) > a {
  flex-grow: 1;
  line-height: 1;
}

div.ccm-page .nav-pills li.nav-item a small::before {
  content: "\A";
  white-space: pre;
}

@media only screen and (max-width: 819.98px) {
  div.ccm-page .nav-pills li.nav-item {
    font-size: 15px !important;
  }
}

@media only screen and (max-width: 767.98px) {
  div.ccm-page .nav-pills {
    flex-flow: column;
  }

  div.ccm-page .nav-pills li.nav-item:not(:first-child) {
    margin-left: initial;
    margin-top: 2px;
  }

  div.ccm-page .nav-pills li.nav-item:not(:last-child) {
    margin-right: initial;
    margin-bottom: 2px;
  }
}

/* preset
-------------------------------------------------- */

/* member-list */
div.ccm-page .member-list {
  border-bottom: 1px dotted var(--color-brand);
  margin: 0.5em 0;
  padding-bottom: 1em;
}
/*div.ccm-page .member-list .photo {
  text-align: center;
}*/
div.ccm-page .member-list img {
  width: 150px;
  height: auto;
}

div.ccm-page .member-list h4 {
  margin-top: 0 !important;
}
div.ccm-page .member-list p {
  line-height: 1.4 !important;
}
div.ccm-page .member-list i {
  color: var(--color-text-muted);
}
/*@media only screen and (max-width: 575px) {
  div.ccm-page .member-list .photo {
    padding-bottom: 0.5em;
  }
}*/

/* book-list */
div.ccm-page .book-list {
  border-bottom: 1px dotted var(--color-brand);
  margin: 0.5em 0;
  padding-bottom: 1em;
}
/*div.ccm-page .book-list .photo {
  text-align: center;
}*/
div.ccm-page .book-list .photo img {
  width: 150px;
  height: auto;
}
/*div.ccm-page .book-list > div:nth-child(2) {
  padding-top: 0.5em;
}*/
div.ccm-page .book-list p {
  line-height: 1.4 !important;
}
/*@media only screen and (max-width: 575px) {
  div.ccm-page .book-list .photo {
    padding-bottom: 0.75em;
  }
}*/

/* custom
-------------------------------------------------- */
/* Top(Home) Image
-------------------------------------------------- */
div.ccm-page figure.index-icon img {
  transition: transform 0.2s linear;
  vertical-align: bottom;
}
@media only screen and (min-width: 480px) {
  div.ccm-page figure.index-icon img:hover {
    transform: scale(1.1);
  }
}

/* etc
-------------------------------------------------- */
.badge {
  background-color: var(--color-brand);
}

.text-deco {
  border-bottom: 3px dotted var(--color-brand);
  padding-bottom: 0.025em;
}
.text-deco-wave {
  text-decoration: underline var(--color-brand) 2px;
  text-decoration-style: wavy;
  text-underline-offset: 0.125em;
}

.tooltips {
  position: relative;
  display: inline-block;
}
.tooltips .tips {
  display: inline-block;
  top: 30px;
  left: -14%;
}
.tips {
  position: absolute;
  padding: 0.275em 0.75em;
  color: var(--color-brand);
  width: auto;
}
.tipsdesc {
  font-weight: bold;
  font-size: 0.875em;
  color: var(--color-brand);
  white-space: nowrap;
}
