@charset "UTF-8";

/* 見出し ttl title -------------------------------------------------------------- */
.ttl-01 {
  font-size: var(--fs-ttl-l);
  background: var(--cl-main);
  background: linear-gradient(27deg, var(--cl-main) 0%, var(--cl-sub) 100%);
  color: var(--white);
  padding: 2em 3% 280px;
  margin-bottom: 1.5em;
  position: relative;
  overflow: hidden;
}
.ttl-01:after {
  content: '';
  display: block;
  background: var(--white);
}
.ttl-01:after {
  position: absolute;
  width: 200%;
  height: 1000px;
  border-radius: 50% 50% 0 0;
  top: 250px;
  left: 50%;
  transform: translateX(-50%);
}
.ttl-01 > div {
  width: 100%;
  max-width: var(--contents-max-width);
  margin-left: auto;
  margin-right: auto;
}
.ttl-01 > div:after {
  width: 60px;
  height: 2px;
  margin-top: 1em;
}
.ttl-01 .ttl-03::before {
  background: var(--white);
}
@media only screen and (max-width: 1024px) {
  .ttl-01 {
    padding: 2em 3% clamp(250px, 70%, 280px);
  }

  .ttl-01:after {
    top: 65%;
    height: 500px;
    /* border-radius: 0; */
  }
}
@media only screen and (max-width: 1024px) {

}

.ttl-02 {
  background: var(--cl-main);
  background: linear-gradient(27deg, var(--cl-main) 0%, var(--cl-sub) 100%);
  width: calc(100% - 100px);
  padding: 1.9em 3%;
  color: var(--white);
  font-size: var(--fs-ttl-ll);
  border-right: transparent 2px solid;
  border-bottom: transparent 2px solid;
  border-radius: 0 0 100px 0;
  display: flex;
  align-items: center;
}
.ttl-02 > div {
  width: 100%;
  max-width: calc(var(--contents-max-width) - 100px);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
}
.ttl-02 > div:before {
  content: '';
  width: 60px;
  height: 2px;
  display: block;
  background: var(--white);
  margin-right: 1em;
}
@media only screen and (max-width: 1024px) {
  .ttl-02 {
    padding: 1.9em 0;
  }
  .ttl-02 > div {
    padding: 0 3%;
    max-width: 100%;
  }
}
@media only screen and (max-width: 599px) {
  .ttl-02 {
    padding: 1.4em 0;
    font-size: var(--fs-ttl-l);
    border-radius: 0 0 50px 0;
  }
  .ttl-02 > div {
    padding: 0 3%;
    max-width: 100%;
  }
  .ttl-02 > div:before {
    width: 40px;
  }
}
@media only screen and (max-width: 420px) {
  .ttl-02 {
    font-size: var(--fs-ttl-s);
    width: calc(100% - 50px);
  }
  .ttl-02 > div {
    max-width: calc(var(--contents-max-width) - 100px);
    padding: 0 10% 0 3%;
  }
  .ttl-02 > div:before {
    width: 20px;
  }
}

.ttl-03 {
  position: relative;
  font-size: var(--fs-ttl-l);
  padding: 0 0 0.5em;
  display: block;
}
.ttl-03::before {
  position: absolute;
  content: '';
  display: block;
  background: var(--gray03);
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 4px;
}
.ttl-03::after {
  position: absolute;
  content: '';
  display: block;
  background: var(--cl-main);
  left: 0;
  bottom: -4px;
  width: 22%;
  height: 4px;
}
@media only screen and (max-width: 420px) {
  .ttl-03 {
    font-size: var(--fs-ttl-m);
  }
}
.top-rec-ttl.ttl-03::before,
.top-rec-ttl.ttl-03::after {
  background: transparent;
}

.ttl-04 {
  position: relative;
  font-size: var(--fs-ttl-m);
  margin: 0.5em 0 1.4em;
  background: var(--cl-base);
  padding: 0.3em 0.8em;
}
.ttl-04::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--cl-main);
  transform: translateY(-50%);
}

.ttl-05 {
  position: relative;
  font-size: var(--fs-ttl-s);
  padding: 0 0 0.5em;
  margin-bottom: 1.5em;
}
.ttl-05::before {
  position: absolute;
  content: '';
  display: block;
  background: var(--cl-main);
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
}
.ttl-05::after {
  position: absolute;
  content: '';
  display: block;
  background: var(--cl-main);
  left: 0;
  bottom: -4px;
  width: 25%;
  height: 2px;
}

.ttl-06 {
  position: relative;
  font-size: var(--fs-ttl-s);
  padding-left: 1.5em;
  margin: 0.5em 0 1.5em;
}
.ttl-06::before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--cl-main);
  /*border-radius: 8px;*/
  transform: translateY(-50%);
}

.ttl-07 {
  position: relative;
  font-size: var(--fs-ttl-xs);
  padding: 0.3em 0.8em;
  margin: 0.5em 0 1.5em;
  background: var(--cl-base);
}
.ttl-07::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--cl-main);
  /*border-radius: 8px;*/
  transform: translateY(-50%);
}

.ttl-08 {
  position: relative;
  font-size: var(--fs-default);
  padding: 0.5em 1em;
  border-radius: 100vh;
  background: var(--red);
  color: var(--white);
  display: inline-block;
}

/* ボタン btn button -------------------------------------------------------------- */

/* [ブロック定義]ボタンパーツのセンタリング制御用 */
.block-group-btn .parts-btn {
  display: inline-block;
}
.block-group-btn .col-item {
  display: inline-block;
  margin: 3px 0;
}
@media only screen and (max-width: 480px) {
  .block-group-btn .parts-btn {
    width: 100%;
  }
}
/*各パーツ下に透明border,margin-topとmargin-bottomの重なりを適用させるため*/
.block-builder-separator {
  border: 0 solid transparent;
}
.btn {
  display: inline-block;
  position: relative;
  color: var(--black);
  font-weight: bold;
  text-align: center;
  padding: 1em;
  box-shadow: var(--shadow);
  text-decoration: none !important;
}
@media only screen and (max-width: 480px) {
  .block-group-btn .parts-btn .btn {
    width: 100%;
  }
}
/* メインボタン */
.btn-main {
  background: var(--cl-main);
  color: var(--white);
  padding: 0.76em 1.3em 0.76em 3em;
  border: 1px solid var(--cl-main);
  border-radius: 4px;
  box-shadow: none;
  font-size: var(--fs-lead);
  display: inline-block;
  text-align: left;
  /*max-width: 95%;*/
}
/* .btn-main.btn-back:hover::before {
  left: 1.3em;
} */

/* blank */
.btn-back[target='_blank']::after {
  font-family: 'Font Awesome 6 Free';
  display: inline-block;
  padding-left: 0.5em;
  content: '\f08e';
  font-weight: 900;
}

/* 2,3,4カラム連続ボタン */
.btn-01 {
  background: transparent;
  color: var(--cl-main);
  width: 100%;
  padding: 1em 1em 1em 2.5em;
  border-bottom: 1px solid var(--cl-main);
  font-size: var(--fs-default);
  text-align: left;
  box-shadow: none;
  display: flex;
  justify-content: stretch;
  align-items: center;
  height: 100%;
}
/*目次リンクボタン*/
.btn-01.mokuji {
  border: 1px solid var(--cl-main);
  border-radius: 4px;
  background: var(--white);
}

.btn-01:where(
    [href$='.pdf'],
    [href$='.xls'],
    [href$='.xlsx'],
    [href$='.xlsm'],
    [href$='.xlsb'],
    [href$='.xltx'],
    [href$='.xltm'],
    [href$='.xlt'],
    [href$='.xml'],
    [href$='.xlam'],
    [href$='.xla'],
    [href$='.xlw'],
    [href$='.csv'],
    [href$='.doc'],
    [href$='.docm'],
    [href$='.docx'],
    [href$='.dotm'],
    [href$='.dotx']
  ) {
  padding: 0.76em 1.5em 0.76em 3em;
}
.btn-01:where(
    [href$='.pdf'],
    [href$='.xls'],
    [href$='.xlsx'],
    [href$='.xlsm'],
    [href$='.xlsb'],
    [href$='.xltx'],
    [href$='.xltm'],
    [href$='.xlt'],
    [href$='.xml'],
    [href$='.xlam'],
    [href$='.xla'],
    [href$='.xlw'],
    [href$='.csv'],
    [href$='.doc'],
    [href$='.docm'],
    [href$='.docx'],
    [href$='.dotm'],
    [href$='.dotx']
  )::after {
  line-height: 1.5;
}
.btn-01::after {
  font-family: 'Font Awesome 6 Free';
  padding-left: 0.5em;
}
.btn-01.btn-back::before {
  content: '\f054';
  font-weight: 900;
  margin-left: 0.1em;
}
.btn-01:where([href$='.pdf'])::after {
  content: '\f1c1' !important;
  font-weight: 400 !important;
}
.btn-01:where([href$='.doc'], [href$='.docm'], [href$='.docx'], [href$='.dotm'], [href$='.dotx'])::after {
  content: '\f1c2' !important;
  font-weight: 400 !important;
}
.btn-01:where(
    [href$='.xls'],
    [href$='.xlsx'],
    [href$='.xlsm'],
    [href$='.xlsb'],
    [href$='.xltx'],
    [href$='.xltm'],
    [href$='.xlt'],
    [href$='.xml'],
    [href$='.xlam'],
    [href$='.xla'],
    [href$='.xlw'],
    [href$='.csv']
  )::after {
  content: '\f1c3' !important;
  font-weight: 400 !important;
}
@media only screen and (max-width: 599px) {
  .btn-01 {
    padding: 0.76em 0.5em 0.76em 2.5em;
  }
}
/* pdf,word,excel用ボタン */
.btn-02::after {
  font-family: 'Font Awesome 6 Free';
  padding-left: 0.5em;
}
.btn-02:where([href$='.pdf'])::after {
  content: '\f1c1' !important;
  font-weight: 400 !important;
}
.btn-02:where([href$='.doc'], [href$='.docm'], [href$='.docx'], [href$='.dotm'], [href$='.dotx'])::after {
  content: '\f1c2' !important;
  font-weight: 400 !important;
}
.btn-02:where(
    [href$='.xls'],
    [href$='.xlsx'],
    [href$='.xlsm'],
    [href$='.xlsb'],
    [href$='.xltx'],
    [href$='.xltm'],
    [href$='.xlt'],
    [href$='.xml'],
    [href$='.xlam'],
    [href$='.xla'],
    [href$='.xlw'],
    [href$='.csv']
  )::after {
  content: '\f1c3' !important;
  font-weight: 400 !important;
}
/* ボタンを白にする */
.btn-main-white {
  background: var(--white);
  color: var(--cl-main);
}
/* 外部リンク（未使用） */
.btn-03 {
  display: inline-block;
  text-decoration: underline;
  padding-right: 0.5em;
}
.btn-03::after {
  font-family: 'Font Awesome 6 Free';
  display: inline-block;
  margin-left: 0.2em;
  content: '\f08e';
  font-weight: 900;
  color: var(--cl-main);
}
/* ホームアイコン */
.btn-04 {
  padding: 0.76em 1.3em;
  max-width: 300px;
  text-align: center;
  width: 100%;
}
.btn-04::before {
  font-family: 'Font Awesome 6 Free';
  display: inline-block;
  content: '\f015';
  font-weight: 900;
  color: var(--cl-main);
  margin-right: 0.2em;
}
/* 画像リンク周りのグレー線ボタン */
.btn-05 {
  padding: 1em 2em;
  display: inline-block;
  max-width: 300px;
}
@media only screen and (max-width: 460px) {
  .btn-04 {
    width: 90%;
    max-width: 300px;
  }
  .btn-05 {
    padding: 0.5em 2em;
    width: 90%;
    max-width: 300px;
  }
}

/*「一覧を見る」テキストリンクボタン*/
.btn-text-link {
  display: flex;
  align-items: flex-end;
  padding-right: 0.5em;
  font-size: var(--fs-default);
}
.btn-text-link::after {
  font-family: 'Font Awesome 6 Free';
  display: inline-block;
  margin-left: 0.5em;
  content: '\f054';
  font-weight: 900;
  color: var(--cl-main);
}
.btn-text-link.cl-white::after {
  color: var(--white);
}

/* お問い合わせボタン */
.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: var(--cl-main) 2px solid;
  transition: 0.3s all;
  padding: 1em 2em 1em 3.5em;
  width: 100%;
  height: 100%;
}
.btn-contact::before {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 1em;
  transform: translateY(-50%);
  font-family: 'Font Awesome 6 Free';
  content: '\f0e0';
  font-weight: 900;
  background: var(--cl-main);
  color: var(--white);
  border-radius: 50%;
  width: 2em;
  height: 2em;
  transition: 0.3s all;
}
.btn-contact:hover {
  opacity: 1;
  background: var(--cl-main);
  color: var(--white);
}

/* 左矢印 */
.btn-back::before {
  content: '';
  position: absolute;
  font-family: 'Font Awesome 6 Free';
  top: 50%;
  left: 1em;
  transform: translateY(-50%);
  transition: 0.3s all;
  /*content: "\f137";*/
  content: '\f138';
  font-weight: 900;
  color: var(--white);
}

/* 左矢印（反転用） */
.btn-main-white.btn-back::before {
  color: var(--cl-main);
}
.block-group-btn .col-item .btn-back {
  background: var(--cl-main);
  color: var(--white);
}
.block-group-btn .col-item .btn-back::before {
  color: var(--white);
}

/* 右矢印 */
.btn-next::before {
  content: '';
  position: absolute;
  font-family: 'Font Awesome 6 Free';
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  transition: 0.3s all;
  content: '\f138';
  font-weight: 900;
  color: var(--white);
}
/* 右矢印（反転用） */
.btn-main-white.btn-next::before {
  color: var(--cl-main);
}

/* 関連サイトカラム */
.footer-rel-col .grid-col{
  row-gap: 1em;
  column-gap: 1em;
}
.footer-rel-col a {
  display: flex;
  background: var(--white);
  color: var(--cl-main);
  padding: 1.5em;
  align-items: center;
  border: 1px solid var(--gray03);
  border-radius: 6px;
  position: relative;
}
.footer-rel-col a div{
  height: fit-content;
}
.footer-rel-col :where(a, span) {
  text-decoration: none !important;
}
.footer-rel-col a::before {
  position: absolute;
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-size: 1.3em;
  margin-right: 0.7em;
  transition: 0.3s ease-in-out;
  right: 0;
}
@media only screen and (min-width: 1025px){
  .footer-rel-col .grid-col.col-4-2-1{
    column-gap: 0.5em;
    row-gap:0.5em;
  }
}
@media only screen and (max-width: 599px) {
  .footer-rel-col .grid-col.col-4-2-1 .col-item + .col-item{
    margin-top: 0.5em;
  }
}

/*ウェブページリスト呼び出しパーツ*/
/*サイドバーのないページの場合は4カラム（デフォルト）*/
.page-link-parts {
  display: grid;
  row-gap: 16px;
  column-gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}
/*サイドバーのあるページの場合は3カラム*/
.l-primary .page-link-parts {
  grid-template-columns: repeat(3, 1fr);
}
@media only screen and (max-width: 1024px) {
  .l-primary .page-link-parts,
  .page-link-parts {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 599px) {
  .page-link-parts {
    grid-template-columns: repeat(1, 1fr);
  }
}

/*外来担当医表*/
.schedule-list-table th,
.schedule-list-table td {
  vertical-align: middle;
}
.sc-single .all-sc-title {
  display: none;
}
.sc-single .sc-btns {
  display: none;
}
.chg-schedule-list-wrap {
  display: none;
}
.chg-schedule-list-wrap:first-of-type,
.chg-schedule-list-select-box + div {
  display: block;
}
.chg-schedule-list-select-box {
  padding: min(3em, 5%);
  border-radius: 10px;
  gap: 10px;
}
.select-styled {
  width: 70%;
}
.sc-am-pm-ttl {
  text-align: center;
}
@media only screen and (max-width: 599px) {
  .chg-schedule-list-select-box {
    flex-direction: column;
  }
  .chg-schedule-list-select-box .select-styled {
    width: 100%;
  }
  .sc-am-pm-ttl {
    position: relative;
    font-size: var(--fs-lead)!important;
    padding: 0;
    background: var(--cl-base);
  }
}
