/*
 Theme Name:   Simplicity2-child
 Theme URI:    http://example.com/simplicity2/
 Description:  Simplicity2
 Author:       Yuya Yamada
 Author URI:   http://example.com
 Template:     simplicity2
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  simplicity2
*/

html body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

div#body {
  margin-top: 0;
}

#body #body-in,
#header #header-in,
#footer #footer-in {
  max-width: 1120px;
  width: 100% !important;
}

#breadcrumb {
  margin: 10px 0;
}

/* Header */
#header {
  box-shadow: inset 0 -1px 0 0 #ededed;
}

div#h-top {
  min-height: 0;
  overflow: visible;
}

#header div.alignleft {
  float: left;
  margin: 0;
}

#header div.alignright {
  float: right;
  margin: 0;
}

.miBlogHeaderAndFooterLogoWrap,
.miBlogHeaderMenuWrap {
  display: table-cell;
  height: 87px;
  vertical-align: middle;
}

.miBlogHeaderAndFooterLinkWrap {
  display: inline-block;
  padding: 0 15px;
}

.miBlogHeaderAndFooterLinkWrap:hover {
  background: #ef9250;
  transition: .2s;
}

.miBlogHeaderAndFooterLink {
  display: table-cell;
  height: 34px;
  vertical-align: middle;
  text-align: center;
}

.miBlogHeaderAndFooterLinkWrap:hover .miBlogHeaderAndFooterLink a {
  color: #fff;
  transition: .2s;
}

.miBlogHeaderAndFooterLink a {
  color: #4a4a4a;
  font-weight: bold;
  text-decoration: none;
}

.miBlogHeaderAndFooterLinkWrap:hover .miBlogHeaderAndFooterLink a img {
  transform: rotateX(180deg);
  transition: .2s;
}

.miBlogHeaderBlogCategoryWrap {
  background: #fbfbfb;
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, .2);
  display: none;
  position: absolute;
}

.miBlogHeaderAndFooterLinkWrap:hover .miBlogHeaderAndFooterLink + .miBlogHeaderBlogCategoryWrap {
  display: block;
  left: auto;
  margin-left: -15px;
  position: absolute;
  text-align: left;
  z-index: 1;
}

.miBlogHeaderBlogCategoryWrap:hover {
  display: block;
}

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

.miBlogHeaderBlogCategoryWrap li {
  display: block;
  height: 34px;
  padding: 0 20px;
}

.miBlogHeaderBlogCategoryWrap a {
  color: #4a4a4a;
  display: table-cell;
  height: 34px;
  text-decoration: none;
  vertical-align: middle;
}

.miBlogHeaderBlogCategoryWrap li:hover {
  background: #ef9250;
}

.miBlogHeaderBlogCategoryWrap li:hover > a {
  color: #fff;
}

/* Eyecatch */
.miBlogFirstPageEyeCatchWrap {
  display: block;
  background: #f3f3f3;
}

.miBlogFirstPageEyeCatch {
  background: #f3f3f3;
  height: 425px;
  margin: 0 auto 60px;
  padding: 20px 0;
  width: 1120px;
}

.miBlogFirstPageEyeCatchFirstEntryWrap {
  float: left;
  margin-right: 10px;
}

.miBlogFirstPageEyeCatchFirstEntry {
  position: relative;
}

.miBlogFirstPageEyeCatchFirstEntry,
.miBlogFirstPageEyeCatchFirstEntry img.entry-thumnail.wp-post-image {
  height: 425px;
  width: 687px;
}

.miBlogFirstPageEyeCatchFirstEntryTitle {
  font-size: 24px;
  line-height: 1.4;
}

.miBlogFirstPageEyeCatchOtherEntryWrap {
  float: left;
}

.miBlogFirstPageEyeCatchOtherEntry {
  position: relative;
}

.miBlogFirstPageEyeCatchOtherEntryTitle {
  font-size: 18px;
  line-height: 1.4;
}

.miBlogFirstPageEyeCatchOtherEntryWrap + .miBlogFirstPageEyeCatchOtherEntryWrap {
  margin-top: 11px;
}

.miBlogFirstPageEyeCatchOtherEntry,
.miBlogFirstPageEyeCatchOtherEntry img.entry-thumnail.wp-post-image {
  height: 207px;
  width: 423px;
}

.miBlogFirstPageEyeCatchFirstEntryTitleAndMetaWrap,
.miBlogFirstPageEyeCatchOtherEntryTitleAndMetaWrap {
  background-color: rgba(0, 0, 0, .6);
  bottom: 0;
  color: #fff;
  left: 0;
  padding: 10px 20px;
  position: absolute;
  width: calc(100% - 40px);
}

.miBlogFirstPageEyeCatchFirstEntryTitleAndMetaWrap {
  height: 90px;
}

.miBlogFirstPageEyeCatchOtherEntryTitleAndMetaWrap {
  height: 77px;
}

.miBlogFirstPageEyeCatchEntryMeta {
  bottom: 16px;
  font-size: 10px;
  position: absolute;
}

/* Left Sidebar */
.miBlogLeftSideBar {
  float: left;
  width: 197px;
}

.miBlogLeftSideBarTitle {
  color: #bb5913;
  font-weight: bold;
}

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

.miBlogLeftSideBar li {
  display: block;
  margin: 10px 0;
}

.miBlogLeftSideBar a {
  color: #4a4a4a;
  font-weight: bold;
  text-decoration: none;
}

.miBlogLeftSideBar .children,
.miBlogLeftSideBar .sub-menu {
  margin: 0 0 0 10px;
  padding: 0;
}

/* Main */
.miBlogMainWrap,
.miBlogMainWrapInArticlePage {
  float: left;
  margin: 0 60px;
}

.miBlogMainWrap {
  width: 494px;
}

.miBlogMainWrapInArticlePage {
  margin-left: 0;
  width: calc(100% - 369px);
}

#main.miBlogMain {
  border: none;
  padding: 0;
  width: 100%;
}

#main .miBlogEntryCard {
  height: 100%;
  margin:0 0 40px;
  width: 100%;
}

.entry h2 a {
  line-height: 1.4;
}

.entry p.post-meta {
  background: #fff;
  font-size: 10px;
  margin: 20px auto;
}

.miBlogEntryCardImage.entry-thumb {
  float: none;
  margin: 0 0 20px;
}

img.entry-thumnail.wp-post-image {
  height: auto;
  width: 494px;
}

div.entry-card-content {
  margin: 0;
}

.entry-snippet {
  height: 100%;
}

.entry-read {
  background: #fff;
  text-align: right;
}

.miBlogEntryReadLink.entry-read-link {
  color: #f57a23;
  text-decoration: none;
}

/* Right Sidebar */
.miBlogRightSideBarWrap {
  float: left;
  width: 309px;
}

  .miBlogRightSideBarWrap #sidebar h3 {
    color: #bb5913;
    font-size: 14px;
  }

.widget.toc_widget {
  background: #fbfbfb;
  border: 2px solid #ededed;
}

ul.toc_widget_list {
  margin: 0;
  padding: 30px 20px;
}

#sidebar .toc_widget_list li {
  margin: 0;
}

#sidebar .toc_widget_list a {
  display: block;
  margin-bottom: 15px;
}

.toc_widget_list a {
  font-weight: bold;
  text-decoration: none;
}

.toc_widget_list > li > a {
  color: #f57a23;
}

.toc_widget_list > li > ul a {
  color: #4a4a4a;
}

#sidebar ul.wpp-list {
  padding: 0;
}

#sidebar .wpp-list li {
  margin-bottom: 20px;
}

.wpp-list a {
  font-weight: bold;
}

/* List */
h1#archive-title {
  color: #bb5913;
  font-size: 14px;
  padding: 0;
}

div.category-description {
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 0;
  word-wrap: break-word;
}

a.miBlogSubCategoriesLinkWrap {
  align-items: center;
  background-color: #e9e9e9;
  color: #4a4a4a;
  display: flex;
  height: 34px;
  padding-left: 20px;
  text-decoration: none;
}

a.miBlogSubCategoriesLinkWrap:hover {
  background-color: #ef9250;
  color: #fff;
}

a.miBlogSubCategoriesLinkWrap + a.miBlogSubCategoriesLinkWrap {
  box-shadow: inset 0 2px 0 0 #fbfbfb;
}

a.miBlogSubCategoriesLinkWrap + #list {
  margin-top: 60px;
}

/* Article Page */
p.post-meta {
  background-color: #fff;
  color: #4a4a4a;
  font-size: 10px;
  margin: 20px 0 0;
  text-align: left;
}

.miBlogArticleFooterRelatedTitle {
  color: #bb5913;
  font-weight: bold;
  margin-bottom: 20px;
}

ul.related_post li {
  margin: 0 !important;
  width: calc((100% - 51px) / 4) !important;
}

ul.related_post li img {
  height: auto !important;
}

ul.related_post li:not(:nth-of-type(4n+1)) {
  margin-left: 10px !important;
}

.prev,
.next {
  border: none;
  box-shadow: inset 0 1px 0 0 #e9e9e9, inset 0 -1px 0 0 #e9e9e9;
}

div.next {
  text-align: right;
}

.miBlogNextPrevArticleLinkWrap {
  align-items: center;
  display: flex;
  height: 63px;
  vertical-align: middle;
}

.prev .miBlogNextPrevArticleLinkWrap {
  flex-direction: row;
}

.next .miBlogNextPrevArticleLinkWrap {
  flex-direction: row-reverse;
}

.navigation a {
  background-color: #fbfbfb;
  font-weight: bold;
  height: 63px;
  padding: 0;
  text-decoration: none;
}

.prev img {
  margin: 0 18px 0 27px;
  transform: rotate(-270deg);
}

.next img {
  margin: 0 27px 0 18px;
  transform: rotate(-90deg);
}

div.prev a:hover,
div.next a:hover {
  background-color: #ef9250;
}

div.navigation p.prefix {
  color: #9b9b9b;
  font-size: 10px;
}

div.navigation p {
  color: #4a4a4a;
}

div.prev a:hover p,
div.next a:hover p {
  background: unset;
  color: #fff;
  transition: .2s;
}

/* Download Form */
div[role=form].wpcf7 {
  border: 4px solid #ededed;
  margin-top: 60px;
  padding: 40px 30px 20px;
}

div.dl-form h3 {
  border: none;
  font-size: 20px;
  margin: 0 0 20px;
  padding: 0;
}

.wpcf7-tel {
  width: 100%;
}

.miBlogArticleDownloadFormInput {
  display: inline-block;
  margin-top: 20px;
  width: calc(50% - 4px);
}

input[type="submit"].wpcf7-submit {
  background-color: #ef9250;
  border: none;
  color: #fff;
  font-size: 18px;
  height: 58px;
  width: 100%;
}

div.wpcf7 span.ajax-loader {
  display: none;
}

/* Article Contents */
article .entry-content h2,
article .entry-content h3 {
  align-items: center;
  display: flex;
  margin: 30px 0;
}

article .entry-content h2 {
  background: #e9e9e9;
  border: none;
  box-shadow: inset 0 -2px 0 0 #f57a23;
  font-size: 24px;
  line-height: 1.4;
  padding: 20px 0 20px 20px;
}

article .entry-content h3 {
  border-bottom: none;
  border-left: 4px solid #f57a23;
  font-size: 24px;
  height: 64px;
  padding: 0 0 0 15px;
}

article .entry-content h4 {
  border: none;
  color: #f57a23;
  font-size: 20px;
  margin-left: 15px;
}

article .entry-content h5 {
  border: none;
  font-size: 16px;
  margin-left: 30px;
}

article .entry-content p {
  margin-left: 45px;
}

article .entry-content .blog-card {
  margin-left: 45px;
}

/* Tag */
.tagcloud a {
  border: 1px solid #4a4a4a;
  border-radius: 3px;
  color: #4a4a4a;
  font-size: 14px !important;
  font-weight: bold;
  line-height: 30px;
  padding: 5px;
  text-decoration: none;
  word-break: keep-all;
}

.tagcloud a:hover {
  background: #ef9250;
  color: #fff;
  transition: .2s;
}

/* Pagination */
ul.pagination a,
ul.pagination li,
ul.pagination span {
  width: 29px;
}

ul.pagination a,
ul.pagination span {
  margin: 0;
}

ul.pagination li {
  border: 1px solid #9b9b9b;
  color: #9b9b9b;
}

ul.pagination li:not(:last-child) {
  margin-right: 5px;
}

ul.pagination li:first-child a,
ul.pagination li:last-child a {
  border-radius: 0;
}

ul.pagination li.current span,
.miBlogMainWrap ul.pagination li a:hover {
  background-color: #ef9250;
  color: #fff;
}

/* Footer */
.miBlogFooterBreadcrumbWrap {
  margin: 0 auto 10px;
  max-width: 1120px;
}

#footer.main-footer {
  background-color: #fafafa;
  padding: 0;
}

.miBlogFooterLogo {
  float: left;
}

.miBlogFooterLogo .miBlogHeaderAndFooterLogoWrap {
  height: 74px;
}

.miBlogMobileFooterAndCopyrightWrap {
  display: none;
}

.miBlogFooterLinkAndCopyrightWrap {
  float: right;
}

.miBlogFooterLinkWrap,
.miBlogFooterCopyrightWrap {
  margin-top: 10px;
}

.miBlogFooterLinkWrap .miBlogHeaderAndFooterLink:last-child {
  padding-right: 0;
}

.miBlogFooterLinkWrap .miBlogHeaderAndFooterLink {
  padding: 0 15px;
}

.miBlogFooterCopyrightWrap {
  color: #4a4a4a;
  font-size: 10px;
  float: right;
}

#footer .miBlogHeaderAndFooterLink a {
  color: #4a4a4a;
  font-size: 14px;
}

/* For liquiditization */
@media screen and (max-width: 1119px) {
  #body #body-in {
    margin-top: 20px;
  }

  .miBlogFirstPageEyeCatchWrap {
    display: none !important;
  }

  .miBlogLeftSideBar {
    margin-left: 20px;
  }

  .miBlogMainWrap {
    width: calc(100% - 646px);
  }

  .miBlogMainWrapInArticlePage {
    margin-left: 20px;
    width: calc(100% - 389px);
  }
}

/* Responsive */
#mobile-menu {
  display: none !important;
}

@media screen and (min-width: 769px) {
  .miBlogMobileNaviButton,
  .miBlogMobileNavi{
    display: none;
  }
}

@media screen and (max-width: 768px) {
  #container {
    overflow-x: hidden;
    position: relative;
  }

  #body {
    padding-top: 87px;
  }

  #body #body-in {
    margin: 0 20px;
  }

  #body #body-in, #header #header-in, #footer #footer-in {
    width: auto !important;
  }

  /*header*/
  #header {
    background: #fff;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }

  #header div.alignleft {
    float: none;
    margin: 0;
  }

  .miBlogHeaderAndFooterLogoWrap {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    padding: 0 0 0 20px;
  }

  .miBlogHeaderAndFooterLogoWrap img {
    max-width: 215px;
    vertical-align: bottom;
    width: 51.93vw;
  }

  .miBlogMobileNaviButton {
    -webkit-appearance: none;
    appearance: none;
    background: url(./images/ic-spnavi-open.svg) no-repeat center !important;
    background-size: 40px;
    border: none;
    border-radius: 0;
    bottom: 0;
    cursor: pointer;
    height: 50px;
    margin: auto;
    overflow: hidden;
    position: absolute;
    right: 15px;
    text-indent: 100px;
    top: 0;
    white-space: nowrap;
    width: 50px;
  }

  .miBlogMobileNaviButton.miJsBlogOn {
    background-image: url(./images/ic-spnavi-close.svg) !important;
    background-size: 30px auto;
  }

  /*leftNavi*/
  .miBlogLeftSideBar {
    display: none;
  }

  /*mobileNAvigation*/
  .miBlogMobileNavi {
    background: #fbfbfb;
    bottom: 0;
    float: none;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    overflow-y: auto;
    padding-bottom: 35vh;
    position: fixed;
    right: 0;
    top: 87px;
    transform: translateX(100%);
    transition: .5s transform;
    width: 374px;
    z-index: 1000;
  }

  .miBlogMobileNavi.miJsBlogOn {
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    transform: translateX(0);
  }

  .miBlogMobileNaviHead {
    display: flex;
    margin: 0;
    padding: 0;
  }

  .miBlogMobileNaviHeadItem {
    flex: 1;
    list-style: none;
    margin: 0;
  }

  .miBlogMobileNaviHeadItem + .miBlogMobileNaviHeadItem {
    border-left: 1px solid #e9e9e9;
  }

  .miBlogMobileNaviHeadItem a {
    align-items: center;
    background: #ef9250;
    color: #fff;
    display: flex;
    font-weight: normal;
    height: 54px;
    justify-content: center;
    text-decoration: none;
  }

  .miBlogMobileNaviHeadItem a:hover {
    color: #fff;
  }

  .miBlogMobileNaviHeadItem a::after {
    background: url(./images/window-restore-solid-white.svg);
    content: "";
    display: inline-block;
    height: 8px;
    margin-left: 5px;
    width: 8px;
  }

  .miBlogMobileNaviHeadItem a br {
    display: none;
  }

  .miBlogMobileNaviMenu ul,
  .miBlogMobileNaviMenu ul.sub-menu {
    margin: 0;
    padding: 0;
  }

  .miBlogMobileNaviMenu li.menu-item {
    border-top: 1px solid #e9e9e9;
    margin: 0;
    padding: 0;
  }

  .miBlogMobileNaviMenu li.menu-item a {
    color: inherit;
    display: inline-block;
    line-height: 1.4;
    padding: 14px 20px 12px 20px;
    text-decoration: none;
  }

  .miBlogMobileNaviMenu ul.sub-menu li.menu-item a {
    padding-left: 40px;
  }

  .miBlogMainWrap {
    float: none;
    margin: 0;
    width: auto;
  }

  #main.miBlogMain {
    float: none;
    margin: 0 0 60px;
  }

  /*rightNavi*/
  .miBlogRightSideBarWrap {
    float: none;
    width: auto;
  }

  div#sidebar {
    padding: 0;
  }

  #body #sidebar-widget {
    overflow: visible;
  }

  #body #sidebar h3 {
    margin-bottom: 20px;
  }

  #body #sidebar .widget {
    margin-bottom: 40px;
  }

  #sidebar .widget_recent_entries ul {
    margin: 0;
    padding: 0;
  }

  #text-4 img {
    display: block;
    margin-bottom: 15px;
    width: 100%;
  }

  #text-5 .textwidget {
    margin: 0 auto;
  }

  #text-5 .textwidget {
    margin: 0 -20px;
    text-align: center;
  }

  #text-5 .textwidget iframe {
    margin: 0 auto;
    width: 300px;
  }

  #tag_cloud-2 {
    display: none;
  }

  .tagcloud {
    margin-top: -6px;
  }

  .tagcloud a {
    display: inline-block;
    margin-top: 6px;
    padding: 0 5px;
  }

  /*breadcrumbs*/
  #body #breadcrumb {
    font-size: 10px;
    margin-top: 20px;
  }

  #body div#breadcrumb div {
    display: inline-block;
  }

  .miBlogFooterBreadcrumbWrap {
    font-size: 10px;
    margin: 60px 20px -50px;
  }

  /*entry*/
  #body #main .miBlogEntryCard {
    height: auto;
    margin: 20px 0 0;
    position: relative;
  }

  .miBlogEntryCard .entry-card-content {
    display: none;
  }

  .miBlogEntryCardImage.entry-thumb {
    margin-bottom: 0;
  }

  .miBlogEntryCardHeader {
    background: rgba(0,0,0,.6);
    bottom: 0;
    color: #fff;
    left: 0;
    padding: 10px 20px 15px;
    position: absolute;
    right: 0;
  }

  .miBlogEntryCard h2 {
    color: inherit;
  }

  #body .miBlogEntryCard h2 a {
    display: block;
    font-size: 18px;
    line-height: 1.4;
  }

  .miBlogEntryCard a,
  .miBlogEntryCard a:hover {
    color: inherit !important;
    text-decoration: none;
  }

  .miBlogEntryCard img.entry-thumnail.wp-post-image {
    width: 100%;
  }

  .miBlogEntryCardHeader p.post-meta {
    background: none;
    color: inherit;
    margin: 5px 0 0;
  }

  /*トップページのみ：エントリー４件目以降はサイズ縮小*/
  .home .miBlogEntryCard:nth-child(3) ~ .miBlogEntryCard {
    display: flex;
    flex-direction: row-reverse;
  }

  .home .miBlogEntryCard:nth-child(7) ~ .miBlogEntryCard {
    display: none;
  }

  .home .miBlogEntryCard:nth-child(3) ~ .miBlogEntryCard .miBlogEntryCardHeader {
    background: none;
    color: #4a4a4a;
    flex: 1;
    padding: 0 0 0 10px;
    position: static;
  }

  .home .miBlogEntryCard:nth-child(3) ~ .miBlogEntryCard  h2 a {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 0;
  }

  .home .miBlogEntryCard:nth-child(3) ~ .miBlogEntryCard .miBlogEntryCardImage {
    flex-basis: 100px;
    flex-shrink: 0;
  }

  /*archive*/
  #archive-title {
    margin-top: 40px;
  }

  a.miBlogSubCategoriesLinkWrap {
    display: block;
    height: auto;
    padding: .7em 10px .6em calc(10px + 1em);
    text-indent: -1em;
  }

  .miBlogSubCategoriesLinkWrap::before {
    content: "・";
  }

  /*post*/
  .miBlogMainWrapInArticlePage {
    float: none;
    margin: 0;
    width: auto;
  }

  .article h1.entry-title {
    font-size: 28px;
    line-height: 1.32;
    margin: 20px 0;
  }

  #body .entry-content {
    margin-bottom: 20px;
  }

  article .entry-content h2 {
    font-size: 24px;
    line-height: 1.4;
    margin: 20px -20px 35px;
    padding: 15px 20px;
  }

  article .entry-content h3 {
    border-left-width: 2px;
    font-size: 20px;
    height: auto;
    padding: .5em 15px;
  }

  article .entry-content p {
    margin-left: 0;
  }

  article .entry-content ul,
  article .entry-content ol {
    margin: 1.5em 0;
    padding-left: 1.2em;
  }

  article .entry-content li,
  article .entry-content li {
    margin-top: .5em;
  }

  article .entry-content h2:not(:first-child) {
    margin-top: 40px;
  }

  /*form*/
  div[role=form].wpcf7 {
    margin-top: 40px;
    padding: 8.02%;
  }

  div.dl-form h3 {
    font-size: 20px;
    line-height: 1.4;
  }

  article .entry-content h4 {
    font-size: 20px;
    line-height: 1.4;
    margin-left: 0;
  }

  div.dl-form p {
    font-size: 14px;
    line-height: 1.6;
    margin: 20px 0 0;
  }

  .miBlogArticleDownloadFormInput {
    display: block;
    width: auto;
  }

  .miBlogArticleDownloadFormInput input[type="text"] {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    width: 100%;
  }

  input[type="submit"].wpcf7-submit {
    margin-bottom: 0;
  }

  #body .navigation {
    border: solid #ddd;
    border-width: 1px 0;
    margin: 40px -20px;
    display: flex;
  }

  .navigation > * {
    border-bottom: none !important;
    border-top: none !important;
    flex: 1;
  }

  .navigation .prev + .next {
    border-left: 1px solid #ddd;
  }

  #body .navigation a {
    height: 40px;
    padding: 0;
  }

  #body .navigation a span {
    margin: 0;
  }

  .navigation .prev span {
    padding: 0 0 0 10px;
  }

  .miBlogNextNextArticleLinkWrap,
  .miBlogNextPrevArticleLinkWrap {
    justify-content: center;
    height: 40px;
  }

  div.navigation p.prefix {
    color: #4a4a4a;
    font-size: 14px;
    margin: 0;
  }

  div.navigation p.prefix::after {
    content: "へ";
  }

  div.navigation p.prefix + p {
    display: none;
  }

  div.navigation .next img,
  div.navigation .prev img {
    margin: 0;
  }

  #toc-widget-2 {
    display: none;
  }

  /*関連記事*/
  #under-entry-body .wp_rp_vertical {
    background: #ededed;
    margin: 0 -20px;
    padding: 20px;
  }

  #under-entry-body .wp_rp_vertical .related_post {
    margin: 0 !important;
  }

  #under-entry-body .wp_rp_vertical ul.related_post li {
    display: flex !important;
    margin: 20px 0 0 !important;
    width: auto !important;
  }

  #under-entry-body .wp_rp_vertical .wp_rp_title {
    flex: 1;
    padding: 0 0 0 10px;
  }

  #under-entry-body .wp_rp_vertical .wp_rp_thumbnail {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 5px;
  }

  #under-entry-body .wp_rp_vertical .wp_rp_thumbnail {
    flex-basis: 100px;
    flex-shrink: 0;
    margin: 0 !important;
  }

  #under-entry-body .wp_rp_vertical .wp_rp_thumbnail img {
    border-radius: 0 !important;
    box-shadow: none !important;
    height: auto !important;
  }

  #under-entry-body .wp_rp_vertical .wp_rp_title {
    font-weight: bold;
    padding-top: 2px;
  }

   /*footer*/
  #footer {
    margin-top: 60px;
  }

  #footer .miBlogFooterLogo {
    display: none;
  }

  .miBlogFooterLinkAndCopyrightWrap {
    border-top: 1px solid #e9e9e9;
    float: none;
  }

  .miBlogFooterLinkWrap {
    margin-top: 0;
  }

  .miBlogFooterLinkWrap .miBlogHeaderAndFooterLink {
    border-bottom: 1px solid #e9e9e9;
    display: block;
    height: auto;  
    padding: 0;
    text-align: left;
  }

  .miBlogHeaderAndFooterLink a {
    display: block;
    line-height: 54px;
    padding: 0 20px;
  }

  .miBlogFooterCopyrightWrap {
    background: #fff;
    float: none;
    line-height: 50px;
    margin: auto;
    text-align: center;
  }
}

@media screen and (max-width: 320px) {
  .miBlogMobileNavi {
    width: 300px;
  }

  .miBlogMobileNaviHeadItem a br {
    display: inline-block;
  }
}
