@charset "utf-8";

/* BizVektor の気に入らないところを調整 ここから */
body #wrap {
    font-family: "ヒラギノ角ゴ ProN","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
body :is(h1, h2, h3, h4, h4, h5, h6, #header #site-title, #pageTitBnr #pageTitInner #pageTit, #content .leadTxt, #sideTower .localHead) {
    font-family: Hiragino Mincho ProN,"游明朝",serif;
}
.content .adminEdit,
.content .edit-link {
    display: none;
}
body .content h2,
body .content h1.contentTitle,
body .content h1.entryPostTitle {
    font-weight: bold;
}
body .content h2 {
    font-size: 1.5rem;
}
body .content h3 {
    font-size: 1.35rem;
    font-weight: bold;
}
.content .wp-block-cover img {
    height: 100% !important; /* カバーブロックで画像が欠けないように */
}
body .content ul, body .content ol {
    margin: unset;
}
body .content ul li, body .content ol li {
    list-style: none;
}
body .content .aligncenter,
body .content img.aligncenter {
    display: table;
}
/* BizVektor の気に入らないところを調整 ここまで */



/* 管理バーの「編集ガイド SHOW / HIDE」の切り替えが動作しない問題の対策 */
#wp-admin-bar-veu_disable_admin_edit.ujs-active .ab-item ._show {
    display: none;
}
#wp-admin-bar-veu_disable_admin_edit.ujs-active .ab-item ._hide {
    display: inline;
}
body.ujs_hide_edit_guide :is(.adminEdit,.edit-link,.veu_adminEdit) {
    display: none;
}

/* コードブロック */
.wp-block-code {
border: solid 1px #ccc;
padding: 1em;
border-radius: 5px;
}

/* インラインコード */
p code, ul code {
font-family: Inconsolata,Consolas,Monaco,"Lucida Console",monospace;
display: inline-block;
background-color: #f9f9f9;
border: 1px solid #ddd;
padding: 0 5px;
max-width: 95%;
vertical-align: middle;
margin-top: -3px;
overflow-x: auto;
}

/* 画面幅が大きい端末で表示したときに間延びしたかんじにならないようにする */
.mw-800 {
max-width: 800px !important;
margin-left: auto;
margin-right: auto;
}
.mw-640 {
max-width: 640px !important;
margin-left: auto;
margin-right: auto;
}
.mw-500 {
max-width: 500px !important;
margin-left: auto;
margin-right: auto;
}
.mw-400 {
max-width: 400px !important;
margin-left: auto;
margin-right: auto;
}
.mw-320 {
max-width: 320px !important;
margin-left: auto;
margin-right: auto;
}
.mw-240 {
max-width: 240px !important;
margin-left: auto;
margin-right: auto;
}
.mw-50p {
max-width: 50% !important;
margin-left: auto;
margin-right: auto;
}
.mw-75p {
max-width: 75% !important;
margin-left: auto;
margin-right: auto;
}

/* 全幅のコンテンツを使えるように */
body {
    overflow-x: hidden;
}
body .content .entry-content {
    overflow: visible;
}
body .content .alignfull {
    width: auto;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100svw;
}

/* [PC] 投稿を1カラムで表示 */
@media (min-width: 970px) {
  body.single #main #container .content,
  body.single #main #container #sideTower {
    float: none;
    width: 99%;
  }
}

/* フッター位置を最下部固定ではなくふつうの位置にする */
#footerSection {
    top: unset !important;
}

.mincho {
    font-family: Hiragino Mincho ProN,"游明朝",serif;
}



/* [PC] ヘッダー・グローバルメニュー */
@media (min-width: 970px) {
  body #header .innerBox #site-title {
    margin-top: 10px;
  }
  body #header .innerBox #site-title img {
    max-height: 60px;
  }
  body .headMainMenu {
    margin-top: 10px;
  }
  body #header {
    padding-bottom: 10px;
  }
  body #gMenu .menu li a strong {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    align-items: center;
  }
  body #gMenu .menu li a strong i {
    font-size: 1.25rem;
    color: var(--vk-color-custom-1);
  }
}



/* [SP] グローバルメニュー */
@media (max-width: 969.98px) {
  body .headMainMenu li a {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px 18px 15px;
  }
  body #gMenu .menu li a strong {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0;
  }
  body .headMainMenu li a strong i {
    font-size: 1.5rem;
    color: var(--vk-color-custom-1);
    margin-right: 0.2em;
    display: block;
    text-align: center;
    width: 1.25em;
  }
  body .headMainMenu li a span {
    display: block;
  }
  body #gMenu .headMainMenu ul li a:after {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
}



