/*  component2026.css
    ボタン、カード、フォーム部品、など
    対象：サイト全体
    作成：2026-02-10
    更新：2026-02-12
 */
/*                            */
/*  figure 図形要素            */
/*                            */

.c-figure {
  display: flex;
  margin: 1rem auto;
}

.c-figure figure img {
  width: 100%;
}

/*                            */
/*  pagination ページ遷移      */
/*  ulリストと組み合わせて、
  　次頁または前頁を羅列        */
/*                            */

.pagination ul {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

/*                            */
/*  table-of-contents 目次    */
/*  ulリストと組み合わせて、
  　目次（項目）を羅列          */
/*                            */

.table-of-contents ul {
  display: flex;
  flex-wrap: wrap;
  margin-left: 1rem;
}

.table-of-contents ul li {
  position: relative;
  margin-left: 1.5rem;
}

.table-of-contents ul li::before {
  position: absolute;
  left: -1.5rem;
  font-family: "Font Awesome 5 Free";
  content: "\f054\f054";
  font-weight: 900;
  padding: 0 0.2rem;
  color: lightsteelblue;
}

/*                            */
/*  dl-newsinfo dlリスト      */
/*  新着情報専用のレイアウト    */
/*  対象：お知らせ、休日診療所
    、サイドバー               */
/*                            */

.dl-newsinfo {
  margin-bottom: 1rem;
}

.dl-newsinfo {
  background-color: #ecf5ff;
}

.dl-newsinfo dd {
  padding-left: 2rem;
}

.dl-newsinfo .wrap {
  display: flex;
  align-items: center;
}

@media print, screen and (min-width: 750px) {
  .dl-newsinfo dt {
    clear: both;
    float: left;
  }

  .dl-newsinfo > dd {
    margin-left: 7rem;
    padding-left: 1rem;
  }
}

/*                            */
/*  dl-tel dlリスト           */
/*  電話番号専用のレイアウト    */
/*  対象：お知らせ、休日診療所
    、サイドバー               */
/*                            */

.dl-tel dt {
  clear: both;
  float: left;
  padding-right: 0.5rem;
}

/*                            */
/*  dl-table dlリスト         */
/*  dl要素をテーブルの様に見せる*/
/*  対象：問い合わせ、休日診療所
    、アンケート               */
/*                            */

.dl-table {
  margin-bottom: 1rem;
}

.dl-table,
.dl-table > dt,
.dl-table > dd {
  box-sizing: border-box;
}

.dl-table > dt,
.dl-table > dd {
  padding: 1em;
  margin: 0;
}

.dl-table > dt,
th {
  background-color: #3388dd;
  color: #fff;
}

.dl-table > dd {
  background-color: #fff;
}

@media print, screen and (min-width: 768px) {
  .dl-table {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
  }

  .dl-table > dt,
  .dl-table > dd {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid #ddd;
  }

  .dl-table > dt {
    width: 20%;
  }

  .dl-table > dd {
    width: 80%;
    border-right: 1px solid #ddd;
  }
}

@media print {
  .dl-table > dd {
    border-right: none;
  }
}

@media screen and (max-width: 767px) {
  .dl-table > dd {
    border: 1px solid #ddd;
    border-top: none;
  }

  .dl-table > dt,
  .dl-table > dd {
    text-align: center;
  }

  .dl-table > dd > ul {
    text-align: left;
  }
}

@media print, screen and (min-width: 767px) {
  .dl-table > dt {
    width: 6rem;
  }

  .dl-table > dd {
    width: calc(100% - 6rem);
  }
}

/*                            */
/*  breadcrumbs パンくずリスト */
/*  メイン画面左上の階層メニュー
    の表示設定                 */
/*                            */

.breadcrumbs {
  display: none;
}

.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
}

.breadcrumbs ul li:not(:last-child)::after {
  font-family: "Font Awesome 5 Free";
  content: "\f054";
  font-weight: 900;
  padding: 0 0.2rem;
  color: lightsteelblue;
}

/*                            */
/*  sort アイコン        */
/*                            */

th.sort-icon:hover {
  cursor: pointer;
  background-color: aliceblue;
  color: #069;
}

.sort-icon::after {
  font-family: "Font Awesome 5 Free";
  content: "\f0dc";
  font-weight: 600;
  padding: 0 0.2rem;
  color: #800000;
}

/*                            */
/*  new,update アイコン        */
/*                            */

.new-icon::after {
  content: "NEW!";
  font-family: sans-serif;
  color: #6699cc;
  clip-path: inset(0 100% 0 0);
  animation: textAnime 2s infinite;
  vertical-align: top;
  font-size: 8.5px;
  padding-left: 4px;
  display: inline-block;
}

.update-icon::after {
  content: "UPDATE!";
  font-family: sans-serif;
  color: rgb(240, 167, 118);
  clip-path: inset(0 100% 0 0);
  animation: textAnime 2s infinite;
  vertical-align: top;
  font-size: 8.5px;
  padding-left: 4px;
  display: inline-block;
}

@keyframes textAnime {
  100% {
    clip-path: inset(0 0 0 0);
  }
}

/*                            */
/*  画面スクロールボタン        */
/*                            */

#up-btn::before {
  font-family: "Font Awesome 5 Free";
  content: "\f35b";
  font-weight: 900;
  font-size: 2.5rem;
  color: rgb(0, 119, 179, 0.6);
  text-shadow: 3px 3px 3px lightgray;
  display: inline-block;
  position: fixed;
  right: 1rem;
  bottom: 12rem;
  z-index: 10;
}

#down-btn::before {
  font-family: "Font Awesome 5 Free";
  content: "\f358";
  font-weight: 900;
  font-size: 2.5rem;
  color: rgb(0, 119, 179, 0.6);
  text-shadow: 3px 3px 3px lightgray;
  display: inline-block;
  position: fixed;
  right: 1rem;
  bottom: 8rem;
  z-index: 10;
}

#up-btn:hover,
#down-btn:hover {
  text-decoration: none;
  opacity: 0.7;
}

/*                            */
/*  バナーボタン               */
/*                            */
.c-banner-btn {
  display: flex;
  justify-content: center;
  /*margin-bottom: 10px;*/
  padding: 0.1rem;
  min-height: 66px;
}

.c-banner-btn:hover {
  text-decoration: none;
  filter: brightness(110%) contrast(110%) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4));
}

.c-banner-btn .icon {
  margin-top: auto;
  margin-bottom: auto;
  height: 4rem;
  width: 4rem;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 2px 2px lightgray);
}

.c-banner-btn .title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc(100% - 4rem);
  font-size: 1.07rem;
  line-height: 1.5rem;
  font-weight: bold;
  text-shadow: 1px 1px 1px lightgray;
}

#sidebar .c-banner-btn {
  margin-bottom: 10px;
}

#sidebar .c-banner-btn .title {
  max-width: 7rem;
}

/* afpass */
#afpass .icon {
  background-image: url("/images/body_shinzou_good.png");
  background-size: 4.2rem auto;
  filter: opacity(80%);
}

#afpass {
  background: linear-gradient(to bottom, #fdfffa 0%, #f7f7bd 50%, #fdfffa 100%);
  border: 2px solid blue;
  border-image: linear-gradient(to bottom, #c9cda4, #faf7e3);
  border-image-slice: 1;
}

#afpass .title {
  color: #003399 !important;
  font-weight: 500;
}

/* CKD */
#ckd .icon {
  background-image: url("/images/sticker03.gif");
  background-size: 3.7rem auto;
}

#ckd {
  background: linear-gradient(to right, #ffecd2 0%, #fcb69f 100%);
  border: 2px solid blue;
  border-image: linear-gradient(to bottom, #dec4bc, #d9bca6);
  border-image-slice: 1;
}

#ckd .title {
  color: black !important;
}

/* FMひたち */
#fmnavi .icon {
  position: relative;
  width: 3.8rem;
}

#fmnavi .icon span {
  display: block;
  position: absolute;
  color: #213a74 !important;
  font-family: "arial";
  font-style: italic;
  font-weight: bold;
  text-shadow: 1px 1px 1px gray;
}

#fmnavi .icon span:first-child {
  position: absolute;
  top: -0.5rem;
  font-size: 2.2rem;
}

#fmnavi .icon span:nth-child(2) {
  position: absolute;
  top: 2rem;
  right: 0.5rem;
  z-index: 10;
  font-size: 0.8rem;
  color: white !important;
  filter: opacity(0.7);
}

#fmnavi .icon span:last-child {
  position: absolute;
  bottom: -0.1rem;
}

#fmnavi {
  background: linear-gradient(to bottom, #f9ffff 0%, #219cde 60%, #8cd5f3 100%);
  border: 2px solid blue;
  border-image: linear-gradient(to bottom, #638da6, #99defa);
  border-image-slice: 1;
}

#fmnavi .title div {
  font-weight: bold;
  font-size: 0.9rem;
}

#fmnavi .title div:first-child {
  color: #b0002d !important;
  filter: contrast(113%);
  text-shadow: 1px 1px 1px gray;
}

#fmnavi .title div:not(:first-child) {
  animation: color-change 3s linear infinite;
}
@keyframes color-change {
  0%,
  100% {
    color: #c2230e;
  }

  25% {
    color: #a04509;
  }

  50% {
    color: #446102;
  }

  75% {
    color: #121213;
  }
  /*@keyframes color-change {
  0%,
  100% {
    color: #bb5548;
  }

  25% {
    color: #925c38;
  }

  50% {
    color: #3f7e56;
  }


  75% {
    color: #121213;
  }*/
  /*
  0%,
  100% {
    color: white;
  }

  50% {
    color: #2c3a73;
  }*/
}

/*                            */
/*  アンケートボタン           */
/*                            */

.enquete {
  display: block;
  margin-left: 1rem;
  background-image: url("/images/fmhitachiEnquateNew.gif");
  background-repeat: no-repeat;
  width: 250px;
  height: 40px;
}

.enquete:hover {
  filter: brightness(110%) contrast(110%);
}
