@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.8
*/

/* -------------
  - *基本設定
  - *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;
}

:root {
  /*--main-color: #9dd14b;*/
  --main-color: #b29372;
  --sub-color: #996941;
/*   --sub-color: #c6a993; */
  /*--sub-color: #c1a260;*/
  --sub-color2:#c6a993;
/*   --sub-color2:#996941; */
  --sub-color3: #835b48;
  /*--sub-color-light:#b59982;*/
  --sub-color-light:#d9bba3;
  --line-color: #ddcfc4;
  --text-color: #7a5231;
  --bg-color: #f3efe4;
  --bg-color2: #fcf8f3;
  --selection-color: rgb(117, 95, 82,10%);
  --font-jp: shippori-mincho, sans-serif;
  --font-en: "cinzel", sans-serif;
  --font-en-sub: "playwrite-cc-co", 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-break: break-all;
  word-wrap: break-word; 
  background: url(images/body_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

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

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

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

.caution {
  color: #c52b2b;
  font-size: 95%;
}

/*==============================================
  *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: 195px;
  background: rgb(255, 255, 255, 0.85);
}

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

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

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

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

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

/* 所在地 */
.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 3px 45px;
  font-size: 34px;
  letter-spacing: 3px;
  line-height: 1;
  font-family: var(--font-jp);
  font-style: normal;
  z-index: 1;
}

.header_info .tel::before {
  content: "\f3cd";
  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: #bba054;
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffffff;
  font-size: 14px;
}

/* LINE */
.header_info .sns {
  font-size: 160%;
  color: var(--text-color);
}

/* 予約・問診ボタン */
.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); */
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
  color: #ffffff;
  font-family: var(--font-jp);
}

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

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

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

.fixed_btn_service > a:nth-child(3n) {
  background: #996941;
  border: 1px solid #996941;
}

.fixed_btn_service > a:nth-child(3n):hover {
  background: #ffffff;
  color: #bba054;
}

.fixed_btn_service > a i{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgb(255, 255, 255 , 0.3);
}

/* ----- 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; */
  color: transparent;
  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;
}

/* Line*/
.fixed_btn_sns a.line {
  background: rgb(6, 199, 85 , 0.8);
/*   background-color: var(--sub-color3); */
  background-clip:text;
}
.fixed_btn_sns a.line i{
  font-size: 45px;	
}

.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));
/*   background-color: var(--sub-color-light); */
  background-clip:text;
}
.fixed_btn_sns a.instagram i{
  font-size: 50px;
}

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

.fixed_btn_sns .consent,
.fixed_btn_sns .recruit {
  height: auto;
  padding: 20px 10px;
  font-family: var(--font-jp);
  font-size: 105%;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.fixed_btn_sns .consent i,
.fixed_btn_sns .recruit i {
  margin: 0 auto 8px;
  font-size: 20px;
}

.fixed_btn_sns .recruit {
  background: var(--sub-color);
}

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

  header::before {
    background: none;
    height: 100%;
  }
}

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

  *美容診療予約ポップアップ

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

/* ------ タイトル ------ */

.pum-theme-736 .pum-title {
  position: relative;
  margin: 0 0 35px!important;
  padding: 20px 25px 20px 50px;
  background: #fff;
  border: solid 1px var(--line-color);
  font-family: var(--font-jp)!important;
}

.pum-theme-736 .pum-title:before {
  position: absolute;
  content: "";
  width: 6px;
  height: 100%;
  height: -webkit-calc(100% - 30px);
  height: calc(100% - 30px);
  background: rgb(198 169 147 / 30%);
  top: 50%;
  left: 20px;
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}

html.pum-open.pum-open-overlay.pum-open-scrollable body>:not([aria-modal=true]){
  padding-right: 0!important;
}

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

  *nav

==================================================================================================================================*/
.nav_wrap {
  position: absolute;
  top: 107px;
  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);
}

.nav_wrap.fixed nav {
  padding: 0;
  border: none;
}

.nav_wrap.fixed .nav_item a {
  color: var(--text-color)!important;
  filter: none;
}


nav {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 17px 0 0; */
  padding: 30px 0 0;
  /* border-top: solid 1px var(--line-color); */
}

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

.nav_wrap.fixed nav::before {
  display: none;
}
.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_item > a, .nav_item > p {
  position: relative;
  z-index: 2;
  display: inline-block;
  font-family: var(--font-jp);
  font-size: 17px;
  line-height: 1.5;
  text-align: center;
  color: var(--text-color);
}

/* ----- 英語 ----- */
.nav_item > a span, .nav_item > p span {
  display: block;
  color: #cda427;
  font-size: 12px;
  letter-spacing: 3px;
  line-height: 1.9;
  font-family: var(--font-en-sub);
}

/* スマホ用非表示エリア */
.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: 55px;
    margin: 0 auto;
    padding: 9px 0;
  }

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

  /* ハンバーガーボタン */
  .btn_menu {
    position: relative;
    right: 0;
    display: block;
    width: 55px;
    margin: 0;
    padding: 0;
    background: var(--sub-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(--sub-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;
    filter: none;
  }

  .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(--sub-color);
    font-size: 15px;
    text-align: center;
    font-family: var(--font-jp);
  }

  .sp_btn_area li a i {
    display: block;
    margin-right: 10px;
    font-size: 14px;
  }
  
  /* ------ 上部固定メニュー ------ */
  .sp_top_nav {
    position: fixed;
    top: 55px;
    /* bottom: 55px; */
    z-index: 9;
    display: block;
    width: 100%;
    height: 55px;
    background: #fff;
  }

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

  .sp_top_nav li {
    width: -webkit-fill-available;
    width: -moz-available;
    width: stretch;
  }
  
  .sp_top_nav li:nth-child(1) {
    width: 50%;
  }
  
  .sp_top_nav li:nth-child(2) {
    width: 50%;
  }

  .sp_top_nav li a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background: var(--main-color);
    color: #ffffff!important;
    font-family: var(--font-jp);
  }
	
  .sp_top_nav li a.recruit {
	background: var(--sub-color);	
  }
	 
	.sp_under_nav li{
		flex: 1;
		background:#fff;
	}
	.sp_under_nav li.tel {
		flex:1.5;
	}
	.sp_under_nav li.consent {
		flex:1.5;
	}
	.sp_under_nav .consent a {
    background: var(--sub-color2);
	}

  .sp_under_nav li.instagram a {
    background: linear-gradient(135deg, rgb(131, 58, 180, 1), rgb(253, 29, 29, 1), rgb(252, 176, 69, 1)); 
    background-color: var(--sub-color-light);
	background-clip:text;
	color: transparent!important;
  }
	
  .sp_under_nav li.line a {
    background: rgb(6, 199, 85, 1);
/*     background-color: var(--sub-color3); */
	background-clip:text;
    color: transparent!important;
  }

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

  .sp_top_nav li a i {
    font-size: 180%;
  }
	
	.sp_under_nav li.instagram a i{
/* 		font-size: 230%; */
		font-size: 300%;
	}
  .sp_under_nav li.line a i{
/* 		font-size: 215%; */
	  font-size: 285%;
	}	

  .sp_top_nav li:nth-child(2) a i {
    font-size: 160%;
  }

  /* ------ 下部固定メニュー ------ */
  .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%;
    line-height: 1.3;
    text-align: center;
/*     background-color: var(--sub-color2); */
	background-color: var(--sub-color);
    color: #ffffff!important;
    font-family: var(--font-jp);
  }

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

  .sp_under_nav .instagram a {
    background-color: var(--sub-color-light);
  }

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



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

  .sp_under_nav li a i {
    margin-right: 5px;
  }
  .sp_under_nav li.instagram a i,
	.sp_under_nav li.line a i{
		margin-right: 0;
	}

  .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: 380px;
  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;
}

.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-child(n + 7) {
  display: none !important;
}


.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 {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  z-index: 2;
  display: none;
  width: calc(100% - 100px);
  width: calc(50% - 100px);
  height: auto;
  padding: 10px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 5px #bdbdbd;
  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; */
  gap: 50px 15px;
  width: 100%;
  height: 100%;
  max-height: 70vh;
  margin: 0 auto!important;
  padding: 30px;
  overflow: auto;
}

.mega_inner2 {
  flex-flow: nowrap;
  justify-content: space-between;
}

.mega_inner3 {
  flex-flow: nowrap;
  justify-content: space-between;
}

/* ----- スクロールバーの設定 ----- */
/*スクロールバーの横幅指定*/
.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_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 .title:not(:first-of-type) {
  margin-top: 40px;
}

.mega_item .sub_title {
  padding-bottom: 10px;
  font-weight: bold;
}

.mega_item ul {
  display: flex;
  flex-wrap: wrap;
  /* flex-flow: column; */
  align-items: flex-start;
  /* gap: 10px 20px; */
  gap: 10px 15px;
  margin-bottom: 20px;
}

.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; */
  font-size: 12px;
  text-align: start;
}

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

.mega_item ul li a::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    margin: auto;
    background-color: var(--main-color);
    transition: 0.15s ease-out;
    transform: scaleX(0);
    content: "";
    z-index: 1;
    opacity: 0.5;
}
.mega_item ul li a:hover::after {
    transform: scaleX(1);
}

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

.mega_inner3 .mega_item ul li {
  /* width: fit-content; */
  width: 100%;
}

.mega_inner3 .mega_item:nth-last-child(1) ul li {
  width: 30%;
}
/* ----- タイトルリンクのみの場合 ----- */
.mega_item.title_link ul {
  display: flex;
  flex-flow: wrap;
  gap: 20px 40px;
}

@media screen and (min-width:641px) {
  .mega_inner > * {
    width: fit-content;
    /* height: fit-content; */
  }

  .mega_inner3 .mega_item:nth-last-child(1) {
    flex: 6;
    padding-left: 3%;
    border-left: 1px dotted #ccc;
    min-height: 960px;
  }

  .mega_inner3 .mega_item:nth-last-child(2) {
    flex: 2;
    padding-left: 5%;
    border-left: 1px dotted #ccc;
    min-height: 960px;
  }

  .mega_inner3 .mega_item:nth-last-child(3) {
    flex: 2;
  }

  .mega_inner3 .mega_item:nth-last-child(1) ul:not(:last-of-type) {
  padding-bottom: 20px;
  border-bottom: 1px dotted #ccc;
  }
} 

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

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

  /* ----- 選択範囲拡張 ------ */
  .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: 20px;
    max-height: 300px;
    padding: 0;
	flex-flow: column;
  }

  .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;
	gap: 10px;
  }

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

.footer_info {
  background: #fff;
}

.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 {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 0 2px;
  background: var(--bg-color);
  border: 1px solid var(--main-color);
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--main-color);
  font-size: 16px;
}

.footer_info_left address .location {
  padding: 30px 0 30px 45px;
  background: var(--bg-color2);
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.footer_info_left address .location span {
  display: inline-block;
}

.footer_info_left address .tel {
  margin-top: 15px;
  padding: 30px 0 30px 45px;
  background: var(--bg-color2);
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 3px;
  font-family: var(--font-jp);
  color: var(--main-color);
}

.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;
  gap: 20px;
  margin: 25px auto 0;
  padding: 20px;
  background: #ffffff;
  font-family: var(--font-jp);
  border: solid 1px var(--line-color);
}

.footer_info_speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 20px;
  background: #bba054;
  color: #ffffff;
  text-align: center;
}

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

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

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

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

/* GoogleMap */
.footer_info_right .googlemap {
  position: relative;
  border: 1px solid #cdd7db;
}

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

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

.footer_info_right .btn01 a {
  width: 100%;
}

/*==============================================
  *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: 60%;
    max-width: 300px;
    margin: 0 auto 30px;
  }
	.footer_info_left address {
	width: fit-content;
    margin: 0 auto;
	}

  .footer_info_left address .location,
  .footer_info_left address .tel {
        padding: 30px 10px 30px 12px;
    gap: 6px;
    font-size: 12.5px;
  }

  .footer_info_left address .location::before,
  .footer_info_left address .tel::before {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

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

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: var(--font-en);
}

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

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

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

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

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

footer .affiliations_list li a::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: block;
  width: 17px;
  height: 17px;
  background: rgb(198 169 147 / 30%);
  clip-path: polygon(100% 0px, 0% 100%, 100% 100%);
  transition: background 0.4s, width 0.4s, height 0.4s;
}

footer .affiliations_list li a:hover::after {
  width: 13px;
  height: 13px;
  background: #cdd7db;
}

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);
  text-align: center;
  pointer-events: none;
  transition: background 0.2s;
  font-family: var(--font-jp);
  font-size: 115%;
  color: var(--text-color);
}

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 {
    gap: 10px 20px;
  }

  footer .affiliations_list li {
    width: 100%;
  }
	
  footer .affiliations_list li a span {
      padding: 10px;
  }
}


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

  *バナー（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-color: #fff;
}

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

.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; */
  color: var(--text-color);
  font-size: 16px;
  font-family: var(--font-jp);
}

.page_nav ul li a:hover {
  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; */
  color: var(--text-color);
  font-size: 95%;
}

.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 {
  display: block;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.pagetop p {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  padding: 0 0 5px;
  border: 1px solid var(--main-color);
  background: var(--main-color);
  color: #ffffff;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s , color 0.2s;
  font-family: var(--font-en);
}

.pagetop p:hover {
  background: #ffffff;
  color: var(--text-color);
}

.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: 125px; */
    bottom: 72px;
    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: 10px 0 45px; */
  padding: 25px 0;
  text-align: center;
  background: var(--sub-color3);
}

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

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


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

  *タイトル

==================================================================================================================================*/
h1 {
  position: absolute;
  top: 17px;
  right: 0;
  z-index: 2;
  display: inline-block;
  color: #aba5a1;
  font-size: 12px;
}

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


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

  *ボタン

==================================================================================================================================*/
.btn01 > * {
  position: relative;
  display: inline-block;
  padding: 20px 45px 20px 40px;
  background: #fff/*df9*/;
  border: 1px solid var(--line-color);
  color: var(--text-color);
  font-size: 110%;
  letter-spacing: 0.15em;
  text-align: center;
  transition: background 0.2s , color 0.2s;
  font-family: var(--font-jp);
  min-width: 230px;
}

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

.btn01 > *::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: block;
  width: 22px;
  height: 22px;
  background: rgb(198 169 147 / 30%);
  clip-path: polygon(100% 0px, 0% 100%, 100% 100%);
  transition: background 0.4s, width 0.4s, height 0.4s;
}

.btn01 > *:hover::after {
  background: #fff;
  width: 15px;
  height: 15px;
}

/* 準備中 */
.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) {
  .btn01 > * {
    font-size: 90%;
  }

  .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 var(--line-color);
  background: #fff;
}

.list03_bg {
  background: #fff;
}

.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(--sub-color);
  border-radius: 50%;
}

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

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

.list04_border {
  border: 1px solid var(--line-color);
}

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

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

.list04_bg {
  background: #fff;
}

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

.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(--sub-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 var(--line-color);
}

.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: #d5c491;
  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: solid 1px 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）

==================================================================================================================================*/
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;
  color: #ffffff;
  font-size: 90%;
  font-family: var(--font-en);
  background: #bba054;
}

/*------ 番号（丸の背景色付き） ------ */
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;
  border-radius: 50%;
  color: #ffffff;
  font-size: 90%;
  font-family: var(--font-en);
  background: #bba054;
}

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


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

  *レイアウト

==================================================================================================================================*/
/* ------ 共通　------ */
.layout_title {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  color:  var(--text-color);
  font-size: 120%;
  font-family: var(--font-jp);
  border-bottom: 1px solid var(--main-color);
}

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

.layout_sub_title {
  display: block;
  width: fit-content;
  /* margin: 0 0 1em!important; */
  padding: 3px 15px;
  background: #b5ae9a;
  color: #ffffff;
  font-size: 110%;
  font-family: var(--font-jp);
}

.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 20px 35px;
  background: #fff;
  border: solid 1px var(--line-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: 15px;
}

.layout02 .layout_left {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 35%;
  padding: 10px 20px;
  background: var(--bg-color2);
  /* border-right: 1px solid var(--line-color); */
}

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

.layout02 .layout_left .layout_title {
  border: none;
}

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

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

/* ------  flow ------  */
.flow {
  position: relative;
  z-index: 1;
  padding: 30px;
  background: rgb(255, 255, 255 , 1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.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: 75px;
  height: 75px;
  padding: 0 0 3px 2px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 250%;
  font-family: var(--font-en);
}

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

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

.flow_inner .flow_title {
  margin-bottom: 15px;
  padding: 17px 17px 17px 20px;
  background: var(--bg-color);
  font-size: 140%;
  font-family: var(--font-jp);
  color: var(--main-color);
}

.flow_inner .flow_sub_title {
  width: fit-content;
  margin-bottom: 15px;
  padding: 5px 20px;
  font-family: var(--font-jp);
  color: var(--main-color);
  border-bottom: 1px solid var(--main-color);
}

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

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

.flexbox01 > * {
  flex: 1;
}

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

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

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

/*
.flexbox01 img,.flexbox02 img,.flexbox03 img,.flexbox04 img{
  border: solid 1px var(--line-color);
}
*/

.flex_tit {
  text-align: center;
  font-size: 120%;
  padding: 10px;
  margin: 20px auto;
  border: none;
  background: var(--bg-color);
  font-family: var(--font-jp);
}

.flex_tit::before {
  display: none;
}

.flex_number {
  width: 65px;
  height: 55px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 200%;
  text-align: center;
  margin-bottom: 20px;
  font-family: var(--font-en);
  margin: 0 auto 20px;
}

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

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

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

.frame01 {
  position: relative;
  z-index: 1;
  padding: 40px 45px;
  background: rgb(225, 232, 133, 0.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

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

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

.frame02 {
  padding: 40px 45px;
  background: rgb(255, 255, 255 , 0.5);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.frame03 {
  padding: 20px 25px;
  background: #fff;
}

.frame04 {
  padding: 20px 25px;
  border: 1px dashed var(--line-color);
}

.img_center {
  text-align: center;
}

.img_center img {
  border: 1px solid #cdd7db;
}

.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;
  border: 1px solid #cdd7db;
}

.img_box {
  background: #fff;
  text-align: center;
}

.img_box02 p {
  width: 80%;
  padding: 40px 0;
  margin: 0 auto;
}

.img_box03 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 20px;
  padding: 20px;
}

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

  /* ------ 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;
    font-size: 200%;
  }

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

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

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

  .flexbox01.online {
    flex-wrap: wrap;
  }

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

  /* ------  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;
  }
  
  .img_box02 p {
    width: 100%;
    padding: 30px 0;
  }

  .img_box03 {
    display: block;
    padding: 20px;
  }
  
  .img_box03 p:not(:last-child) {
    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 , 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;
  font-family: var(--font-jp);
}

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

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

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

/*==============================================
  *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;
  align-items: flex-end;
  gap: 25px;
}

.tab_list li {
  position: relative;
  display: flex;
  flex: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: 100px;
  padding: 30px 20px;
  background:#f5deb3;
/*    background: url(images/medical_icon02_bg.jpg) no-repeat center / cover; */ */
/*   background: linear-gradient(315deg, rgb(255 255 255 / 60%), rgb(255 255 255 / 7%), rgb(255 255 255 / 10%), rgb(255 255 255 / 65%)), url(images/medical_icon02_bg.jpg) no-repeat center / cover; */
	background: linear-gradient(135deg, #FFD9B9 0%, #c39665 40%, #c39665 60%, #FFD9B9 100%);
  color: #ffffff;
  font-size: 140%;
  cursor: pointer;
  transition: transform 0.2s , padding 0.2s;
  font-family: var(--font-jp);
  border-radius: 0 0 0 0;
  /* transition: 0.3s; */
}

/* .tab_list li::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: block;
  width: 22px;
  height: 22px;
  background: rgb(198 169 147 / 30%);
  clip-path: polygon(100% 0px, 0% 100%, 100% 100%);
  transition: background 0.4s, width 0.4s, height 0.4s;
  opacity: 0;
  transition: 0.4s ease-in-out;
} */

.tab_list > li.active {
  position: relative;
  height: 107px;
  background:linear-gradient(135deg, #FFD9B9 0%, #C39665 40%, #C39665 60%, #FFD9B9 100%);
/*	background: linear-gradient(135deg, #493024 0%, #9B7D79 30%, #9B7D79 70%, #493024 100%);
   background: linear-gradient(315deg, rgb(178 147 144 / 15%), rgb(178 147 144 / 70%), rgb(178 147 144 / 70%), rgb(178 147 144 / 15%)), url(images/medical_icon02_bg.jpg) no-repeat center / cover; */
  /* background: url(images/medical_icon_bg.jpg) no-repeat center / cover; */
  /* border-bottom: 5px solid var(--sub-color2); */
  border-radius: 15px 0 0 0;
}
.tab_list > li.active::before {
    display: block;
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    bottom: 0;
    left: 0;
    /* background: linear-gradient(45deg, var(--main-color) 0%, var(--main-color) 50%, var(--sub-color) 50%, var(--sub-color) 100%); */
    background: linear-gradient(315deg, rgb(255 255 255) 0%, rgb(255 255 255 / 35%) 50%, rgb(255 243 228 / 90%) 100%);
    z-index: 3;
}    

/* .tab_list li.active::after {
    opacity: 1;
} */

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

.panel {
  display: none;
  margin: 0!important;
  padding: 20px;
  background: #fff;
}

.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;
  background: #fff;
}

table th, table td {
  width: auto;
  padding: 10px;
  border: 1px solid var(--line-color);
  text-align: center;
  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:not(:first-child) {
  margin-top: 30px;
}

.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 {
  background: #fff;
  border: 1px solid var(--line-color);
}

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

.office_hour th, .office_hour td {
  padding: 20px;
  background: none;
  border: none;
  font-weight: 500!important;
}

.office_hour tr:first-of-type td, .office_hour tr:first-of-type th {
  background: #996941;
  padding: 15px 0;
  font-family: var(--font-jp);
  color: #fff;
}

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

.office_hour .time {
  font-family: var(--font-en);
}

.office_hour th {
  width: 30%;
  text-align: center;
  border-bottom: solid 1px var(--line-color);
}

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

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

.closed {
  color: var(--main-color);
  font-family: var(--font-jp);
  font-size: 16px;
  margin-bottom: 8px;
}

.maru {
  color: var(--main-color);
}

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

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

.table01 tr:first-child th {
  background: rgb(225, 232, 133, 0.5);
  font-family: var(--tsukuA-M);
}

.table01 tr td {
  font-size: 95%;
}

/* 一番左側が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: 400px;
    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 th {
    width: 35%;
  }

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

  /* 一番左側が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; /* タイトルが長い場合にボックスからはみ出さないように */
}

#mp-title .news_item {
  display: flex;
  align-items: center;
  padding: 25px 15px 25px 30px;
  margin-bottom: 10px;
  background: #fff;	
}

#mp-title .news_info {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 15px;
  margin-right: 20px;
  font-family: var(--font-jp);
}

#mp-title .news_info i {
  color: #d1c49b;
}

#mp-title .news_info .date {
  display: inline-block;
  flex-shrink: 0;
  font-size: 90%;
  line-height: 1;
  font-family: var(--font-en);
  font-style: normal;
  color: #958860;
}

#mp-title .news_info .cate {
  display: inline-block;
  flex-shrink: 0;
  min-width: 110px;
  padding: 8px 12px;
  /* 確認用公開時に消してください */
/*   background: var(--sub-color); */
  color: #ffffff;
  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 10px 20px 15px;
  }

  #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; */
  border: none;
  color: var(--text-color);
  font-size: 135%;
}

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

/* 追加CSS */
.caution_text{
	font-size: 95%;
	color: var(--sub-color2);
}