


/* ------------------------------------------
                  COMMON
------------------------------------------ */
body {
    font-size: 16px;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color: #111;
    line-height: 1.75;
}

a {
    color: #fff;
}
pre{
    padding: 0.5rem;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    margin-bottom: 0;
    padding: 14px 0;
    border-radius: 0;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    transition :all 0.2s ease-in-out 0s;
}

.sticky {
    padding: 0.25em 0;
    background: rgba(0,0,0,0.7);
}

.navbar h1 {
    text-align: left;
    overflow: visible;
}

.navbar h1 a {
    color:#fff;
}

.navbar h1 img {
    height: 60px;
    transition :all 0.2s ease-in-out 0s;
}

.sticky h1 img {
    transform :scale(0.75);
}

.navbar-header {
    margin: 0;
}

.navbar-collapse {
    padding-left: 0;
    padding-right: 0;
}

.dropdown-menu {
    --bs-dropdown-font-size: 0.875rem;
    --bs-dropdown-border-radius: 0px;
    --bs-dropdown-box-shadow: 0 6px 12px rgb(0 0 0 / .175);
    padding: 0;
    overflow: hidden;
    min-width: 180px;
}

.dropdown-menu li a {
    padding: 5px 15px;
    display: block;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    white-space: nowrap;
}

@media screen and (max-width:767px){
    .dropdown-menu{
        --bs-dropdown-bg: transparent;
        --bs-dropdown-border-width: 0;
    }
    .dropdown-menu li a {
        color: #f1f1f1;
    }
}

.dropdown-menu li .nolink {
    padding: 5px 15px;
    display: block;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    cursor: default;
    white-space: nowrap;
}
.dropdown-menu li.catdepth-2 .nolink, .dropdown-menu li.catdepth-3 .nolink {
    color: #cccccc;
}

@media screen and (max-width:767px){
    .dropdown-menu li.catdepth-2 .nolink, .dropdown-menu li.catdepth-3 .nolink {
        color: #464646;
    }
}

/* ------------------------------------------
                  SUB CATEGORY
------------------------------------------ */

@media (any-hover: hover) {
    .dropdown:hover .dropdown-toggle{
        color: #111;
        background: #eee;
    }
}

.dropdown-toggle i {
    padding-left: 0.5em;
    font-size: 72%;
}

.dropdown-menu li ul {
    list-style: none;
    padding-left: 0px;
}

.folder-open > li > a {
    padding: 5px 15px;
    text-decoration: none;
    color: #464646;
}
.folder-open {
    list-style-type: none;
    padding-left: 0px;
}
.folder-open li{
    padding-left: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.navbar-nav{
}

.navbar-nav > li {
    padding: 5px 0;
}

.navbar-nav > li:not(.hidden) > a{
    display: block;
    padding: 1rem;
    text-decoration: none;
}

@media screen and (max-width:767px){
    .navbar-nav > li:not(.hidden) > a{
        padding: 0.75rem 1rem;
    }
}


.navbar-nav > li > a,
.navbar-nav li > a:focus,
.smooth-scroll-scrolling .navbar-nav li.active > a {
    background: transparent;
    color: #fff;
}

.navbar-nav li > a:hover,
.navbar-nav li.active > a,
.navbar-nav li.force-active > a,
.smooth-scroll-scrolling .navbar-nav li.force-active.active > a,
.smooth-scroll-scrolling .navbar-nav li > a:focus,
.smooth-scroll-scrolling .navbar-nav li.active > a:focus {
    background: #f1f1f1;
    color: #111;
}


.header-socialbtn {
    padding: 0 0 0 10px;
    margin: 0px;
}

.header-socialbtn li {
    display: inline-block;
    padding: 10px 0;
    list-style: none;
    line-height: 20px;
}

.header-socialbtn li a {
    min-width: 30px;
    display: inline-block;
    padding: 5px 0;
    color: #fff;
    text-align: center;
}

@media (any-hover: hover) {
    .header-socialbtn li a:hover {
        color: #fff;
        opacity: 0.5;
    }
}

.header-socialbtn li.x-twitter a {
    background: #000000;
}

.header-socialbtn li.facebook a {
    background: #3B599C;
}

footer {
    padding: 15px 0;
    background: #111;
    font-size: 86%;
    color: #fff;
}

.footer-navi li {
    display: inline-block;
    list-style: none;
}

.footer-navi li a {
    display: inline-block;
    padding: 0 0 0 10px;
    color: #fff;
}

/* ------------------------------------------
             CONTENT COMMON STYLES
------------------------------------------ */

.content-wrap {
    padding: 2em 0 4em;
}

.content-wrap article h2 {
    font-size: 25px;
    font-feature-settings : "palt";
}

.webpages h3, .content-wrap article h3 {
    font-size: 2em;
    font-weight: bold;
    margin: 0 0 1em 0;
    color: #111;
    font-feature-settings: "palt";
}

.webpages h3::before, .content-wrap article h3::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 40px;
    bottom: -4px;;
    background-color: #cccccc;
    position: relative;
    margin-right: 12px;
}

.webpages h4, .content-wrap article h4 {
    font-weight: bold;
    font-size: 1.5em;
    padding-bottom: 4px;
    margin-bottom: 0.75em;
    border-bottom: 1px solid #cccccc;
    font-feature-settings: "palt";
}

.webpages h5, .content-wrap article h5 {
    font-weight: bold;
    font-size: 1.25em;
    margin-bottom: 0.5em;
    font-feature-settings: "palt";
}
.webpages h5::before, .content-wrap article h5::before {
    content: "●";
    color: #cccccc;
    font-size: 0.5em;
    padding-right: 4px;
    position: relative;
    top: -0.3em;
}

.webpages h6, .content-wrap article h6 {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 0.5em;
    font-feature-settings: "palt";
}
.webpages h6::before, .content-wrap article h6::before {
    content: "●";
    color: #cccccc;
    font-size: 8px;
    padding-right: 4px;
    position: relative;
    top: -0.15em;
}

.content-wrap article p {
    margin: 0 0 1em 0;
}

.content-wrap article p:last-child {
    margin: 0 0 0 0;
}

.content-wrap article .row {
    margin-bottom: 1em;
}

.content-wrap article blockquote {
    padding: 8px 0 8px 16px;
    margin: 1em 0;
    font-size: 1em;
    border-left: 4px solid #eee;
}

/* ------------------------------------------
                 LOWER CONTENT
------------------------------------------ */

.mainvisual-lower {
    position: relative;
    background: url('https://www.jpm1960.org/tokuho/.assets/22564050.jpg') no-repeat center bottom;
    background-size: cover;
    color: #fff;
    text-shadow: 0 1px 0px #000;
    height: 164px;
}

.mainvisual-lower .overray {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(80,80,80,0.8);
}

.mainvisual-lower .row {
    display: table;
    width: 100%;
}

.mainvisual-lower .row .col-sm-12 {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
}

.mainvisual-lower h2 {
    margin: 0;
    font-size: 2.5em;
    line-height: 164px;
}

.mainvisual-lower h2 i {
    margin-right: 8px;
    font-size: 1.25em;
}

.mainvisual-lower h2 a {
    color: #fff;
}
.mainvisual-lower h2 a:hover {
    color: #fff;
    text-decoration: underline;
}
.mainvisual-lower h2 a:focus {
    color: #fff;
    text-decoration: underline;
}

.localnavi {
    background: #f6f6f6;
    border-bottom: solid 1px #e9e9e9;
}

.localnavi nav {
    border-left: solid 1px #e9e9e9;
}

.localnavi nav ul {
    margin: 0;
    padding: 0;
    text-align: left;
}

.localnavi nav li {
    display: inline-block;
    list-style: none;
    float: left;
}

.localnavi nav li a {
    position: relative;
    display: inline-block;
    padding: 10.5px 1.5em;
    border-right: solid 1px #e9e9e9;
}

.localnavi nav li.home a {
    padding: 10.5px 1em 10.5px ;
}

.localnavi nav li a:hover {
    background: #fff;
    text-decoration: none;
}

.localnavi nav li span {
    display: inline-block;
    padding: 10px 1em;
    background: #fff;
    border-right: solid 1px #e9e9e9;
}

.localnavi nav li.pagetop span {
    position: relative;
}

.localnavi nav li a:before {
    border:11px solid transparent;
    border-left-color:#f6f6f6;
    border-right-width:0;
    border-top-width: 23px;
    border-bottom-width: 23px;
    right:-10px;
    content:"";
    display:block;
    top: 0;
    position:absolute;
    width:0;
    z-index:1;
}

.localnavi nav li a:after {
    border:11px solid transparent;
    border-left-color:#e9e9e9;
    border-right-width:0;
    border-top-width: 23px;
    border-bottom-width: 23px;
    right:-11px;
    content:"";
    display:block;
    top:0;
    position:absolute;
    width:0;
}

.localnavi nav li a:hover:before {
    border-left-color:#fff;
}

.localnavi nav li.pagetop ul li {
    display: block;
    float: none;
}

.localnavi nav li.pagetop ul li a {
    display: block;
    border-right: none;
}

.localnavi nav li.pagetop ul li a:hover {
    background: #f6f6f6;
}

.localnavi nav li.pagetop ul li.active a:hover {
    background: #428bca;
}

.localnavi nav li.pagetop ul li a:before,
.localnavi nav li.pagetop ul li a:after {
    display: none;
}

.breadcrumb {
    background-color: #none;
    border-radius: 0;
    list-style: none outside none;
    margin-bottom: 0;
    padding: 0;
}

.blog-primary-content {
}

.entry-list {
    margin-top: 2em;
    padding-bottom: 2em;
    border-bottom: solid 1px #e9e9e9;
}

.entry-list:first-child {
    margin-top: 0px;
}
.entry-list:last-child {
  border-bottom: 0px;
}

.entry-list figure {
    float: right;
    margin-left: 2em;
    margin-bottom: 1em;
}

.entry-list figure img {
    width: 100%;
    border: solid 1px #e9e9e9;
    max-width: 320px;
}

.entry-meta {
    margin-bottom: 1em;
    font-size: 0.8em;
}

.entry-meta time {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 2px;
    background: #f1f1f1;
}

.entry-meta time span {
    display: inline-block;
}

.entry-meta time .year {
    padding: 4px 8px;
}

.entry-meta time .monthday {
    padding: 4px 8px;
    background: #fff;
}

.entry-meta .category {
    padding: 8px 12px;
    background: #464646;
    color: #fff;
    text-decoration: none;
}

@media (any-hover: hover) {
    .entry-meta .category:hover {
        text-decoration: underline;
    }
}

.entry-list .entry-excerpt {
    margin: 1em 0 1.5em;
}

.entry-body {
    margin-bottom: 3em;
}

.entry-title a{
    text-decoration: none;
}

@media (any-hover: hover) {
    .entry-title a:hover {
        text-decoration: underline;
    }
}

.pagemore {
    text-align: left;
}

.sidebar nav {
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: solid 3px #e9e9e9;
}

.sidebar h3 {
    margin: 0 0 1em 0;
    font-weight: bold;
    font-size: 1.25em;
}

.sidebar ul {
    padding: 0;
    margin-bottom: 0px;
    list-style-type: none;
}

.sidebar > ul {
    margin: 1em 0 auto 0px;
}

.sidebar ul li {
    margin-bottom: 1em;
    padding-bottom: 1em;
    border-bottom: solid 1px #e9e9e9;
}

.sidebar ul li:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

h1.page-title {
    margin: 0 0 1em 0;
}

/* ------------------------------------------
                 Category
------------------------------------------ */
.blog-primary-content .category-title {
    font-size: 1.25em;
    font-weight: bold;
    margin: 0;
}

/* ------------------------------------------
                 ENTRY DETAIL
------------------------------------------ */

.entry-detail figure {
    margin-bottom: 2em;
}

.entry-detail img {
    max-width: 100%;
    height: auto;
}


/* ------------------------------------------
                    BTN
------------------------------------------ */

.btn-primary {
    background: #111;
    padding: 12px 32px;
    border-color: #111111;
}

.btn-primary:hover {
    background: #464646;
    border-color: #464646;
}

.btn-secondary {
    background: #f1f1f1;
    border-color: #e1e1e1;
}

.btn-secondary:hover {
    background: #f9f9f9;
    border-color: #e9e9e9;
}

.btn-info {
    background: #60A79D;
    border-color: #60A79D;
}

.btn-info:hover {
    background: #74BBB1;
    border-color: #74BBB1;
}

.btn-success {
    background: #60A79D;
    border-color: #60A79D;
}

.btn-success:hover {
    background: #74BBB1;
    border-color: #74BBB1;
}

/* ------------------------------------------
                    TOP
------------------------------------------ */
.mainvisual {
    width: 100%;
    min-height: 300px;
    padding: 9em 0 6em 0;
    background: url('https://www.jpm1960.org/tokuho/.assets/22564050.jpg') no-repeat center bottom;
    background-size: cover;
    text-align: center;
    border-bottom: solid 1px #e9e9e9;
}

.mainvisual h2 {
    margin: 0 auto;
}

.mainvisual h2 img {
    max-height: 280px;
    height: auto;
}

.container .main-text {
    width: 680px;
    margin: 0 auto;
    margin-top: 28px;
    text-align: left;
    font-feature-settings : "palt";
}

.mainvisual .btn-group .btn {
    width: 300px;
}

.webpages-wrap {
    margin: 2.5em 0;
}

.webpages {
    margin: 2.5em 0;
    padding-bottom: 2.5em; 
    border-bottom: solid 1px #e9e9e9;
}

.webpages:last-child {
    border-bottom: 0px;
    padding-bottom: 0px; 
}

.webpages img {
    height: auto;
}

.webpages p {
    margin: 1.5em 0;
}
.webpages p:first-child, .webpages p:last-child {
    margin: 0;
    padding: 0;
}

/* figure */

figure {
  margin: 16px 0;
}
figure figcaption {
    font-size: 0.75em;
    margin-top: 4px;
}
figure.mt-figure-center figcaption {
    text-align: center;
}

.top-news {
    padding: 3em 0;
    background: #464646;
    color: #fff;
}

.top-news h2 {
    font-size: 48px;
    margin: 0 0 32px 0;
    text-align: center;
    font-feature-settings : "palt";
}

.top-news .row {
    margin: 0 auto 0px;
    display: flex;
}

.top-news a.col-sm-3 {
    display: block;
    width: 262.5px;
    padding: 0;
    margin: 0 1em 28px 1em;
    background: #fff;
    color: #111;
}

.top-news .entry-excerpt {
    font-size: 14px;
    word-wrap: break-word;
}

.top-news a:hover {
    color: #fff;
    text-decoration: none;
}

.top-news figure {
    display: block;
    height: 204px;
    overflow: hidden;
}

.top-news figure.noimage {
    height: 204px;
    background: #999;
    text-align: center;
    line-height: 204px;
    color: #fff;
    font-size: 30px;
}

.top-news figure img {
    width: 100%;
}

.top-news .entry-detail {
    padding: 1.5em 1em;
}

.top-news h3 {
    margin: 0 0 0.5em 0;
    font-size: 1.5em;
    font-weight: bold;
}

.top-news p {
    margin: 0;
}

.top-news .top-newslist {
    margin-top: 2em;
    text-align: center;
}

/* ------------------------------------------
               STYLE FOR MIDDLE
------------------------------------------ */
@media screen and (min-width:768px){
    .mt-blog-row{
        --bs-gutter-x: 3rem;
    }
}

@media screen and (min-width:992px){
    .navbar .container {
      width: 970px;
    }
}

@media (min-width: 1200px){
  .navbar .container {
      width: 1170px;
  }
}

/* ------------------------------------------
               STYLE FOR TABLET
------------------------------------------ */

@media screen and (max-width:767px){
img {
    max-width: 100%;
}

header {
    margin-bottom: 5px;
}

.navbar h1 img {
    height: 42px;
}
.container > .navbar-header {
    position: relative;
    width: 100%;
    margin: 0;
    text-align: center;
}
.navbar .navbar-right {
    width: auto;
}

.navbar-nav {
    margin: 0;
    border: solid 1px #e9e9e9;
}

.navbar-nav > li {
    padding: 0;
    color: #f1f1f1;
}

button.navbar-toggler {
    position: absolute;
    right: calc(var(--bs-gutter-x) * 0.5);
    top: 0;
    width: 40px;
    height: auto;
    aspect-ratio: 1/1;
    padding: 8px 11px;
    margin-right: 0;
    background: #f6f6f6;
    border: solid 1px #e9e9e9;
    border-radius: 3px;
    font-size: 15px;
    translate: 0 var(--bs-navbar-padding-y);
    transition :translate 0.2s ease-in-out 0s;
}
.navbar.sticky button.navbar-toggler{
    translate: 0 4px;
}

.container>.navbar-collapse {
    margin: 0;
}

ul.header-socialbtn {
    float: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    margin-bottom: 2em;
    word-break: break-all;
}
.content-wrap {
    padding: 2em 0 0em;
}
.blog-primary-content {
}

.navbar-nav .open .dropdown-menu>li>a, .navbar-nav .open .dropdown-menu .dropdown-header {
    padding-left: 15px;
}

section .col-sm-1:last-of-type, section .col-sm-2:last-of-type, section .col-sm-3:last-of-type, section .col-sm-4:last-of-type, section .col-sm-5:last-of-type, section .col-sm-6:last-of-type, section .col-sm-7:last-of-type, section .col-sm-8:last-of-type, section .col-sm-9:last-of-type, section .col-sm-10:last-of-type, section .col-sm-11:last-of-type, section .col-sm-12:last-of-type {
    margin-bottom: 0;
    word-break: break-all;
}

.mainvisual {
    padding: 7em 0 3em 0;
}

.mainvisual-lower {
    height: 120px;
}
.mainvisual-lower h2 {
    margin: 0;
    font-size: 2em;
    line-height: 120px;
}


.container .main-text {
    font-size: 0.8em;
    width: auto;
}

.webpages h3, .content-wrap article h3 {
    font-size: 1.5em;
    margin-bottom: 1em;
}
.webpages h3::before, .content-wrap article h3::before {
    height: 32px;
    margin-right: 8px;
}

.top-news {
    padding: 2em 0;
}

.top-news h2{
    font-size: 40px;
    margin: 0 0 0.5em 0;
    text-align: center;
    font-feature-settings: "palt";
}

.footer-logoarea {
    text-align: center;
}

.footer-navi ul.pull-right {
    float: none !important;
    padding: 0;
    text-align: center;
}

footer .col-sm-6 {
    margin-bottom: 0;
}

.mainvisual .btn-group {
    display: block;
    text-align: center;
}

.mainvisual .btn-group .btn {
    display: inline-block;
    width: 45%;
    float: none;
    margin-bottom: 0.5em;
    border-radius: 3px;
}

.mainvisual .btn-group .btn:last-of-type {
    margin: 0;
}

.top-news a.col-sm-3 {
    width: 90%;
    margin: 0 auto 2em auto;
}

.top-news .row {
  width: auto;
  margin: auto;
  display: block;
}

.sidebar {
}

.sidebar h1 {
    padding: 1em 0.7em;
    background: #f6f6f6;
}

.entry-list figure {
    width: 40%;
}
}

/* ------------------------------------------
                  for sp
------------------------------------------ */

@media(max-width:480px){

.entry-list figure {
    display: none;
}

}

/* ------------------------------------------
                  SNS
------------------------------------------ */
.entry-detail .entry-social-buttons ul {
    clear: both;
    padding-left: 0px;
    margin-left: 0px;
}

.entry-detail .entry-social-buttons ul li {
    margin-right: 0.5em;
    display: inline-block;
    margin-bottom: 10px;
    vertical-align: bottom;
    list-style: none;
}

.entry-social-buttons .entry-social-facebook {
    padding-bottom: 6px;
}

/* ------------------------------------------
                  pagination
------------------------------------------ */
.page-navigation {
    text-align: center;
}

.page-navigation ul{
    display: block;
    padding-bottom: 10px;
}

.page-navigation li {
    display: inline-block;
    border-bottom: none;
}

.page-navigation li a{
    padding: 0 10px;
}

.page-navigation li a[rel="prev"]::before {
    content: "«";
    margin-right: 0.3em;
}

.page-navigation li a[rel="next"]::after {
    content: "»";
    margin-left: 0.3em;
}


/* サブカテゴリー対応 */
.dropdown-menu .catdepth-2 {
    text-indent: 12px;
}
.dropdown-menu .catdepth-3 {
    text-indent: 24px;
}

.sidebar .catdepth-2 {
    position: relative;
    margin-left: 0px;
    padding-left: 0.25em;
}

.sidebar li.catdepth-2 {
    border-bottom: 0px;
    margin-bottom: 0px;
}

.sidebar .catdepth-2 .nolink {
    color: #999999;
}
.sidebar .catdepth-2 .nolink::after {
    content: "(0)";
}

.sidebar .catdepth-2::before {
    content: "└";
    position: absolute;
    left: -1em;
    top: 0px;
}

.sidebar .submenu {
    margin-left: 1em;
}

.sidebar .catdepth-3 {
    position: relative;
}

.sidebar li.catdepth-3 {
    border-bottom: 0px;
    margin-bottom: 0px;
}

.sidebar .catdepth-3 .nolink {
    color: #999999;
}
.sidebar .catdepth-3 .nolink::after {
    content: "(0)";
}
.sidebar .catdepth-3::before {
    content: "└";
    position: absolute;
    left: -1em;
    top: 0px;
}
.sidebar .group > ul > li {
    margin-bottom: 24px;
}


/*-------------
  webpush
-------------*/
.webpush {
display: none;
}

.mtnet-push-notification-service-enabled .webpush {
  display: block;
  text-decoration: none;
}

a.webpush:hover {
  text-decoration: none;
}

a:hover .side-webpush {
  text-decoration: none;
}

.side-webpush {
  max-width: 100%;
  margin: 1rem auto 30px;
  display: block;
  text-align: center;
  padding: 1rem;
  background: #111;
  border-radius: 4px;
  border-color: #111111;
  color: #ffffff;
}

.side-webpush:hover {
  background: #464646;
  border-color: #464646;
}

.side-webpush__txt {
  text-align: center;
}

.side-webpush__txt::before {
  content: "\f0f3";
  margin-right: 0.25rem;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
