@media (max-width: 768px) {
  .spx-header {
    height: 43px;
    z-index: 100;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    transition: 0.3s;
  }
  .spx-header.hide {
    transform: translateY(-100%);
  }
  .spx-headerSearch {
    line-height: 43px;
    text-align: center;
  }
  .spx-headerSearch__label {
    display: block;
    position: absolute;
    width: 43px;
    height: 43px;
    top: 2px;
    right: 0;
  }
  .spx-headerSearch #search {
    display: none;
    width: 100%;
  }
  .spx-headerSearch #search:checked ~ .spx-headerSearch__box {
    display: block;
  }
  .spx-headerSearch #search:checked ~ label {
    background-color: #333;
    color: white;
  }
  .spx-headerSearch__box {
    display: none;
    background-color: #333;
    padding: 3px 8px;
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    top: 100%;
  }
  .spx-headerSearch__box input[type=text] {
    width: 100%;
    padding: 6px 12px;
    height: 30px;
    border: 0;
  }
  .spx-headerSearch__icon {
    font-size: 20px;
    font-weight: 600;
    color: #999;
  }
  .spx-header__logo {
    display: inline-block;
    height: 100%;
    color: white;
    text-decoration: none;
    color: #222;
    font-size: 28px;
  }
  .spx-header__logo__title {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 43px;
  }
  .spx-header__logo__img {
    height: 100%;
    font-weight: normal;
    margin: 0;
    padding: 7px 5px 5px 5px;
    font-size: 20px;
  }
  .spx-header__logo__img > img {
    width: auto;
    height: 100%;
    max-height: 100%;
    display: block;
  }
  .spx-header__logo {
    color: #333;
    text-decoration: none;
  }

  .spx-mod-link {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  }

  .spx-header--4 {
    height: 103px;
    -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.1);
    text-align: left;
    background-color: #fff;
  }
  .spx-header--4 .spx-header__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .spx-header--4 .spx-header__top {
    height: 50px;
  }
  .spx-header--4 .spx-header__logo__title {
    line-height: 32px;
    padding: 8px;
  }
  .spx-header--4 .spx-header__bottom {
    flex: 1;
    line-height: 40px;
  }
  .spx-header--4 .spx-header__globalmenu__list {
    padding: 0 10px;
    margin: 0;
    overflow-x: scroll;
    width: 100%;
    white-space: nowrap;
  }
  .spx-header--4 .spx-header__globalmenu__list::-webkit-scrollbar {
    width: 0 !important;
  }
  .spx-header--4 .spx-header__globalmenu__list {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .spx-header--4 .spx-header__globalmenu__item {
    display: inline-block;
  }
  .spx-header--4 .spx-header__globalmenu__link {
    color: #666;
    padding: 5px 15px;
    display: block;
    font-size: 14px;
    font-weight: bold;
  }
  .spx-header--4 .spx-header__globalmenu__link.active {
    border-bottom: 3px solid #226041;
  }
  .spx-header--4.spx-headerSearch {
    display: none;
  }
  .spx-header--4.spx-header .spx-menu {
    left: auto;
    right: -250px;
  }
  .spx-header--4.spx-header .spx-menu .spx-menu__search {
    display: block;
  }
  .spx-header--4.spx-header #spx-menu__cb:checked ~ #spx-menu, .spx-header--4.spx-header #spx-menu__cb:checked ~ #spx-menu__icon {
    transform: translate(-250px);
  }
  .spx-header--4.spx-header .spx-menu__icon {
    top: 0;
    left: auto;
    right: 0;
    bottom: 0;
    background-color: #226041;
    border-radius: 0;
    width: 50px;
    height: 50px;
    text-align: center;
    padding: 5px 0;
  }
  .spx-header--4.spx-header .spx-menu__icon i, .spx-header--4.spx-header .spx-menu__icon span {
    color: #fff;
  }
  .spx-header--4.spx-header .spx-menu__icon .spx-menu__label {
    font-size: 10px;
    white-space: nowrap;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: inline-block;
  }

  .spx-footer {
    margin-top: 10px;
  }
  .spx-footer__pagetop {
    background-color: #484848;
    border-radius: 50px;
    bottom: 20px;
    color: #fff;
    display: none;
    height: 44px;
    opacity: 0.8;
    padding-top: 6px;
    position: fixed;
    right: 10px;
    text-align: center;
    width: 44px;
    z-index: 9999;
  }
  .spx-footer__pagetop > i {
    font-size: 20px;
    line-height: 28px;
  }
  .spx-footer__cr {
    font-size: 11px;
    padding: 5px;
    text-align: center;
  }
  .spx-footer__profile {
    text-align: center;
    padding-top: 10px;
  }
  .spx-footer__logo {
    max-width: 65%;
    max-height: 100px;
    height: auto;
    margin: 10px 0;
  }
  .spx-footer p {
    margin: 0;
    text-align: center;
  }
  .spx-footer__description {
    text-align: left;
    line-height: 1.7;
  }
  .spx-footer__sns {
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: center;
  }
  .spx-footer__sns__list {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  .spx-footer__sns__list > li {
    display: inline-block;
  }
  .spx-footer__sns__list > li > a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    margin: 0 5px;
    color: white;
    text-align: center;
    border-radius: 50%;
    background-color: #222;
  }
  .spx-footer__sns__list > li > a:hover {
    background-color: #222;
  }
  .spx-footer__about {
    text-align: center;
  }
  .spx-footer__about__list {
    margin: 0;
    padding: 0;
  }
  .spx-footer__about__list > li {
    width: 50%;
    float: left;
  }
  .spx-footer__about__list > li > a {
    color: #333;
    display: block;
    padding: 5px;
    font-size: 13px;
  }

  .spx-menu--users .spx-usermenu__label {
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 15px;
    margin: 0;
    background-color: #f7f7f7;
  }

  .spx-menu--users .spx-usermenu > a {
    display: block;
    padding: 15px;
    font-size: 14px;
    text-align: left;
    color: #222;
  }

  .spx-menu {
    height: 100%;
    overflow-y: scroll;
  }
  .spx-menu__label {
    display: none;
  }
  .spx-menu__search {
    display: none;
    position: relative;
  }
  .spx-menu__search .spx-form {
    background-color: #226041;
    color: #fff;
    padding: 10px;
    height: 60px;
  }
  .spx-menu__search {
    line-height: 43px;
    text-align: center;
  }
  .spx-menu__search__box {
    display: block;
    z-index: 20;
    padding-left: 20px;
    position: absolute;
    width: calc(100% - 20px);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.12);
  }
  .spx-menu__search__box:before {
    position: absolute;
    left: 10px;
    top: 0;
    font-size: 16px;
    content: "\f002";
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
  }
  .spx-menu__search__box input[type=text] {
    width: 100%;
    padding: 6px 12px;
    height: 40px;
    border: 0;
    color: #fff;
    box-shadow: none;
    background-color: transparent;
    font-size: 14px;
    outline: none;
  }
  .spx-menu__search__box input[type=text]::placeholder {
    color: #fff;
  }
  .spx-menu__search i {
    font-size: 20px;
    font-weight: 600;
  }
  .spx-menu {
    background-color: #fff;
    color: #333;
    box-sizing: border-box;
    height: 100%;
    position: fixed;
    left: -250px;
    top: 0;
    transition: transform 0.3s linear 0s;
    width: 250px;
    z-index: 1000;
  }
  .spx-menu__background {
    background-color: #333;
    display: none;
    height: 100%;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: all 0.3s linear 0s;
    width: 100%;
    z-index: -1;
  }
  .spx-menu__icon {
    background-color: transparent;
    border-radius: 10px;
    color: #226041;
    cursor: pointer;
    display: block;
    font-weight: normal;
    font-size: 24px;
    height: 24px;
    line-height: 24px;
    position: absolute;
    left: 3px;
    text-align: center;
    top: 10px;
    width: 35px;
    transition: all 0.3s linear 0s;
    z-index: 1000;
  }
  .spx-menu__cb {
    display: none;
  }

  #spx-menu__cb:checked ~ #spx-menu, #spx-menu__cb:checked ~ #spx-menu__icon {
    transform: translate(250px);
  }

  #spx-menu__cb:checked ~ #spx-menu__background {
    opacity: 0.5;
    z-index: 999;
    display: block;
  }

  .spx-mod-link {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  }

  .spx-mod-heading {
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 15px;
    margin: 0;
    background-color: #f7f7f7;
  }

  .spx-mod-content {
    height: 100%;
    overflow-y: scroll;
  }
  .spx-mod-item {
    border-bottom: 1px solid rgba(238, 238, 238, 0.5);
    position: relative;
  }
  .spx-mod-link {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
    padding: 13px;
    font-size: 15px;
    text-align: left;
    color: #222;
  }
  .spx-mod-list {
    padding: 0;
    margin: 0;
    color: white;
  }
  .spx-mod-image {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
  }

  .spx-container {
    padding: 0 15px;
    max-width: 100%;
  }

  .spx-clearfix {
    *zoom: 1;
  }
  .spx-clearfix:before, .spx-clearfix:after {
    content: "";
    display: table;
  }
  .spx-clearfix:after {
    clear: both;
  }

  .spx-mb-20 {
    margin-bottom: 20px;
  }

  /* --- 追加（2021 年版にない分。静的 HTML 側に body 基礎スタイルが無いための最小補完） --- */
  body{padding-top:103px}
  .spx-header,.spx-footer,.spx-menu{line-height:1.786;font-size:14px;letter-spacing:.6px;text-align:left}
  .spx-header *,.spx-footer *,.spx-menu *{box-sizing:border-box}
  .spx-header a,.spx-footer a,.spx-menu a{text-decoration:none}
  .spx-header ul,.spx-footer ul,.spx-menu ul{list-style:none}
  .spx-header img,.spx-footer img{max-width:100%}
  .spx-header__globalmenu__link span{white-space:nowrap}
  .spx-footer{background:#fff;padding-bottom:10px}
  .spx-footer .spx-container{background:#fff}
  .spx-footer__sns__list>li>a{background-color:#000}
  .spx-footer__pagetop{background-color:#226041}

}
@media (min-width: 769px) {
  .spx-header, .spx-footer, .spx-menu, .spx-menu__cb, .spx-menu__icon, .spx-menu__background { display: none !important; }
}
@media (max-width: 768px) {
  header.l-header, footer.l-footer { display: none !important; }
}

@media (max-width: 768px) { .spx-footer__logo { width: auto !important; max-width: 65% !important; max-height: 50px !important; height: auto !important; display: block; margin: 30px auto 20px !important; } }

/* 記事タイトル上の余白（スマホ版は画像がタイトルの上にあり、その下に余白 10px。静的版は PC の並びなのでパンくずとの間を空ける） */
@media (max-width: 768px) { .p-post__header .p-post__title { padding-top: 16px !important; margin-top: 0 !important; } }
