@charset "UTF-8";
/*
Theme Name: HERO CMS
Theme URI: https://s-professional.hero-website.com/wp/
Author: RYUYA SAKURAI（HERO innovation）
Author URI: https://hero-innovation.com/
Description: HERO innovationのCMSテーマになります。
Version: 1.0.4
*/

@import url('css/variables.css');


/* -------------
  - *基本設定
  - *header
  - *nav
  - *pulldown
  - *mega
  - *footer
  - *f-nav
  - *連携病院
  - *バナー（footer）
  - *SNS（footer）
  - *ページトップ
  - *コピーライト
  - *書式
  - *タイトル
  - *ボタン
  - *リスト（ul）
  - *リスト（ol）
  - *レイアウト
  - *アコーディオン
  - *タブ
  - *テーブル
  - *パスワード保護ページ
  - *MPクラウド - お知らせ（タイトルのみ）
  - *MPクラウド - お知らせ（内容表示）
  - *MPクラウド - スケジュール
  - *RIBON
  - *強制CSS
------------- */

/*==================================================================================================================================

  *基本設定

==================================================================================================================================*/
@media print {
  html {
    print-color-adjust: exact;
  }

  body {
    zoom: 80%;
  }

  .fixed {
    position: inherit!important;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  position: relative;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 400;
  color: var(--text-color);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.1em;
  word-break: break-all;
  word-wrap: break-word;
}

a {
  color: var(--main-color);
  transition: background 0.2s , color 0.2s , opacity 0.2s , transform 0.2s;
}

a:hover {
  color: var(--sub-color);
}

a[href="tel:準備中"] {
  pointer-events: none;
}

::selection {
  background-color: var(--selection-color);
}

::-moz-selection {
  background-color: var(--selection-color);
}

strong {
  font-weight: bold;
}

body, .nav_wrap.fixed, .mega_box {
  min-width: 1300px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

iframe {
  max-width: 100%;
  vertical-align: top;
}

.inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}


/*==============================================
  *SP 基本設定
==============================================*/
@media screen and (max-width: 640px) {
  body {
    font-size: 15px;
  }

  body, .nav_wrap.fixed, .mega_box {
    min-width: auto;
  }

  .inner {
    padding: 0 20px;
  }
}


/*==================================================================================================================================

  *header

==================================================================================================================================*/
header {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 180px;
  /* background: rgb(255, 255, 255 , 0.85); */
  background: rgb(143 126 97 / 75%);
  position: absolute;
  top: 0;
  left: 0;
}
/* header::before {
  display: block;
  position: absolute;
  content: "";
  width: 100%;
  height: 5px;
  top: 0;
  left: 0;
  background: linear-gradient(45deg, var(--main-color2) 0%, var(--main-color2) 50%, var(--sub-color) 50%, var(--sub-color) 100%);
  z-index: 9999;
} */

  /* MVの上に重ねるタイプ*/ 
header .inner {
  position: relative;
  z-index: 1;
}

/* ------ ロゴ ------ */
.header_logo {
  position: absolute;
  /* top: 10px; */
  top: 17px;
  z-index: 10;
}

.header_logo a {
  display: inline-block;
  width: 100%;
  max-width: 200px;
  height: auto;
}

/* ------ 医院情報 ------ */
.header_info {
  position: absolute;
  top: 60px;
  right: 0;
}

.header_info .info {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
}

/* 所在地 */
.header_info .location {
  position: relative;
  top: 1px;
  /* color: var(--sub-color03); */
  color: #fff;
  font-size: 14px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.header_info .location .zipcode {
  margin-right: 15px;
}

/* 電話 */
.header_info .tel {
  position: relative;
  z-index: 1;
  padding: 0 0 3px 45px;
  color: var(--main-color2);
  font-size: 34px;
  font-family: "museo-sans", sans-serif;
  font-weight: 300;
  font-style: normal;
  line-height: 1;
}

.header_info .tel::before {
  content: "\f095";
  position: absolute;
  top: 1px;
  left: 0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  padding: 0 0 0 2px;
  background: var(--main-color2);
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffffff;
  font-size: 14px;
}

/* 予約・問診ボタン */
.header_info .btn_service {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 7px;
}

.header_info .btn_service li {
  min-width: 140px;
}

.header_info .btn_service li a {
  display: block;
  padding: 10px;
  background-color: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  text-align: center;
  transition: background 0.2s , color 0.2s;
}

.header_info .btn_service li a:hover {
  background: #ffffff;
  color: var(--main-color);
}

.header_info .btn_service li a i {
  margin-right: 5px;
}

/* ----- fixed固定ボタン（WEB予約、WEB問診、お問い合わせ） ----- */
.fixed_btn_service {
  position: fixed;
  right: 80px;
  bottom: 0;
  z-index: 11;
  display: flex;
}

.fixed_btn_service > a {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  height: 80px;
  padding: 0 50px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
}

.fixed_btn_service > a:hover {
  background: #ffffff;
  color: var(--main-color);
}

.fixed_btn_service > a:nth-child(2n) {
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
}

.fixed_btn_service > a:nth-child(2n):hover {
  background: #ffffff;
  color: var(--sub-color);
}

/* ----- fixed固定ボタン（SNS） ----- */
.fixed_btn_sns {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 11;
  display: flex;
  flex-flow: column;
  align-items: flex-end;
  gap: 10px;
  transform: translateY(-50%);
}

.fixed_btn_sns a {
  box-shadow: 0 3px 5px rgba(0,0,0,0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  padding: 0 0 0 3px;
  background: var(--main-color);
  color: #ffffff;
  transition: opacity 0.2s , width 0.2s;
}

.fixed_btn_sns a:hover {
  width: 100px;
  /* opacity: 0.5; */
}

.fixed_btn_sns a i {
  font-size: 28px;
}

/* Instagram */
.fixed_btn_sns a.line {
  background: rgb(6, 199, 85 , 0.8);
}

.fixed_btn_sns a.facebook {
  background: rgb(24, 119, 242 , 0.8);
}

.fixed_btn_sns a.instagram {
  background: linear-gradient(135deg, rgb(131, 58, 180 , 0.8) , rgb(253, 29, 29 , 0.8) , rgb(252, 176, 69 , 0.8));
}

.fixed_btn_sns a.youtube {
  background: rgba(255,0,0,0.8);
}

.fixed_btn_sns a.x-twitter {
  background: rgb(0, 0, 0 , 0.8);
}

.fixed_btn_sns a.tiktok {
  background: rgb(0, 0, 0 , 0.8);
}

/*==============================================
  *SP header
==============================================*/
@media screen and (max-width: 640px) {
  .header_logo, .header_info, .fixed_btn_service, .fixed_btn_sns {
    display: none;
  }

  header {
    position: static;
    height: 55px!important;
  }
}


/*==================================================================================================================================

  *nav

==================================================================================================================================*/
.nav_wrap {
  position: absolute;
  top: 120px;
  left: 0;
  z-index: 12;
  width: 100%;
  height: auto;
  opacity: 1;
}

/* ------ スクロール時のナビ ------ */
.nav_wrap.fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: auto;
  /* background: rgb(255, 255, 255 , 0.95); */
  background: rgb(143 126 97 / 75%);
}

/* .nav_wrap.fixed::before {
  display: block;
  position: absolute;
  content: "";
  width: 100%;
  height: 5px;
  top: 0;
  left: 0;
  background: linear-gradient(45deg, var(--main-color2) 0%, var(--main-color2) 50%, var(--sub-color) 50%, var(--sub-color) 100%);
  z-index: 9999;
} */

nav {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.nav_list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav_wrap.fixed .nav_list {
  width: 1100px;
  margin: 0 auto;
  padding: 17px 0;
}

.nav_list li {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ----- 日本語 ----- */
.nav_item > a, .nav_item > p {
  position: relative;
  z-index: 2;
  display: inline-block;
  /* color: var(--text-color)!important; */
  /* color: #eee2d3 !important; */
  color: #fff;
  /* text-shadow: -1px -1px 8px rgb(168 188 41), 1px 1px 4px rgba(168, 188, 41, 0.7); */
  font-size: 17px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

/* ----- 英語 ----- */
.nav_item > a span, .nav_item > p span {
  display: block;
  padding-top: 2px;
  color: var(--sub-color03);
  font-size: 10px;
  line-height: 1;
  font-family: "museo-sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* スマホ用非表示エリア */
.btn_menu, .sp_nav_btn, .sp_btn_area, .sp_under_nav {
  display: none;
}

/*==============================================
  *SP nav
==============================================*/
@media screen and (max-width: 640px) {
  .nav-open {
    overflow: hidden;
  }

  .nav_wrap {
    position: fixed;
    top: 0;
    right: 0!important;
    z-index: 10000;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    background: #ffffff;
    opacity: 1;
  }

  .nav_wrap .sp_logo {
    width: calc(100% - 56px);
  }

  .nav_wrap .sp_logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 58px;
    margin: 0 auto;
    padding: 7px 0;
  }

  .nav_wrap .sp_logo a img {
    width: auto;
    height: 100%;
    max-height: 40px;
  }

  /* ハンバーガーボタン */
  .btn_menu {
    position: relative;
    right: 0;
    display: block;
    width: 55px;
    margin: 0;
    padding: 0;
    background: var(--main-color);
    border: none;
    color: #ffffff;
    text-align: center;
    transition: right 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .btn_menu .btn_text {
    position: absolute;
    right: 0;
    bottom: 6px;
    left: 0;
    margin: auto;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .btn_menu span:not(.btn_text) {
    position: absolute;
    right: 0;
    left: 0;
    display: block;
    width: 35px;
    height: 2px;
    margin: auto;
    background: #ffffff;
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .btn_menu span:not(.btn_text):nth-of-type(1) {
    top: 10px;
  }

  .btn_menu span:not(.btn_text):nth-of-type(2) {
    top: 20px;
  }

  .btn_menu span:not(.btn_text):nth-of-type(3) {
    top: 30px;
  }

  /* メニューが開いている時 */
  .btn_menu.active {
    right: 80%;
  }

  .btn_menu.active span:not(.btn_text):nth-of-type(1) {
    top: 20px;
    transform: rotate(225deg);
  }

  .btn_menu.active span:not(.btn_text):nth-of-type(2) {
    opacity: 0;
  }

  .btn_menu.active span:not(.btn_text):nth-of-type(3) {
    top: 20px;
    transform: rotate(-225deg);
  }

  /* スライドメニュー */
  nav {
    position: fixed;
    top: 0;
    right: 0;
    right: -80%;
    z-index: 2;
    width: 80%;
    height: 100%;
    padding: 15px;
    background: var(--main-color);
    overflow: hidden;
    transition: right 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  }

  /* 展開時 */
  body.nav-open nav {
    right: 0;
    overflow-y: scroll;
  }

  .nav_list {
    flex-flow: column;
    gap: 0;
    width: 100%;
  }

  .nav_list > li {
    display: block;
    width: 100%;
    margin-bottom: 0;
    padding: 10px;
    border-bottom: 1px solid #ffffff;
    font-weight: normal;
    color: #ffffff;
    font-size: 100%;
    text-align: left;
  }

  .nav_list > li:first-child {
    border-top: 1px solid #ffffff;
  }

  /* ----- 日本語 -----  */
  .nav_item > a, .nav_item > p {
    display: inline-block;
    margin-bottom: 0;
    color: #ffffff!important;
    font-size: 100%;
    text-align: left;
    text-shadow: unset;
  }

  .nav_list li a:hover {
    color: #ffffff;
  }

  /* 英語 */
  .nav_item > a span, .nav_item > p span {
    display: none;
  }

  /* ------ 開閉ボタン（pulldown、mega） ------ */
  .open_btn {
    position: absolute;
    top: 13px;
    right: 10px;
    left: auto;
    z-index: 2;
    display: inline-block!important;
    width: 20px;
    height: 20px;
    background: none;
    cursor: pointer;
    transform: translateX(0);
  }

  .open_btn::before, .open_btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 10px;
    height: 2px;
    background: rgb(255, 255, 255);
    transition: transform 0.3s;
  }

  .open_btn::before {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .open_btn::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .open_btn.active::before {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .open_btn.active::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  /* ------ WEB予約、問診、問い合わせ ------ */
  .nav_list .sp_nav_btn {
    display: block;
    margin: 5px 0 0;
    padding: 5px 0 0;
    border-bottom: none;
  }

  .nav_list .sp_nav_btn a {
    padding: 10px 15px;
    background: #ffffff;
    color: var(--main-color);
  }

  .nav_list .sp_nav_btn a:hover {
    color: var(--main-color);
  }

  .nav_list .sp_nav_btn a i {
    margin-right: 5px;
  }

  /* ------ SNSボタン ------ */
  .sp_btn_area {
    display: flex;
    flex-flow: column;
    gap: 5px;
    margin: 5px 0 0;
  }

  .sp_btn_area li {
    width: 100%;
  }

  .sp_btn_area li a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #ffffff;
    color: var(--main-color);
    font-size: 15px;
    text-align: center;
  }

  .sp_btn_area li a i {
    display: block;
    margin-right: 10px;
    font-size: 14px;
  }

  /* ------ 下部固定メニュー ------ */
  .sp_under_nav {
    position: fixed;
    bottom: 0;
    z-index: 9;
    display: block;
    width: 100%;
    height: 55px;
  }

  .sp_under_nav ul {
    display: flex;
    justify-content: center;
    height: 100%;
  }

  .sp_under_nav li {
    width: -webkit-fill-available;
    width: -moz-available;
    width: stretch;
  }

  .sp_under_nav li a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: #588A79;
    color: #ffffff!important;
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    font-style: normal;
  }

  .sp_under_nav li:nth-child(even) a {
    background: var(--sub-color);
  }

  .sp_under_nav li a:hover {
    color: #ffffff;
  }

  .sp_under_nav li a i {
    margin-right: 5px;
  }

  .sp_under_nav li a[href="tel:準備中"] {
    padding-bottom: 20px;
    background: #aaaaaa;
    pointer-events: none;
  }

  .sp_under_nav li a[href="tel:準備中"]::after {
    content: "（準備中）";
    position: absolute;
    bottom: 5px;
    margin: auto;
    font-size: 80%;
    text-align: center;
  }

  /* ----- ナビ展開時の後ろの背景 ----- */
  .nav_overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 11;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    visibility: hidden;
    opacity: 0;
  }

  /* navの展開時は画面を固定する */
  body.nav-open .nav_overlay {
    display: block;
    visibility: visible;
    opacity: 1;
  }
}


/*==================================================================================================================================

  *pulldown

==================================================================================================================================*/
/* ----- 選択範囲拡張 ----- */
.pulldown:hover .nav_item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: -1;
  width: 120%;
  height: 50px;
  transform: translateX(-50%);
  /* 確認用 */
  /* background: #000; */
}

.pulldown_box {
  box-shadow: 0 0 5px #bdbdbd;
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  z-index: 2;
  display: none;
  width: 280px;
  background: #ffffff;
  transform: translate(-50%);
}

/* 固定時の設定 */
.fixed .pulldown_box {
  top: calc(100% + 30px);
}

.pulldown_box ul {
  display: flex;
  flex-flow: column;
  width: 100%;
}

.pulldown_box ul li {
  width: 100%;
  border-bottom: 1px solid var(--line-color);
}

.pulldown_box ul li:last-child {
  border: none;
}

.pulldown_box ul li a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 15px 10px;
  color: var(--text-color);
  font-size: 14px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.pulldown_box ul li a:hover {
  background: var(--bg-color);
  color: var(--main-color);
}

/* ----- 2列 ------ */
.double .pulldown_box {
  width: 600px;
}

.double .pulldown_box ul {
  flex-flow: wrap;
}

.double .pulldown_box li {
  width: 50%;
  border-bottom: 1px solid var(--line-color)!important;
}

.double .pulldown_box li:nth-of-type(odd) {
  border-right: 1px solid var(--line-color);
}

/*==============================================
  *SP pulldown
==============================================*/
@media screen and (max-width:640px) {
  .pulldown {
    transform: translateZ(0); /*Safariでの挙動制御のためこちらは削除しないでください*/
  }

  .pulldown:hover .nav_item::after {
    display: none!important;
  }

  .pulldown_box {
    box-shadow: none;
    position: static;
    width: 100%!important;
    padding: 10px 0 10px 5px;
    background: none;
    transform: translate(0);
  }

  .pulldown_box ul {
    gap: 10px;
  }

  .pulldown_box ul li {
    position: relative;
    z-index: 1;
    width: 100%!important;
    border-bottom: none!important;
  }

  .pulldown_box ul li a {
    display: inline-block;
    width: auto;
    padding: 0 0 0 15px;
    color: #ffffff;
    font-size: 13px;
  }

  .pulldown_box ul li a:hover {
    background: none;
    color: #ffffff;
  }

  .pulldown_box ul li a::before {
    content: "-"!important;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
  }

  /* 2列 */
  .double .pulldown_box li {
    border: none!important;
  }
}

/*==================================================================================================================================

  *mega

==================================================================================================================================*/
nav ul li.mega {
  position: static;
}

/* ----- 選択範囲拡張 ------ */
.mega:hover .nav_item > a::after, .mega:hover .nav_item > p::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: -1;
  width: 120%;
  height: 50px;
  /* 確認用 */
  /* background: #000000; */
  transform: translateX(-50%);
}

.mega_box {
  box-shadow: 0 0 5px #bdbdbd;
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  z-index: 2;
  display: none;
  width: calc(100% - 100px);
  height: auto;
  padding: 10px;
  background: rgba(255, 255, 255, 1);
  overflow-y: auto;
  transform: translateX(-50%);
}

/* 固定時の設定 */
.fixed .mega_box {
  margin: 0 auto;
}

.fixed .mega:hover span::after {
  height: 15px;
}

/* メガメニューの中身 */
.mega_inner {
  display: flex;
  flex-flow: wrap;
  justify-content: flex-start;
  gap: 50px;
  width: 100%;
  height: 100%;
  max-height: 70vh;
  margin: 0 auto!important;
  padding: 30px;
  overflow: auto;
}

/* ----- スクロールバーの設定 ----- */
/*スクロールバーの横幅指定*/
.mega_inner::-webkit-scrollbar {
  width: 5px;
}

/*スクロールバーの背景色・角丸指定*/
.mega_inner::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 10px;
}

/*スクロールバーの色・角丸指定*/
.mega_inner::-webkit-scrollbar-thumb {
  background: var(--line-color);
  border-radius: 10px;
}

.mega_inner > * {
  width: fit-content;
  height: fit-content;
}

.mega_item .title {
  margin-bottom: 15px;
}

.mega_item .title p {
  display: inline-block;
  padding: 5px 20px;
  background: var(--text-color);
  color: #ffffff;
}

.mega_item .title a {
  display: inline-block;
  padding: 5px 20px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
}

.mega_item .title a:hover {
  background: #ffffff;
  color: var(--main-color);
}

.mega_item ul {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 10px;
}

.mega_item ul li a {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: fit-content;
  padding: 0 0 0 15px;
  border: none;
  color: var(--text-color);
  font-size: 14px;
  text-align: start;
}

.mega_item ul li a::before {
  content: "-"!important;
  position: absolute;
  top: 0;
  left: 0;
}

.mega_item ul li a:hover {
  background: none;
  color: var(--main-color);
}

/* ----- タイトルリンクのみの場合 ----- */
.mega_item.title_link ul {
  display: flex;
  flex-flow: wrap;
  gap: 20px 40px;
}

/*==============================================
  *SP mega
==============================================*/
@media screen and (max-width:640px) {
  nav ul li.mega {
    position: relative;
    transform: translateZ(0); /*Safariでの挙動制御のためこちらは削除しないでください*/
  }

  /* ----- 選択範囲拡張 ------ */
  .mega:hover .nav_item > a::after, .mega:hover .nav_item > p::after {
    display: none!important;
  }

  .mega_box {
    box-shadow: none;
    position: static;
    width: 100%!important;
    padding: 15px 0 10px;
    background: none;
    transform: translate(0);
  }

  .mega_inner {
    justify-content: flex-start;
    align-items: stretch;
    gap: 30px;
    max-height: 300px;
    padding: 0;
  }

  .mega_inner > * {
    width: 100%;
    height: fit-content;
  }

  .mega_item .title {
    margin-bottom: 10px;
  }

  .mega_item .title a {
    width: 100%;
    padding: 5px 15px;
    background: #ffffff;
    color: var(--main-color)!important;
    text-align: start;
  }

  .mega_item ul {
    padding: 0 0 0 5px;
  }

  .mega_item ul li a {
    color: #ffffff!important;
    font-size: 13px;
  }

  .mega_item ul li a:hover {
    color: #ffffff;
  }

  .mega_item ul li {
    width: 100%!important;
  }

  /* ----- タイトルリンクのみの場合 ----- */
  .mega_item.title_link ul {
    gap: 10px;
  }
}


/*==================================================================================================================================

  *footer

==================================================================================================================================*/
footer {
  position: relative;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--bg-color);
}

.footer_info .inner {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 50px;
  padding: 80px 0;
}

/* ------ 左側 ------ */
.footer_info_left {
  width: calc(50% - 25px);
}

/* ロゴ */
.footer_info_left .logo {
  width: 50%;
  height: auto;
  margin: 0 auto 40px;
}

/* 所在地 */
.footer_info_left address {
  display: flex;
  flex-flow: column;
  margin-top: 20px;
}

.footer_info_left address > * {
  position: relative;
  z-index: 1;
  min-height: 40px;
}

.footer_info_left address > *::before {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 0 2px;
  background: var(--main-color);
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffffff;
  font-size: 16px;
}

.footer_info_left address .location {
  padding: 5px 0 5px 50px;
}

.footer_info_left address .location::before {
  content: "\f3c5";
}

.footer_info_left address .location span {
  display: inline-block;
  margin-right: 10px;
}

.footer_info_left address .tel {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-size: 30px;
  font-family: "museo-sans", sans-serif;
  font-weight: 300;
  font-style: normal;
  line-height: 1;
}

.footer_info_left address .tel::before {
  content: "\f095";
  background: #A8BC29;
}

.footer_info_left address .tel a{
    color: var(--text-color);
}

.footer_info_left address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-size: 30px;
  font-family: "museo-sans", sans-serif;
  font-weight: 300;
  font-style: normal;
  line-height: 1;
}

.footer_info_left address .fax::before {
  content: "\f1ac";
  background: #7fba90;
}

.footer_info_left address .note {
  margin-top: 20px;
  padding-left: 12px;
  font-size: 90%;
}

/* 診療科目 */
.footer_info_speciality {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 15px auto 0;
  padding: 20px;
  background: var(--bg-color);
  border-radius: 8px;
}

.footer_info_speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  color: #ffffff;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  border-radius: 8px;
}

/* ----- 診療時間 ----- */
footer .office_hour:first-child {
  margin-top: 10px;
}

footer .office_hour .title {
  background: #ffffff;
}

footer .office_hour .table_wrap {
  background: var(--bg-color);
}

/* ------ 右側　------ */
.footer_info_right {
  width: calc(50% - 25px);
}

/* GoogleMap */
.footer_info_right .googlemap {
  position: relative;
}

.footer_info_right .googlemap iframe {
  width: 100%;
  height: 550px;
}

.footer_info_right .footer_access {
  margin-top: 20px;
}

.footer_info_right .calendar_text {
  margin-top: 20px;
}

.footer_info_right .btn01 {
  margin-top: 30px;
  text-align: center;
}

/*==============================================
  *SP footer
==============================================*/
@media screen and (max-width:640px) {
  .footer_info .inner {
    gap: 30px;
    padding: 50px 20px!important;
  }

  .footer_info_left {
    width: 100%;
  }

  .footer_info_left .logo {
    width: 70%;
    max-width: 300px;
    margin: 0 auto 30px;
  }

  .footer_info_left address .tel a {
    font-size: 30px;
  }

  .footer_info_left address .fax p {
    font-size: 30px;
  }

  /* 診療科目 */
  .footer_info_speciality {
    flex-flow: column;
    gap: 10px;
  }

  .footer_info_speciality .title {
    width: 100%;
  }

  /* ------ 右側　------ */
  .footer_info_right {
    width: 100%;
  }

  .footer_info_right .map {
    margin-bottom: 20px;
  }

  .footer_info_right .googlemap iframe {
    height: 300px;
  }
}


/*==================================================================================================================================

  *連携病院

==================================================================================================================================*/
footer .affiliations {
  background: var(--bg-color)
}

footer .affiliations .inner {
  display: flex;
  justify-content: space-between;
  padding: 50px 0;
}

footer .affiliations_title span {
  display: block;
  color: var(--main-color);
  font-size: 130%;
  font-family: "museo-sans", sans-serif;
  font-weight: 300;
  font-style: normal;
}

footer .affiliations_title h2 {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 200%;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

footer .affiliations_title h2::before {
  display: none;
}

footer .affiliations_title h2:after{
  content: none;
}

footer .affiliations_list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 20px;
  width: 100%;
  max-width: 1000px;
}

footer .affiliations_list li {
  width: calc((100% / 3) - (40px / 3));
}

footer .affiliations_list li a {
  display: block;
  width: 100%;
  height: 100%;
}

footer .affiliations_list li a span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 20px 15px;
  background-color: #fff;
  border: 1px solid var(--line-color);
  border-radius: 8px;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  pointer-events: none;
  transition: background 0.2s;
}

footer .affiliations_list li a:hover span {
  background-color: #EAECF1;
}

footer .affiliations_list li a img {
  pointer-events: none;
  transition: opacity 0.2s;
}

footer .affiliations_list li a:hover img {
  opacity: 0.5;
}

@media screen and (max-width:640px) {
  footer .affiliations .inner {
    flex-flow: column;
    padding: 50px 20px;
  }

  footer .affiliations_title {
    margin-bottom: 20px;
  }

  footer .affiliations_list li {
    width: 100%;
  }
}


/*==================================================================================================================================

  *バナー（footer）

==================================================================================================================================*/
footer .banner {
  background: var(--bg-color);
}

footer .banner .inner {
  display: flex;
  justify-content: space-between;
  padding: 50px 0;
}

footer .banner_title h2 {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 200%;
}

footer .banner_title h2::before {
  display: none;
}

footer .banner_title span {
  display: block;
  color: var(--main-color);
  font-size: 130%;
}

footer .banner_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px 20px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

footer .banner_list li {
  width: calc(100% / 3 - (40px / 3));
  max-width: 250px;
}

footer .banner_list li a {
  display: block;
  width: 100%;
  height: 100%;
}

footer .banner_list li a span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 20px 15px;
  background-color: #ececec;
  border: 1px solid var(--line-color);
  text-align: center;
  pointer-events: none;
  transition: background 0.2s;
}

footer .banner_list li a span {
  transition: background 0.2s;
}

footer .banner_list li a:hover span {
  background: #ffffff;
}

footer .banner_list li a img {
  transition: opacity 0.2s;
}

footer .banner_list li a:hover img {
  opacity: 0.5;
}

/*==============================================
  *SP　バナー（footer）
==============================================*/
@media screen and (max-width:640px) {
  footer .banner .inner {
    flex-flow: column;
    padding: 50px 20px;
  }

  footer .banner .banner_title {
    margin-bottom: 20px;
  }

  footer .banner_list li {
    width: 100%;
  }

  footer .banner_list li a {
    max-width: 300px;
    margin: 0 auto;
  }
}


/*==================================================================================================================================

  *f-nav

==================================================================================================================================*/
.footer_under {
  background: var(--main-color);
}

.footer_nav {
  padding: 90px 0 70px;
}

.footer_nav .inner {
  display: flex;
  flex-flow: wrap;
  gap: 70px 100px;
  width: 100%;
  margin: 0 auto;
}

/* ------ タイトル ------ */
.footer_nav_title {
  margin-bottom: 20px;
}

.footer_nav_title a {
  position: relative;
  display: inline-block;
  padding-left: 22px;
  color: var(--text-color);
  color: #ffffff!important;
  font-size: 16px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.footer_nav_title a::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  display: block;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  transition: background 0.2s;
}

.footer_nav_title a:hover {
  opacity: 0.5;
}

/* ------ 固定ページのナビ ------  */
.page_nav ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 30px 40px;
  height: fit-content;
}

.page_nav ul li a {
  position: relative;
  display: inline-block;
  padding-left: 22px;
  color: #ffffff;
  font-size: 16px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.page_nav ul li a:hover {
  color: #ffffff;
  opacity: 0.5;
}

.page_nav ul li a::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  display: block;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  transition: background 0.2s;
}

/* ------　下層ページのナビ　------ */
.post_nav ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 15px 30px;
  height: fit-content;
}

.post_nav ul li a {
  position: relative;
  display: inline-block;
  padding-left: 15px;
  color: var(--text-color);
  color: #ffffff!important;
  font-size: 95%;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.post_nav ul li a:hover {
  opacity: 0.5;
}

.post_nav ul li a::before {
  content: "-";
  position: absolute;
  top: 6px;
  left: 0;
  display: inline-block;
  line-height: 1;
}

/* ------　ブログのナビ　------ */
.blog_nav ul {
  display: grid;
  grid-template-columns: repeat(1, auto);
  gap: 15px;
  height: fit-content;
}

.blog_nav ul li a {
  position: relative;
  display: inline-block;
  color: var(--text-color);
  color: #ffffff!important;
  font-size: 95%;
}

.blog_nav ul li a:hover {
  opacity: 0.5;
}

.blog_nav ul li a::before {
  content: "-";
  display: inline-block;
  margin-right: 10px;
}

/*==============================================
  *SP f-nav
==============================================*/
@media screen and (max-width:640px) {
  .footer_nav {
    padding: 50px 0;
  }

  .footer_nav .inner {
    gap: 30px;
  }

  /* ------ タイトル ------ */
  .footer_nav_title {
    margin-bottom: 20px;
  }

  .footer_nav_title a {
    padding-left: 16px;
    font-size: 15px;
  }

  .footer_nav_title a::before {
    top: 13px;
    width: 5px;
    height: 5px;
  }

  /* ------ 固定ページ ------ */
  .page_nav {
    width: 100%;
  }

  .page_nav ul {
    width: 100%;
  }

  .page_nav ul li a {
    padding-left: 16px;
    font-size: 15px;
  }

  .page_nav ul li a::before {
    top: 13px;
    width: 5px;
    height: 5px;
  }

  /* ------ 下層ページのナビ ------ */
  .post_nav {
    width: 100%;
  }

  .post_nav ul {
    gap: 20px;
    width: 100%;
    padding-left: 10px;
  }

  /* ------ ブログのナビ ------ */
  .blog_nav {
    width: 100%;
  }

  .blog_nav ul {
    grid-template-columns: repeat(2, auto);
    gap: 20px;
    width: 100%;
    padding-left: 10px;
  }
}


/*==================================================================================================================================

  *SNS（footer）

==================================================================================================================================*/
.footer_sns {
  padding: 20px 0;
}

.footer_sns ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer_sns li a {
  display: block;
  color: #ffffff!important;
  font-size: 28px;
  line-height: 1;
}

.footer_sns li a:hover {
  opacity: 0.5;
}

/*==============================================
  *SP SNS（footer）
==============================================*/
@media screen and (max-width:640px) {
  .footer_sns {
    padding: 30px 0;
  }
}


/*==================================================================================================================================

  *ページトップ

==================================================================================================================================*/
.pagetop {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: block;
}

.pagetop p {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  padding: 0 0 5px;
  background: rgb(111, 111, 111);
  border: 1px solid rgb(111, 111, 111);
  color: #ffffff;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s , color 0.2s;
}

.pagetop p:hover {
  background: #ffffff;
  color: rgb(111, 111, 111);
}

.pagetop span {
  font-size: 16px;
}

.pagetop span::before {
  content: "\f106";
  display: block;
  margin-bottom: 5px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  text-align: center;
}

/*==============================================
  *SP ページトップ
==============================================*/
@media screen and (max-width:640px) {
  .pagetop {
    right: 15px;
    bottom: 65px;
    left: auto;
    display: none;
  }

  .pagetop p {
    width: 50px;
    height: 50px;
    margin: auto;
    padding: 0 0 5px;
  }

  .pagetop span {
    font-size: 13px;
  }

  .pagetop span::before {
    margin-bottom: 2px;
    font-size: 11px;
  }
}


/*==================================================================================================================================

  *コピーライト

==================================================================================================================================*/
.copy {
  padding: 30px 0 45px;
  text-align: center;
}

.copy small {
  color: #ffffff;
  font-size: 14px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
}

/*==============================================
  *SP コピーライト
==============================================*/
@media screen and (max-width: 640px) {
  .copy {
    padding: 0 0 90px;
  }
}


/*==================================================================================================================================

  *書式

==================================================================================================================================*/
.maincolor {
  color: var(--main-color);
}

.subcolor {
  color: var(--sub-color);
}

.indent {
  position: relative;
  display: flex;
  font-size: 100%;
}

.indent .sign {
  flex-shrink: 0;
}

.yellowline {
  text-decoration: underline;
  text-decoration-color: rgb(255, 245, 157);
  text-decoration-thickness: 0.5em;
  text-underline-offset: -0.175em;
  text-decoration-skip-ink: none;
}

.caution {
  color: #c52b2b;
}


/*==================================================================================================================================

  *タイトル

==================================================================================================================================*/
h1 {
  position: absolute;
  top: 17px;
  right: 0;
  z-index: 2;
  display: inline-block;
  /* color: #a3a3a3; */
  /* color: var(--sub-color03); */
  color: #fff;
  font-size: 12px;
}

/*==============================================
  *SP タイトル
==============================================*/
@media screen and (max-width: 640px) {
  h1 {
    position: static;
    margin: 0 auto 30px;
    padding: 10px 20px;
    background: var(--bg-color);
    font-size: 12px;
    color: var(--sub-color);
    line-height: 1.75;
    text-align: center;
  }
}


/*==================================================================================================================================

  *ボタン

==================================================================================================================================*/
.btn01 > * {
  position: relative;
  display: inline-block;
  padding: 10px 45px 10px 35px;
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
  color: #ffffff;
  font-size: 100%;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.15em;
  text-align: center;
  transition: background 0.2s , color 0.2s;
  border-radius: 30px;
}

.btn01 > *:hover {
  background: #ffffff;
  color: var(--sub-color);
}

.btn01 > *::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  display: block;
  width: 14px;
  height: 7px;
  background: #ffffff;
  mask: url(images/btn_arrow.png) no-repeat center / cover;
  -webkit-mask: url(images/btn_arrow.png) no-repeat center / cover;
  transform: translateY(-50%);
  transition: right 0.2s , background 0.2s;
}

.btn01 > *:hover::after {
  right: 12px;
  background: var(--sub-color);
}

/* 準備中 */
.btn01.coming > * {
  pointer-events: none;
}

.btn01.coming > *::before {
  content: "準備中";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0 , 0.7);
  color: #ffffff;
  transform: translate(-50%,-50%);
}

.btnflex {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.btnflex_center {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 10px;
}

/*==============================================
  *SP　ボタン
==============================================*/


/*==================================================================================================================================

  *リスト（ul）

==================================================================================================================================*/
/* ------　共通　------ */
ul {
  display: block;
}

/*　------ 無装飾 ------　*/
.list01 li {
  padding: 5px 0;
}

/*　------　下線 ------　*/
.list02 li {
  padding: 5px 5px;
  border-bottom: 1px dotted var(--line-color);
  list-style-type: none;
}

/*　------ 点 ------　*/
.list03 {
  display: flex;
  flex-flow: column;
  gap: 10px;
}

.list03.list_inline {
  flex-flow: wrap row;
  gap: 10px 30px;
}

.list03, .list03_border, .list03_bg {
  display: flex;
  flex-flow: column;
  gap: 10px;
}

.list03_border, .list03_bg {
  padding: 20px;
  border-radius: 10px;
}

.list03_border {
  border: 1px solid #dedede;
  border-radius: 10px;
}

.list03_bg {
  background: var(--bg-color);
}

.list03.list_inline, .list03_border.list_inline, .list03_bg.list_inline {
  flex-flow: wrap row;
  gap: 10px 25px;
}

.list03 li, .list03_border li, .list03_bg li {
  position: relative;
  display: block;
  padding: 0 0 0 25px;
}

.list03 li:before, .list03_border li:before, .list03_bg li:before {
  content: "";
  position: absolute;
  top: 12px;
  left: 10px;
  display: block;
  width: 5px;
  height: 5px;
  background-color: var(--main-color);
  border-radius: 50%;
}

/* ------ チェック ------ */
.list04 {
  display: flex;
  flex-flow: column;
  gap: 10px;
}

.list04.list_inline {
  flex-flow: wrap row;
  gap: 10px 30px;
}

.list04, .list04_border, .list04_bg {
  display: flex;
  flex-flow: column;
  gap: 10px;
}

.list04_border, .list04_bg {
  padding: 20px 30px;
  border-radius: 10px;
}

.list04_border {
  border: 1px solid #dedede;
}

.list04_bg {
  background: var(--bg-color);
}

.list04.list_inline, .list04_border.list_inline, .list04_bg.list_inline {
  flex-flow: wrap row;
  gap: 10px 30px;
}

.list04 li, .list04_border li, .list04_bg li {
  position: relative;
  padding: 0 0 0 30px;
}

.list04 li:before, .list04_border li:before, .list04_bg li:before {
  content: "\f14a";
  position: absolute;
  top: 0;
  left: 7px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: var(--main-color);
  font-size: 97%;
}

/* ------ リンク ------ */
.list05 {
  display: flex;
  flex-flow: column;
  gap: 10px 20px;
}

.list05.list_inline {
  flex-flow: wrap row;
  gap: 10px 20px;
}

.list05 li {
  padding: 0 5px 5px;
  border-bottom: dotted 2px #e6e6e6;
}

.list05 li a {
  position: relative;
  padding: 0 0 0 30px;
  color: var(--text-color);
  transition: none;
}

.list05 li a.pointer_none {
  pointer-events: none;
}

.list05 li a::before {
  content: "\f35d";
  position: absolute;
  left: 5px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: rgb(219, 219, 219);
  transition: color 0.3s;
}

.list05 li a.pointer_none::before {
  color: transparent;
}

.list05 li a:hover::before {
  color: var(--main-color);
}

/*　------ アクセス ------　*/
.list_access li {
  padding: 8px 10px;
  border-bottom: 1px dashed var(--line-color);
  font-size: 95%;
}

/*　------ bタグがある場合 ------　*/
li b{
	padding-bottom: 3px;
	font-size: 105%;
	border-bottom: 1px dashed var(--line-color);
}


/*==============================================
  *SP　リスト（ul）
==============================================*/
@media screen and (max-width: 640px) {
  .list03_border, .list03_bg {
    padding: 20px 15px;
  }

  .list03 li:before, .list03_border li:before, .list03_bg li:before {
    top: 10px;
  }

  .list04_border, .list04_bg {
    padding: 20px 15px;
  }
}

/*==================================================================================================================================

  *リスト（ol）

==================================================================================================================================*/
ol:not(.breadcrumb_list) {
  counter-reset: number;
  display: flex;
  flex-flow: column;
  gap: 15px;
}

ol:not(.breadcrumb_list) li {
  position: relative;
  padding: 0 0 0 30px;
}

ol:not(.breadcrumb_list) li:before {
  content: counter(number)".";
  counter-increment: number;
  position: absolute;
  top: 0;
  left: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

/* ------ 背景付き ------ */
ol.bg {
  padding: 20px;
  background: var(--bg-color);
}

/* ------ 番号（四角の背景色付き） ------ */
ol.square {
  gap: 25px;
}

ol.square li {
  padding: 0 0 0 50px;
}

ol.square li:before {
  content: counter(number);
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 90%;
}

/*------ 番号（丸の背景色付き） ------ */
ol.circle {
  gap: 25px;
}

ol.circle li {
  padding: 0 0 0 50px;
}

ol.circle li:before {
  content: counter(number);
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  padding-left: 2px;
  background: var(--main-color);
  border-radius: 50%;
  color: #ffffff;
  font-size: 90%;
}

/*==============================================
  *SP リスト（ol）
==============================================*/
@media screen and (max-width: 640px) {
  ol.circle li:before {
    padding: 0;
  }
}


/*==================================================================================================================================

  *レイアウト

==================================================================================================================================*/
/* ------ 共通　------ */
.layout_title {
  display: block;
  margin: 0;
  padding: 10px 20px;
  background: var(--main-color);
  border: none;
  color: #ffffff;
  font-size: 120%;
  border-radius: 5px;
  font-family: "Zen Old Mincho", serif;
}

.layout_title:before {
      content: none;
}

.layout_title span {
  display: inline-block;
  margin-right: 10px;
}

.layout_sub_title {
  display: block;
  width: fit-content;
  /* margin: 0 0 1em!important; */
  padding: 2px 15px 4px;
  background: #555555;
  color: #ffffff;
  /*font-size: 110%;*/
  font-family: "Zen Old Mincho", serif;
  border-radius: 5px;
}

.layout_text > *:not(:last-child) {
  margin-bottom: 1.25em;
}

/* ------　layout01　------ */
.layout01 {
  position: relative;
  z-index: 1;
}

.layout01 .layout_box {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
  padding: 15px;
  background: var(--bg-color);
  border-radius: 5px;
}

.layout01 .layout_box:not(:last-of-type) {
  margin-bottom: 20px;
}

.layout01 .layout_img {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: calc(35% - 10px);
  padding: 10px;
  background: #ffffff;
  border-radius: 5px;
}

.layout01 .layout_img .imgtxt {
  display: block;
  margin-top: 10px;
  padding: 0;
  border: none;
  font-weight: bold;
  font-size: 110%;
}

.layout01 .layout_text {
  width: calc(65% - 10px);
}

.layout01 .layout_text > *:last-child {
  margin-bottom: 0;
}

/* ------　layout01_before/after ver　------ */
.layout01.layout_box_before-after-box {
  margin-bottom: 70px !important;
}

.layout01 .layout_box_before-after-list {
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.layout01 .layout_box_before-after-list:not(:first-of-type) {
  margin-top: 30px;
}

.layout01 .layout_box_before-after-list .layout_img_w {
  position: relative;
  display: flex;
  /* flex-flow: column;
  justify-content: center;
  align-items: center; */
  width: 100%;
  padding: 10px;
  background: #ffffff;
  border-radius: 5px;
}

.layout01 .layout_box_before-after-list .layout_img_w:before {
  position: absolute;
  content: "\f054";
  top: 50%;
  left: calc(50% - 10px);
  color: var(--main-color);
  font-size: 24px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 23px;
  text-align: center;
}

.layout01 .layout_box_before-after-list .layout_img_item {
  width: calc(45% - 10px);
  padding: 35px 35px 25px;
  background: var(--bg-color);
  border-radius: 5px;
  margin: 0 auto;
  text-align: center;
}

.layout01 .layout_box_before-after-list .layout_img_item > p:last-of-type {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  padding: 10px;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-family: "museo-sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.layout01 .layout_box:not(:last-of-type) {
  margin-bottom: 20px;
}

.layout01 .layout_box_before-after-list .layout_img .imgtxt {
  display: block;
  margin-top: 10px;
  padding: 0;
  border: none;
  font-weight: bold;
  font-size: 110%;
}

.layout01 .layout_box_before-after-list .layout_text {
  width: 92%;
  border: 1px solid var(--main-color);
  margin: 0 auto;
  padding: 3%;
  border-radius: 5px;
}

.layout01 .layout_text > *:last-child {
  margin-bottom: 0;
}

.layout01 .layout_text > p span {
  color: var(--main-color);
  font-weight: bold;
}


/* ------ layout02 ------ */
.layout02 {
  position: relative;
  z-index: 1;
}

.layout02 .layout_box {
  display: flex;
  flex-flow: wrap;
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
}

.layout02 .layout_box:not(:last-of-type) {
  margin-bottom: 20px;
}

.layout02 .layout_left {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 35%;
  padding: 40px 20px;
  background: var(--bg-color);
}

.layout02 .layout_left > *:not(:last-child) {
  margin-bottom: 1em;
}

.layout02 .layout_right {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 65%;
  padding: 20px;
}

/* 本文左揃え */
.layout02 .layout_right.text_left {
  align-items: flex-start;
}

/* layout11 */
.layout11{
  position: relative;
}
.layout11_box{
  padding: 8px;
  background: #ebebeb;
}
[class^="layout11_image"] p{
  margin-bottom: 0;
}
[class^="layout11_image"] img{
  width: 100%;
  height: auto;
}
[class^="layout11_text"]{
  margin-top: 8px;
}
[class^="layout11_text"] dl{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
[class^="layout11_text"] dl dt{
  background: var(--main-color);
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--main-color);
  width: 20%;
  margin-bottom: 2px;
}
[class^="layout11_text"] dl dd{
  padding: 12px;
  background: #fff;
  border: 1px solid var(--main-color);
  width: 80%;
  margin-bottom: 2px;
}
[class^="layout11_text"] .desc{
  background: #fff;
  border: 1px solid var(--main-color);
  padding: 16px;
}
[class^="layout11_text"] .desc p{
  margin-bottom: 0;
}
/* layout11 ver.1 */
.layout11_text01 dl dt{
  margin-left: 0;
}
/* layout11 ver.2 */
.layout11_image02{
  display: flex;
  justify-content: space-between;
}
.layout11_image02 span{
  position: relative;
  display: block;
  width: 47%;
}
/* 画像上にオーバーレイテキスト追加 */
.layout11_image02 span:first-child::before {
  content: "Before";
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.layout11_image02 span:last-child::after {
  content: "After";
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.layout11_image02 span:last-child::before{
  position: absolute;
  top: 0;
  bottom: 0;
  left: -42px;
  margin: auto;
  display: flex;
  align-items: center;
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 24px;
  color: var(--main-color);
  line-height: 1;
}
.layout11_text02 dl{
  width: 100%;
}
.layout11_text02 dl dt{
  margin-left: 2px;
  margin-bottom: 2px;
  width: 15%;
}
.layout11_text02 dl dt:nth-of-type(odd){
  margin-left: 0;
}
.layout11_text02 dl dd{
  width: calc(35% - 1px);
}
.layout11_text02 .desc{
  width: 100%;
}

/* ------  flow ------  */
.flow {
  position: relative;
  z-index: 1;
  padding: 30px;
  background: var(--bg-color);
  border-radius: 10px;
}

.flow_box {
  display: flex;
  gap: 30px;
  padding: 30px 0;
}

.flow_box:first-of-type {
  padding-top: 0;
}

.flow_box:last-child {
  padding-bottom: 0;
}

.flow_number {
  position: relative;
}

.flow_number::before {
  content: "";
  position: absolute;
  top: 55px;
  left: calc(50%);
  z-index: -1;
  width: auto;
  height: 100%;
  border-right: var(--line-color) dashed 3px;
  transform: translateX(-50%);
}

.flow_box:last-of-type .flow_number::before {
  display: none;
}

.flow_number > * {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  padding: 0 0 3px 2px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 120%;
  border-radius: 5px;
}

.flow_inner {
  width: calc(100% - 80px);
}

.flow_inner > *:not(:last-child) {
  margin-bottom: 1em;
}

.flow_inner .flow_title {
  margin-bottom: 15px;
  padding: 5px 20px;
  background: #ffffff;
  font-size: 120%;
  font-family: "Zen Old Mincho", serif;
  border-radius: 5px;
}

.flow_inner .flow_sub_title {
  width: fit-content;
  margin-bottom: 15px;
  padding: 5px 20px;
  background: var(--main-color);
  color: #ffffff;
}

.imgtxt {
  margin-top: 5px;
  font-weight: bold;
  text-align: center;
}

/* ------ flexbox01（改行せずに等間隔で配置） ------ */
.flexbox01 {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.flexbox01 > * {
  flex: 1;
}

/* ------ flexbox02 ------ */
.flexbox02 {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.flexbox02 > * {
  width: calc(50% - 5px);
}

.flexbox02.small{
  justify-content: center;
}

.flexbox02.small > *{
  max-width: 300px;
}

/* ------ flexbox03 ------ */
.flexbox03 {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.flexbox03 > * {
  width: calc((100% / 3) - (20px / 3));
}

/* ------ flexbox04 ------ */
.flexbox04 {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.flexbox04 > * {
  width: calc((100% / 4) - (30px / 4));
}

/* ------ 枠 ------ */
:is(.frame01,.frame02) > *:not(h1,h2,h3,h4,h5) {
  margin-bottom: 2em;
}

:is(.frame01,.frame02) > *:last-child {
  margin-bottom: 0;
}

:is(.frame01,.frame02) > :is(h3,h4,h5) {
  margin-bottom: 12px;
}

.frame01 {
  position: relative;
  z-index: 1;
  padding: 40px 30px;
  background: var(--bg-color);
}

.frame01::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  display: block;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 1px solid #ffffff;
  transform: translate(-50%,-50%);
}

.frame01 p {
  font-size: 120%;
  text-align: center;
}

.frame02 {
  padding: 20px 25px;
  background: var(--bg-color);
  border-radius: 10px;
}

.img_center {
  text-align: center;
}

.img_center, .img_fl, .img_fr img{
  border-radius: 10px;
}

.img_fl, .img_fr {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 20px;
}

.img_fl {
  float: left;
  margin-right: 30px;
  text-align: center;
}

.img_fr {
  float: right;
  margin-left: 30px;
  text-align: center;
}

.img_fl img, .img_fr img {
  width: auto;
  max-width: 400px;
  height: auto;
  max-height: 400px;
}

.float_clear {
  float: none !important;
}

/*==============================================
  *SP レイアウト
==============================================*/
@media screen and (max-width: 640px) {
  /* ------ layout01 ------ */
  .layout01 .layout_box {
    gap: 15px;
  }

  .layout01 .layout_img, .layout01 .layout_text {
    width: 100%;
  }

  /* ------ layout01 before-after ------ */

  .layout01 .layout_box_before-after-list .layout_img_w {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px;
    background: #ffffff;
    border-radius: 5px;
  }

  .layout01 .layout_box_before-after-list .layout_img_item {
    width: calc(100% - 10px);
  }

  .layout01 .layout_box_before-after-list .layout_img_w:before {
    top: 45%;
    transform: rotate(90deg);
  }  

  /* ------ layout02 ------ */
  .layout02 .layout_left, .layout02 .layout_right {
    width: 100%;
  }
	
 /* layout11 */
  [class^="layout11_text"] dl dt,
  [class^="layout11_text"] dl dd{
      margin-left: 0;
      width: 100%;
  }
  [class^="layout11_text"] dl dt{
      margin-bottom: 0;
  }
  [class^="layout11_text"] dl dd{
      margin-bottom: 10px;
  }
  .layout11_image02{
      flex-wrap: wrap;
  }
  .layout11_image02 span{
      width: 100%;
  }
  .layout11_image02 span:last-child{
      margin-top: 40px;
  }
  .layout11_image02 span:last-child::before{
      top: -32px;
      bottom: auto;
      left: 0;
      right: 0;
      justify-content: center;
      content: "\f078";
  }

  /* ------ flow ------ */
  .flow {
    padding: 20px;
  }

  .flow_box {
    gap: 20px;
    padding: 20px 0;
  }

  .flow_number::before {
    top: 40px;
  }

  .flow_number span {
    width: 40px;
    height: 40px;
    padding-top: 2px;
  }

  .flow_inner {
    width: calc(100% - 60px);
  }

  .flow_inner .flow_title {
    padding: 4px 15px;
  }

  /* ------ flexbox01（改行せずに等間隔で配置） ------ */
  .flexbox01 > * {
    flex: none;
    width: 100%;
  }

  /* ------  flexbox02 ------ */
  .flexbox02 > * {
    width: 100%;
  }

  /* ------  flexbox03 ------ */
  .flexbox03 > * {
    width: 100%;
  }

  /* ------  flexbox04 ------ */
  .flexbox04 > * {
    width: 100%;
  }

  .img_fl, .img_fr {
    float: none;
    margin: 0 auto 2.25em;
    text-align: center;
  }

  .img_fl img, .img_fr img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: none;
  }
}


/*==================================================================================================================================

  *アコーディオン

==================================================================================================================================*/
.accordion dl:not(:last-child) {
  margin-bottom: 15px;
}

.accordion dl dt {
  position: relative;
  z-index: 1;
  background-color: var(--bg-color);
  font-weight: normal;
  transition: background 0.3s , color 0.2s;
}

.accordion dl dt:hover {
  background: #eaeaea;
}

.accordion dl dt.open {
  background: var(--main-color);
  color: #ffffff;;
}

/* 横線 */
.accordion dl dt::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  z-index: 2;
  width: 15px;
  height: 2px;
  background: var(--main-color);
  transform: rotate(90deg);
  transition: transform 0.3s , opacity 0.3s;
}

.accordion dl dt.open::before {
  opacity: 0;
  transform: rotate(180deg);
}

/* 縦線 */
.accordion dl dt::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  z-index: 2;
  width: 15px;
  height: 2px;
  background: var(--main-color);
  transition: transform 0.3s , background 0.3s;
}

.accordion dl dt.open::after {
  background: #ffffff;
}

.accordion dl dt > div {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 15px 60px 15px 25px;
  cursor: pointer;
  transition: background 0.2s;
}

.accordion dl dd {
  display: none;
}

.accordion dl dd > div {
  position: relative;
  z-index: 1;
  padding: 15px 25px;
}

.accordion dl dd > div > *:not(h1,h2,h3,h4,h5) {
  margin-bottom: 2em;
}

.accordion dl dd > div > *:not(h1,h2,h3,h4,h5):last-child {
  margin-bottom: 0;
}

/* 質問用CSS */
.accordion.faq dl dt > div {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 15px 50px 15px 60px;
  cursor: pointer;
  transition: background 0.2s;
}

.accordion.faq dl dt > div::before {
  content: "Q.";
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 140%;
  line-height: 1;
}

.accordion.faq dl dd > div {
  position: relative;
  z-index: 1;
  padding: 15px 25px 15px 60px;
}

.accordion.faq dl dd > div:before {
  content: "A.";
  position: absolute;
  top: 20px;
  left: 20px;
  color: #c52b2b;
  font-size: 140%;
  line-height: 1;
}

/*==============================================
  *SP アコーディオン
==============================================*/
@media screen and (max-width: 640px) {
  .accordion dl dt > div {
    padding: 15px 50px 15px 15px;
  }

  .accordion dl dd > div {
    padding: 15px;
  }

  /* 質問用 */
  .accordion.faq dl dt > div {
    padding: 15px 50px 15px 50px;
  }

  .accordion.faq dl dt > div::before {
    top: 18px;
  }

  .accordion.faq dl dd > div {
    padding: 15px 15px 15px 50px;
  }
}


/*==================================================================================================================================

  *タブ

==================================================================================================================================*/
.tab_list {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.tab_list li {
  display: flex;
  flex: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 10px 20px;
  background: #a9a9a9;
  color: #ffffff;
  font-size: 140%;
  cursor: pointer;
  transition: transform 0.2s , padding 0.2s;
}

.tab_list li.active {
  background: var(--main-color);
}

.panel_wrap > *:not(:last-child) {
  margin-bottom: 2em;
}

.panel {
  display: none;
  margin: 0!important;
  padding: 20px;
  background: var(--bg-color);
}

.panel > *:not(:last-child) {
  margin-bottom: 2em;
}

/*==============================================
  *SP 
==============================================*/
@media screen and (max-width: 640px) {
  .tab_list {
    flex-flow: column;
  }

  .tab_list li {
    width: 100%;
  }

  .panel {
    padding: 15px;
  }

  .panel {
    margin-top: 20px;
  }
}


/*==================================================================================================================================

  *テーブル

==================================================================================================================================*/
table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
}

table th, table td {
  width: auto;
  padding: 10px;
  border: 1px solid var(--line-color);
  text-align: center;
  vertical-align: middle;
}

table td {
  background:#fff;
}

table th {
  background: var(--bg-color);
}

table th p, table td p {
  margin: 0 !important;
}

/* ------ ScrollHint ------ */
.scrolltable {
  overflow: visible!important;
}

/* ------ 診療時間 ------ */
.office_hour:not(:first-child) {
  margin-top: 20px;
}

.office_hour .title {
  width: 100%;
  margin: 0 0 10px;
  padding: 10px;
  background: var(--bg-color);
  font-weight: bold;
  text-align: center;
}

.office_hour .table_wrap {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
}

.office_hour table {
  width: 100%;
  border-spacing: 0;
}

.office_hour th, .office_hour td {
  padding: 10px;
  background: none;
  border: none;
}

.office_hour th {
  width: 30%;
  text-align: center;
  font-family: "museo-sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.office_hour tr:first-of-type th{
  border-radius: 5px 0 0 5px;
}

.office_hour tr:first-of-type th, .office_hour tr:first-of-type td{
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  background: var(--main-color);
  color: #fff;
}

.office_hour tr:first-of-type td:last-of-type{
  border-radius: 0 5px 5px 0;
}

.office_hour td {
  text-align: center;
}

.office_hour .note {
  margin-top: 10px;
}

.closed {
  color: var(--main-color);
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-style: normal;
}

/* tdを左揃え */
.td_left td {
  text-align: start!important;
}

/* 最初の行のthがメインカラー、２列目以降のthに背景色がつく */
.table01 tr th {
  background: var(--bg-color);
  font-size: 105%;
}

.table01 tr:first-child th {
  background: var(--main-color);
  color: #ffffff;
}

/* 一番左側がthになるテーブル（SP時は縦に1列表示）*/
.table02 :is(th,td) {
  position: relative;
  z-index: 1;
}

/*==============================================
  *SP テーブル
==============================================*/
@media screen and (max-width: 640px) {
  /* ------ ScrollHint ------ */
  .scrolltable {
    overflow: auto!important;
  }

  .scrolltable > table {
    min-width: 800px;
    min-height: 170px;
    background: none!important;
  }

  .scroll-hint-icon {
    top: 50%!important;
    left: 50%!important;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 135px!important;
    height: 100px!important;
    transform: translate(-50%,-50%)!important;;;
  }

  /* ------ 診療時間 ------ */
  .office_hour .table_wrap {
    padding: 10px;
  }

  .office_hour th, .office_hour td {
    padding: 10px 0;
    font-size: 13px;
  }

  .office_hour tr:nth-of-type(2) th,
  .office_hour tr:nth-of-type(3) th{
    font-size: 3vw;
  }

  /* 一番左側がthになるテーブル */
  .table02 :is(th,td) {
    display: block;
    width: 100%;
  }

  .table02 th, .table02 td {
    border-bottom: none;
  }

  .table02 tr:last-child td:last-child {
    border-bottom: 1px solid var(--line-color);
  }
}


/*==================================================================================================================================

  *パスワード保護ページ

==================================================================================================================================*/
.page_pass_input {
  display: block;
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line-color);
}

.page_pass_submit {
  display: block;
  width: 80%;
  max-width: 300px;
  margin: 20px auto;
  padding: 10px 0;
  background: var(--sub-color);
  border: solid 1px var(--sub-color);
  color: #ffffff;
  font-size: 110%;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s , background 0.2s;
}

.page_pass_submit:hover {
  background: #ffffff;
  color: var(--sub-color);
}


/*==================================================================================================================================

  *MPクラウド - お知らせ（タイトルのみ）

==================================================================================================================================*/
#mp-title {
  width: 100%;
  min-width: 0; /* タイトルが長い場合にボックスからはみ出さないように */
  position: relative;
  z-index: 0;
}

#mp-title .news_item {
  display: flex;
  align-items: center;
  padding: 25px 5px 25px 10px;
  border-top: solid 1px var(--line-color);
}

#mp-title .news_item:last-of-type {
  border-bottom: solid 1px var(--line-color);
}

#mp-title .news_info {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 15px;
  margin-right: 20px;
}

#mp-title .news_info .date {
  display: inline-block;
  flex-shrink: 0;
  font-size: 90%;
  line-height: 1;
}

#mp-title .news_info .cate {
  display: inline-block;
  flex-shrink: 0;
  min-width: 100px;
  padding: 7px 10px;
  /* 確認用 */
  /* background: var(--main-color); */
  /* color: #ffffff; */
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 90%;
  line-height: 1;
  text-align: center;
}

#mp-title .news_title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

#mp-title .news_title a {
  color: var(--text-color);
}

#mp-title .news_title a:hover {
  color: var(--main-color);
}

/* お知らせがない時 */
#mp-title .news_empty {
  text-align: center;
}

/*==============================================
  *SP　MPクラウド - お知らせ（タイトルのみ）
==============================================*/
@media screen and (max-width: 640px) {
  #mp-title .news_item {
    display: block;
    padding: 20px 5px 20px 10px;
  }

  #mp-title .news_info {
    margin: 0;
  }

  #mp-title .news_title {
    margin-top: 10px;
  }
}


/*==================================================================================================================================

  *MPクラウド - お知らせ（内容表示）

==================================================================================================================================*/
#mp-contents {
  width: 100%;
  min-width: 0; /* タイトルが長い場合にボックスからはみ出さないように */
}

#mp-contents .news_list {
  width: 100%;
  overflow-y: auto;
}

/*スクロールバーの横幅指定*/
#mp-contents .news_list::-webkit-scrollbar {
  width: 5px;
}

/*スクロールバーの背景色・角丸指定*/
#mp-contents .news_list::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 10px;
}

/*スクロールバーの色・角丸指定*/
#mp-contents .news_list::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-radius: 10px;
}

/* Firefoxのスクロールバー */
@-moz-document url-prefix() {
  #mp-contents .news_list {
    scrollbar-color: var(--main-color) #ffffff;
    scrollbar-width: thin;
  }
}

#mp-contents .news_item {
  padding: 45px 0;
  border-top: 1px solid var(--line-color);
}

#mp-contents .news_item:first-of-type {
  padding-top: 0;
  border-top: none;
}

#mp-contents .news_item:last-of-type {
  padding-bottom: 0;
}

#mp-contents .news_info {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 15px;
  margin-right: 20px;
}

/* 日付とカテゴリ名 */
#mp-contents .news_info {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

#mp-contents .news_info .date {
  display: inline-block;
  flex-shrink: 0;
  font-size: 90%;
  line-height: 1;
}

#mp-contents .news_info .cate {
  display: inline-block;
  flex-shrink: 0;
  min-width: 100px;
  padding: 7px 10px;
  /* 確認用 */
  /* background: var(--main-color); */
  /* color: #ffffff; */
  font-style: normal;
  font-size: 90%;
  line-height: 1;
  text-align: center;
}

/* タイトル */
#mp-contents .news_title {
  margin: 0 0 20px;
  padding: 0;
  background: none;
  border-bottom: none;
  color: var(--text-color);
  font-size: 135%;
  text-align: left;
}

#mp-contents .news_title::before, #mp-contents .news_title::after {
  display: none;
}

/* お知らせがない時 */
#mp-contents .news_contents.empty .news_list {
  height: auto;
}

#mp-contents .news_empty {
  padding: 0;
  text-align: center;
}

/* TOP用 */
.front #mp-contents {
  max-width: 900px;
  padding: 30px 20px 30px 30px;
  background: #ffffff;
}

.front #mp-contents .news_list {
  height: auto;
  max-height: 350px;
  padding: 0 20px 0 0;
}

/*==============================================
  *SP　MPクラウド - お知らせ（内容表示）
==============================================*/
@media screen and (max-width: 640px) {
  .front #mp-contents {
    padding: 25px 15px 25px 20px;
  }

  .front #mp-contents .news_list {
    padding: 0 15px 0 0;
  }
}


/*==================================================================================================================================

  *MPクラウド - スケジュール

==================================================================================================================================*/
.sec_mpcloud {
  padding: 0!important;
}

#mpcloud_schedule {
  position: fixed;
  bottom: 15px;
  left: 22px;
  z-index: 999999999;
  width: 220px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 15px;
}

#mpcloud_schedule section {
  box-shadow: 0 8px 22px 8px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

.shcedule_box {
  box-shadow: 0 8px 22px 8px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.shcedule_title {
  padding: 3px 0 0;
  border-bottom: 2px solid var(--line-color);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
}

.shcedule_title i {
  position: relative;
  top: -2px;
  right: -25px;
  font-style: normal;
  font-size: 12px;
  cursor: pointer;
}

.schedule_time {
  margin: 8px 0 0 0;
}

.schedule_time dt {
  font-weight: bold;
}

.shcedule_box dt {
  background: var(--line-color);
  text-align: center;
}
.shcedule_box dd {
  height: auto;
  text-align: center;
  vertical-align: top;
}

.shcedule_today {
  padding: 10px 16px;
}

.schedule_comment {
  max-height: 200px;
  padding: 8px 12px;
  border-top: 1px solid var(--line-color);
  font-size: 14px;
  overflow-x: hidden;
  overflow-y: scroll;
}

/*==============================================
  *SP MPクラウド
==============================================*/
@media screen and (max-width: 640px) {
  #mpcloud_schedule {
    bottom: 60px;
  }
}


/*==================================================================================================================================

  *RIBON

==================================================================================================================================*/
.ribon-link {
  display: inline-block;
  width: 100%;
  max-width: 300px;
  height: auto;
  background-image: url(images/ribon_banner.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #fa6565;
  border-radius: 5px;
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}

.ribon-link::before {
  content: "";
  display: block;
  padding-top: 36%;
}

.ribon-link:hover {
  opacity: 0.75;
  transition: 0.3s;
}


/*==================================================================================================================================

  *強制CSS

==================================================================================================================================*/
.sp {
  display: none!important;
}.mt00 {
  margin-top: 0!important;
}.mt10 {
  margin-top: 10px!important;
}.mt20 {
  margin-top: 20px!important;
}.mt30 {
  margin-top: 30px!important;
}.mt40 {
  margin-top: 40px!important;
}.mt50 {
  margin-top: 50px!important;
}.mt60 {
  margin-top: 60px!important;
}.mt70 {
  margin-top: 70px!important;
}.mt80 {
  margin-top: 5pc!important;
}.mt90 {
  margin-top: 90px!important;
}.mt100 {
  margin-top: 100px!important;
}.mr00 {
  margin-right: 0!important;
}.mr10 {
  margin-right: 10px!important;
}.mr20 {
  margin-right: 20px!important;
}.mr30 {
  margin-right: 30px!important;
}.mr40 {
  margin-right: 40px!important;
}.mr50 {
  margin-right: 50px!important;
}.mr60 {
  margin-right: 60px!important;
}.mr70 {
  margin-right: 70px!important;
}.mr80 {
  margin-right: 5pc!important;
}.mr90 {
  margin-right: 90px!important;
}.mr100 {
  margin-right: 100px!important;
}.mb00 {
  margin-bottom: 0!important;
}.mb10 {
  margin-bottom: 10px!important;
}.mb20 {
  margin-bottom: 20px!important;
}.mb30 {
  margin-bottom: 30px!important;
}.mb40 {
  margin-bottom: 40px!important;
}.mb50 {
  margin-bottom: 50px!important;
}.mb60 {
  margin-bottom: 60px!important;
}.mb70 {
  margin-bottom: 70px!important;
}.mb80 {
  margin-bottom: 5pc!important;
}.mb90 {
  margin-bottom: 90px!important;
}.mb100 {
  margin-bottom: 100px!important;
}.ml00 {
  margin-left: 0!important;
}.ml10 {
  margin-left: 10px!important;
}.ml20 {
  margin-left: 20px!important;
}.ml30 {
  margin-left: 30px!important;
}.ml40 {
  margin-left: 40px!important;
}.ml50 {
  margin-left: 50px!important;
}.ml60 {
  margin-left: 60px!important;
}.ml70 {
  margin-left: 70px!important;
}.ml80 {
  margin-left: 5pc!important;
}.ml90 {
  margin-left: 90px!important;
}.ml100 {
  margin-left: 100px!important;
}.pt00 {
  padding-top: 0!important;
}.pt10 {
  padding-top: 10px!important;
}.pt20 {
  padding-top: 20px!important;
}.pt30 {
  padding-top: 30px!important;
}.pt40 {
  padding-top: 40px!important;
}.pt50 {
  padding-top: 50px!important;
}.pt60 {
  padding-top: 60px!important;
}.pt70 {
  padding-top: 70px!important;
}.pt80 {
  padding-top: 5pc!important;
}.pt90 {
  padding-top: 90px!important;
}.pt100 {
  padding-top: 100px!important;
}.pr10 {
  padding-right: 10px!important;
}.pr20 {
  padding-right: 20px!important;
}.pr30 {
  padding-right: 30px!important;
}.pr40 {
  padding-right: 40px!important;
}.pr50 {
  padding-right: 50px!important;
}.pr60 {
  padding-right: 60px!important;
}.pr70 {
  padding-right: 70px!important;
}.pr80 {
  padding-right: 5pc!important;
}.pr90 {
  padding-right: 90px!important;
}.pr100 {
  padding-right: 100px!important;
}.pb00 {
  padding-bottom: 0!important;
}.pb10 {
  padding-bottom: 10px!important;
}.pb20 {
  padding-bottom: 20px!important;
}.pb25 {
  padding-bottom: 25px!important;
}.pb30 {
  padding-bottom: 30px!important;
}.pb35 {
  padding-bottom: 35px!important;
}.pb40 {
  padding-bottom: 40px!important;
}.pb45 {
  padding-bottom: 45px!important;
}.pb50 {
  padding-bottom: 50px!important;
}.pb60 {
  padding-bottom: 60px!important;
}.pb70 {
  padding-bottom: 70px!important;
}.pb80 {
  padding-bottom: 5pc!important;
}.pb90 {
  padding-bottom: 90px!important;
}.pb100 {
  padding-bottom: 100px!important;
}.pl00 {
  padding-left: 0!important;
}.pl10 {
  padding-left: 10px!important;
}.pl20 {
  padding-left: 20px!important;
}.pl30 {
  padding-left: 30px!important;
}.pl40 {
  padding-left: 40px!important;
}.pl50 {
  padding-left: 50px!important;
}.pl60 {
  padding-left: 60px!important;
}.pl70 {
  padding-left: 70px!important;
}.pl80 {
  padding-left: 5pc!important;
}.pl90 {
  padding-left: 90px!important;
}.pl100 {
  padding-left: 100px!important;
}.bold {
  font-weight: 700!important;
}.left {
  text-align: left!important;
}.center {
  text-align: center!important;
}.right {
  text-align: right!important;
}.clear {
  clear: both!important;
}.clearfix:after {
  content: "";
  clear: both;
  display: block;
}

/*==============================================
  *SP 強制CSS
==============================================*/
@media screen and (max-width: 640px) {
  .pc {
    display: none !important;
  }.sp {
    display: block !important;
  }
}