@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville:400,700');
@import url(//use.fontawesome.com/releases/v5.0.11/css/all.css);

/*
Theme Name: shizuokamind
Theme URI: http://www.doya-doya.com/
Description: てんかんセンターPCサイトのテーマです。
Author: 株式会社サンロフト
Version: 1.0
License: GNU General Public License
License URI: license.txt
*/
/************************************************
目次
************************************************ */
/*** 目次見出し ***
- Reset default browser CSS
- Global Elements
- CSS Library
- Layout

- header
- mainimage
- menu
- content
- content


*/
/* =Reset default browser CSS.
-------------------------------------------------------------- */
* {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  max-width: 100%;
}

.table_history th {
  text-align: right;
  font-weight: normal;
}

body {
  line-height: 1;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

blockquote {
  quotes: none;
}

blockquote:before, blockquote:after {
  content: '';
  content: none;
}

del {
  text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

a img {
  border: none;
  max-width: 100%;
}

/* =Global Elements
-------------------------------------------------------------- */
/* Main global 'theme' and typographic styles */
body {
  background: #ffffff;
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

body,
input,
select,
textarea {
  color: #666;
  font-size: 0.9em;
  line-height: 1.25;
}

hr {
  background-color: #e7e7e7;
  border: 0;
  clear: both;
  height: 1px;
  margin-bottom: 1em;
}

/* Text elements */
p {
  margin-bottom: 1em;
}

ul {
  list-style: square;
  margin: 0 0 1em 1.5em;
}

ol {
  list-style: decimal;
  margin: 0 0 1em 1.5em;
}

ol ol {
  list-style: upper-alpha;
}

ol ol ol {
  list-style: lower-roman;
}

ol ol ol ol {
  list-style: lower-alpha;
}

ul ul,
ol ol,
ul ol,
ol ul {
  margin-bottom: 0;
}

ol li {
  margin: 0 0 0.5em 0;
}

ol li li {
  margin: 0;
}

dl {
  margin: 0 0 1.5em 0;
}

dt {
  font-weight: bold;
}

dd {
  margin-bottom: 1em;
}

strong {
  font-weight: bold;
}

cite,
em,
i {
  font-style: italic;
}

big {
  font-size: 1.3em;
}

ins {
  background: #ffc;
  text-decoration: none;
}

blockquote {
  font-style: italic;
  padding: 0 3em;
}

blockquote cite,
blockquote em,
blockquote i {
  font-style: normal;
}

pre {
  background: #f7f7f7;
  color: #222;
  line-height: 1;
  margin-bottom: 1em;
  padding: 1.5em;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

sup,
sub {
  height: 0;
  line-height: 1;
  position: relative;
  vertical-align: baseline;
}

sup {
  bottom: 1ex;
}

sub {
  top: .5ex;
}

input,
select,
textarea {
  background: #f9f9f9;
  border: 1px solid #ccc;
  box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
  padding: 2px;
}

select {
  padding: 6px 2px;
}

a:link {
  color: #156eb3;
  text-decoration: none;
}

a:visited {
  color: #156eb3;
  text-decoration: none;
}

a:active,
a:hover {
  color: #fcb500;
}

/* Text meant only for screen readers */
.screen-reader-text {
  position: absolute;
  left: -9000px;
}

/* =CSS Library
-------------------------------------------------------------- */
/* 画像 */
img.f_left {
  margin: 0 1.5em 0 0;
}

img.f_right {
  margin: 0 0 0 1.5em;
}

img.border {
  padding: 3px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
}

/* 配置 */
.center {
  text-align: center !important;
}

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

.right {
  text-align: right !important;
}

.top {
  vertical-align: top !important;
  ;
}

.middle {
  vertical-align: middle !important;
  ;
}

.bottom {
  vertical-align: bottom !important;
  ;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.hidden {
  display: none;
}

.f_left {
  float: left;
}

.f_right {
  float: right;
}

.f_none {
  float: none !important;
}

.clear {
  clear: both;
}

.clear_none {
  clear: none;
}

.clear_left {
  clear: left;
}

.clear_right {
  clear: right;
}

.clearfix {
  zoom: 1;
}

.clearfix:after {
  content: '';
  display: block;
  clear: both;
}

/* 余白 */
.m_top0 {
  margin-top: 0 !important;
}

.m_right0 {
  margin-right: 0 !important;
}

.m_bottom0 {
  margin-bottom: 0 !important;
}

.m_left0 {
  margin-left: 10px !important;
}

.m_top10 {
  margin-top: 10px !important;
}

.m_right10 {
  margin-right: 10px !important;
}

.m_bottom10 {
  margin-bottom: 10px !important;
}

.m_bottom5 {
  margin-bottom: 5px !important;
}

.m_left10 {
  margin-left: 10px !important;
}

.m_top15 {
  margin-top: 15px !important;
}

.m_right15 {
  margin-right: 15px !important;
}

.m_bottom15 {
  margin-bottom: 15px !important;
}

.m_left15 {
  margin-left: 15px !important;
}

.m_top20 {
  margin-top: 20px !important;
}

.m_right20 {
  margin-right: 20px !important;
}

.m_bottom20 {
  margin-bottom: 20px !important;
}

.m_left20 {
  margin-left: 20px !important;
}

.m_top30 {
  margin-top: 30px !important;
}

.m_right30 {
  margin-right: 30px !important;
}

.m_bottom30 {
  margin-bottom: 30px !important;
}

.m_left30 {
  margin-left: 30px !important;
}

.m_top50 {
  margin-top: 50px !important;
}

.m_right50 {
  margin-right: 50px !important;
}

.m_bottom50 {
  margin-bottom: 50px !important;
}

.m_left50 {
  margin-left: 50px !important;
}

.m_top100 {
  margin-top: 100px !important;
}

.m_right100 {
  margin-right: 100px !important;
}

.m_bottom100 {
  margin-bottom: 100px !important;
}

.m_left100 {
  margin-left: 100px !important;
}

.p_top0 {
  padding-top: 0 !important;
}

.p_right0 {
  padding-right: 0 !important;
}

.p_bottom0 {
  padding-bottom: 0 !important;
}

.p_left0 {
  padding-left: 0 !important;
}

.p_top20 {
  padding-top: 20px !important;
}

.p_right20 {
  padding-right: 20px !important;
}

.p_bottom20 {
  padding-bottom: 20px !important;
}

.p_left20 {
  padding-left: 20px !important;
}

.p_top50 {
  padding-top: 50px !important;
}

.p_right50 {
  padding-right: 50px !important;
}

.p_bottom50 {
  padding-bottom: 50px !important;
}

.p_left50 {
  padding-left: 50px !important;
}

.bold {
  font-weight: bold;
}

/* =Images
-------------------------------------------------------------- */
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
  max-width: 100%;
  /* When images are too wide for containing element, force them to fit. */
  height: auto;
  /* Override height to match resized width for correct aspect ratio. */
}

.alignleft,
img.alignleft {
  display: inline;
  float: left;
  margin-right: 1em;
}

.alignright,
img.alignright {
  display: inline;
  float: right;
  margin-left: 1em;
}

.aligncenter,
img.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignleft,
img.alignright,
img.aligncenter {
  margin-bottom: 0.5em;
}

.wp-caption {
  background: #f1f1f1;
  line-height: 1.2;
  margin-bottom: 1em;
  max-width: 100% !important;
  /* prevent too-wide images from breaking layout */
  padding: 0.1em;
  text-align: center;
}

.wp-caption img {
  margin: 5px 5px 0;
}

.wp-caption p.wp-caption-text {
  color: #888;
  font-size: 0.8em;
  margin: 5px;
}

.wp-smiley {
  margin: 0;
}

#content .attachment img {
  /* single attachment images should be centered */
  display: block;
  margin: 0 auto;
}

/* =Navigation
-------------------------------------------------------------- */
.navigation {
  color: #888;
  font-size: 0.7em;
  line-height: 1.2;
  overflow: hidden;
}

.navigation a:link,
.navigation a:visited {
  color: #888;
  text-decoration: none;
}

.navigation a:active,
.navigation a:hover {
  color: #ff4b33;
}

.nav-previous {
  float: left;
  width: 50%;
}

.nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

#nav-above {
  margin: 0 0 1em 0;
}

#nav-above {
  display: none;
}

.paged #nav-above,
.single #nav-above {
  display: block;
}

/* =Comments
-------------------------------------------------------------- */
#comments {
  clear: both;
}

#comments .navigation {
  padding: 0 0 1em 0;
}

h3#comments-title,
h3#reply-title {
  color: #000;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 0;
}

h3#comments-title {
  padding: 1.5em 0;
}

.commentlist {
  list-style: none;
  margin: 0;
}

.commentlist li.comment {
  border-bottom: 1px solid #e7e7e7;
  line-height: 1.2;
  margin: 0 0 1.5em 0;
  padding: 0 0 0 3em;
  position: relative;
}

.commentlist li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

#comments .comment-body ul,
#comments .comment-body ol {
  margin-bottom: 1em;
}

#comments .comment-body p:last-child {
  margin-bottom: 0.1em;
}

#comments .comment-body blockquote p:last-child {
  margin-bottom: 1.5em;
}

.commentlist ol {
  list-style: decimal;
}

.commentlist .avatar {
  position: absolute;
  top: 4px;
  left: 0;
}

.comment-author {}

.comment-author cite {
  color: #000;
  font-style: normal;
  font-weight: bold;
}

.comment-author .says {
  font-style: italic;
}

.comment-meta {
  font-size: 0.7em;
  margin: 0 0 1em 0;
}

.comment-meta a:link,
.comment-meta a:visited {
  color: #888;
  text-decoration: none;
}

.comment-meta a:active,
.comment-meta a:hover {
  color: #ff4b33;
}

.commentlist .even {}

.commentlist .bypostauthor {}

.reply {
  font-size: 0.7em;
  padding: 0 0 1.5em 0;
}

.reply a,
a.comment-edit-link {
  color: #888;
}

.reply a:hover,
a.comment-edit-link:hover {
  color: #ff4b33;
}

.commentlist .children {
  list-style: none;
  margin: 0;
}

.commentlist .children li {
  border: none;
  margin: 0;
}

.nopassword,
.nocomments {
  display: none;
}

#comments .pingback {
  border-bottom: 1px solid #e7e7e7;
  margin-bottom: 1em;
  padding-bottom: 1em;
}

.commentlist li.comment+li.pingback {
  margin-top: -6px;
}

#comments .pingback p {
  color: #888;
  display: block;
  font-size: 0.7em;
  line-height: 1.2;
  margin: 0;
}

#comments .pingback .url {
  font-size: 0.7em;
  font-style: italic;
}

/* Comments form */
input[type=submit] {
  color: #fff !important;
  padding: 1em 3em;
  /* display: block; */
  /* float: left; */
  margin: 0 auto;
  /* color: #fff; */
  border: none;
  background: #4198b3;
  border-radius: 5px;
  /* text-align: center; */
  font-weight: bold;
}

#respond {
  border-top: 1px solid #e7e7e7;
  margin: 1.5em 0;
  overflow: hidden;
  position: relative;
}

#respond p {
  margin: 0;
}

#respond .comment-notes {
  margin-bottom: 1em;
}

.form-allowed-tags {
  line-height: 1.2;
}

.children #respond {
  margin: 0 1.5em 0 0;
}

h3#reply-title {
  margin: 1em 0;
}

#comments-list #respond {
  margin: 0 0 1em 0;
}

#comments-list ul #respond {
  margin: 0;
}

#cancel-comment-reply-link {
  font-size: 0.6em;
  font-weight: normal;
  line-height: 1;
}

#respond .required {
  color: #ff4b33;
  font-weight: bold;
}

#respond label {
  color: #888;
  font-size: 0.7em;
}

#respond input {
  margin: 0 0 0.5em;
  width: 98%;
}

#respond textarea {
  width: 98%;
}

#respond .form-allowed-tags {
  color: #888;
  font-size: 0.7em;
  line-height: 1.5;
}

#respond .form-allowed-tags code {
  font-size: 0.7em;
}

#respond .form-submit {
  margin: 0.7em 0;
}

#respond .form-submit input {
  font-size: 0.8em;
  width: auto;
}

/* =Widget Areas
-------------------------------------------------------------- */
.widget-area ul {
  list-style: none;
  margin-left: 0;
}

.widget-area ul ul {
  list-style: square;
  margin-left: 1.3em;
}

.widget-area select {
  max-width: 100%;
}

.widget_search #s {
  /* This keeps the search inputs in line */
  width: 60%;
}

.widget_search label {
  display: none;
}

.widget-container {
  margin: 0 0 1em 0;
}

.widget-title {
  color: #222;
  font-weight: bold;
}

.widget-area a:link,
.widget-area a:visited {
  text-decoration: none;
}

.widget-area a:active,
.widget-area a:hover {
  text-decoration: underline;
}

.widget-area .entry-meta {
  font-size: 0.6em;
}

#wp_tag_cloud div {
  line-height: 1.6em;
}

#wp-calendar {
  width: 100%;
}

#wp-calendar caption {
  color: #222;
  font-size: 0.8em;
  font-weight: bold;
  padding-bottom: 4px;
  text-align: left;
}

#wp-calendar thead {
  font-size: 0.7em;
}

#wp-calendar thead th {}

#wp-calendar tbody {
  color: #aaa;
}

#wp-calendar tbody td {
  background: #f5f5f5;
  border: 1px solid #fff;
  padding: 3px 0 2px;
  text-align: center;
}

#wp-calendar tbody .pad {
  background: none;
}

#wp-calendar tfoot #next {
  text-align: right;
}

.widget_rss a.rsswidget {
  color: #000;
}

.widget_rss a.rsswidget:hover {
  color: #ff4b33;
}

.widget_rss .widget-title img {
  width: 11px;
  height: 11px;
}

/* Main sidebars */
#main .widget-area ul {
  margin-left: 0;
  padding: 0 20px 0 0;
}

#main .widget-area ul ul {
  border: none;
  margin-left: 1.3em;
  padding: 0;
}

/* =Layout
-------------------------------------------------------------- */
#wrapper {
  position: relative;
  width: 100%;
}

#header div.head_inner,
#access,
#colophon,
#pankuzu,
#main {
  margin: 0 auto;
  max-width: 1000px;
}

#container {
  float: right;
  width: 100%;
  max-width: 75%;
  padding: 1em;
}

body.home #content {
  float: left;
  max-width: 1000px;
}

body.lang-english #content,
body.lang-chinese #content {
  float: none;
  max-width: 1000px;
}

body.lang-english #container,
body.lang-chinese #container {
  float: none;
  margin: 0;
  width: auto;
  max-width: 100%;
}

#sidebox {
  padding: 1em;
}

#sidebox,
#primary,
#secondary {
  float: left;
  overflow: hidden;
  max-width: 25%;
}

body.home #sidebox {
  float: right;
}

#secondary {
  clear: both;
}

#footer {
  clear: both;
  width: 100%;
}

#footer a:hover {
  text-decoration: underline;
}

/* =Header
-------------------------------------------------------------- */
div#header {
  background: #80C6D6;
  padding: 1em;
  width: 100%;
  /* max-width: 1000px; */
  margin: 0 auto;
}

div#header h1#site-title,
div#header div#site-title {
  float: left;
  width: 40%;
}

div#header h1#site-title img {
  width: 100%;
}

div#header div#head_menu {
  /* float: right; */
  color: #ffffff;
  font-size: 0.7rem;
  text-align: right;
  clear: both;
  margin-top: 1em;
  width: 100%;
}

div#header div#head_menu a {
  color: #ffffff;
}

div.head_contact {
  float: right;
  width: 60%;
  text-align: right;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  /* align-items: start; */
  /* align-content: center; */
}

div#search {
  border-radius: 20px;
  /* width: 150px; */
  padding: 4px 10px;
  background: #ffffff;
  margin-right: 1em;
  float: left;
}

div#search input[type="text"] {
  float: right;
  width: 120px;
  border: none;
  box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0);
  -moz-box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0);
  -webkit-box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0);
  background: #ffffff;
}

div#search input[type="submit"] {
  background: url(images/renewal/bg_search.png) 0 center no-repeat #ffffff;
  float: left;
  width: 25px;
  height: 25px;
  border: none;
  text-indent: -10000px;
  padding: 0;
}

div#search input[type="submit"]:hover {
  cursor: pointer;
}

div#fontsize {
  width: 135px;
  font-size: 0.7em;
  color: #000000;
  position: relative;
  float: left;
  margin-right: 1em;
}

div#fontsize span {
  position: absolute;
  left: 0;
  top: 0.5rem;
  font-size: 0.7rem;
}

form#chgfontsizeoptions {
  float: right;
}

form#chgfontsizeoptions a {
  display: block;
  width: 35px;
  height: 30px;
  float: left;
}

/* */
body.lang-english #lang,
body.lang-chinese #lang {
  text-align: right;
}

body.lang-english .entry-content a,
body.lang-chinese .entry-content a {
  text-decoration: underline;
}

body.lang-english .renderSwitcher,
body.lang-chinese .renderSwitcher {
  display: none;
}

body.lang-english form#chgfontsizeoptions a img {
  visibility: hidden;
}

body.lang-english form#chgfontsizeoptions a:first-child {
  background: url(images/otherlang/decrease_deactivated_e.png) no-repeat 0 0;
  margin-right: 2px;
}

body.lang-english div#fontsize {
  width: 140px;
}

body.lang-english form#chgfontsizeoptions a:last-child {
  background: url(images/otherlang/increase_activated_e.png) no-repeat 0 0;
}

body.lang-english div.head_contact form#chgfontsizeoptions a {
  width: 40px;
}

body.lang-english div.head_contact {
  width: 355px;
}

body.lang-chinese div.head_contact {
  width: 350px;
}

body.lang-english div#fontsize,
body.lang-chinese div#fontsize {
  display: none;
}

/* =footer
-------------------------------------------------------------- */
div#footer {
  padding: 2em 1em;
  background: #80C5D5;
}

div#footer_inner {
  max-width: 1000px;
  margin: 0 auto;
  border-right: 1px solid #fff;
}

div#foot_menu ul {
  list-style: none;
  margin: 0 auto;
  display: block;
  overflow: -webkit-paged-x;
}

div#foot_menu ul li {
  float: left;
  padding: ;
}

div#foot_pankuz {
  position: relative;
  background: #4198b3;
  margin-top: 40px;
}

div#foot_pankuz div.pankuz_box {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 0.8rem;
  padding: 1em 1em 1em 2em;
  color: #ffffff;
  background: url(images/renewal/foot_home.png) 1em center no-repeat;
}

div#foot_pankuz div.pankuz_box a {
  color: #ffffff;
}

div#foot_menu ul>li {
  padding: 2%;
  border-left: 1px solid #ffffff;
  width: 25%;
  font-size: 0.8rem;
}

div#foot_menu ul li h3 {
  margin: 0 0 20px 0;
}

div#foot_menu ul li ul li {
  border: none;
  padding: 0;
  margin: 0 0 5px 0;
  display: block;
  width: 100%;
}

div#foot_menu ul li ul li a,
div#foot_menu ul li h3 a {
  color: #ffffff;
}

div#foot_copy {
  padding: 2em 1em;
  background: #F2F2F2;
  position: relative;
}

div#foot_copy div.copy {
  max-width: 1000px;
  margin: 0 auto;
}

div#foot_copy div.copy div {
  /* width: 50%; */
}

div#foot_copy div.copy div.foot_add {
  float: left;
}

div#foot_copy div.copy div.foot_add h1 {
  font-size: 14px;
  margin-bottom: 10px;
}

div#foot_copy div.copy div.foot_add span,
div#foot_copy div.copy div.foot_add a {
  font-size: 12px;
}

div#foot_copy div.copy div.foot_add a.googlemap {
  color: #ffffff;
  padding: 5px 10px;
  background: #80C5D5;
  border-radius: 3px;
}

div#foot_copy div.copy div.copy_right {
  float: right;
  font-size: 0.6rem;
  padding: 1.5em 0;
  text-align: right;
}

div.renderSwitcher ul {
  list-style: none;
  margin: 0;
  display: table;
  table-layout: fixed;
  width: 100%;
  border-top: 1px solid #ffffff;
}

div.renderSwitcher ul li {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  border-left: 1px solid #ffffff;
}

div.renderSwitcher ul li:first-child {
  border: none;
}

div.renderSwitcher ul li a {
  display: block;
  padding: 10% 0;
  text-decoration: none;
  color: #fff;
}

div.renderSwitcher ul li.pc a {
  background: #fdd22e;
}

div.renderSwitcher ul li.mobile a {
  background: #81cddb;
}

/* footer_otherlang */
#foot_copy_otherlang {
  padding: 30px 0;
  background: #F2F2F2;
  position: relative;
  text-align: center;
  margin-top: 50px;
}

#foot_copy_otherlang h1 {
  font-size: 1.2;
  line-height: 1.65em;
  margin-bottom: 2em;
}

#foot_copy_otherlang span {
  line-height: 1.5em;
}

#copy_right_otherlang {
  width: 1000px;
  margin: 0 auto;
  padding: 30px 0;
  text-align: center;
}

/* =ベース
-------------------------------------------------------------- */
/* =パンくず
-------------------------------------------------------------- */
div#top_pankuz {
  max-width: 1000px;
  margin: 0 auto;
  text-align: right;
  padding: 1.5em 1em;
  font-size: 0.7rem;
}

div#top_pankuz a {
  color: #444444;
  text-decoration: none;
}

div#top_pankuz a:hover {
  text-decoration: underline;
}

body.lang-chinese div#top_pankuz,
body.lang-english div#top_pankuz {
  border-bottom: 1px solid #CCCCCC;
  margin-bottom: 30px;
}

/* =Menu
-------------------------------------------------------------- */
div.main_menu {
  border-bottom: 1px solid #C5C5C5;
}

#access {
  background: #ffffff;
  display: block;
  margin: 0 auto 0 auto;
  /zoom: 1;
  z-index: 10;
  position: relative;
  border-right: 1px solid #C5C5C5;
}

#access:after {
  content: '';
  display: block;
  clear: both;
}

#access ul#menu-main {
  list-style: none;
  margin: 0;
  line-height: 1;
  display: flex;
  justify-content: space-between;
}

#access ul#menu-main li {
  /*float: left;*/
  position: relative;
  padding: 0.3em;
  border-left: 1px solid #C5C5C5;
  /* display: inline-block; */
  text-align: center;
  /* display: flex; */
  width: 100%;
  line-height: 1.3;
}

#access ul#menu-main li a {
  display: block;
  width: 100%;
  padding: 1em 0.5em;
  text-align: center;
  color: #444444;
  margin: 0 auto;
}

#access ul#menu-main li>a {
  border-radius: 3px;
}

#access ul#menu-main li#menu-item-162 {
  width: 40%;
}

#access ul#menu-main li#menu-item-162 a {
  background: url(images/renewal/home.png) center center no-repeat;
  text-indent: -10000px;
  border-radius: 3px;
}

#access ul#menu-main li#menu-item-162 a:hover {
  background: url(images/renewal/home_on.png) center center no-repeat #80C5D5;
}

#access ul#menu-main ul {
  display: none;
  position: absolute;
  top: 101%;
  left: 0;
  /* float: left; */
  /*width: 200%;*/
  z-index: 99999;
  list-style: none;
  margin: 0;
  border-left: 1px solid #C5C5C5;
  border-right: 1px solid #C5C5C5;
}

#access ul#menu-main ul li {
  min-width: 100%;
  display: block;
  padding: 0;
  border-left: none;
}

#access ul#menu-main ul ul {
  left: 100%;
  top: 0;
  margin: 0;
}

#access ul#menu-main ul a {
  background: none;
  text-indent: 0;
  background: #ffffff;
  line-height: 1.2;
  /* padding: 10px 10px; */
  /* width: 162px; */
  height: auto;
  color: #444444;
  border-bottom: 1px solid #C5C5C5;
  text-align: left;
  border-radius: 0px;
}

#access ul#menu-main li a:hover,
#access li:hover>a,
#access ul#menu-main ul :hover>a {
  background: #80C5D5;
  color: #ffffff;
}

#access ul#menu-main li:hover>ul {
  display: block;
  width: 100%;
}

#access ul#menu-main li#menu-item-162.current-menu-item a {
  background: url(images/renewal/home_on.png) center center no-repeat #80C5D5;
}

#access ul#menu-main li#menu-item-163.current-menu-item a,
#access ul#menu-main li#menu-item-163.current-menu-parent a,
#access ul#menu-main li#menu-item-163.current-page-ancestor a,
#access ul#menu-main li#menu-item-173.current-menu-item a,
#access ul#menu-main li#menu-item-173.current-menu-parent a,
#access ul#menu-main li#menu-item-173.current-page-ancestor a,
#access ul#menu-main li#menu-item-178.current-menu-item a,
#access ul#menu-main li#menu-item-178.current-menu-parent a,
#access ul#menu-main li#menu-item-178.current-page-ancestor a,
#access ul#menu-main li#menu-item-244.current-menu-item a,
#access ul#menu-main li#menu-item-244.current-menu-parent a,
#access ul#menu-main li#menu-item-244.current-page-ancestor a,
#access ul#menu-main li#menu-item-193.current-menu-item a,
#access ul#menu-main li#menu-item-193.current-menu-parent a,
#access ul#menu-main li#menu-item-193.current-page-ancestor a {
  background: #80C5D5;
  color: #ffffff;
}

/* menu-main-otherlang */
#access ul#menu-main-otherlang {
  display: table;
  table-layout: fixed;
  width: 100%;
  list-style: none;
  margin: 0;
}

#access ul#menu-main-otherlang li {
  display: table-cell;
  position: relative;
  padding: 5px 5px 5px 5px;
  border-left: 1px solid #C5C5C5;
  /*	display: inline-block;*/
}

#access ul#menu-main-otherlang li a {
  display: block;
  /*	width: 172px;*/
  padding: 15px 0;
  text-align: center;
  color: #444444;
}

#access ul#menu-main-otherlang li>a {
  border-radius: 3px;
}

#access ul#menu-main-otherlang li.homebtn {
  width: 73px;
}

#access ul#menu-main-otherlang li.homebtn a {
  background: url(images/renewal/home.png) center center no-repeat;
  width: 74px;
  text-indent: -10000px;
  border-radius: 3px;
}

#access ul#menu-main-otherlang li.homebtn a:hover {
  background: url(images/renewal/home_on.png) center center no-repeat #80C5D5;
}

#access ul#menu-main-otherlang ul a {
  background: none;
  text-indent: 0;
  background: #ffffff;
  line-height: 1.2em;
  padding: 10px 10px;
  /*	width: 162px;*/
  height: auto;
  color: #444444;
  border-bottom: 1px solid #C5C5C5;
  text-align: left;
  border-radius: 0px;
}

#access ul#menu-main-otherlang li a:hover,
#access li:hover>a,
#access ul#menu-main-otherlang ul :hover>a {
  background: #80C5D5;
  color: #ffffff;
}

#access ul#menu-main-otherlang li:hover>ul {
  display: block;
}

#access ul#menu-main-otherlang li.homebtn.current-menu-item a {
  background: url(images/renewal/home_on.png) center center no-repeat #80C5D5;
}

#access ul#menu-main-otherlang li.current-menu-item a {
  background: #80C5D5;
  color: #ffffff;
}

/* english_textsmall */
.page-template-home-english #access ul#menu-main-otherlang li a,
.page-template-page-english #access ul#menu-main-otherlang li a {
  vertical-align: middle;
  font-size: 84%;
  /* height: 3em; */
  padding: 10px 0 10px 0 !important;
}

.page-template-home-english #access ul#menu-main-otherlang li,
.page-template-page-english #access ul#menu-main-otherlang li {
  line-height: 1.5em;
  vertical-align: middle;
}

.page-template-home-english #access ul#menu-main-otherlang li.singleline,
.page-template-page-english #access ul#menu-main-otherlang li.singleline {
  line-height: 3em;
  vertical-align: middle;
}

/* =Content
-------------------------------------------------------------- */
#main {
  clear: both;
  overflow: hidden;
  padding: 0;
  width: 100%;
  zoom: 1;
  width: ;
  /* margin: 1em auto; */
}

#main:after {
  content: '';
  display: block;
  clear: both;
}
}

#content {
  margin-bottom: 36px;
}

#content,
#content input,
#content textarea {
  color: #333;
  font-size: 1em;
  line-height: 1.5;
}

#content p,
#content ul,
#content ol,
#content dd,
#content pre,
#content hr {
  margin-bottom: 24px;
}

#content ul ul,
#content ol ol,
#content ul ol,
#content ol ul {
  margin-bottom: 0;
}

#content pre,
#content kbd,
#content tt,
#content var {
  font-size: 15px;
  line-height: 21px;
}

#content code {
  font-size: 13px;
}

#content dt,
#content th {
  color: #000;
}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
  color: #000;
  line-height: 1.5em;
  margin: 0 0 1em 0;
}

/* h1_otherlang */
h1.otherlang {
  border: none !important;
  font-size: 33px !important;
  padding: 0 !important;
}

/* =見出し
-------------------------------------------------------------- */
#entry-title {
  position: relative;
  background-color: #F7F4F4;
  /*text-indent: -10000px;*/
  font-size: 2em;
  color: #86C5D4;
  height: 10rem;
  /* line-height: 0; */
}

#entry-title div {
  max-width: 1000px;
  height: 10rem;
  margin: 0 auto;
  width: 100%;
  padding-top: 3.5rem;
  padding: 3.5rem 0.5em 0 0.5em;
  background-size: cover !important;
}

/*病院のご案内*/
#entry-title div.page-parent_20,
body.parent-pageid-40 #entry-title div,
body.single-ethicsmorals #entry-title div {
  background: url(images/renewal/h1/head_h2_hospital.jpg) 0 0 no-repeat;
}

/*病院のご案内*/
body.page-id-160 #entry-title div {
  background: url(images/renewal/h1/head_h2_sitemap.jpg) 0 0 no-repeat;
}

/*サイトマップ*/
body.page-id-154 #entry-title div {
  background: url(images/renewal/h1/head_h2_contact.jpg) 0 0 no-repeat;
}

/*お問い合わせフォーム*/
body.page-id-238 #entry-title div {
  background: url(images/renewal/h1/head_h2_link.jpg) 0 0 no-repeat;
}

/*リンク集*/
body.page-id-152 #entry-title div {
  background: url(images/renewal/h1/head_h2_contact_address.jpg) 0 0 no-repeat;
}

/*各種お問い合わせ先*/
body.page-id-131 #entry-title div,
body.single-recruit #entry-title div,
body.parent-pageid-131 #entry-title div,
body.parent-pageid-148 #entry-title div {
  background: url(images/renewal/h1/head_h2_recruit.jpg) 0 0 no-repeat;
}

/*募集要項*/
body.page-id-47 #entry-title div,
body.page-id-55 #entry-title div,
body.parent-pageid-47 #entry-title div,
body.parent-pageid-49 #entry-title div {
  background: url(images/renewal/h1/head_h2_outpatient.jpg) 0 0 no-repeat;
}

body.page-id-58 #entry-title div,
body.parent-pageid-58 #entry-title div {
  background: url(images/renewal/h1/head_h2_hospitalization.jpg) 0 0 no-repeat;
}

body.page-id-69 #entry-title div,
body.parent-pageid-69 #entry-title div,
body.parent-pageid-84 #entry-title div,
body.parent-pageid-71 #entry-title div,
body.parent-pageid-88 #entry-title div,
body.parent-pageid-82 #entry-title div,
body.parent-pageid-101 #entry-title div,
body.parent-pageid-107 #entry-title div {
  background: url(images/renewal/h1/head_h2_head_services.jpg) 0 0 no-repeat;
}

body.parent-pageid-113 #entry-title div,
body.parent-pageid-125 #entry-title div,
body.parent-pageid-119 #entry-title div,
body.tax-medicallist #entry-title div,
body.post-type-archive-medical #entry-title div,
body.single-medical #entry-title div,
body.page-id-113 #entry-title div {
  background: url(images/renewal/h1/head_h2_medical_personnel.jpg) 0 0 no-repeat !important;
}

/*医療関係の方へ*/
/*body.post-type-archive-topics #entry-title div,*/
body.post-type-archive-event #entry-title div,
body.tax-eventlist #entry-title div,
body.post-type-archive-event #entry-title div,
body.single-event #entry-title div {
  background: url(images/renewal/h1/event_blog.png) 0 0 no-repeat !important;
  border: none !important;
  padding: 75px 0 0 0 !important;
}

body.post-type-archive-ketone #entry-title div,
body.tax-ketonelist #entry-title div,
body.post-type-archive-ketone #entry-title div,
body.single-ketone #entry-title div {
  background: url(images/renewal/h1/ketone.png) 0 0 no-repeat !important;
  border: none !important;
  /* padding: 75px 0 0 0 !important; */
  display: flex;
  align-items: center;
  align-content: center;
}

body.tax-topicslist #entry-title div,
body.single-topics #entry-title div {
  background: url(images/renewal/h1/head_h2_news.jpg) 0 0 no-repeat;
}

/*ホームページ更新のお知らせ*/
body.error404 #entry-title div {
  background: url(images/renewal/h1/head_h2_404.png) 0 0 no-repeat;
}

body.search-results #entry-title div,
body.search-no-results #entry-title div {
  text-indent: -10000px;
  background: url(images/renewal/h1/head_h2_search.jpg) 0 0 no-repeat;
}

body.page-id-20 #entry-title div {
  background: url(images/renewal/h1/head_h2_hospital.jpg) 0 0 no-repeat;
}

body.post-type-archive #entry-title div,
h1.entry-title,
body.single-recruit h1.entry-title,
body.page-id-42 h1.entry-title,
body.page-id-134 h1.entry-title,
body.archive h1.entry-title,
body.search-results h1.entry-title,
body.single-ethicsmorals h1.entry-title,
body.post-type-archive-topics h1.entry-title,
body.single-topics h1.entry-title,
body.single-medical h1.entry-title {
  padding: 40px 0 30px 0;
  border-top: 1px solid #CCCCCC;
  border-bottom: 1px solid #CCCCCC;
  /* margin-bottom: 30px */
}

body.single div.entry-meta {
  text-align: right;
  margin-bottom: 10px;
}

body.page h1.entry-title,
body.page-id-42 h1.entry-title {
  /*text-indent: -10000px;*/
}

body.page h1.entry-title span.page_title,
body.page h1.entry-title span.page_title,
body.page-id-42 h1.entry-title span.page_title {
  font-size: 25px;
  color: #7EC5D7;
  padding-right: 10px;
  line-height: 1.2;
}

body.page h1.entry-title span.en,
body.page-id-42 h1.entry-title span.en {
  font-size: 11px;
  color: #444444;
}

#content .entry-content h2 {
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 3px;
  background: #C5E4EA;
  color: #444444;
  font-size: 1em;
}

#content .entry-content h3,
div#sidebox h3 {
  font-weight: bold;
  margin-bottom: 1em;
  color: #444444;
  padding: 0.25em 0.25em 0.25em 0.75em;
  border-left: 6px solid #80C5D5;
  /*background: url(images/renewal/h3.gif) left 3px no-repeat;*/
  font-size: 1em;
  /* background: #fff; */
}

div#sidebox h3 {
  margin-top: 20px;
  margin-bottom: 0px !important;
}

div#sidemenu {
  margin-bottom: 2em;
}

#content .entry-content .bg_gray {
  background: #F7F4F4;
  /*border: 1px solid #cccccc;*/
  padding: 20px;
  border-radius: 3px;
}

#content .entry-content h4 {
  font-weight: bold;
  margin-bottom: 1em;
  /* color: #3c98ae; */
}

div.text_building {
  width: 280px;
  float: left;
}

/* =table
-------------------------------------------------------------- */
#content table {
  border: 1px solid #cccccc;
  margin: 0 0 24px 0;
  text-align: left;
  width: 100%;
  background: #fff;
}

#content tr th,
#content thead th {
  font-weight: bold;
  line-height: 1;
  padding: 10px;
  border: 1px solid #cccccc;
  white-space: nowrap;
  background: #F7F4F4;
}

#content tr td {
  border: 1px solid #cfcfcf;
  padding: 10px;
}

table.t_number {
  width: 50% !important;
}

table.t_number tr th {
  width: 25% !important;
}

#content table.none {
  width: auto;
}

#content table.none,
#content table.none td,
#content table.none th {
  border: 0;
  padding: 0 20px 0 0;
}

#content table.none img {
  width: auto;
}

/*サイトマップ*/
body.page-id-160 ul#menu-main-1,
body.page-id-160 ul#menu-utility {
  margin-bottom: 0;
}

/* =sidebox
-------------------------------------------------------------- */
div#sidemenu h2 {
  padding: 13px 20px;
  margin-bottom: 10px;
  border-radius: 3px;
  background: #C5E4EA;
  color: #444444;
}

body.page div#sidemenu h2 {
  text-indent: -10000px;
}

body.page-id-20 div#sidemenu h2,
body.parent-pageid-40 div#sidemenu h2,
body.parent-pageid-20 div#sidemenu h2,
body.parent-pageid-31 div#sidemenu h2 {
  background: url(images/renewal/side_h2_hospital.png) 10px center no-repeat #C5E4EA;
}

body.page-id-47 div#sidemenu h2,
body.parent-pageid-55 div#sidemenu h2,
body.parent-pageid-47 div#sidemenu h2 {
  background: url(images/renewal/side_h2_outpatient.png) 10px center no-repeat #C5E4EA;
}

body.page-id-113 div#sidemenu h2,
body.parent-pageid-119 div#sidemenu h2,
body.parent-pageid-125 div#sidemenu h2,
body.parent-pageid-113 div#sidemenu h2 {
  background: url(images/renewal/side_h2_medical_personnel.png) 10px center no-repeat #C5E4EA;
}

body.page-id-131 div#sidemenu h2,
body.parent-pageid-148 div#sidemenu h2,
body.parent-pageid-131 div#sidemenu h2 {
  background: url(images/renewal/side_h2_recruitinfo.png) 10px center no-repeat #C5E4EA;
}

body.page-id-58 div#sidemenu h2,
body.parent-pageid-58 div#sidemenu h2 {
  background: url(images/renewal/side_h2_hospitalization.png) 10px center no-repeat #C5E4EA;
}

body.page-id-69 div#sidemenu h2,
body.parent-pageid-71 div#sidemenu h2,
body.parent-pageid-88 div#sidemenu h2,
body.parent-pageid-101 div#sidemenu h2,
body.parent-pageid-107 div#sidemenu h2,
body.parent-pageid-82 div#sidemenu h2,
body.parent-pageid-84 div#sidemenu h2,
body.parent-pageid-69 div#sidemenu h2,
body.parent-pageid-97 div#sidemenu h2 {
  background: url(images/renewal/side_h2_services.png) 10px center no-repeat #C5E4EA;
}

div#sidebox ul {
  list-style: none;
  margin: 0 0 10px 0;
}

div#sidebox div.banner_side,
div#sidebox div.banner_side ul {
  margin: 0;
}

div#sidemenu ul li {
  border-bottom: 1px dashed #C5C5C5;
  padding: 5px;
}

div#sidemenu ul li a {
  padding: 1em 1.5em 1em 0.5em;
  background: url(images/renewal/bg_toplist1.png) right+10px center no-repeat;
  display: block;
  color: #444444;
}

/* 161006追記 */
body.archive div#sidemenu ul li.current-cat a,
div#sidemenu ul li a:hover {
  background: url(images/renewal/bg_toplist1_on.png) right+10px center no-repeat #4198b3;
  color: #ffffff;
  border-radius: 3px;
}

div#sidemenu ul li ul li {
  border: none;
}

div#sidemenu ul li ul li a {
  background: url(images/renewal/side_list_s.png) 0.5em center no-repeat;
  padding: 0.25em 0 0.25em 1.5em;
}

div#sidemenu ul li ul li a:hover {
  text-decoration: underline;
  background: url(images/renewal/side_list_s.png) 0.5em center no-repeat;
  color: #444444;
}

.page-item-1653 ul {
  display: none;
}

div#sidebox ul li.current_page_item a {
  background: url(images/renewal/bg_toplist1_on.png) right+10px center no-repeat #4198b3;
  color: #ffffff;
  border-radius: 3px;
  /* padding: 0.5em; */
}

div#sidebox ul li.current_page_item ul.children li a {
  color: #444444 !important;
  background: url(images/renewal/side_list_s.png) 0.5em center no-repeat;
  padding: 0.25em 0 0.25em 1.5em;
}

div#sidebox ul li ul.children li.current_page_item a {
  text-decoration: underline !important;
  color: #80C5D5 !important;
  background: url(images/renewal/side_list_s.png) 0.5em center no-repeat;
  /* padding: 0 0 0 1.5em; */
  font-weight: bold;
}

/*サイドバー非表示項目*/
div#sidemenu ul.children li.page-item-2435,
div#sidemenu ul.children li.page-item-2612,
div#sidemenu ul.children li.page-item-2249,
div#sidemenu ul.children li.page-item-3633,
div#sidemenu ul.children li.page-item-3638,
div#sidemenu ul.children li.page-item-2891,
div#sidemenu ul.children li.page-item-4918,
div#sidemenu ul.children li.page-item-4922,
div#sidemenu ul.children li.page-item-4914,
div#sidemenu ul.children li.page-item-4926 {
  display: none;
}

div.forsp {
  display: none;
}

/* =トップページ
-------------------------------------------------------------- */
div#main_content {
  max-width: 1000px;
  margin: 0px auto 0 auto;
}

div#main_content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

div#main_content ul li {
  /* float: left; */
  display: block;
}

/*div#main_content ul li a{
	display: block;
	height: 193px;
	text-indent: -10000px;
	background: url(images/renewal/main_content.png) ;
	}
div#main_content ul li a:hover{background-image: url(images/renewal/main_content_on.png);}*/
div#main_content ul li.epilepsy a {
  /* width: 25%; */
  background-position: 0 0;
  background-repeat: no-repeat;
}

div#main_content ul li.disease a {
  width: 251px;
  background-position: -250px 0;
  background-repeat: no-repeat;
}

div#main_content ul li.dementia a {
  width: 251px;
  background-position: -500px 0;
  background-repeat: no-repeat;
}

div#main_content ul li.psychosomatic a {
  width: 250px;
  background-position: -750px 0;
  background-repeat: no-repeat;
}

div#main_content2 {
  max-width: 1000px;
  margin: 2em auto 1em auto;
  background-repeat: no-repeat;
}

/*2015/7/14追加*/
#menu>li {
  position: relative;
  float: left;
  margin: 0;
  /* padding: 5px; */
  /*width: 200px;
  height: 20px;*/
  /* border: solid 1px #ccc; */
  /* font-weight: bold; */
  width: 25%;
}

#menu li a {
  display: block;
  width: 100%;
  height: 165px;
  background: url(images/renewal/main_content_btn.png);
  text-indent: -10000px;
}

#menu li:hover {
  /*color: #fff;
  background: #333;*/
}

#menu li ul.first_ul {
  left: 0px;
}

#menu li ul {
  display: none;
  position: absolute;
  top: 158px;
  left: 0;
  /*padding: 5px;*/
  /*width: 250px;*/
  background: #ffffff;
  z-index: 1000;
  /*border: solid 1px #ccc;*/
}

#menu li ul li {
  margin: 0;
  padding: 0;
  border: none;
}

#menu li ul li a {
  display: inline-block;
  height: 147px;
  padding: 0;
  background-color: #ffffff;
  /*width: 250px;*/
  /*text-align: center;
	text-decoration: none;
	color: #333333;
	text-indent: 0;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	font-size: 11px;
	border: 2px solid #E6E6E6;*/
  background-size: contain;
}

#menu li.epilepsy ul li a {
  background-image: url(images/renewal/main_content_btn01.png);
  background-position: 0 0;
  background-repeat: no-repeat;
}

#menu li.epilepsy ul li a:hover {
  background-image: url(images/renewal/main_content_btn01_on.png);
  background-position: 0 0;
  background-repeat: no-repeat;
}

#menu li.disease ul li a {
  width: 250px;
  background-image: url(images/renewal/main_content_btn02.png);
  background-position: 0 0;
  background-repeat: no-repeat;
}

#menu li.disease ul li a:hover {
  background-image: url(images/renewal/main_content_btn02_on.png);
  background-position: 0 0;
  background-repeat: no-repeat;
}

#menu li.dementia ul li a {
  width: 250px;
  background-image: url(images/renewal/main_content_btn03.png);
  background-position: 0 0;
  background-repeat: no-repeat;
}

#menu li.dementia ul li a:hover {
  background-image: url(images/renewal/main_content_btn03_on.png);
  background-position: 0 0;
  background-repeat: no-repeat;
}

#menu li.psychosomatic ul li a {
  width: 250px;
  background-image: url(images/renewal/main_content_btn04.png);
  background-position: 0 0;
  background-repeat: no-repeat;
}

#menu li.psychosomatic ul li a:hover {
  background-image: url(images/renewal/main_content_btn04_on.png);
  background-position: 0 0;
  background-repeat: no-repeat;
}

#menu li ul li a:hover {
  /*background: #999;
  color: #fff;*/
}

div#scroll {
  width: 980px;
  height: 18px;
  padding: 10px;
  margin: -90px auto 15px auto;
  z-index: 10;
  border-radius: 6px;
  /* CSS3草案 */
  -webkit-border-radius: 6px;
  /* Safari,Google Chrome用 */
  -moz-border-radius: 6px;
  /* Firefox用 */
  border: 3px solid #E6E6E6;
  background: #ffffff;
}

div#scroll2 {
  max-width: 1000px;
  padding: 1em;
  margin: 0 auto 1em auto;
  z-index: 10;
  border-radius: 6px;
  /* CSS3草案 */
  -webkit-border-radius: 6px;
  /* Safari,Google Chrome用 */
  -moz-border-radius: 6px;
  /* Firefox用 */
  border: 3px solid #E6E6E6;
  background: #ffffff;
}

div#outpatient,
div#hospital,
div#medical,
div#top_leftbox,
div#top_middlebox,
div#top_rightbox {
  float: left;
}

div#outpatient,
div#top_middlebox {
  width: 48%;
  margin: 0 1%;
  /* float: left; */
}

div#top_middlebox ul {
  /* margin-left: -20px !important; */
}

div#top_middlebox ul li {
  width: 46%;
  float: left;
  margin: 2%;
  border-bottom: 1px dashed #C5C5C5;
  /* padding-bottom: 0.5em; */
}

div#top_middlebox ul li div.title a {
  text-decoration: underline;
}

div#top_middlebox ul li div.title a:hover {
  text-decoration: none;
}

div#top_middlebox ul li div.title img {
  margin-right: 10px;
}

div#top_middlebox ul li a {
  color: #444444;
}

div#top_middlebox div.date_news a.cate {
  display: block;
  width: 100px;
  text-align: center;
  font-size: 10px;
  color: #ffffff;
  background: #80C5D5;
  margin: 0 3px 3px 0;
  border-radius: 3px;
  float: left;
  padding: 0;
  padding: 0.4em;
}

div.more {
  margin-top: 1em;
}

div.more a {
  display: block;
  border-radius: 3px;
  background: #80c5d5;
  color: #ffffff;
  float: right;
  padding: 1em 3em 1em 1em;
  position: relative;
}

div.more a::before {
  font-family: Font Awesome\ 5 Free, FontAwesome;
  font-weight: bold;
  content: '\f138';
  margin-right: 0.5em;
  position: absolute;
  right: 10px;
  font-size: 0.9em;
}

div.more2 {
  margin-top: 20px;
  text-align: center;
}

div.more2 a {
  display: block;
  border-radius: 3px;
  background: #80c5d5;
  color: #ffffff;
  float: left;
  padding: 1em 3em;
  margin: 5px;
  position: relative;
}

div.more2 a::after {
  font-family: Font Awesome\ 5 Free, FontAwesome;
  font-weight: bold;
  content: '\f138';
  margin-right: 0.5em;
  position: absolute;
  right: 10px;
}

div#top_middlebox div.date_news {
  margin-bottom: 0.5em;
  /* display: block; */
}

div#top_middlebox div.title img {
  border-radius: 3px;
}

div#outpatient div.btn_outpatient {
  width: 235px;
  float: left;
}

div#outpatient div.list_main_content2 {
  width: 235px;
  float: right;
}

div#outpatient div.list_main_content2 ul li,
div.list_main_content2 ul li {
  border-bottom: 1px dashed #C5C5C5;
  padding: 2px 0;
}

div#outpatient div.list_main_content2 ul li a,
div.list_main_content2 ul li a {
  padding: 3px 0 3px 10px;
  background: url(images/renewal/bg_toplist1.png) 210px center no-repeat;
  display: block;
  color: #444444;
}

div#outpatient div.list_main_content2 ul li a:hover,
div.list_main_content2 ul li a:hover {
  background: url(images/renewal/bg_toplist1_on.png) 210px center no-repeat #4198b3;
  color: #ffffff;
  border-radius: 3px;
}

div#hospital {
  width: 235px;
}

div#hospital,
div#medical,
div#top_rightbox {
  width: 23%;
  margin: 0 1%;
}

div#top_leftbox {
  margin: 0 1%;
  /* margin-right: 1em; */
  width: 23%;
}

div#main_content2 h2,
div#top_middlebox h2 {
  padding: 0.5em 1em;
  margin-bottom: 0.5em;
  border-radius: 3px;
  background: #C5E4EA;
}

div.news_medical {
  margin-bottom: 1em;
}

div.date_news_medical span.category a.cate {
  display: block;
  width: 120px;
  text-align: center;
  font-size: 10px;
  color: #ffffff !important;
  text-decoration: none !important;
  background: #80C5B0;
  margin: 0 0 3px 0;
  border-radius: 3px;
  padding: 0.4em;
}

div#top_rightbox div.news_medical h2 {
  padding: 13px 20px;
  border-radius: 3px 3px 0 0;
  background: #C6E4DB;
  margin-bottom: 0;
}

div#top_rightbox div.news_medical div.news_list {
  border-radius: 0 0 3px 3px;
  background: #C6E4DB;
  padding: 0 5px 5px 5px;
}

div#top_rightbox div.news_medical div.news_list ul {
  list-style: none;
  margin: 0;
  background: #ffffff;
  border-radius: 3px;
  padding: 20px 10px;
}

div#top_rightbox div.news_medical div.news_list ul li,
body.search-results div#content2 div.entry-list,
/*body.post-type-archive-topics div#content div.hentry,*/
body.archive div#content div.entry-list,
body.page-id-134 div#content div.entry-list,
body.page-id-42 div#content div.entry-list {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #C5C5C5;
}

div#top_rightbox div.news_medical div.news_list div.entry-list a,
body.search-results div#content2 div.entry-list a,
body.post-type-archive-topics div#content ul li a,
body.page-id-134 div#content div.entry-list a,
body.page-id-42 div#content div.entry-list a {
  text-decoration: underline;
  color: #333333;
}

div#top_rightbox div.news_medical div.news_list ul li.medical_more {
  border: none;
  margin: 0;
  padding: 0;
}

div#top_rightbox div.news_medical div.news_list ul li.medical_more a {
  display: block;
  border-radius: 3px;
  background: url(images/renewal/bg_medhical_more.png) 90% center #80C5B0 no-repeat;
  color: #ffffff;
  padding: 10px 60px 10px 10px;
}

div.banner_side {
  padding: 0.5em;
  /* width: 215px; */
  background: #F2F2F2;
  margin: 1em 0;
}

div#main_content2 ul,
div#top_leftbox ul,
div#top_middlebox ul,
div#top_rihtbox ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

div#top_middlebox ul#middle_top_btn {
  margin: 1em 0;
}

div#top_middlebox ul#middle_top_btn li {
  padding: 0.1em;
}

div#top_middlebox ul#middle_top_btn li img {
  width: 100%;
}

div#top_leftbox div.access_side {
  margin-bottom: 1em;
}

div#top_leftbox div.access_side h3 {
  margin: 0;
}

div#top_leftbox div.access_side h3 a {
  display: block;
  padding: 13px 10px 5px 10px;
  background: url(images/renewal/bg_access.png) #80C5D5 210px center no-repeat;
}

.page-id-238 li.brlink {
  text-indent: -1.5em;
  _text-indent: -0.5em;
}

div.linkcat ul {
  list-style: none;
  margin: 0 0 0 10px;
  overflow: hidden;
}

div#top_leftbox div.access_side ul {
  border: 3px solid #80C5D5;
  padding: 0.5em;
}

div#top_leftbox div.access_side ul li {
  margin-bottom: 5px;
}

div#top_leftbox div.access_side ul li a {
  padding: 10px 10px 5px 10px;
  background: #80C5D5;
  display: block;
  border-radius: 3px;
  text-align: center;
}

div.bnr_materials,
div.recruit,
div.smoking {
  margin-bottom: 0.5em;
}

div.text_com {
  margin: 0.5em 0 1.5em 0;
  /* display: block; */
}

body.search-results div#content2 div.nav-previous,
body.search-results div#content2 div.nav-next {
  display: none;
}

div.wp-pagenavi {
  display: block;
}

.wp-pagenavi a, .wp-pagenavi span {
  text-decoration: none;
  border: 1px solid #BFBFBF;
  padding: 0.5em;
  margin: 0.25em;
  display: inline-block;
}

/*20150617 追加トップページボタン*/
div.top_link {
  width: 500px;
  height: 100px;
  margin: 0 auto;
  /* position: relative; */
  position: absolute;
  bottom: 12px;
  right: 200px;
}

div.top_link a {
  display: block;
  /*width: 90px;
  height: 90px;
  color: #fff;
  position: absolute;
  top: 250px;
  right: 250px;
  z-index: 250;
  _display: none;*/
}

div.top_link a:hover {
  filter: alpha(opacity=90);
  -moz-opacity: 0.9;
  opacity: 0.9;
}

/* =インデックスページ
-------------------------------------------------------------- */
table.index,
table.index tr td {
  border: none !important;
}

ul.index {
  list-style: none;
  margin: 0;
  padding: 0;
  /* margin-left: -30px; */
  width: 100%;
}

ul.index li {
  float: left;
  width: 50%;
  padding: 0.5em;
  /* display: block; */
  /* margin-bottom: 30px; */
}

.btn_index {
  display: table-cell;
  /*font-size: 16px;*/
}

.btn_index a {
  width: 100%;
  display: block;
  padding: 5px 30px 5px 5px;
  border-radius: 3px;
  border: 2px solid #999999;
  color: #444444;
  background: url(images/renewal/bg_index.png) right+10px center no-repeat;
  display: flex;
  align-items: center;
  align-content: center;
}

.btn_index a:hover {
  border: 2px solid #80C6D6;
}

.btn_index a span.index_image {
  display: block;
  width: 80px;
  height: 80px;
  float: left;
}

.btn_index a span.index_image img {
  width: 100%;
}

.btn_index span.no_br {
  /* padding-top: 33px; */
  /* display: block; */
  /* width: 214px; */
  /* float: right; */
  padding: 1em;
}

.btn_index span.on_br {
  display: block;
  /* width: 214px; */
  /* float: right; */
  /* margin-top: 15px; */
  padding: 1em;
}

/* =交通アクセス
-------------------------------------------------------------- */
#pagelink {
  list-style: none;
  overflow: hidden;
  margin-left: 0;
}

#pagelink li {
  float: left;
  width: 230px;
}

#pagelink li.taxi {
  margin: 0 12px 0 13px;
}

#pagelink li a {
  display: block;
  height: 45px;
  color: #fff;
  border-radius: 3px;
  text-indent: -10000px;
}

#pagelink li.bus a {
  background: url(images/renewal/access_bus.png) 50% 50% no-repeat #80C5D5;
}

#pagelink li.taxi a {
  background: url(images/renewal/access_taxi.png) 50% 50% no-repeat #80C5D5;
}

#pagelink li.car a {
  background: url(images/renewal/access_car.png) 50% 50% no-repeat #80C5D5;
}

ul#more {
  list-style: none;
  margin: 0 0 2em 0;
}

ul#more li {
  float: left;
  margin: 0.5em;
  /* margin-bottom: 20px; */
}

ul#more li a {
  display: block;
  /* width: 180px; */
  border-radius: 3px;
  background: #80c5d5;
  color: #ffffff;
  float: right;
  padding: 1em 3em 1em 1em;
  position: relative;
}

ul#more li a::after {
  font-family: Font Awesome\ 5 Free, FontAwesome;
  font-weight: bold;
  content: '\f138';
  margin-right: 0.5em;
  position: absolute;
  right: 10px;
  top: 40%;
  font-size: 0.9em;
}

ul#more li a:hover {
  filter: alpha(opacity=80);
  -moz-opacity: 0.8;
  opacity: 0.8;
}

/* =お問い合わせ
-------------------------------------------------------------- */
#content .wpcf7-form table p {
  margin-bottom: 10px;
}

#content table.LineTable input.text_short,
#content table.LineTable select.text_short {
  width: 50px;
}

#content table.LineTable input.text_short,
#content table.LineTable select.text_short {
  width: 4.5em;
  vertical-align: middle;
  height: 30px;
  font-size: 1em;
  padding: 0;
  margin: 10px 0;
  box-sizing: border-box;
}

#content table.LineTable input.text_medium,
#content table.LineTable select.text_medium {
  width: 140px;
}

#content table.LineTable th.need {
  background: #F7F4F4 url(images/icon_neccesary.gif) right+10px center no-repeat;
}

#content table.LineTable th {
  width: 170px;
  white-space: nowrap;
  text-align: left;
  line-height: 1.6;
  vertical-align: middle;
  padding: 10px 10px;
  color: #000 !important;
}

#content table.LineTable td {
  padding: 10px 40px 10px 15px;
}

#content table.LineTable textarea {
  width: 400px;
  height: 6em;
  margin: 0 5px 8px 0;
}

div.wpcf7 p.btn_submit {
  text-align: center;
}

div.wpcf7 p.btn_submit input[type="submit"] {
  border: none;
  border-radius: 3px;
  background: #80C5D5;
  padding: 10px 40px;
  ;
  color: #ffffff !important;
  font-weight: bold;
}

input[type="submit"], input[type="reset"], input[type="button"], button {
  cursor: pointer;
}

/* =病院のご案内
-------------------------------------------------------------- */
#content .entry-content .bg_gray {
  background: #F7F4F4;
  /*border: 1px solid #dadada;*/
  padding: 20px;
  border-radius: 3px;
}

body.single-event a[href$=".pdf"] {
  display: inline-block;
  padding-right: 7px;
  background: url(images/icon_pdf.gif) no-repeat right 30%;
}

/* =募集要項
-------------------------------------------------------------- */
h2.h2_recruit {
  padding: 10px 20px 5px 20px !important;
  margin: 1px 0 10px 0 !important;
  border-radius: 3px !important;
  background: #CF9067 !important;
  color: #444444 !important;
  font-size: 1.2em !important;
}

ul.ul_recruit {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.ul_recruit li {
  border-bottom: 1px dashed #C5C5C5;
  padding: 10px 0;
  /* float: none; */
}

ul.ul_recruit li span.category,
body.page-id-134 div.entry-list a.cate {
  display: block;
  width: 120px;
  text-align: center;
  font-size: 10px;
  color: #ffffff !important;
  text-decoration: none !important;
  background: #80C5D5;
  margin: 0 10px;
  border-radius: 3px;
  float: left;
  padding: 3px;
}

ul.ul_recruit li span.date {
  float: left;
}

ul.ul_recruit li span.category a {
  color: #ffffff;
}

body.page-id-134 div.entry-list span.date {
  float: left;
}

/* =診療科・部門
-------------------------------------------------------------- */
.m_box1, .m_box2, .m_box3 {
  width: 200px;
  float: left;
  margin: 0 12px;
}

/* =404
-------------------------------------------------------------- */
div.error404 h1 {
  line-height: 50px;
  margin-bottom: 20px;
}

div.error404 p {
  line-height: 22px;
}

/* =mainimage
-------------------------------------------------------------- */
div#mainimage {
  height: 353px;
  /* max-width: 100%; */
  background: url(images/renewal/main_image.png) center 0 no-repeat;
  position: relative;
}

div#mainimage_otherlang {
  height: 352px;
  background: url(images/otherlang/main_image_otherlang.png) center 0 no-repeat;
  border-bottom: 1px solid #ccc;
  position: relative;
}

/* home_englishArea */
/* home_chineseArea */
body.lang-english #header,
body.lang-english #access,
body.lang-english .entry-title,
body.lang-english .entry-content,
body.lang-english #top_pankuz,
body.lang-english p {
  font-family: 'Libre Baskerville', serif;
  font-size: 99%;
}

body.lang-chinese #header,
body.lang-chinese #access,
body.lang-chinese .entry-title,
body.lang-chinese .entry-content,
body.lang-chinese #top_pankuz,
body.lang-chinese p {
  font-family: serif;
  /*    font-family: 'cwTeXMing', serif;*/
  font-size: 104%;
}

.font_c_big {
  /*    font-family: 'cwTeXMing', serif;*/
  font-family: serif;
  font-weight: 700;
  line-height: 2em;
  font-size: 2em;
  margin-bottom: 20px;
}

.font_c {
  /*    font-family: 'cwTeXMing', serif;*/
  font-family: serif;
  line-height: 1.7em;
  font-size: 1.2em;
}

.font_c_bold {
  /*    font-family: 'cwTeXMing', serif;*/
  font-family: serif;
  font-weight: bold;
}

.font_c_small {
  /*    font-family: 'cwTeXMing', serif;*/
  font-family: serif;
  font-size: 0.8em;
}

.font_c_copyright {
  /*    font-family: 'cwTeXMing', serif;*/
  font-family: serif;
  font-size: 0.7em;
}

.font_e_big {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  line-height: 2em;
  font-size: 2em;
  margin-bottom: 0.8em;
}

.font_e {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  line-height: 1.7em;
  font-size: 1em;
}

.font_e_bold {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
}

.font_e_small {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  font-size: 0.6em;
}

.font_e_copyright {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  font-size: 0.6em;
}

#home_englishArea,
#home_chineseArea {
  clear: both;
  overflow: hidden;
  padding: 0;
  margin: 1.5em auto 0 auto;
  width: 1000px;
}

#content .entry-content #home_englishArea h2,
#content .entry-content #home_chineseArea h2 {
  padding: 0;
  background-color: transparent;
  font-size: 20px;
}

#home_english_menuArea ul,
#home_chinese_menuArea ul {
  font-size: 0;
  width: 100%;
  margin: 5em auto 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#home_english_menuArea ul li,
#home_chinese_menuArea ul li {
  list-style-type: none;
  margin: 1% !important;
  text-align: center;
}

#home_english_menuArea ul li a img, #home_chinese_menuArea ul li a img {
  width: 100%;
}

#home_english_menuArea ul li.btn01, #home_chinese_menuArea ul li.btn01,
#home_english_menuArea ul li.btn02, #home_chinese_menuArea ul li.btn02,
#home_english_menuArea ul li.btn03, #home_chinese_menuArea ul li.btn03 {
  width: 31%;
  padding: 1em;
}

#home_english_menuArea ul li.btn04, #home_chinese_menuArea ul li.btn04,
#home_english_menuArea ul li.btn05, #home_chinese_menuArea ul li.btn05 {
  width: 48%;
}

#home_english_menuArea ul li a:hover,
#home_chinese_menuArea ul li a:hover {
  opacity: 0.7;
}

/* ケトン食ブログ追加
-------------------------------------------------------------- */
body.post-type-archive-ketone #content .ketone-title {
  /* font-size: 25px; */
  color: #7EC5D7;
  padding-right: 10px;
}

.ketoneBlock h1 {
  font-size: 25px;
  color: #7EC5D7;
  padding-right: 10px;
  line-height: 1.5em;
  margin: 0 0 20px 0;
  padding: 40px 0 30px 0;
  border-top: 1px solid #CCCCCC;
  border-bottom: 1px solid #CCCCCC;
}

.ketoneBlock h1 a {
  color: #7EC5D7;
}

.ketoneBlock h2 {
  padding: 13px 20px 8px 20px;
  margin-bottom: 20px;
  border-radius: 3px;
  background: #C5E4EA;
  color: #444444;
  font-size: 18px;
}

.ketoneBlock h2 a {
  color: #000;
}

.ketoneBlock {
  margin: 0 0 30px 0;
}

.ketoneBlock .entry-content {
  margin: 0 0 30px 0;
}

#content .ketoneBlock .entry-meta {
  clear: both;
  padding: 13px 13px 13px 40px;
  margin: 0 0 60px 0;
  background: url(images/blog_date.png) no-repeat 14px 50% #f9f9f9;
  position: relative;
  font-size: 80%;
  text-align: left;
  min-height: 2.1em;
  /* display: block; */
}

.ketoneBlock .entry-meta p {
  position: absolute;
  top: 13px;
  right: 18px;
}

.ketoneBlock .entry-meta span.cate {
  padding: 0 20px 0 0;
}

.ketoneBlock .entry-meta span.cate:last-child {
  padding: 0;
}

.ketoneBlock .thumbnail {
  margin: 0 0 20px 30px;
  float: right;
}

/* 病院イベントブログ追加
-------------------------------------------------------------- */
#content #eventPage h1 {
  font-size: 1.5em;
  color: #7EC5D7;
  padding-right: 10px;
  line-height: 1.5em;
  margin: 0 0 20px 0;
  padding: 40px 0 30px 0;
  border-top: 1px solid #CCCCCC;
  border-bottom: 1px solid #CCCCCC;
}

#content #eventPage h1 a {
  color: #7EC5D7;
}

#content #eventPage h2 {
  padding: 13px 20px 8px 20px;
  margin-bottom: 20px;
  border-radius: 3px;
  background: #C5E4EA;
  color: #444444;
}

#content #eventPage h2 a {
  color: #000;
}

.eventBlock {
  margin: 0 0 30px 0;
}

.eventBlock ul {
  padding: 0;
  margin: 0;
}

.eventBlock ul li {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.eventBlock .usepdf {
  background: url(images/icon_pdf.png) no-repeat 0 0;
}

ul#middle_top_btn li {
  border-bottom: 0 !important;
}

.bnr_page_keton {
  text-align: center;
  margin-top: 20px;
}

.questionnaire {
  display: block;
  background: #5A229A;
  text-align: center;
  padding: 20px;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  width: 80%;
  margin: 0 auto;
}

.hospital_shop_left {
  /* width: 300px; */
  float: left;
}

.hospital_shop_right {
  width: 390px;
  max-width: 100%;
  float: right;
}

.hospital_shop {
  margin-bottom: 30px;
}

.banner_side img,
.jcqhc img {
  width: 100%;
}

/*20180516*/
.progressbar {
  position: relative;
  z-index: 0;
  display: flex;
  overflow: auto;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.progressbar li {
  position: relative;
  width: 100%;
  color: #aaa;
  list-style-type: none;
  text-align: center;
  text-transform: uppercase;
  font-size: 1em;
}

.progressbar li:before {
  display: block;
  margin: 0 auto 10px auto;
  width: 2.5em;
  height: 2.5em;
  border-radius: 100%;
  background-color: #eee;
  content: counter(step);
  counter-increment: step;
  text-align: center;
  line-height: 2.5;
}

.progressbar li:after {
  position: absolute;
  top: 15px;
  left: -50%;
  z-index: -1;
  width: 100%;
  height: 2px;
  background-color: #eee;
  content: '';
}

.progressbar li:first-child:after {
  content: none;
}

.progressbar li.progressbar_active:before {
  color: #fff;
}

.progressbar li.progressbar_active {
  color: #222;
}

.progressbar li.progressbar_active:before,
.progressbar li.progressbar_active+li:after {
  background-color: #FF6E31;
}

#content table.firstvisit_form_table input,
#content table.firstvisit_form_table select,
#content table.firstvisit_form_table textarea {
  padding: 0.25em;
  border-radius: 3px;
  margin-bottom: 5px;
  line-height: 1.5;
}

#content table.firstvisit_form_table td {
  padding: 1em;
}

#content table.firstvisit_form_table tr td,
#content table.firstvisit_form_table tr th,
#content table.firstvisit_form_table th.need {
  border: none;
}

#content table.firstvisit_form_table {
  border: 1px solid #eee;
}

#content table.firstvisit_form_table tr th {
  width: 25%;
}

#content table.firstvisit_form_table th {
  background: initial;
}

#content table.firstvisit_form_table th.need {
  background: url(images/icon_neccesary.gif) 95% center no-repeat;
}

#content .firstvisit_form_table tr:nth-child(even) {
  background-color: #f5f5f5;
}

#content table.firstvisit_form_table input.btn {
  border: 5px solid #fff;
}

.wpcf7c-conf {
  background-color: #ddd !important;
  border: none !important;
  pointer-events: none;
  box-shadow: none;
  font-weight: bold;
}

#content input.btn_back,
#content input.btn_next,
#content input.btn_send {
  border: 5px solid #fff !important;
}

.ex {
  display: block;
}

.pc_none {
  display: none;
}

.cooperation_box {
  padding: 1em;
  background: #f4feff;
  border: 2px solid #86c8d7;
  margin-bottom: 2em;
}

.cooperation_box strong {
  font-size: 2em;
}

#content .cooperation_box h1 {
  font-weight: bold;
  text-align: center;
  margin-top: 0.5em;
}

#content .cooperation_box h2 {
  font-size: 1.5em;
  color: #fff;
  padding: 0.5em;
  font-weight: bold;
  background: #54b3ca;
  border: 3px solid #3c98ae;
  /* box-shadow: 0px 0px 0px #54b3ca; */
}

#content .cooperation_box h4 {
  color: #3c98ae;
  border-bottom: 1px solid;
}

/*　----------　PC用（769px以上）----------　*/
@media(min-width:769px) {}

/*　----------　PC用（1200pxまで）----------　*/
@media(max-width: 1200px) {}

/*　----------　タブレット用（768px以下）　----------　*/
@media(max-width: 768px) {}

/*　----------　スマホ用（640px以下）　----------　*/
@media(max-width: 640px) {
  .sp_none {
    display: none;
  }

  .pc_none {
    display: block;
  }

  #container,
  #sidebox {
    float: inherit;
    width: 100%;
    max-width: 100%;
    display: block;
  }

  h1.entry-title, body.single-recruit h1.entry-title, body.page-id-42 h1.entry-title, body.page-id-134 h1.entry-title, body.archive h1.entry-title, body.search-results h1.entry-title, body.single-ethicsmorals h1.entry-title, body.post-type-archive-topics h1.entry-title, body.single-topics h1.entry-title, body.single-medical h1.entry-title {
    padding: 1em 0 !important;
    border: none;
    /* margin: 0!important; */
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 0.5em 0 !important;
  }

  #entry-title {
    height: inherit;
    padding: 0;
  }

  body.post-type-archive-event #entry-title div, body.tax-eventlist #entry-title div, body.post-type-archive-event #entry-title div, body.single-event #entry-title div,
  #entry-title div {
    height: initial;
    padding: 1.5em 1em !important;
    font-size: 1.3rem;
    margin: 0;
  }

  #content #eventPage h1 {
    border: none;
    padding: 0 !important;
  }

  img.size-auto, img.size-full, img.size-large, img.size-medium, .attachment img {
    display: block;
    margin-bottom: 1em;
    width: 100%;
    height: auto !important;
  }

  img[title="PDF"], img[title="Word"], img[alt="new"] {
    display: inline-block;
    margin: 0;
    width: auto;
  }

  .menu_sp_box {}

  .menu_sp {}

  .sp_footer ul, ul.main_sub_english, ul.main_sub_chinese {
    margin: 0;
    list-style: none;
  }

  .sp_footer ul li a, ul.main_sub_english li a, ul.main_sub_chinese li a {
    display: block;
    padding: 1em;
    font-size: 1rem;
    background: #99D2DD;
    color: #fff;
    border-bottom: 1px solid;
  }

  .sp_footer ul li a::before, ul.main_sub_english li a::before, ul.main_sub_chinese li a::before {
    font-family: Font Awesome\ 5 Free, FontAwesome;
    font-weight: bold;
    content: '\f105';
    margin-right: 0.5em;
  }

  .sp_footer ul li a {}

  ul#menu-sp_footer {
    list-style: none;
    margin: 0;
  }

  ul#menu-sp_footer li {}

  ul#menu-sp_footer li a,
  .sp_top_menucontent ul li, sp_footer ul li a {
    display: block;
    padding: 1em;
    font-size: 1rem;
    background: #99D2DD;
    color: #fff;
    border-bottom: 1px solid;
  }

  ul#menu-sp_footer li a::before {
    font-family: Font Awesome\ 5 Free, FontAwesome;
    font-weight: bold;
    content: '\f105';
    margin-right: 0.5em;
  }

  ul.menu_sp_lang {
    list-style: none;
    overflow: auto;
    margin: 1.5em 1em;
  }

  ul.menu_sp_lang li {
    float: left;
    width: 50%;
  }

  ul.menu_sp_lang li a {
    position: relative;
    background: #4198B3;
    padding: 1em;
    display: block;
    color: #fff;
    /* width: 50%; */
    text-align: center;
    margin: 0.5em;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
  }

  ul.menu_sp_lang li a::after {
    font-family: Font Awesome\ 5 Free, FontAwesome;
    font-weight: bold;
    content: '\f138';
    margin-right: 0.5em;
    position: absolute;
    right: 10px;
    font-size: 0.9em;
  }

  ul.index li {
    width: 100%;
  }

  /*スマホ用ナビ*/
  #spnavi .menu-header {
    position: absolute;
    z-index: 1000;
    top: 60px;
    left: 0;
    display: none;
    box-sizing: border-box;
    width: 100vw;
    padding: 0;
  }

  #spnavi {
    width: 100%;
    /* padding: 5px; */
  }

  #site-title {
    width: 80%;
    float: left;
  }

  #site-title img {
    padding: 5px;
    max-height: 52px;
  }

  #sp_navi_right {
    display: flex;
    flex-direction: row-reverse;
    margin-right: auto;
    /* position: relative; */
  }

  #spnavi #sp_access {
    margin: 0;
    display: none;
    position: absolute;
    z-index: 1000;
    top: 55px;
    left: 0;
    width: 100%;
  }

  #spnavi #sp_access ul {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    list-style: none;
    background: #fff;
  }

  #spnavi #sp_access ul li {
    border-top: 1px solid #ddd;
  }

  #spnavi #sp_access ul li:last-child {
    border-bottom: 1px solid #ddd;
  }

  #spnavi #sp_access ul li a {
    font-size: 1em;
    font-weight: bold;
    line-height: 1.5em;
    display: block;
    padding: 0.8em;
    text-decoration: none;
    color: #000;
    background: #FAFAFA;
  }

  #sp_access ul li a::before {
    font-family: Font Awesome\ 5 Free, FontAwesome;
    font-weight: bold;
    float: left;
    margin-right: 10px;
    content: '\f138';
    color: #81CDD9;
  }

  #sp_access ul li a[target="_blank"]::after {
    content: "\f08e";
  }

  #spnavi #sp_access ul.sub-menu li a {
    padding: 10px 10px 10px 20px;
  }

  #spnavi #sp_access ul.sub-menu li:last-child {
    border-bottom: none;
  }

  #spnavi #sp_access #sp_head_menu ul li a {
    padding: 0.6em;
    font-weight: normal;
  }

  #sp_head_menu ul li a::before {
    font-family: Font Awesome\ 5 Free, FontAwesome;
    font-weight: bold;
    float: left;
    margin-right: 10px;
    content: '\f105';
    color: #ccc;
  }

  /*スマホ　トグルメニュー、お問い合わせボタン*/
  #sp_btn_contact,
  .button-toggle {
    display: block;
    margin: 0 0 0 10px;
  }

  #sp_btn_contact a,
  .button-toggle a {
    font-size: 20px;
    display: block;
    /* width: 3em; */
    /* height: 3em; */
    padding: 5px;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: #80C5D5;
  }

  #sp_btn_contact span,
  .button-toggle span {
    font-size: 0.7rem;
    font-weight: bold;
    display: block;
    color: #fff;
  }

  div#foot_copy {
    padding: 3em 1em 1em 1em;
  }

  div#foot_copy,
  div#foot_copy div.copy div.copy_right {
    text-align: center;
  }

  div#foot_copy div.copy div.foot_add a.googlemap {
    display: block;
    width: 10em;
    margin: 5px auto;
  }

  div#foot_copy div.copy div.foot_add {
    float: inherit;
  }

  /*テーブルをPCと同じ表示にする場合、「table_scrollbox」クラスをつけたdivで囲む*/
  #content .table_scrollbox {
    overflow: scroll;
    margin-bottom: 1em;
  }

  #content .table_scrollbox table,
  #content .table_scrollbox table tbody,
  #content .table_scrollbox table tr,
  #content .table_scrollbox table tr th,
  #content .table_scrollbox table tr td {
    width: auto;
  }

  #content .table_scrollbox table {
    display: table;
  }

  #content .table_scrollbox table tbody {
    display: table-row-group;
  }

  #content .table_scrollbox table tr {
    display: table-row;
  }

  #content .table_scrollbox table th {
    display: table-cell;
  }

  #content .table_scrollbox table td {
    display: table-cell;
  }

  .table_scrollbox::-webkit-scrollbar {
    height: 5px;
  }

  .table_scrollbox::-webkit-scrollbar-track {
    border-radius: 5px;
    background: #eee;
  }

  .table_scrollbox::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #666;
  }

  /*お問い合わせフォーム*/
  #main table {
    padding-bottom: 0;
  }

  #main .entry-content .wpcf7 table,
  #main .entry-content .wpcf7 table tbody,
  #main .entry-content .wpcf7 table tbody tr,
  #main .entry-content .wpcf7 table tbody th {
    /* border: none; */
    display: block;
    width: 100%;
  }

  #main .entry-content .wpcf7 table tr th {
    display: block;
    text-align: left;
    vertical-align: middle;
    border: 0;
  }

  #main .entry-content .wpcf7 table tr td {
    display: block;
    padding: 10px;
    border: 0;
  }

  #content .wpcf7 table input,
  #main .entry-content .wpcf7 table textarea {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 0.5em;
  }

  #main .entry-content .wpcf7 table label {
    white-space: normal;
  }

  img.ajax-loader {
    display: inline;
    width: auto;
  }

  #content table tr:nth-child(even) {
    background: inherit;
  }

  #pagelink li {
    width: 100%;
    margin: 0.25em 0 !important;
  }

  div.img_buikding, div.text_building {
    width: inherit;
    float: inherit;
    margin-bottom: 1em;
  }

  table.index, table.index tr td {
    display: block;
  }

  table.t_number {
    width: 100% !important;
  }

  img.f_right,
  img.f_left {
    margin: 0 0 1em 0;
    width: 100%;
  }

  ul.akari li {
    margin-bottom: 0.5em;
  }

  .hentry {
    margin-bottom: 0.5em;
  }

  ul#more li, ul#more li a,
  div.more2 a {
    margin: 5px auto;
    float: none;
    width: 100%;
    /* max-width: 90%; */
  }

  div#top_rightbox div.news_medical div.news_list div.entry-list a, body.search-results div#content2 div.entry-list a, body.post-type-archive-topics div#content ul li a, body.page-id-134 div#content div.entry-list a, body.page-id-42 div#content div.entry-list a {
    display: block;
  }

  #content table td, #content table th {
    white-space: initial;
  }

  table.sp_table td, table.sp_table th {
    display: block;
    width: 100%;
  }

  ul.ul_recruit .title {
    display: inline-block;
    width: 100%;
    /* float: none; */
  }

  .entry-list a:last-child {
    display: inline-block !important;
    width: 100%;
    margin: 0.5em 0;
  }

  ul.sp_top_pickup {
    margin: 0.5em 0 1em 0 !important;
    list-style: none;
    overflow: auto;
  }

  ul.sp_top_pickup li {
    width: 25%;
    float: left;
  }

  ul.sp_top_pickup li a {
    padding: 0.5em;
    display: block;
    color: #777;
    text-align: center;
    font-weight: bold;
    line-height: 1.2;
    font-size: 0.8em;
  }

  ul.sp_top_pickup li a::before {
    content: "";
    display: block;
    background-image: url(./images/sp/sp_icon_01.svg);
    width: 12vw;
    height: 12vw;
    background-color: #aaa;
    padding: 1em;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0 auto 0.5em auto;
    border-radius: 200px;
  }

  ul.sp_top_pickup li.sp_top_pickup_01 a::before {
    background-image: url(./images/sp/sp_icon_01.svg);
    background-color: #97C2D4;
  }

  ul.sp_top_pickup li.sp_top_pickup_02 a::before {
    background-image: url(./images/sp/sp_icon_02.svg);
    background-color: #80C5B0;
  }

  ul.sp_top_pickup li.sp_top_pickup_03 a::before {
    background-image: url(./images/sp/sp_icon_03.svg);
    background-color: #E7D58A;
  }

  ul.sp_top_pickup li.sp_top_pickup_04 a::before {
    background-image: url(./images/sp/sp_icon_04.svg);
    background-color: #E2848E;
  }

  ul.sp_top_nav {
    margin: 0.5em 0 !important;
    list-style: none;
    overflow: auto;
  }

  ul.sp_top_nav li {
    width: 50%;
    /* display: block; */
    float: left;
  }

  ul.sp_top_nav li a {
    padding: 0.5em 2em 0.5em 4em;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    border: 0.5px solid #ddd;
    line-height: 1.2;
    font-weight: bold;
    color: #777;
    min-height: 4.5em;
    position: relative;
  }

  ul.sp_top_nav li a::before {
    content: "";
    display: block;
    height: 3em;
    width: 3em;
    position: absolute;
    left: 0.5em;
    background-repeat: no-repeat;
    background-size: contain;
  }

  ul.sp_top_nav li.bt01 a::before {
    background-image: url(./images/sp/sp_top_icon_01.svg);
  }

  ul.sp_top_nav li.bt02 a::before {
    background-image: url(./images/sp/sp_top_icon_02.svg);
  }

  ul.sp_top_nav li.bt03 a::before {
    background-image: url(./images/sp/sp_top_icon_03.svg);
  }

  ul.sp_top_nav li.bt04 a::before {
    background-image: url(./images/sp/sp_top_icon_04.svg);
  }

  ul.sp_top_nav li.bt05 a::before {
    background-image: url(./images/sp/sp_top_icon_05.svg);
  }

  ul.sp_top_nav li.bt06 a::before {
    background-image: url(./images/sp/sp_top_icon_06.svg);
  }

  ul.sp_top_nav li a span {
    font-size: 0.8em;
    font-weight: normal;
    display: inline-block;
    margin-left: -0.5em;
    width: 100%;
  }

  ul.sp_top_nav li a::after {
    font-family: Font Awesome\ 5 Free, FontAwesome;
    font-weight: bold;
    content: '\f138';
    margin-right: 0.5em;
    position: absolute;
    right: 5px;
    font-size: 0.9em;
    color: #81CDD9;
  }

  ul.sp_top_nav li.bt05 a::after {
    content: '\f35d';
  }

  .sp_menu_top ul {
    list-style: none;
    margin: 0;
  }

  .sp_menu_top ul li a::before {
    font-family: Font Awesome\ 5 Free, FontAwesome;
    font-weight: bold;
    content: '\f107';
    margin-left: 0.5em;
    right: 1em;
    position: absolute;
  }

  .sp_top_menucontent {}

  .sp_top_menucontent ul {
    margin: 0;
    list-style: none;
  }

  .sp_top_menucontent ul li {
    padding: 0;
    border: none;
    background: #80C5D5;
  }

  .sp_top_menucontent ul li a {
    display: block;
    padding: 1em;
    color: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    font-weight: bold;
  }

  .sp_top_menucontent ul li.menu-item-home {
    display: none;
    /* background: #ddd; */
  }

  .sp_top_menucontent ul li a::after {
    font-family: Font Awesome\ 5 Free, FontAwesome;
    font-weight: bold;
    content: '\f107';
    margin-right: 0.5em;
    position: absolute;
    right: 10px;
    font-size: 1.2em;
  }

  .sp_top_menucontent ul.sub-menu li a::after {
    content: '\f105';
    color: #ccc;
    font-size: 0.9em;
  }

  .sp_top_menucontent ul.sub-menu li a {
    display: block;
    background: #fff;
    padding: 0.5em 1em;
    font-weight: normal;
    color: #777;
  }

  .sp_top_menucontent ul.sub-menu {
    margin: 0;
    display: none;
  }

  .sp_top_bnr {
    text-align: center;
    padding: 1em;
  }

  .sp_top_bnr a {
    display: block;
    margin-bottom: 1em;
    line-height: 0;
  }

  .sp_top_news {
    margin-bottom: 2em;
  }

  .sp_top_news h2 {
    padding: 1em;
    font-size: 1.2em;
    background: #C5E3EA;
  }

  .sp_top_news ul {
    margin: 1em 1em 0 1em !important;
    list-style: none;
  }

  .sp_top_news ul li span {
    color: #777;
  }

  .sp_top_news ul li span.cate {
    color: #fff;
    font-size: 0.8em;
    background: #80C5D5;
    padding: 2px 0.5em;
    margin: 0 5px 0.5em 0;
    border-radius: 3px;
    display: inline-block;
  }

  .sp_top_news ul li a {
    padding: 0 0 0.5em 0;
    border-bottom: 1px dashed #ddd;
  }

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

  .sp_top_news a.sp_top_news_btn {
    background: #80C5D5;
    color: #fff;
    margin: 1em;
    display: block;
    text-align: center;
    padding: 0.5em;
    border-radius: 5px;
    position: relative;
  }

  .sp_top_news a.sp_top_news_btn::after {
    font-family: Font Awesome\ 5 Free, FontAwesome;
    font-weight: bold;
    content: '\f138';
    margin-right: 0.5em;
    position: absolute;
    right: 5px;
    font-size: 0.9em;
  }

  .sp_top_medical h2 {
    background: #C6E4DB;
  }

  .sp_top_medical ul li span.cate {
    background: #80C5B0;
  }

  .sp_top_medical a.sp_top_news_btn {
    background: #80C5B0;
  }

  .ketoneBlock .thumbnail {
    margin: 0;
    float: initial;
  }

  .ketoneBlock .entry-meta p {
    position: initial;
    margin-bottom: 0 !important;
  }

  /*英語・中国語*/
  #home_english_menuArea ul, #home_chinese_menuArea ul {
    display: block;
  }

  #home_english_menuArea ul li, #home_chinese_menuArea ul li,
  #home_english_menuArea ul li a img, #home_chinese_menuArea ul li a img {
    width: 98% !important;
    margin-bottom: 1rem;
  }

  .page-template-page-chinese table th,
  .page-template-page-chinese table td,
  .page-template-page-english table th,
  .page-template-page-english table td {
    display: block;
    width: 100%;
    text-align: left;
  }

  .page-template-page-chinese h1.entry-title,
  .page-template-page-english h1.entry-title {
    padding: 0 !important;
    font-size: 1.2em !important;
    margin: 0 !important;
  }

}

/* ============================
  IEハック
/* ============================ */
@media all and (-ms-high-contrast:none) {

  *::-ms-backdrop,
  #itemname {
    width: auto;
  }
}
