@charset "utf-8";

/* ====================
  基本
==================== */
body {
    font-family: "Roboto", "Noto Sans JP", sans-serif;
}

header {
    z-index: 10001;
}

/* ====================
  ナビゲーション・ロゴ
==================== */
.uk-navbar-container:not(.uk-navbar-transparent) {
    background: #fff;
}

.uk-logo img {
    margin-left: 10px;
}

.uk-navbar-toggle {
    width: 80px;
    height: 80px;
    font-size: 11px;
    margin-right: 0;
}

.uk-navbar-toggle[aria-expanded="true"] .toggle-label::before {
    content: "閉じる";
}

.uk-navbar-toggle:not([aria-expanded="true"]) .toggle-label::before {
    content: "メニュー";
}

.toggle-label {
    position: relative;
    display: block;
    text-align: center;
    white-space: nowrap;
    visibility: hidden;
}

.toggle-label::before {
    visibility: visible;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* ====================
  見出しスタイル
==================== */
.mm-front-container h1, 
.mm-front-container h2, 
.mm-front-container h3 {
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    letter-spacing: 0.05em;
}

h1,
.mm-front-container h1 {
    font-size: 2em;
}

h2,
.mm-front-container h2 {
    font-size: 1.8em;
}

h3,
.mm-front-container h3 {
    font-size: 1.55em;
}

.mm-front-container h3 {
    margin-left: -0.1em;
}

.mm-front-container h1:after, 
.mm-front-container h3:after {
    content: "";
    flex-grow: 1;
    margin-left: 0.5em;
    border-bottom: dotted #ccc;
}

.mm-front-container h1:after {
    border-bottom-width: 3px;
}

.mm-front-container h3:after {
    border-bottom-width: 2px;
}

.mm-front-container h3.mm-h-important {
    color: #ee2a7b;
}

.mm-front-container h3.mm-h-important:after {
    border-bottom-color: #ee2a7b;
}

.mm-title {
    font-size: 2.4em;
    font-weight: 400;
}

@media (max-width: 939px) {
    h1 {
        font-size: 1.6em;
    }
    h2 {
        font-size: 1.4em;
    }
    h3 {
        font-size: 1.2em;
    }
    .mm-title {
        font-size: 1.6em;
        font-weight: 400;
    }
}

/* ====================
  メインメニュー
==================== */

.mm-mainmenu {
    display: flex;
    justify-content: center;
    background: #fff;
}

.mm-mainmenu > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mm-mainmenu > div a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: 100%;
    color: #888;
    text-decoration: none;
    overflow: hidden;
    transition: color 0.2s ease;
}

.mm-mainmenu > div a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: #333;
    transition: height 0.2s ease;
}

.mm-mainmenu > div.uk-active a::after,
.mm-mainmenu > div a:hover::after {
    height: 4px;
}

.mm-mainmenu > div.uk-active a,
.mm-mainmenu > div a:hover {
    color: #333;
}

/* アイコン＋テキスト */
.mm-mainmenu > div [class^="icon-"],
.mm-mainmenu > div div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.mm-mainmenu > div [class^="icon-"] {
    font-size: 24px;
}

.mm-mainmenu > div div {
    font-size: 1em;
    line-height: 1.2;
    text-align: center;
}

/* ドロップダウンナビ */
.uk-drop {
    background: #333;
    padding: 0;
}

.uk-nav {
    background: #333;
    color: #fff;
    font-size: 1.1rem;
}

.uk-nav a {
    padding: 10px !important;
}

.uk-nav.uk-nav-divider li {
    padding: 0 !important;
    margin: 0 !important;
    border-top: 1px solid #555 !important;
}

.uk-nav-primary > li.uk-active > a,
.uk-nav-primary > li > a:hover {
    background: #5a5a5a;
    color: #fff !important;
}

/* ====================
  ナビゲーション レスポンシブ
==================== */
@media (max-width: 939px) {
    .mm-mainnav {
        border-bottom: 1px solid #ddd;
    }
    .entry .uk-table {
        width: 100% !important;
    }
    .mm-side, footer {
        background: #f5f5f5;
    }
    .mm-side {
        z-index: 1;
        position: relative;
        left: 15px;
        padding: 40px 15px 15px 15px;
        box-sizing: border-box;
    }
}

@media (min-width: 640px) and (max-width: 959px) {
    .mm-side {
        margin-bottom: 15px;
    }
}

@media (min-width: 940px) {
    .mm-mainnav img {
        height: 68px;
    }
    .mm-mainnav .uk-navbar-sticky img {
        height: 50px;
    }
    .uk-sticky-fixed .mm-mainmenu > div [class^="icon-"] {
        min-height: 20px;
        font-size: 20px;
    }
    .uk-sticky-fixed .mm-mainmenu > div div {
        min-height: 40px;
        font-size: 0.91em;
        line-height: 1;
        text-align: left;
    }
    .uk-sticky-fixed .mm-mainmenu > div a {
        flex-direction: row;
        padding: 3px;
    }
    .uk-sticky-fixed .mm-mainmenu > div.uk-active a,
    .uk-sticky-fixed .mm-mainmenu > div a:hover {

    }
    .uk-navbar-sticky .uk-navbar-item,
    .uk-navbar-sticky .uk-navbar-nav > li > a,
    .uk-navbar-sticky .uk-navbar-toggle {
        font-size: 0.8rem;
    }
}

/* ====================
  その他パーツ
==================== */
/* ショートカットボタン */
.mm-shortcut .uk-button {
    padding: 10px 0;
    line-height: 1.5;
    color: #777;
}

.mm-shortcut [class^="icon-"] {
    font-size: 1.75em;
}

/* 記事内 タグ・カテゴリ */
.mm-ex-cat-type,
.mm-ex-cat-cat {
    display: inline-block;
    font-size: 0.9em;
}

.mm-ex-cat-type {
    margin: 0 0.5em 0 0;
    padding: 0 0.5em;
    background: #fff;
    border: 1px solid #ccc;
}

.mm-ex-cat-type-2 {
    color: #fd5e5e;
    border-color: #ff9c9c;
}

.mm-ex-cat-cat {
    padding: 0 0.8em 0 0.5em;
    background: #f5f5f5;
    border-left: 0.4em solid #FF9800;
}

.mm-ex-cat-cat-6 { border-left-color: #03A9F4; }
.mm-ex-cat-cat-4 { border-left-color: #4CAF50; }
.mm-ex-cat-cat-3 { border-left-color: #d65983; }

/* 記事抜粋 */
.mm-ex-title {
    font-size: 1.2em;
}

.mm-ex-period,
.mm-ex-excerpt {
    font-size: 0.9em;
    color: #555;
}

.mm-ex-period {
    font-size: 0.95em;
}

.mm-ex-excerpt {
    margin-top: 0.5em;
}

/* カレンダー */
table.mm-calendar {
    width: 100%;
    margin: 0 auto;
    font-size: 0.85em;
    color: #555;
}

table.mm-calendar caption {
    margin: 10px 0 8px;
    text-align: center;
    font-size: 1.1em;
}

table.mm-calendar th,
table.mm-calendar td {
    text-align: center;
    vertical-align: middle;
    font-weight: normal;
}

table.mm-calendar td {
    background: #f5f5f5;
    border: 1px solid #fff;
}

table.mm-calendar td.empty {
    background: #fff;
}

table.mm-calendar td.close {
    background: #999;
    color: #fff;
}

table.mm-calendar td.today {
    font-weight: bold;
}

table.mm-calendar th.sun {
    color: #f00;
}

table.mm-calendar th.sat {
    color: #00f;
}

.mm-calendar-closeday {
    position: relative;
    height: 12px;
    line-height: 1;
    border-left: 20px solid #999;
    padding-left: 5px;
}

/* イベントボックス */
.mm-home-event {
    margin-top: 20px;
    padding-top: 30px;
    background: #fffbf0;
    border: 1px solid #ff7bb1;
    position: relative;
}

.mm-home-event h3 {
    position: absolute;
    top: -20px;
    left: 1px;
    padding: 5px 10px;
    background: #ef2a7b;
    font-size: 1.1em;
    color: #fff;
    margin-top: 0 !important;
}

.mm-home-event h3:after {
    display: none;
}

.mm-home-event .uk-text-meta {
    color: #555;
}

/* サイドメニュー */
.mm-sidemenu .current_page_item > a,
.mm-sidemenu .current-cat > a,
.mm-sidemenu .current > a,
.mm-sidemenu .mm-toc a.active {
    font-weight: bold;
}

@media (max-width: 939px) {
    .mm-sidemenu .mm-toc a.active {
        font-weight: normal;
    }
}

.mm-sidemenu .mm-toc ul {
    margin-left: -20px;
    font-size: 0.9em;
}

.mm-sidemenu-home {
    margin-bottom: 15px;
   margin-left: 3px;
}

.mm-sidemenu-home:after {
    margin-left: 5px;
    content: "/";
    font-size: 0.9em;
    color: #aaa;
}

/* トップへボタン */
a.uk-totop {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    transition: all 250ms ease;
    background: #555;
    color: #fff !important;
}

a.uk-totop:hover {
    background: #aaa;
}

a.uk-totop:not(.uk-active) {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    pointer-events: none;
}

a.uk-totop.uk-active {
    opacity: 1;
}

/* entry */

.entry {
    line-height: 1.75;
}

/* 画像キャプション・テーブル */
.entry img,
.entry .wp-caption,
.entry .uk-card {
    max-width: 100%;
}

.uk-overflow-auto .uk-table {
    min-width: 900px;
}

@media (max-width: 939px) {
    .entry img {
        display: block;
        margin: 0 auto;
        float: none;
    }
}

@media (min-width: 940px) {
    .entry {
        min-height: 300px;
    }
    .entry p {
        font-size: 1.15em;
        line-height: 1.8;
    }
}

/* サブコンテンツ */
.subcontent {
    padding: 10px;
    background: #fafafa;
    border: 1px solid #ddd;
}

/* pagenav */

.wp-pagenavi {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    margin: 20px auto;
}

.wp-pagenavi a, .wp-pagenavi span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-decoration: none;
    background-color: #f0f0f0;
    color: #555;
    font-weight: normal;
    transition: background-color 0.1s, color 0.1s;
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
    background-color: #555;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.wp-pagenavi span.extend {
    background-color: unset;
}

.wp-pagenavi a,
.wp-pagenavi span {
    border: none;
}


.wp-pagenavi .pages {
    background: none;
    color: #777;
    padding: 0;
    margin-right: 10px;
    width: auto;
    height: auto;
    border-radius: 0;
    display: inline;
}



/* icons */

@font-face {
  font-family: 'shihaku';
  src: url('../font/shihaku.eot?22887835');
  src: url('../font/shihaku.eot?22887835#iefix') format('embedded-opentype'),
       url('../font/shihaku.woff2?22887835') format('woff2'),
       url('../font/shihaku.woff?22887835') format('woff'),
       url('../font/shihaku.ttf?22887835') format('truetype'),
       url('../font/shihaku.svg?22887835#shihaku') format('svg');
  font-weight: normal;
  font-style: normal;
}
[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "shihaku";
  font-style: normal;
  font-weight: normal;
  speak: never;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-star:before { content: '\e800'; } /* '' */
.icon-frames:before { content: '\e801'; } /* '' */
.icon-info:before { content: '\e802'; } /* '' */
.icon-book:before { content: '\e803'; } /* '' */
.icon-flag:before { content: '\e804'; } /* '' */
.icon-pencil:before { content: '\e805'; } /* '' */
.icon-fontsize:before { content: '\e806'; } /* '' */
.icon-home:before { content: '\e807'; } /* '' */
.icon-help:before { content: '\e808'; } /* '' */
.icon-x:before { content: '\e809'; } /* '' */
.icon-doc:before { content: '\e80a'; } /* '' */
.icon-comment:before { content: '\e80b'; } /* '' */
.icon-mail:before { content: '\e80c'; } /* '' */
.icon-clock:before { content: '\e80d'; } /* '' */
.icon-calendar:before { content: '\e80e'; } /* '' */
.icon-link-ext:before { content: '\f08e'; } /* '' */
.icon-lightbulb:before { content: '\f0eb'; } /* '' */
.icon-doc-text:before { content: '\f0f6'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */
.icon-file-pdf:before { content: '\f1c1'; } /* '' */
.icon-file-image:before { content: '\f1c5'; } /* '' */
.icon-file-archive:before { content: '\f1c6'; } /* '' */