/*
Theme Name: sample
Author: YM
Description: t-t for sample-theme.
Version: 1.0
License: GNU General Public License v2 or later
*/

@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
}

/* 画像高さ修正 */
figure.height-fix img{
  height: auto;
}

/* サイトロゴ */

.site-logo {
  display: flex;
  flex-wrap: nowrap;
  position: relative;
  top: -15px;
}

/*ヘッダ*/

.header-wrapper {
  position: relative;
  max-width: 1600px;
  width: 95%;
  margin: auto;
}

/*ヘッダメニュー下余白*/

#masthead {
  width: 100%;
  margin: auto;
  padding-top: 15px;
  padding-bottom: 20px;
  /* 追加 */
  position: fixed;
  z-index: 100;
  left: 50%;
  transform: translateX(-50%);
  height: auto;
  background-color: #fff;
  top: 0;
  min-height: 95px;
  box-shadow: 0px 1px 5px #ababab40;
}

/* header　アコーディオン */

#menu-item-1843 {
  position: relative;
}

#menu-item-1843::after {
  display: block;
  content: "";
  position: absolute;
  left: 48px;
  bottom: -13px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #0087CD;
  border-right: 1px solid #0087CD;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

#menu-item-1843 .sub-menu {
  position: absolute;
  left: 0;
  bottom: 0px;
  height: 0;
  padding-top: 36px;
}

#menu-item-1843 .sub-menu li {
  border: none !important;
  width: auto;
  padding: 15px 20px;
  background-color: #ffffff94;
  line-height: 1;
  text-align: left;
}

#menu-item-1843 .sub-menu li>a {
  color: #0087CD;
  padding: 10px 20px;
  padding-right: 80px;
}

#menu-item-1843:hover .sub-menu {
  bottom: -36px;
  transition: .3s;
}

#menu-item-1843 .sub-menu li {
  line-height: 0;
  padding: 0 0px;
  opacity: 0;
  transition: .3s;
}

#menu-item-1843:hover .sub-menu li {
  padding: 15px 0px;
  line-height: 1;
  opacity: 1;
  transition: .3s;
}

#menu-item-1843 .sub-menu :hover {
  opacity: 0.6;
}

/* ここまで */

/* 追加 */

#content {
  margin-top: 145px;
}

#masthead .site-branding {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  padding-top: 30px;
}

/*アクセス・コンタクトメニュー*/

#masthead .widget-area {
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
}

#menu-access-contact {
  display: flex;
  justify-content: flex-end;
  list-style-type: none;
}

#menu-access-contact a {
  text-decoration: none;
  color: #49A0E0;
  font-size: 18px;
}

#menu-access-contact li p {
  font-size: 18px;
}

#menu-access-contact li i {
  font-size: 20px;
  margin-right: 3px;
}
.sp-icon{
  display: none;
}

/*アクセス*/

#menu-access-contact li:nth-of-type(1) {
  width: 150px;
  text-align: center;
  border: 1px solid #49A0E0;
  border-radius: 5px;
  padding: 5px 0;
}

/*お問い合わせ*/

#menu-access-contact li:nth-of-type(2) {
  width: 150px;
  text-align: center;
  background-color: #1BA1E6;
  border-radius: 5px;
  padding: 5px 0;
}

#menu-access-contact li:nth-of-type(2) p {
  color: white;
}

#menu-access-contact li:nth-of-type(2) i {
  transform: rotate(10deg);
}

.header-icon-phone a{
	color:#fff !important;
}

/*ヘッダロゴ*/

.site-logo .custom-logo {
  height: 80px;
  width: auto;
}

.site-logo a {
  line-height: 0;
  height: fit-content;
}

.logoright {
  height: 80px;
  width: auto;
}

/*ヘッダタイトル*/

.title-block {
  display: none;
}

.title-block a {
  text-decoration: none;
  color: black;
}

.title-block h2 {
  font-size: 2.3vw;
  font-weight: normal;
}

.title-block h1 {
  font-size: 3.8vw;
  font-weight: normal;
  line-height: 1;
}

/*ヘッダメニュー*/

#menu-header {
  display: flex;
  justify-content: flex-end;
}

#menu-header li {
  list-style-type: none;
  width: 83px;
  border-left: 1px solid #707070;
  padding: 0 10px;
  text-align: center;
}

#menu-header li:nth-last-of-type(1) {
  border-right: 1px solid #707070;
}

#menu-header li img {
  width: 50px;
  display: inline-block;
}

#menu-header li a {
  text-decoration: none;
  color: #707070;
}

#menu-header li p {
  font-size: 12px;
  line-height: 1;
}

/*フッタエリア*/

/*INFORMATION部分*/

.site-footer .widget-area {
  background-color: #1ba1e6;
}

.widget-area .footer-widget-1 {
  padding: 50px 0 400px;
  max-width: 1200px;
  position: relative;
  margin: auto;
}

.footer-widget-1 .widget-title {
  text-align: center;
  font-size: 40px;
  font-weight: normal;
  color: white;
}

.footer-widget-1 .underline {
  width: 160px;
  margin: 10px auto 60px;
  display: flex;
}

.underline-left {
  width: 50%;
  border-top: 2px solid white;
}

.underline-right {
  width: 50%;
  border-top: 2px solid #D1E6F0;
}

.sub-menu {
  align-items: center;
}
/*中郷病院所在地・説明・電話番号・ファックス*/

.footer-widget-1 .information {
  float: left;
  width: 60%;
  text-align: center;
  line-height: 1;
  color: white;
}

.tyuugou {
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 20px;
}

.address {
  margin-bottom: 30px;
}

.info-text {
  margin-bottom: 30px;
}

.phone, .fax {
  font-size: 40px;
  margin-bottom: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  display: block;
}
.phone a, .fax a{
color:#fff;
text-decoration:none;
}
.phone i, .fax i {
  font-size: 35px;
}

/*休診日カレンダー（Biz calendar）*/

.widget_my_calendar_mini_widget {
  float: left;
  width: 34%;
  margin-top: -30px;
}

.mc_mini_widget-2 {
  max-width: 330px;
}

.my-calendar-month span{
  color: #fff;
}

/* 新規カレンダー */

.mc-main table.my-calendar-table{
    border-collapse: separate;
    border-spacing: 1px;
}

thead .mc-row{
  background-color: #90C6E3;
}

.mc-main th abbr, .mc-main .event-time abbr{
  color: #fff;
}

.mc-main.mini .mc-date{
  color: #707070;
}

.mc-main.mini .mc-modal{
  background-color: #BC6C65;
  color:#fff;
}

.mc-main.mini td,.mc-main th{
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid transparent;
}

/* .widget_my_calendar_mini_widget table.bizcal {
  height: 340px;
  background-color: #1ba1e6;
  border: none;
}

#biz_calendar table.bizcal tbody tr:nth-of-type(1) {
  background-color: #1ba1e6;
}

#biz_calendar table.bizcal .calmonth {
  color: #F1FBFD;
  background-color: #1ba1e6;
  font-size: 20px;
}

#biz_calendar table.bizcal .down-img, #biz_calendar table.bizcal .today-img, #biz_calendar table.bizcal .up-img {
  background-color: #1ba1e6;
}

#biz_calendar table.bizcal th {
  background-color: #90C6E3;
  border-radius: 5px;
}

#biz_calendar table.bizcal td {
  background-color: #F1FBFD;
  border-radius: 5px;
  color: #707070;
}

#biz_calendar table.bizcal th:first-child, #biz_calendar table.bizcal th, #biz_calendar table.bizcal th:nth-last-of-type(1), #biz_calendar p {
  color: #F1FBFD;
}

#biz_calendar table.bizcal .today {
  color: #707070;
}

#biz_calendar p {
  text-align: center;
}

#biz_calendar table.bizcal .holiday, #biz_calendar p span.boxholiday {
  background-color: #BC6C65;
} */

/*フッタメニュー*/

#site-navigation #menu-footer {
  display: flex;
  max-width: 1600px;
  width: 90%;
  margin: 40px auto 0;
  justify-content: space-around;
}

#site-navigation #menu-footer li {
  list-style-type: none;
  text-align: center;
}

#site-navigation #menu-footer li a {
  font-size: 1.2vw;
  text-decoration: none;
  color: #707070;
}

/*セキュリティ対策自己宣言*/
.menu-security {
  display: block;
  max-width: 100px;
  width: 100%;
  margin: 30px auto;
}
.menu-security img {
  display: block;
  width: 100%; /* 画像の幅 */
  height: auto; /* 画像の高さ */
}

/*copyright*/

.copyright {
  margin: 30px 0;
  text-align: center;
  font-size: 1.2vw;
  color: #707070;
}

/* singleページ */

.post-time-header {
  background-color: #1BA1E6;
  color: #fff;
  padding: 10px;
  display: inline-block;
  margin-bottom: 25px;
}

.single-area {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  margin-bottom: 105px;
}

.single-area .entry-title {
  color: #707070;
  font-size: 40px;
  border-bottom: solid 1px #707070;
  width: 100%;
  margin-bottom: 100px;
  font-weight: normal;
}

.single-area .post-thumbnail>img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  object-position: bottom;
}

.single-area .wp-block-image {
  height: auto;
  width: auto;
  max-width: 1200px;
}

.single-area .wp-block-image>img {
  display: block;
  margin: 30px auto 50px;
}

.single-area p {
  font-size: 18px;
  color: #000000;
  line-height: 2.5;
  margin-top: 10px;
  margin-bottom: 20px;
}

.single-area .wp-block-group {
  display: block;
  margin: auto;
}

.single-area h1 {
  font-size: 30px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 20px;
}

.single-area h2 {
  font-size: 28px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 20px;
}

.single-area h3 {
  font-size: 26px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 20px;
}

.single-area h4 {
  font-size: 24px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 20px;
}

.single-area h5 {
  font-size: 22px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 20px;
}

.single-area .wp-block-table {
  border-top: 2px solid #47A0E0;
  border-bottom: 2px solid #47A0E0;
  margin-top: 30px;
  margin-bottom: 50px;
}

.single-area td {
  background-color: #FFFFFF;
  color: #707070;
  font-size: 20px;
  font-weight: normal;
  max-width: 700px;
  padding: 18px 20px;
  letter-spacing: 1px;
  text-align: left;
  line-height: 1.6;
  border-top: 1px solid #47A0E0;
}

.single-area td:nth-of-type(1) {
  background-color: rgba(144, 198, 227, 0.77);
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  max-width: 300px;
  padding: 18px;
  letter-spacing: 1px;
  line-height: 1.6;
  border-top: 1px solid #47A0E0;
}

.single-area td {
  border-bottom: 1px solid #47A0E0;
  border-right: none;
  border-left: none;
}

.single-area th {
  border: none;
}

.single-area .wp-block-table th {
  border: none;
}

.single-area li, .single-area a {
  font-size: 18px;
}

.single-area ul, .single-area ol {
  margin-top: 30px;
  margin-bottom: 50px;
}

.single-area .wp-block-quote cite, .wp-block-quote footer {
  font-size: 16px;
}

.single-area .wp-block-quote {
  margin-top: 30px;
  margin-bottom: 50px;
}

.content-size {
  max-width: 1200px;
  margin: auto;
  margin-top: 190px;
}

/* faqアコーディオン */

a.accordion0 {
  display: none;
}

a.accordion, a.accordion0 {
  display: block;
  font-size: 16px;
  line-height: 36px;
  text-decoration: none;
  padding: 5px 50px;
}

.faq {
  margin-top: 50px;
  margin-bottom: 70px;
}

.faq ul {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  list-style: none;
}

.faq li {
  font-size: 16px;
  line-height: normal;
  position: relative;
  color: #3B4043;
  background-color: #f2f8fb;
}

.faq li span {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 25px;
  text-align: center;
  width: 25px;
  line-height: 1.6;
}

.parent ul {
  display: none;
}

.parent>ul {
  display: block;
}

.parent {
  border-top: 1px solid #90C6E3;
}

.parent:first-of-type {
  margin-top: 0;
}

.parent>a {
  color: #B7985A;
  font-size: 20px;
  font-weight: normal;
}

.child1>a, .child2 {
  padding: 35px 75px 35px 60px;
}

.child1-3>a{
  border-bottom: 1px solid #90C6E3;
}

.child1-3>.open{
  border-bottom: 0;
}

.child1>a, .child2 {
  border-top: 1px solid #90C6E3;
}

.child1>a {
  color: #1BA1E6;
  position: relative;
}

.child1:first-of-type>a {
  border-top: none;
}

.faq .child2 {
  color: #707070;
  font-size: 16px;
  background-color: #fff;
}

.child2 p {
  font-size: 16px;
  margin: 16px 0;
  padding: 0;
}

.faq .Q {
/*
  position: static;
  font-size: 26px;
  color: #1BA1E6;
  background-color: #fff;
  border: solid 1px #707070;
  width: 48px;
  height: 48px;
  line-height: 1.6;
  display: inline-block;
  border-radius: 50px;
  transform: unset;
  text-align: center;
  margin-right: 15px;
*/
/* 自動成形回避のため非表示 */
  display: none;
}

.accordion::before{
  display: inline-block;
  content: "Q.";
  position: static;
  font-size: 26px;
  color: #1BA1E6;
  background-color: #fff;
  border: solid 1px #707070;
  width: 48px;
  height: 48px;
  line-height: 1.6;
  border-radius: 50px;
  transform: unset;
  text-align: center;
  margin-right: 15px;
}

/* ここまで */

/* お問い合わせ */

.post-68 {
  max-width: 1200px;
  margin: auto;
  width: 100%;
  margin-bottom: 200px;
  position: relative;
  top: 50px;
}

.post-68 .nf-form-content {
  max-width: 1200px;
  padding: 0;
  margin-top: 30px;
}

.post-68 .entry-title {
  color: #90C6E3;
  font-size: 30px;
  position: relative;
  text-align: center;
}

.post-68 .entry-title::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 260px;
  height: 8px;
  background: #79C7E4;
}

.post-68 .entry-title::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -22px;
  width: 260px;
  height: 8px;
  background: #D1E6F0;
}

.post-68 div#nf-form-1-cont {
  margin-top: 70px;
}

.post-68 div#nf-form-1-cont h3 {
  display: none;
}

.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit] {
  background: #1ba1e6 !important;
}

/* モバイルメニュー */

.mobile-navigation{
  display: none;
}

#menu-btn-check {
  display: none;
}

.spbr{
  display: none;
}

@media screen and (min-width: 1600px) {
  #site-navigation #menu-footer li a {
    font-size: 18px;
    text-decoration: none;
    color: #707070;
  }
  .content-size{
    margin-top: 350px;
  }
  .copyright {
    font-size: 16px;
  }
}

@media screen and (max-width:1500px) {
  /* header */
  .header-wrapper {
    width: 95%;
  }
  .site-logo {
    position: relative;
    top: -15px;
  }
  #masthead {
    width: 100%;
    margin: auto;
    padding-top: 15px;
    padding-bottom: 20px;
    position: fixed;
    z-index: 100;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    background-color: #fff;
    top: 0;
    min-height: 95px;
  }
  #masthead .site-branding {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    padding-top: 30px;
  }
  #menu-access-contact li p {
    font-size: 18px;
  }
  #menu-access-contact li i {
    font-size: 14px;
    margin-right: 3px;
  }
  #menu-access-contact li:nth-of-type(1) {
    width: 150px;
    text-align: center;
    border: 1px solid #49A0E0;
    border-radius: 5px;
    padding: 5px 0;
  }
  #menu-access-contact li:nth-of-type(2) {
    width: 150px;
    text-align: center;
    background-color: #1BA1E6;
    border-radius: 5px;
    padding: 5px 0;
  }
  /* logo */
  .site-logo .custom-logo {
    height: 80px;
    width: auto;
  }
  .logoright {
    height: 80px;
    width: auto;
  }
  /* headermenu */
  #menu-header li {
    list-style-type: none;
    width: 97px;
    border-left: 1px solid #707070;
    padding: 0 5px;
    text-align: center;
  }
  #menu-header li img {
    width: 50px;
    display: inline-block;
  }
  #menu-header li p {
    font-size: 14px;
    line-height: 1;
  }
  /*↓safari用*/
  /*最新のsafari用*/
  _::-webkit-full-page-media, _:future, :root #menu-header li p{
    font-size: 12px;
  }
  /*古いsafari用*/
  @media screen and (-webkit-min-device-pixel-ratio:0) {
    ::i-block-chrome, #menu-header li p{
      font-size: 12px;
    }
  }
  /*↑safari用*/
  /* 高さの調整 */
  #content {
    margin-top: 145px;
  }
  /* headerアコーディオン */
  #menu-item-1843 .sub-menu {
    position: absolute;
    left: 0;
    bottom: 0px;
    height: 0;
    padding-top: 20px;
  }
  #menu-item-1843:hover .sub-menu {
    bottom: -20px;
    transition: .3s;
  }
}

@media screen and (max-width:1300px) {
  .header-wrapper {
    width: 100%;
    height: 100%;
  }
  /* headerメニュー */
  #menu-header {
    display: none;
  }
  /* モバイルメニュー */
  #menu-mobilehaeder a{
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    width: 280px;
    height: 50px;
    display: flex;
    align-items: center;
  }
  .mobile-navigation{
    display: block;
  }
  .mobile-main-menu {
    display: block;
    position: absolute;
    top: 100px;
    right: -100%;
    transition: .3s;
    list-style: none;
    background-color: #90C6E3;
    max-width: 450px;
    width: 100%;
    z-index: 100;
    height: 100vh;
    overflow: auto;
  }
  .mobile-main-menu .sub-menu{
    list-style: none;
    height: 300px;
    opacity: 0;
    line-height: 0;
    overflow: auto;
    position: absolute;
    left: 0;
    top: 80px;
    width: 100%;
    transition: .3s;
  }
  .mobile-main-menu .sub-menu-a{
    opacity: 1;
    line-height: 1;
    height: 400px;
  }
  .mobile-main-menu li {
    width: calc(100% - 50px);
    border-bottom: solid 1px #fff;
  }
  .mobile-main-menu>li{
    padding: 14px 25px;
    position: relative;
  }
  .mobile-main-menu .sub-menu>li{
    padding: 14px 25px;
  }
  .main-navigation {
    position: relative;
    width: 100%;
  }
  .menu-btn-check {
    position: absolute;
    right: 0;
  }
  .menu-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    display: flex;
    height: 100px;
    width: 100px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #1BA1E6;
  }
  .menu-btn span, .menu-btn span:before, .menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 45px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
    transition: .3s;
  }
  .menu-btn span:before {
    bottom: 15px;
  }
  .menu-btn span:after {
    top: 15px;
  }
  #menu-btn-check:checked~.menu-btn span {
    background-color: rgba(255, 255, 255, 0);
    /*メニューオープン時は真ん中の線を透明にする*/
  }
  #menu-btn-check:checked~.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  #menu-btn-check:checked~.menu-mobilehaeder-container .mobile-main-menu {
    right: 0;
    transition: .3s;
  }
  #masthead{
    height: 100px;
    width: 100%;
    padding: 0;
  }
  #masthead .widget-area {
    margin: auto;
    position: absolute;
    right: calc(7% + 60px);
    top: 50%;
    transform: translateY(-50%);
  } 
  .site-logo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 5%;
  }
  .site-logo .custom-logo {
    height: 50px;
    width: auto;
  }
  .logoright {
    height: 50px;
    width: auto;
  }
  #menu-access-contact li i {
    font-size: 28px;
    margin-right: 3px;
  }
  #menu-access-contact li p {
    font-size: 24px;
  }
	#menu-access-contact a{
		font-size: 24px;
	}
  #menu-access-contact li:nth-of-type(1){
    width: auto;
    padding: 5px 15px;
    margin-right: 10px;
  }
  #menu-access-contact li:nth-of-type(2){
    width: auto;
    padding: 5px 15px;
  }
  .menu-item-1808::after {
    content: "+";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    color: #fff;
    font-size: 30px;
  }
  .menu-item-1808-a::after{
    content: "−";
  }
  #content {
    margin-top: 100px;
  }
}
@media screen and (max-width:1199px) {
  .content-size {
    max-width: 1200px;
    margin: auto;
    width: 90%;
    margin-top: 150px;
  }
  .faq {
  width: 90%;
  margin: auto;
  }
}
@media screen and (max-width:780px) {
  .spbr{
    display: block;
  }
  .sp-icon{
    display: block;
  }
  .pc-icon {
    display: none;
  }
  #masthead .widget-area {
    margin: auto;
    position: absolute;
    right: calc(8% + 70px);
    top: 50%;
    transform: translateY(-50%);
  } 
  .access-contact li i {
    font-size: 24px;
    background-color: #F1FBFD;
    margin-right: 3px;
    border: solid 1px #49A0E0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 1.7;
    text-align: center;
    display: inline-block;
  }
  #menu-access-contact li i {
    font-size: 23px;
    margin-right: 3px;
  }
  #menu-access-contact li:nth-of-type(1) {
    width: auto;
    text-align: center;
    border: none;
    padding: 0;
    margin: 0;
  }
  #menu-access-contact li:nth-of-type(2) {
    width: auto;
    background-color: unset;
    padding: 0;
  } 
	#menu-access-contact a{
		color: #49A0E0 !important;
	}
  /* footer */
  .footer-widget-1 .information{
    float: none;
    margin: auto;
    width: 90%;
  }
  #bizcalendar-2{
    float: none;
    margin: auto;
    width: 90%;
  }
  .widget-area .footer-widget-1{
    padding: 80px 0 80px;
  }
  .footer-widget-1 .widget-title {
    text-align: center;
    font-size: 24px;
    font-weight: normal;
    color: white;
  }
  .footer-widget-1 .underline {
    width: 110px;
    margin: 2px auto 40px;
    display: flex;
  }
  .underline-left {
    width: 50%;
    border-top: 1px solid white;
  }
  .underline-right {
    width: 50%;
    border-top: 1px solid #D1E6F0;
  }
  .tyuugou {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 20px;
  }
  .address {
    font-size: 12px;
    margin-bottom: 25px;
    line-height: 1.6;
  }
  .info-text {
    font-size: 12px;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  .phone, .fax{
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
  }
  .phone i, .fax i {
    font-size: 20px;
  }
  .fax{
    margin-bottom: 50px;
  }
  #site-navigation #menu-footer{
    flex-wrap: wrap;
  }
  #site-navigation #menu-footer li {
    flex-basis: 30%;
    position: relative;
  }
  #site-navigation #menu-footer li::after{
    content: "";
    display: block;
    border-right: solid 1px #707070;
    width: 1px;
    height: 17px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    transform: translateY(-50%) rotate(25deg);
  }
  #site-navigation #menu-footer li:nth-of-type(3):after,#site-navigation #menu-footer li:nth-of-type(6):after,#site-navigation #menu-footer li:nth-of-type(9):after{
    display: none;
  }
  #site-navigation #menu-footer li:last-of-type::after{
    border-right: unset;
  }
  #site-navigation #menu-footer li a {
    font-size: 12px;
  }
  .copyright {
    margin: 50px auto 30px;
    text-align: center;
    font-size: 12px;
    color: #707070;
    max-width: 253px;
  }
  #site-navigation #menu-footer {
    margin: auto;
  }
  #site-navigation #menu-footer::before{
    content: "";
    display: block;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(	http://tanoshika.sub.jp/tyuugou-hospital/wp-content/uploads/2021/08/cropped-logoleft.png);
    width: 80px;
    height: 80px;
    background-size: cover;
  }
  #site-navigation #menu-footer{
    flex-wrap: wrap;
    position: relative;
    padding-top: 170px;
    max-width: 320px;
  }
  .post-time-header{
    font-size: 14px;
  }
  .single-area .entry-title{
    font-size: 20px;
    margin-bottom: 50px;
  } 
  .single-area .post-thumbnail{
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  }
  .single-area .post-thumbnail>img{
    height: auto;
    width: 100%;
  }
  .single-area .wp-block-image>img{
    height: auto;
  }
  .single-area p{
    font-size: 14px;
  }
  .single-area ul, .single-area ol{
    width: 90%;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 50px;
  }
  .single-area td{
    font-size: 14px;
  }
  .single-area td:nth-of-type(1){
    font-size: 16px;
  }
  .post-68{
    width: 90%;
    overflow: hidden;
  }
  .post-68 .entry-title{
    font-size: 24px;
  }
  .post-68 .entry-title::before{
    height: 4px;
    bottom: -12px;
    width: 50%;
  }
  .post-68 .entry-title::after{
    height: 4px;
    bottom: -12px;
    width: 50%;
  }
  a.accordion, a.accordion0{
    font-size: 14px;
  }
/*自動成形回避のため*/
/*
  .faq .Q{
    font-size: 16px;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
  }
*/
  .accordion::before{
    font-size: 16px;
    width: 28px;
    height: 28px;
    margin-right: 10px;
  }
  .child1>a{
    padding: 15px 55px 15px 50px;
    line-height: 1.6;
  }
  .faq .child2 {
    font-size: 12px;
    padding: 15px;
  }
  #site-navigation #menu-footer {
    justify-content: center;
  }
  .widget_my_calendar_mini_widget {
    float: none;
    width: 80%;
    margin-top: 0px;
    max-width: 300px;
    margin: auto;
  }
}
@media screen and (max-width:376px) {
  .site-logo .custom-logo {
    height: 40px;
    width: auto;
  }
  .logoright {
    height:40px;
    width: auto;
  }
  .menu-btn{
    right: 5%;
    height: 60px;
    width: 60px;
  }
  .menu-btn span, .menu-btn span:before, .menu-btn span:after{
    width: 35px;
  }
  .menu-btn span:before {
    bottom: 12px;
  }
  .menu-btn span:after {
    top: 12px;
  }
  #masthead .widget-area{
    right: calc(5% + 70px);
  }
}

@media screen and (max-width:321px) {
  .menu-btn{
    right: 5%;
    height: 50px;
    width: 50px;
  }
  .menu-btn span, .menu-btn span:before, .menu-btn span:after{
    width: 30px;
  }
  .menu-btn span:before {
    bottom: 10px;
  }
  .menu-btn span:after {
    top: 10px;
  }
  #masthead .widget-area{
    right: calc(1% + 70px);
  }
  .menu-item-1808::after{
    font-size: 30px;
  }
}