@charset "UTF-8";
/*
Theme Name: システムプロフェッショナル
Theme URI: https://s-professional.hero-website.com/wp/
Author: RYUYA SAKURAI（HERO innovation）
Author URI: https://hero-innovation.com/
Description: システムプロフェッショナルのテーマになります。
Version: 1.0
*/

/* -------------
  - *基本設定
  - *header
  - *nav
  - *pulldown
  - *mega
  - *footer
  - *f-nav
  - *連携病院
  - *バナー（footer）
  - *SNS（footer）
  - *ページトップ
  - *コピーライト
  - *タイトル
  - *ボタン
  - *リスト（ul）
  - *リスト（ol）
  - *レイアウト
  - *アコーディオン
  - *タブ
  - *テーブル
  - *MPクラウド
  - *RIBON
  - *強制CSS
------------- */


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

  *基本設定

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

  body {
    zoom: 80%;
  }

  .fixed {
    position: inherit!important;
  }
}

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

:root {
  --main-color: #f4a62a;
  --sub-color: #32975d;
  --sub2-color: #ffe377;
  --line-color: #bfbfbf;
  --text-color: #5a362d;
  --bg-color: #fdf7dd;
  --bg2-color: #e0f0c0;
  --btn-color: #ffea97;
  --selection-color: rgb(117, 95, 82,10%);
  --font-type: dnp-shuei-mgothic-std, sans-serif;
  --font-type-en: "caveat-brush", sans-serif;
  --font-type-num:"quicksand", sans-serif;
}

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

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

::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 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}


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

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

  .inner {
    padding: 0 20px;
  }
}


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

  *header

==================================================================================================================================*/
header {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 170px;
  background: rgb(255, 255, 255 , 0.85);

  /* MVの上に重ねるタイプ
  position: absolute;
  top: 0;
  left: 0; */
}

header .inner {
  position: relative;
  z-index: 1;
}

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

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

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

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

/* 所在地 */
.header_info .location {
  position: relative;
  top: 1px;
  font-size: 14px;
}

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

/* 電話 */
.header_info .tel {
  position: relative;
  padding: 0 0 0 45px;
  font-size: 34px;
  line-height: 1.2;
  font-family: var(--font-type-num);
  color: var(--main-color);
  z-index: 1;
}

.header_info .tel::before {
  content: "\f3cd";
  position: absolute;
  top: 2px;
  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-color);
  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;
  top: 50%;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  transform: translateY(-50%);
  z-index: 11;
}

.fixed_btn_service > a {
  position: relative;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 220px;
  width: 80px;
  padding: 0;
  background: var(--sub-color);
  font-family: var(--font-type);
  color: #ffffff;
  font-size: 120%;
  font-weight: 600;
  letter-spacing: 0.16em;
  z-index: 1;
  -writing-mode: vertical-rl;
  -webkit-text-orientation: upright;
  -moz-text-orientation: upright;
  -ms-text-orientation: upright;
  text-orientation: upright;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  border-radius: 10px 0 0 10px;
}

.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;
  z-index: 11;
  top: 50%;
  right: 0;
  display: flex;
  flex-flow: column;
  align-items: flex-end;
  gap: 10px;
  transform: translateY(-50%);
}

.fixed_btn_sns a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  padding: 0 0 0 3px;
  background: var(--main-color);
  box-shadow: 0px 3px 5px rgba(0,0,0,0.25);
  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: 112px;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 1;
  z-index: 12;
}

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

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

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

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

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

.nav_list li::before {
  position: absolute;
  top: 15px;
  right: -40px;
  content: "";
  width: 1px;
  height: 15px;
  background: #ffc000;
  transform: skewX(-15deg);
}

.nav_list li:last-child::before {
  display: none;
}


/* ----- 日本語 ----- */
.nav_item > a,
.nav_item > p {
  position: relative;
  z-index: 2;
  display: inline-block;
  color: #66594f!important;
  font-size: 17px;
  line-height: 1.5;
  text-align: center;
  font-family: var(--font-type);
  font-weight: 600;
}

/* ----- 英語 ----- */
.nav_item > a span,
.nav_item > p span {
  display: block;
  padding-top: 4px;
  color: #fcca00;
  font-size: 11px;
  line-height: 1;
  font-family: var(--font-type-num);
}

/* スマホ用非表示エリア */
.btn_menu,
.sp_navi_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;
    z-index: 10000;
    top: 0;
    right: 0!important;
    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: 55px;
    margin: 0 auto;
    padding: 10px 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;
    z-index: 2;
    top: 0;
    right: 0;
    right: -80%;
    width: 80%;
    height: 100%;
    padding: 15px;
    overflow: hidden;
    background: var(--main-color);
    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%;
    line-height: 2;
    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%;
    line-height: 2;
    text-align: left;
  }

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

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

  /* ------ 開閉ボタン（pulldown、mega） ------ */
  .open_btn {
    position: absolute;
    z-index: 2;
    top: 13px;
    right: 10px;
    left: auto;
    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_navi_btn {
    display: block;
    margin: 5px 0 0;
    padding: 5px 0 0;
    border-bottom: none;
  }
  .nav_list .sp_navi_btn a {
    padding: 10px 15px;
    background: #ffffff;
    color: var(--main-color);
    line-height: 2!important;
  }
  .nav_list .sp_navi_btn a:hover {
    color: var(--main-color);
  }
  .nav_list .sp_navi_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;
    line-height: 2!important;
    text-align: center;
  }

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

  /* ------ 下部固定メニュー ------ */
  .sp_under_nav {
    position: fixed;
    z-index: 9;
    bottom: 0;
    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%;
    color: #ffffff!important;
  }

  .sp_under_nav li a {
    background-color: var(--main-color);
    font-family: var(--font-type);
    font-weight: 600;
  }

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

  .sp_under_nav li:nth-child(3) a {
    background: #82b13f;
  }

  .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;
    z-index: 10;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;

    visibility: hidden;
  }

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

    visibility: visible;
  }
}


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

  *pulldown

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

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

.pulldown.medical_pulldown .pulldown_box{
	left: 125px;
}

/* 固定時の設定 */
.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::before {
   display: none;
}

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

.pulldown_box ul li a {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 15px 10px;
  background-size: auto auto;
  color: var(--text-color);
  font-family: var(--font-type);
  font-size: 14px;
}

.pulldown_box ul li a:hover {
  color: var(--sub-color);
}

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

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

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

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

/*==============================================
  *SP pulldown
==============================================*/
@media screen and (max-width:640px) {
  .pulldown:hover .nav_item::after {
    display: none!important;
  }

  .pulldown_box {
    position: static;
    width: 100%!important;
    padding: 10px 0 10px 5px;
    background: none;
    box-shadow: 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 {
    color: #ffffff;
  }

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

  /* 2列 */
  .doble .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;
  z-index: -1;
  top: 100%;
  left: 50%;
  width: 120%;
  height: 50px;
  /* 確認用 */
  /* background: #000000; */
  transform: translateX(-50%);
}

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

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

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

/* メガメニューの中身 */
.mega_inner {
  position: static;
  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;
  background: none;
}

/* ----- スクロールバーの設定 ----- */
/*スクロールバーの横幅指定*/
.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 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;
  display: block;
}

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

/*==============================================
  *SP mega
==============================================*/
@media screen and (max-width:640px) {
  nav ul li.mega {
    position: relative;
  }

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

  .mega_box {
    position: static;
    width: 100%!important;
    padding: 15px 0 10px;
    background: none;
    border: none;
    box-shadow: 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: 0px 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;
  }
}


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

  *footer

==================================================================================================================================*/
footer {
  position: relative;
  width: 100%;
  background: url(images/bg_01.jpg) top / 100%;
}

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

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

/* ロゴ */
.footer_info_left .logo {
  width: 30%;
  height: auto;
  margin: 0 auto 40px;
  text-align: center;
}

/* 所在地 */
.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 {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0 0 0 2px;
  background: var(--main-color);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transform: translateY(-50%);
}

.footer_info_left address .location {
  padding: 20px 30px 20px 110px;
  background: #fff;
  border-radius: 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;
  font-size: 30px;
  line-height: 1;
  font-family: var(--font-type-num);
  padding: 20px 30px 20px 110px;
  background: #fff;
  border-radius: 50px;
}

.footer_info_left address .tel::before {
  content: "\f3cd";
}

.footer_info_left address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-size: 30px;
  line-height: 1;
}

.footer_info_left address .fax::before {
  content: "\f249";
}

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

/* 診療科目 */
.footer_info_speciality {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: var(--font-type);   
  margin: 20px auto;
  padding: 10px;
  background: var(--sub2-color);
  border-radius: 50px;
  color: #56473b;
  font-weight: 600;
}

.footer_info_speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  color: #ffffff;
  text-align: center;
}

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

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

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

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

.footer_info_right .illustmap img {
  border-radius: 20px;
}

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

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

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

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

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

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

  .footer_info_left {
    width: 100%;
  }

  .footer_info_address {
    margin-bottom: 30px;
    line-height: 1.75;
    text-align: center;
  }

  .footer_info_tel {
    margin-bottom: 35px;
  }

  .footer_info_tel a {
    font-size: 30px;
  }

  .footer_info_tel a span {
    font-size: 18px;
  }

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

  .footer_info_speciality .title {
    width: 100%;
  }
	
	.footer_info_left address > *::before{
		left:20px;
	}

  .footer_info_right {
    width: 100%;
  }

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

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

.footer_info_left address .location,
.footer_info_left address .tel{
  border-radius: 10px;
  padding: 20px 20px 20px 75px;
}
}


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

  *f-nav

==================================================================================================================================*/
.footer_navi {
  padding: 90px 0 70px;
  background: var(--text-color);
}

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

.footer_navi ul {
  display: grid;
  gap: 30px 40px;
  grid-template-columns: repeat(2, auto);
}

.footer_navi ul li {
  height: fit-content;
}

/* ------ タイトル ------ */
.footer_navi_title {
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer_navi_title a {
  position: relative;
  display: inline-block;
  padding-left: 22px;
  font-family: var(--font-type);
  color: #ffffff!important;
  font-size: 16px;
}

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

.footer_navi_title a:hover {
  opacity: 0.5;
}

/* ------ 固定ページのナビ ------  */
.page_navi {
  gap: 15px;
  line-height: 1.5;
}

.page_navi li a {
  position: relative;
  display: inline-block;
  padding-left: 22px;
  color: #ffffff;
  font-family: var(--font-type);
  font-size: 16px;
}

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

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

/* ------　下層ページのナビ　------ */
.footer_navi .under_navi {
  display: grid;
  gap: 20px 30px;
  grid-template-columns: repeat(2, auto);
  line-height: 1.5;
}

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

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

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

/* ------　ブログのナビ　------ */
.footer_navi  .blog_navi {
  grid-template-columns: repeat(1, auto);
}


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

  .footer_navi .inner {
    gap: 25px;
  }

  .footer_navi ul {
    gap: 25px 20px;
    width: 100%;
  }

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

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

  .footer_navi_title a::before {
    top: 9px;
    width: 5px;
    height: 5px;
  }

  .navi_wrap {
    width: 100%;
  }

  /* ------ 固定ページ ------ */
  .page_navi {
    grid-template-columns: repeat(2, auto);
    width: 100%;
  }

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

  .page_navi li a::before {
    top: 9px;
    width: 5px;
    height: 5px;
  }

  /* ------ 下層ページのナビ ------ */
  .footer_navi .under_navi {
    gap: 20px;
    width: 100%;
    padding-left: 10px;
  }

  /* ------ ブログのナビ ------ */
  .footer_navi  .blog_navi {
    grid-template-columns: repeat(2, auto)!important;
  }
}


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

  *連携病院

==================================================================================================================================*/
footer .affiliations {
  background: #ffffff;
}

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%;
  line-height: 1;
  font-family: var(--font-type-en);
}

footer .affiliations_title h2 {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 200%;
  font-family: var(--font-type);
  font-weight: 600;
}

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

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

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

footer .affiliations_list li a {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line-color);
}

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

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

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 {
    width: 90%;
    margin: auto;
  }

  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%;
  line-height: 1;
}

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;
  }
}

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

  *SNS（footer）

==================================================================================================================================*/
.footer_sns {
  padding: 20px 0;
  background: var(--text-color);
}

.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;
  z-index: 10;
  right: 0;
  bottom: 0;
  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(35 24 21);
  border: 1px solid rgb(35 24 21);
  color: #ffffff;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s , color 0.2s;
  font-family: var(--font-type-num);
}

.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;
  background: var(--text-color);
  line-height: 1.5;
  text-align: center;
}

.copy small {
  color: #ffffff;
  font-size: 14px;
}

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


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

  *タイトル

==================================================================================================================================*/
h1 {
  position: absolute;
  z-index: 2;
  top: 17px;
  right: 0;
  display: inline-block;
  color: #a3a3a3;
  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;
    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: var(--font-type);
  letter-spacing: 0.15em;
  text-align: center;
  transition: background 0.2s , color 0.2s;
  border-radius: 50px;
  font-weight: 600;
}

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

.btn01 > *::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  display: block;
  width: 16px;
  height: 14px;
  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;
  z-index: 2;
  top: 50%;
  left: 50%;
  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　ボタン
==============================================*/
@media screen and (max-width: 640px) {
  .btnflex {
    justify-content: center;
  }
}


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

  *リスト（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;
}

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

.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;
}

.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-weight: 900;
  font-style: normal;
  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%;
}


/*==============================================
  *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）

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

:not(#breadcrumb) > ol li {
  position: relative;
  padding: 0 0 0 30px;
}

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

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

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

:not(#breadcrumb) > ol.square li {
  padding: 0 0 0 50px;
}

:not(#breadcrumb) > 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%;
}

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

:not(#breadcrumb) > ol.circle li {
  padding: 0 0 0 50px;
}

:not(#breadcrumb) > 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) {
  :not(#breadcrumb) > ol.circle li:before {
    padding: 0;
  }
}


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

  *レイアウト

==================================================================================================================================*/
/* ------ 共通　------ */
.layout_title {
  display: block;
  margin: 0;
  padding: 5px 20px;
  background: #ffe576;
  border: none;
  color: #58402e;
  font-size: 150%;
  line-height: 1.75;
  font-family: var(--font-type);
  font-weight: 600;
  border-radius: 5px;
}

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

.layout_sub_title {
  position: relative;
  display: block;
  /* margin: 0 0 1em!important; */
  padding: 2px 15px 4px 25px;
  font-size: 130%;
  font-family: var(--font-type);
  font-weight: 600;
  border-bottom: 1px dashed #9c7558;
}

.layout_sub_title::before {
  content: "■";
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  transform: translateY(-50%);
  font-size: 80%;
  color: var(--main-color);
}

.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: 40px;
  background: var(--bg-color);
}

.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;
}

.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;
}

/* ------ 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 {
  width: 65%;
  padding: 20px;
}

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

.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;
  z-index: -1;
  top: 55px;
  left: calc(50%);
  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 span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  padding: 8px 0 3px 2px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 150%;
  font-family: var(--font-type-num);
  font-weight: 600;
  border-radius: 50%;
}

.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: 140%;
  font-family: var(--font-type);
  font-weight: 600;
}

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

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

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

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


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

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

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

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

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

: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;
  z-index: -1;
  top: 50%;
  left: 50%;
  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);
  font-family: var(--font-type);
}

.img_fl,
.img_fr {
  position: relative;
  display: block;
}

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

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

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

.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%;
  }

  /* ------ layout02 ------ */
  .layout02 .layout_left,
  .layout02 .layout_right {
    width: 100%;
  }

  /*------  layout03 ------ */
  .layout03 {
    flex-flow: column;
  }

  .layout03 .layout_box {
    width: 100%;
    padding: 10px;
  }

  .layout04 {
    flex-flow: column;
  }

  .layout04 .layout_box {
    width: 100%!important;
  }

  .layout05 .layout_box {
    width: 100%;
  }

  /* ------ 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 > *,
  .flexbox02 > * {
    width: 100%;
  }

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

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

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

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


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

  *アコーディオン

==================================================================================================================================*/
.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;
}

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

.accordion dl dt.open {
  background: #ffe0e0!important;
}

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

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

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

.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: 1.5em;
}

.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;
  font-family: var(--font-type);
  font-size: 120%;
  font-weight: 600;
}

.accordion.faq dl dt > div::before {
  content: "Q.";
  position: absolute;
  top: 50%;
  left: 20px;
  font-size: 140%;
  line-height: 1;
  transform: translateY(-50%);
  font-family: var(--font-type-num);
}

.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;
  font-family: var(--font-type-num);
}

/*==============================================
  *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 dd > div {
    padding: 15px 15px 15px 50px;
  }
}


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

  *タブ

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

.tab_list li {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 60px;
  padding: 0 20px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  font-size: 140%;
  cursor: pointer;
  transition: transform 0.2s , padding 0.2s;
}

.tab_list li:hover,
.tab_list li.active {
  padding-bottom: 5px;
  transform: translateY(10px);
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}


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

  *テーブル

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

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

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

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

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

/* ------ 診療時間 ------ */
/* ------ 診療時間 ------ */
.office_hour .title {
  border-bottom: none;
  font-size: 18px;
  text-align: center;
  width: 100%;
  border: 1px var(--border-color) solid;
  padding: 8px;
  margin-bottom: 10px;
}

.office_hour .table_wrap {
  background: #ffffff;
  border: 1px solid var(--line-color);
  border-radius: 15px;
}

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

.office_hour tr:first-of-type tr {
  background: none;
}

.office_hour tr:first-of-type td,
.office_hour tr:first-of-type th {
  padding: 12px 0;
  background: #56473b;
  color: #fff;
}

.office_hour tr:last-of-type th,
.office_hour tr:last-of-type td {
  border: none;
}

.office_hour tr:first-of-type th:first-child{
  border-top-left-radius: 12px;
}

.office_hour tr:first-of-type td:last-child{
  border-top-right-radius: 12px;
}

.office_hour tr:last-of-type th:first-child{
  border-bottom-left-radius: 15px;
}

.office_hour tr:last-of-type th:last-child{
  border-bottom-right-radius: 15px;
}

.office_hour th,
.office_hour td {
  padding: 15px;
  background: none;
  border: none;
  font-family: var(--font-type);
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
}

.office_hour th {
  width: 30%;
  min-width: 110px;
  border-bottom: 1px solid var(--line-color);
  padding: 16px 0;
  font-size: 16px;
  color: #77644e;
}

.office_hour td {
  text-align: center;
  border-bottom: 1px solid var(--line-color);
  padding: 8px 0;
  color: var(--main-color);
}

.office_hour .note {
  padding: 8px 0 8px 24px;
}

.closed {
  color: #8a8a8a;
}

.green {
 color: #72b54d;
}

.kyushinbi {
  font-size: 17px;
  color: var(--main-color);
  text-align: left;
  margin-bottom: 10px;
  font-family: var(--font-type);
}


/*==============================================
  *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 {
  }
	
  .office_hour th {
    width: 35%;
  }
  .office_hour th,
  .office_hour td {
    padding: 10px 0;
    font-size: 13px;
  }
}


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

  *MPクラウド

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

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

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

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

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

  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.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;
  overflow-x: hidden;
  overflow-y: scroll;
  border-top: 1px solid var(--line-color);
  font-size: 14px;
}

/*==============================================
  *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-color: #fa6565;
  background-repeat: no-repeat;
  background-size: contain;
  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: "";
  display: block;
  clear: both;
}
.marker {
  background: linear-gradient(transparent 60%, var(--bg2-color) 60%);
}
/*==============================================
  *SP 強制CSS
==============================================*/
@media screen and (max-width: 640px) {
  .pc {
    display: none !important;
  }.sp {
    display: block !important;
  }
}