@charset "utf-8";

/*================================
全サイズ適用
================================*/
/*共通
------------------------------*/
body {
  font-family: "Noto Serif JP", sans-serif, "メイリオ";
  font-size: 16px;
  font-style: normal;
  line-height: 1.5;
  width: 100%;
  letter-spacing: 1px;
  -webkit-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  color: #6f3507;
  background: url(../img/bg.jpg) left top;
}

a:link {
  color: #5a2d00;
  text-decoration: none;
  transition: 0.5s;
}
a:visited {
  color: #5a2d00;
  text-decoration: none;
}
a:hover {
  color: #b57645;
  text-decoration: none;
}
a:active {
  color: #b57645;
  text-decoration: none;
}

a.no_link {
  opacity: 0.6;
}

.cf:after {
  content: "";
  clear: both;
  display: block;
}

.inner {
  width: 100%;
  max-width: 1040px;
  padding: 40px 20px;
  /* margin: 40px auto; */
}

/*タイトル*/
#top_header h1 {
  font-weight: bold;
}
h1 + p {
  margin-top: 18px;
}
.heading02 {
  border-bottom: 2px solid #6f3507;
  color: #8ab32d;
  font-size: 24px;
  font-weight: bold;
}

/*フォント*/
.satisfy {
  /* font-family: "Satisfy", cursive; */
}

/*文字装飾*/
.bold {
  font-weight: bold !important;
}
.semibold {
  font-weight: 600 !important;
}
.medium {
  font-weight: 500 !important;
}

.txt_colorfff {
  color: #fff !important;
}

.txt_color01 {
  color: #ff4e00 !important;
}

.txt_color02 {
  color: #39a1db !important;
}

.txt_color03 {
  color: #8cb458 !important;
}

.txt_color04 {
  color: #fcdb00 !important;
}

.pink {
  /* color: #e55324; */
}

.t_shadow {
  text-shadow: #ffffff 2px 0px 2px, #ffffff -2px 0px 2px, #ffffff 0px -2px 2px,
    #ffffff -2px 0px 2px, #ffffff 2px 2px 2px, #ffffff -2px 2px 2px,
    #ffffff 2px -2px 2px, #ffffff -2px -2px 2px, #ffffff 1px 2px 2px,
    #ffffff -1px 2px 2px, #ffffff 1px -2px 2px, #ffffff -1px -2px 2px,
    #ffffff 2px 1px 2px, #ffffff -2px 1px 2px, #ffffff 2px -1px 2px,
    #ffffff -2px -1px 2px, #ffffff 1px 1px 2px, #ffffff -1px 1px 2px,
    #ffffff 1px -1px 2px, #ffffff -1px -1px 2px;
}

/*行揃え*/
.align_center {
  text-align: center !important;
}
.align_right {
  text-align: right !important;
}
.align_left {
  text-align: left !important;
}

/*header
------------------------------*/
/*未使用？
#info_box01 {
  border: 2px solid #6f3507;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  margin-bottom: 15px;
  text-align: center;
}
*/

/*gnavi
------------------------------*/
#toggle,
#menu-cb {
  display: none;
}

/*footer
------------------------------*/
#footer img {
  max-width: 100%;
  height: auto;
}

/*ボックス*/
#footer .info_box01 {
  position: relative;
  border: 1px solid #6f3507;
  background-color: #fff;
}
#footer .info_box01 .ttl01 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  color: #fff;
  background-color: #6f3507;
  font-size: 18px;
  font-weight: bold;
  padding: 5px 0;
}
#footer .info_box01 .ttl01 > span {
  display: inline-block;
  padding-left: 20px;
  /* background-color: #f1ece8; */
}

/*リスト(2カラム)*/
#footer .info_box01 .list01 {
  text-align: center;
}

/*ダウンロードボタン*/
#footer a.download_btn {
  padding: 12px 35px 12px 10px;
  text-align: center;
  text-decoration: none;
  color: #fff;
}
#footer a.download_btn:link {
  background: url(../img/icon_download_off.png) no-repeat right 12px center
    #ad9b89;
  /* background-size: contain; */
  color: #fff;
}
#footer a.download_btn:visited {
  /* color: #fff; */
}
#footer a.download_btn:hover {
  /* background: url(../img/icon_download_on.png) no-repeat right 12px center #fff; */
  /* background-size: 16px; */
  opacity: 0.8;
}
#footer a.download_btn:active {
  /* color: #8bb220; */
}

.txt {
  letter-spacing: 1px;
}

.txt_indent {
  padding-left: 1em;
  text-indent: -1em;
}

a.btn_link {
  width: 100vw;
  max-width: 400px;
  /* height: 60px; */
  text-align: center;
  padding: 18px 0px;
  background-color: #ad9b89;
  /* background: url(../img/btn_mrk.png) no-repeat 75% center #ad9b89; */
  color: #fff;
  margin: 0 auto;
  border-radius: 30px;
  transition: 0.5s;
  position: relative;
  z-index: 10;
  text-shadow: none;
  background-size: 15px;
  position: relative;
}

a.btn_link::after {
  content: "";
  margin-left: 0.5em;
  display: inline-block;
  border-style: solid;
  border-width: 0.5em 0 0.5em 0.865em;
  border-color: transparent transparent transparent #fff;
  transform: translateY(0.1em) scale(0.8);
}

.btn_link a {
  color: #fff;
}

.btn_link:hover {
  opacity: 0.8;
}

/*バッチ*/
a.badges {
  display: inline-block;
}
a.badges img {
  max-height: 60px;
}
#footer a:hover {
  opacity: 0.8;
}

/*header
  ------------------------------*/
#top_header {
  width: 500px;
  position: absolute;
  top: 20px;
  left: 30px;
  text-align: left;
  font-weight: bold;
  font-size: 14px;
}
#top_head_logo {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: 650px;
}

#top_header ul {
  width: 382px;
  margin-top: 20px;
}
#top_header ul li {
  background-color: #bde4f9;
  border-radius: 8px;
  box-shadow: 0 0 10px rgb(0 0 0 / 80%);
  margin-bottom: 15px;
  padding: 5px;
  position: relative;
}

#top_header ul li p {
  background-color: #fff;
  border: 2px solid #39a1db;
  border-radius: 4px;
  color: #5a2d00;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  line-height: 54px;
  height: 54px;
}

#top_header ul li picture {
  max-width: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  position: absolute;
  left: 20px;
}

#top_header ul li img {
  margin-right: 5px;
}

#footer .calendar body div:last-of-type {
  display: none !important;
}

/*インスタ*/
#footer .instagram .ttl01 {
    display: flex;
	align-items: center;
    padding-left: 15px;
}	
#footer .instagram .ttl01 img {
    width: 30px;
    border-radius: 10px;
}
#footer .instagram iframe {
    pointer-events: none;
}

/*================================
TABLET〜PC(897px〜)適用
================================*/
@media (min-width: 897px) {
  /*共通
  ------------------------------*/
  .pc-none {
    display: none !important;
  }
  .pcTab-none {
    display: none !important;
  }
  a[href^="tel:"] {
    cursor: default;
  }

  /*ページ内リンク*/
  span.anchor {
    display: block;
    padding-top: 80px;
    margin-top: -80px;
  }

  /*ページ右側固定表示
  ------------------------------*/
  .side_link {
    position: fixed;
    right: 0px;
    top: 80px;
    z-index: 100;
    width: 60px;
  }
  .side_link img {
    margin-bottom: 15px;
  }

  /*gnavi
  ------------------------------*/
  #fix_wrap {
    width: 100%;
    height: 80px;
    background: #39a1db;
    box-sizing: border-box;
    position: relative;
    /* transition: top 0.3s ease-in-out; */
  }

  #fix_wrap::before,
  #fix_wrap::after {
    content: "";
    background: url(../img/white_wave.png) repeat-x;
    position: absolute;
    bottom: 100%;
    height: 25px;
    width: 100%;
  }

  #fix_wrap::after {
    background-image: url(../img/blue_wave.png);
  }
  #gnavi {
    width: 100%;
    margin: 0 auto;
    padding-top: 25px;
    text-align: center;
  }
  .menu {
    display: inline-block;
  }
  .menu > li {
    position: relative;
    float: left;
    padding: 0 18px;
    background: url(../img/gnavi_dot.png) no-repeat right center;
    color: #ffffff;
  }
  .menu > li:first-child {
    background: url(../img/gnavi_dot.png) no-repeat left center,
      url(../img/gnavi_dot.png) no-repeat right center;
  }
  .menu > li:hover {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }
  .menu > li a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    transition: 1s;
  }
  .menu > li a:hover {
    color: #663300;
    text-decoration: underline;
  }

  /*サブメニュー*/
  li.menu__mega .menu__second-level {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 40px;
    left: -170px;
    z-index: 500;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 500px;
    padding: 20px 6%;
    background: #fff; /*rgba(255,255,255, 0.9 );*/
    border: 2px solid #5a2d00;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    text-align: center;
  }
  li.menu__mega:hover .menu__second-level {
    visibility: visible;
    opacity: 1;
  }
  li.menu__mega .menu__second-level > ul {
    /* display: inline-block; */
    /* max-width: 340px; */
    max-width: 400px;
    margin: 0 auto;
  }
  li.menu__mega .menu__second-level > ul li {
    position: relative;
    float: left;
    width: 50%;
    padding: 2px 10px 2px 25px;
    text-align: left;
  }
  /* li.menu__mega .menu__second-level > ul > li:nth-child(3n + 2) {
    margin: 0 1%;
  }*/
  li.menu__mega .menu__second-level > ul li.wid100 {
    width: 100%;
  }
  li.menu__mega .menu__second-level > ul li:before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 11px;
    width: 8px;
    height: 8px;
    background: #39a1db;
    border-radius: 50px;
  }
  li.menu__mega .menu__second-level > ul li a {
    display: block;
    color: #6f3507;
  }

  #fix_wrap.is-fixed {
    position: fixed;
    top: -70px;
    left: 0;
    right: 0;
    height: 70px;
    z-index: 99;
    border-bottom: 1px solid;
  }

  /*footer
  ------------------------------*/
  #footer .inner {
    margin: 0 auto;
  }

  #footer #footer_leftBox {
    width: 50%; /*500px*/
    float: left;
    max-width: 500px;
  }

  /*ボックス*/
  #footer .info_box01 {
    margin-left: 0;
    padding: 50px 10px 10px;
  }
  #footer #app .list01 li {
    width: auto;
  }

  /*系列医院*/
  #footer .affiliated .txt {
    font-size: 13px;
    line-height: 1.5;
    /*letter-spacing: 0;*/
  }
  #footer .affiliated a.bnr_affiliated {
    float: left;
    display: inline-block;
    margin-right: 13px;
  }

  /*リスト(2カラム)*/
  #footer .info_box01 .list01 li {
    display: inline-block;
    margin-right: 10px;
    max-width: 224px;
    width: 100%;
  }
  #footer .info_box01 .list01 li:last-child {
    margin-right: 0;
  }

  /*ダウンロードボタン*/
  #footer a.download_btn {
    display: inline-block;
    width: 100%;
  }

  #footer #footer_leftBox p#std {
    text-align: right;
    margin: -30px 50px 0 0px;
  }

  #footer #footer_rightBox {
    float: right;
    width: 48%;
  }

  /*カレンダー*/

  #footer .calendar iframe {
    width: 100%;
    height: 390px;
    border: 0;
  }

  /*インスタ*/
  #footer .instagram iframe {
  }

  /*マップ*/
  #footer #gmap iframe {
    width: 100%;
    height: 600px;
  }

  #footer #footer_navi {
    background: #39a1db;
    position: relative;
  }
  #footer #footer_navi::before {
    content: "";
    background: url(../img/half_circle.png?01) left top repeat-x;
    position: absolute;
    left: 0;
    bottom: 98%;
    width: 100%;
    height: 30px;
  }
  #footer #footer_navi .inner {
    margin: 0 auto;
    padding-top: 20px;
  }
  #footer #footer_navi ul {
    display: flex;
    justify-content: center;
  }
  #footer #footer_navi ul li {
    padding: 0 8px;
  }
  #footer #footer_navi ul li:first-child {
    padding-left: 0;
  }
  #footer #footer_navi ul li a {
    color: #fff;
    font-size: 15px;
  }
  #footer #footer_navi ul li a:hover {
    color: #5a2d00;
    border-bottom: 1px solid;
  }

  /*コピーライト*/
  #footer #footer_navi p#copy {
    color: #fff;
    font-size: 16px;
    text-align: center;
    padding-top: 40px;
  }

  /*ページトップ
  ------------------------------*/
  #footer #page_top {
    position: fixed;
    background: url(../img/pagetop.png) no-repeat left center;
    bottom: 200px;
    right: 20px;
    width: 108px;
    height: 102px;
    z-index: 2;
    bottom: 5%;
  }
  #footer #page_top a {
    padding: 20px 20px;
  }
}

@media (min-width: 897px) and (max-width: 1440px) {
	
	.menu > li {
		padding: 0 .75vw;
		font-size: 1.25vw;
	}
	
	
}


#footer .ft_bg {
  background: url(../img/ft_bg.jpg) bottom center;
  background-size: cover;
  padding-bottom: 100px;
}

/*ご予約・お問い合わせ*/
.footer_tel::after {
  content: "";
  position: absolute;
  top: 2%;
  left: 0;
  right: 0;
  margin: 0 auto;
  border-radius: 6px;
  border: 1px solid #fff;
  width: 99%;
  height: 96%;
}
.footer_tel {
  text-align: center;
  margin: 0px auto 20px;
  padding: 15px;
  background-color: #39a1db;
  border-radius: 6px;
  position: relative;
  max-width: 1040px;
  width: 90vw;
  min-height: 125px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer_tel_txt::before {
  content: "";
  background: url(../img/tooth_icon.png) no-repeat;
  position: absolute;
  left: -50px;
  width: 30px;
  height: 30px;
}
.footer_tel_txt {
  position: relative;
  text-align: center;
  font-size: 22px;
  color: rgb(255, 255, 255);
  font-weight: bold;
}
.footer_tel a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  font-size: 54px;
  color: #fff;
  font-weight: 600;
  position: relative;
  z-index: 3;
}

.calendar {
  margin-bottom: 44px;
}

/*診療時間*/
.timetable {
  width: 100%;
  margin: 15px 0 10px;
  border: 1px solid #39a1db;
  background-color: #fff;
  border-radius: 4px;
  table-layout: fixed;
  text-align: center;
}
.timetable th {
  padding-bottom: 8px;
  background: #39a1db;
  color: #fff;
  font-weight: bold;
  height: 45px;
  text-align: center;
}

.timetable th.th_time {
  width: 146px;
  /* padding-left: 10px; */
  text-align: center;
}
.timetable td.td_time {
  height: 45px;
  /* padding-left: 10px; */
  letter-spacing: 0;
  font-size: 16px;
  text-align: center;
  color: #663300;
}
.timetable td {
  vertical-align: middle;
  color: #39a1db;
  border: 1px solid #39a1db;
}

.tbl_txt {
  font-size: 18px;
  color: #663300;
  line-height: 1.7;
  font-weight: 500;
}
.tbl_txt.pink {
  color: #e55324;
}

/*地域情報*/
#footer #area::before {
  content: "";
  background: url(../img/ft_deco01.png) no-repeat;
  position: absolute;
  left: 3%;
  bottom: 10px;
  width: 162px;
  height: 116px;
}
#footer #area {
  background: #fff;
  position: relative;
}
#footer #area .inner {
  padding: 60px 0 80px !important;
  margin: 0 auto;
}
#footer #area h4 {
  font-size: 18px;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 600;
}

/*フッターナビ*/
#footer #area .txt {
  letter-spacing: 1px;
}

/*================================
SP〜TABLET(0〜1100px)まで適用
================================*/
@media (max-width: 1440px) {
  #footer #area .inner {
    padding: 80px 6% 160px !important;
  }

  #footer #footer_navi ul li a {
    letter-spacing: 0;
    font-size: 16px;
  }
}
@media (max-width: 1100px) {
  /*gnavi
  ------------------------------*/
  #gnavi {
    width: 100%;
  }
  .menu > li {
    padding: 0 10px;
    max-height: 21px;
  }
  .menu > li a {
    font-size: 14px;
  }
  .menu > li span {
    font-size: 14px;
  }

  #footer .inner {
    padding-right: 6%;
  }

  #footer .info_box01 .list01 li {
    letter-spacing: 0;
    max-width: 48%;
    font-size: 14px;
  }

  #footer #footer_navi ul li a {
    font-size: 1.4vw;
  }

  #footer .affiliated .txt {
    letter-spacing: 0;
  }
}

/*================================
SP〜TABLET(0〜896px)まで適用
================================*/
@media (max-width: 896px) {
  /*共通
  ------------------------------*/
  .tabSp-none {
    display: none !important;
  }
  .inner {
    width: 93%;
    /* margin: 60px auto; */
  }

  /*ページ内リンク*/
  span.anchor {
    display: block;
    padding-top: 20px;
    margin-top: -20px;
  }

  /*header
  ------------------------------*/

  #top_header {
    position: absolute;
    top: 5px;
    left: 0;
    text-align: left;
    font-weight: bold;
    font-size: 14px;
    width: 100%;
  }

  /*gnavi
  ------------------------------*/
  #gnavi {
    display: none;
  }
  .toggle-label:active {
    -webkit-tap-highlight-color: transparent;
  }
  .toggle-label {
    cursor: pointer;
    cursor: pointer;
    display: block;
    height: 30px;
    line-height: 50px;
    position: fixed;
    top: 10px;
    right: 0;
    /*left: 0; ★左からの時*/
    text-align: center;
    width: 65px;
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    z-index: 1000;
  }
  .toggle-label .toggle-icon,
  .toggle-label .toggle-icon:before,
  .toggle-label .toggle-icon:after {
    position: relative;
    display: block;
    top: 50%;
    left: 50%;
    height: 3px;
    width: 32px;
    background: #6f3507;
    content: "";
    -webkit-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
  }
  .toggle-label .toggle-text {
    position: relative;
    display: block;
    top: calc(100% - 25px);
    height: 14px;
    font-size: 11px;
    font-weight: bold;
    color: #6f3507;
    text-align: center;
  }
  .toggle-label .toggle-text:before {
    position: absolute;
    width: 100%;
    left: 0;
    content: "メニュー";
    -webkit-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
    visibility: visible;
    opacity: 1;
  }
  .toggle-label .toggle-text:after {
    position: absolute;
    width: 100%;
    left: 0;
    content: "閉じる";
    -webkit-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
    visibility: hidden;
    opacity: 0;
    color: #fff;
  }
  .toggle-label .toggle-icon {
    -webkit-transform: translate3d(-50%, -5px, 0);
    transform: translate3d(-50%, -5px, 0);
  }
  .toggle-label .toggle-icon:before {
    -webkit-transform: translate3d(-50%, -11.5px, 0);
    transform: translate3d(-50%, -11.5px, 0);
  }
  .toggle-label .toggle-icon:after {
    -webkit-transform: translate3d(-50%, 5px, 0);
    transform: translate3d(-50%, 5px, 0);
  }
  .toggle:checked ~ .toggle-label .toggle-icon {
    background-color: transparent;
  }
  .toggle:checked ~ .toggle-label .toggle-icon:before,
  .toggle:checked ~ .toggle-label .toggle-icon:after {
    top: 0;
  }
  .toggle:checked ~ .toggle-label .toggle-icon:before {
    -webkit-transform: translateX(-50%) rotate(45deg);
    transform: translateX(-50%) rotate(45deg);
    top: 1.5px;
    background: #fff;
  }
  .toggle:checked ~ .toggle-label .toggle-icon:after {
    -webkit-transform: translateX(-50%) translateY(-10px) rotate(-45deg);
    transform: translateX(-50%) translateY(-10px) rotate(-45deg);
    top: 8.5px;
    background: #fff;
  }
  .toggle:checked ~ .toggle-label .toggle-text:before {
    visibility: hidden;
    opacity: 0;
  }
  .toggle:checked ~ .toggle-label .toggle-text:after {
    visibility: visible;
    opacity: 1;
  }

  /* ハンバーガーメニュー */
  #ham-menu {
    background-color: #fff;
    /*メニュー背景色*/
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    min-height: 100%;
    position: fixed;
    right: -260px;
    /*メニュー横幅 width と合わせる*/
    /*left: -260px; ★左からの時*/
    top: 0;
    -webkit-transition: -webkit-transform 0.3s linear 0s;
    transition: -webkit-transform 0.3s linear 0s;
    transition: transform 0.3s linear 0s;
    transition: transform 0.3s linear 0s, -webkit-transform 0.3s linear 0s;
    /*0.3s はアニメーションにかかる時間*/
    width: 260px;
    /*メニュー横幅*/
    z-index: 1000;
    padding-bottom: 100px;
  }
  .main_menu {
    /*overflow: visible;*/
    height: 100vh;
    padding-top: 40px;
    padding-bottom: 80px;
    overflow-y: scroll;
    /* overflow-scrolling: touch; */
  }
  #ham-menu ul.main_menu li {
    border-bottom: 1px solid #ccc;
    text-align: left;
  }
  #ham-menu ul.main_menu li:nth-child(4) {
    clear: both;
  }
  #ham-menu ul.main_menu .sub_menu li:nth-child(4) {
    clear: none;
  }
  #ham-menu ul.main_menu li:last-child {
    /* padding-bottom: 50px;*/
  }
  #ham-menu ul.main_menu ul li:last-child {
    padding-bottom: 0px;
  }
  #main_menu_last {
    padding-bottom: 80px;
  }
  #ham-menu ul.main_menu li a {
    color: #39a1db;
    display: block;
    padding: 5px 0px 5px 10px;
    /* background: url(./common/img/sp_menu_arrow.png) no-repeat left center; */
    text-decoration: none;
    font-size: 13px;
  }
  #menu-background {
    background-color: #333;
    /*黒背景*/
    display: block;
    height: 100%;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    /*0.3s はアニメーションにかかる時間*/
    width: 100%;
    z-index: -1;
  }
  #menu-icon {
    /*background-color: #fff; アイコン部分背景色*/
    color: #333;
    /*アイコン（フォント）色*/
    cursor: pointer;
    display: block;
    font-size: 45px;
    /*アイコン（フォント）サイズ*/
    height: 30px;
    /*アイコン縦高さ*/
    line-height: 50px;
    /*縦位置中央化*/
    position: fixed;
    right: 0;
    /*left: 0; ★左からの時*/
    text-align: center;
    top: 0;
    width: 50px;
    /*アイコン横幅*/
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    /*0.3s はアニメーションにかかる時間*/
    z-index: 1000;
  }
  .toggle:checked ~ #ham-menu,
  .toggle:checked ~ .toggle-label {
    -webkit-transform: translate(-260px);
    transform: translate(-260px);
    /*メニュー本体横幅 width と合わせる*/
    /*transform: translate(250px); ★左からの時*/
  }
  .toggle:checked ~ #menu-background {
    opacity: 0.5;
    z-index: 999;
  }

  /* サブメニュー */
  .sub_menu ul {
    margin-left: 15px;
    border-top: 1px dotted #999 !important;
    border-bottom: 1px dotted #999 !important;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  .sub_menu ul li a {
    padding: 5px 0px 5px 5px !important;
  }
  .sub_menu ul li {
    width: 50%;
    /* float: left; */
    border-bottom: none !important;
  }

  /*
  .sub_menu ul li:last-child {
    border-bottom: none !important;
  }
  */

  /* 背景のスクロール不可にする */
  .sp_back_fixed {
    position: fixed;
    width: 100%;
    height: 100%;
  }

  /*footer
  ------------------------------*/
  /*ボックス*/
  #footer .info_box01 {
    width: 100%;
    margin: 0 auto;
    padding: 55px 20px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  /*系列医院*/
  #footer .affiliated .txt {
    text-align: center;
  }
  #footer .affiliated a.bnr_affiliated {
    display: block;
    margin-bottom: 10px;
  }

  /*リスト(2カラム)*/
  #footer .info_box01 .list01 li {
    display: inline-block;
    margin-right: 10px;
    /* max-width: 100%; */
    width: 100%;
    max-width: 250px;
    margin: 0;
  }
  #footer .info_box01 .list01 li:last-child {
    margin-right: 0;
  }
  #footer .info_box01 .list01 {
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
  }

  /*ダウンロードボタン*/
  #footer a.download_btn {
    display: inline-block;
    width: 100%;
  }

  #footer a.download_btn:link {
    background-size: 22px;
  }

  #footer #footer_leftBox p#std {
    text-align: right;
    margin: -28px 0px 0 0px;
  }
  #footer #footer_leftBox #f_l_address {
    text-align: center;
    word-break: keep-all;
    letter-spacing: 0.5px;
  }

  #footer #footer_rightBox {
    margin-top: 30px;
  }

  /*カレンダー*/
  #footer .calendar {
    text-align: center;
  }
  #footer .calendar iframe {
    width: 100%;
    height: 390px;
  }

  /*インスタ*/
  #footer .instagram {
  }

  /*ご予約・お問い合わせ*/
  .footer_tel img {
    /* width: 98%;
    max-width: 400px;
    display: block;
    margin: 0px auto 60px; */
  }

  /*マップ*/
  #footer #gmap iframe {
    width: 100%;
    height: 450px;
  }

  /*地域情報*/
  #footer #area {
    /* background: #f0f2df; */
  }
  #footer #area .inner {
    padding-bottom: 160px !important;
  }
  #footer #area h4 {
    font-size: 18px;
    margin-bottom: 30px;
  }

  /*フッターナビ*/
  #footer #footer_navi {
    background: #39a1db;
  }
  #footer #footer_navi .inner {
    width: 100%;
    margin: 0;
  }
  #footer #footer_navi ul {
    display: none;
  }

  /*コピーライト*/
  #footer #footer_navi p#copy {
    font-size: 12px;
    color: #fff;
    padding: 0px;
    text-align: center;
    padding-bottom: 40px;
  }

  /*ページトップ*/
  #footer #page_top {
    position: fixed;
    z-index: 100;
    bottom: 55px;
    right: 20px;
    width: 54px;
    height: 51px;
    background: url(../img/pagetop.png) no-repeat left center;
    background-size: cover;
  }
  #footer #page_top a {
    /* padding: 20px 20px; */
  }

  /*ページ下部固定表示*/
  #footer .bottom_link {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99;
  }
  #footer .bottom_link ul {
    width: 100%;
    /* padding: 5px 0; */
    background-color: #fff;
    text-align: center;
    display: flex;
  }
  #footer .bottom_link ul li {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
  }
  #footer .bottom_link ul li:nth-child(1) {
    width: calc(100% / 3);
  }
  #footer .bottom_link ul li:nth-child(2) {
    width: calc(100% / 3);
  }
  #footer .bottom_link ul li:nth-child(3) {
    width: calc(100% / 3);
  }
  #footer .bottom_link ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 5px;
    text-align: center;
    color: #fff;
    border: 2px solid #fff;
  }
  #footer .bottom_link ul li:nth-child(1) a {
    background: #6f3507;
  }
  #footer .bottom_link ul li:nth-child(2) a {
    background: #1569ac;
    border: none;
    border-top: 2px solid #fff;
  }
  #footer .bottom_link ul li:nth-child(3) a {
    background: #ff8c79;
  }
  #footer .bottom_link ul li img {
    max-height: 25px;
  }
}

/*================================
SP横〜TABLET縦くらいまで(481px〜896pxまで)適用
================================*/
@media (max-width: 896px) and (min-width: 481px) {
  /*共通
  ------------------------------*/
  .pcTab-none {
    display: none !important;
  }
  .tab-none {
    display: none !important;
  }

  /*ページ右側固定表示
  ------------------------------*/
  .side_link {
    position: fixed;
    right: 0;
    top: 120px;
    z-index: 100;
    width: 55px;
  }
  .side_link img {
    margin-bottom: 15px;
  }
}

/*================================
SP縦(0〜480px)まで適用
================================*/
@media (max-width: 480px) {
  /*共通
  ------------------------------*/
  .tabSp-none {
    display: none !important;
  }
  .sp-none {
    display: none !important;
  }

  .btn_link {
    max-width: 100%;
  }

  .sp_al_left {
    text-align: left !important;
  }

  /*footer
  ------------------------------*/
  /*リスト(2カラム)*/
  #footer .info_box01 .list01 li {
    display: block;
    margin-right: 0;
    margin-bottom: 10px;
  }
  #footer .info_box01 .list01 li:last-child {
    margin-bottom: 0;
  }

  /*ダウンロードボタン*/
  #footer a.download_btn {
    display: block;
  }

  /*コピーライト*/
  #footer #footer_navi p#copy {
    /* padding-bottom: 150px; */
  }

  .footer_tel a {
    font-size: 28px;
  }

  .footer_tel_txt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
  }
  .footer_tel_txt::before {
    display: block;
    position: relative;
    left: 0;
    top: 0;
  }

  #footer .bottom_link ul li a {
    font-size: 14px;
    padding: 5px 0;
  }

  .timetable th.th_time {
    width: 110px;
    font-size: 16px;
  }
  .timetable td.td_time {
    width: 110px;
    font-size: 16px;
    padding: 0;
  }
  .timetable tr > * {
    font-size: 14px;
    height: auto;
    padding: 5px 0;
  }
}

@media (max-width: 374px) {
  #footer .bottom_link ul li a span {
    /* display: none; */
    letter-spacing: 0;
    font-size: 12px;
  }

  #footer .bottom_link ul li:nth-child(1) {
    /* width: 20%; */
  }
  #footer .bottom_link ul li:nth-child(2) {
    /* width: 20%; */
  }
  #footer .bottom_link ul li:nth-child(3) {
    /* width: 60%; */
  }
}
