/*
Theme Name: Arkhe Child header-fixed 
Template: arkhe
Description: Arkheの子テーマです。20260615ヘッダー修正。
Version: 1.2
*/

#newpostcatch-2 ul li {
    list-style: none;
}
#npcatch .title {
    display: block;
}
#npcatch figure {
    padding: 0 .5rem 0 0;
}
.npcatch figure {
    min-width: 100px;
    margin-bottom: auto;
    margin-top: 0;
}
#npcatch img {
    border-radius: 4px;
}
#npcatch li a {
    display: flex;
    padding: .5rem 0;
    width: 100%;
}
ul.npcatch {
    margin: 0;
    padding: 0;
}
li.menu-item-12 {
    font-weight: 600;
    color: #FFF;
}
li.menu-item-12 a:hover {
    color: #FFF;
}
li.menu-item-12 a {
    background-color: #337ab7;
    padding: 12px 18px !important;
    height: 2em !important;
    margin: 20px;
    border-radius: 16px;
}

.c-headLogo__img
 {
    height: 36px!important;
    margin-top: -20px;
}

.l-header {
    box-shadow: 0 .25rem .25rem rgba(0, 0, 0, .05);
}


/* brox Header ====================================== */
.brox-header__topnav {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 0;
}

.brox-header__topnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.brox-topnav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
}

.brox-topnav li {
  margin: 0;
}

.brox-topnav a {
  color: #666;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.brox-topnav a:hover {
  color: #0a2540;
}

.brox-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e9ecef;
  position: relative;
  z-index: 1000;
}

.brox-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brox-header__logo {
  flex-shrink: 0;
}

.brox-header__logo a {
  display: block;
  text-decoration: none;
}

.brox-header__logo img {
  display: block;
  height: auto;
}

.brox-header__nav {
  flex: 1;
  margin-left: 40px;
}

.brox-gnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brox-gnav__item {
  margin: 0;
  position: relative;
}

.brox-gnav__item a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
  padding: 8px 0;
}

.brox-gnav__item a:hover {
  color: #0a2540;
}

.brox-gnav__item--dropdown {
  position: relative;
}

.brox-gnav__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 8px 0;
  min-width: 150px;
  list-style: none;
  margin: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1001;
}

.brox-gnav__item--dropdown:hover .brox-gnav__submenu {
  display: block;
}

.brox-gnav__submenu li {
  margin: 0;
}

.brox-gnav__submenu a {
  display: block;
  padding: 10px 16px;
  color: #666;
  font-size: 13px;
  font-weight: normal;
}

.brox-gnav__submenu a:hover {
  background-color: #f8f9fa;
  color: #0a2540;
}

.brox-gnav__item--cta {
  margin-left: 8px;
}

.brox-btn-cta {
  background-color: #337ab7;
  color: #ffffff !important;
  padding: 10px 24px !important;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.brox-btn-cta:hover {
  background-color: #265985;
}

.brox-header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.brox-header__hamburger span {
  width: 24px;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
  display: block;
}

.brox-header__hamburger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.brox-header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.brox-header__hamburger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.brox-drawer {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 250px;
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1001;
}

.brox-drawer[aria-hidden="false"] {
  display: block;
}

.brox-drawer__nav {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.brox-drawer__nav li {
  margin: 0;
}

.brox-drawer__nav a {
  display: block;
  padding: 12px 16px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.brox-drawer__nav a:hover {
  background-color: #f8f9fa;
  color: #0a2540;
}

.brox-drawer__cta a {
  color: #337ab7;
  font-weight: 600;
}

.brox-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.brox-drawer-overlay.is-visible {
  display: block;
}

body.brox-drawer-is-open {
  overflow: hidden;
}

/* Mobile responsive ====================================== */
@media (max-width: 768px) {
  .brox-header__topnav {
    display: none;
  }

  .brox-header__inner {
    padding: 12px 12px;
    gap: 12px;
  }

  .brox-header__logo img {
    width: 100px;
    height: auto;
  }

  .brox-header__nav {
    display: none;
    margin-left: 0;
  }

  .brox-header__hamburger {
    display: flex;
  }

  .brox-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    border: none;
    border-radius: 0;
    padding: 60px 0 0 0;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  }

  .brox-drawer-overlay {
    position: fixed;
  }
}

/* footer====================================== */
.l-footer {
    background: #0a2540;
    color: #FFF;
	font-size: 14px;
}
.footer-sub-link li {
    list-style: none;
}
.l-footer__foot {
    display: none;
}
.l-footer a, .l-footer span {
    text-decoration-line: none;
}
.footer {
  margin-top: 100px;
  background-color: #0A2540;
  color: #FFFFFF;
}

.footer a {
  color: #FFFFFF;
  transition: all .3s;
  text-decoration: none;
  font-size: .875rem;
}

.footer a:hover {
  opacity: .8;
}

.footer__wrapper {
  padding: 80px 0 40px;
}

@media (max-width: 900px) {
  .footer__wrapper {
    padding: 60px 0 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
}

.footer__main {
  display: flex;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .footer__main {
    flex-direction: column-reverse;
    padding: 0 5px;
  }
}

.footer-info {
  margin-right: 8rem;
  font-size: .875rem;
}

@media (max-width: 1200px) {
  .footer-info {
    margin-right: 3rem;
  }
}

@media (max-width: 900px) {
  .footer-info {
    margin-right: 0;
  }
}

.footer-info__name {
  margin-bottom: 5px;
  font-weight: bold;
}

@media (max-width: 900px) {
  .footer-info__name {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }
}

.footer-link-group {
  display: flex;
}

@media (max-width: 900px) {
  .footer-link-group {
    margin-bottom: 50px;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .footer-link_list {
    width: 50%;
  }
}

@media (max-width: 900px) {
  .footer-link_list:not(:nth-last-child(2)) {
    margin-bottom: 20px;
  }
}

.footer-link_list:not(:last-of-type) {
  margin-right: 60px;
}

@media (max-width: 900px) {
  .footer-link_list:not(:last-of-type) {
    margin-right: 0;
  }
}

@media (max-width: 900px) {
  .footer-link_list:last-of-type {
    margin-bottom: 0;
  }
}

.footer-link_list dt {
  margin-bottom: 16px;
  font-weight: bold;
  text-decoration-line: none;
  font-size: 1rem;
}

.footer-link_list dd {
  position: relative;
  margin-bottom: 5px;
}

.footer-link_list dd:not(:last-of-type) {
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .footer-link_list dd {
    font-size: 1.3rem;
  }
}

.list-lg-link a {
  font-size: 1rem;
}

.footer-info__sub {
  margin-bottom: 20px;
  display: flex;
}

.footer-info__sub .image {
  width: 9%;
  margin-right: 2%;
}

@media (max-width: 900px) {
  .footer-info__sub .image {
    width: 18%;
    max-width: 45px;
  }
}

.footer-info__address {
  margin-bottom: 10px;
}

.footer-mark {
  background-color: #FFFFFF;
  padding: 10px 6%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  width: 360px;
  justify-content: center;
}

@media (max-width: 900px) {
  .footer-mark {
    padding: 2% 5%;
    width: 100%;
    max-width: 320px;
  }
}

.footer-sub {
  border-top: 1px solid #37404D;
  padding-top: 20px;
}

.footer-sub-link {
  display: flex;
}

.footer-sub-link a {
  font-size: .75rem;
}

.footer-sub-link img {
  display: inline-block;
}

@media (max-width: 900px) {
  .footer-sub-link {
    flex-wrap: wrap;
  }
}

.footer-sub-link li {
  margin-right: 20px;
  position: relative;
}

@media (max-width: 900px) {
  .footer-sub-link li {
    margin-bottom: 5px;
  }
}

.footer-sub-link li:last-of-type {
  margin-left: auto;
}

.copy {
  color: #FFFFFF;
  font-size: .75rem;
}

@media (max-width: 900px) {
  .copy {
    margin-top: 35px;
    display: block;
  }
}

.blank-icon {
  width: 10px;
  vertical-align: baseline;
  margin-left: 3px;
}

@media (max-width: 900px) {
  .list-sp-link {
    padding-left: 12%;
  }
}

/* footerここまで====================================== */

/* sticky サイドバー====================================== */

@media (min-width: 1000px){
  #adrotate_widgets-3{  /* ← 2つ目バナーの実IDに置き換え */
    position: sticky;
	top: 120px;
    z-index: 5;
  }
}


/* Content View====================================== */
.iscvblock .pt-cv-readmore.btn {
    background: none;
    border-color: transparent;
    border: 1px #337ab7;
    border-radius: 50%;
    font-size: 0.8rem;
    line-height: 1.8em;
    float: right;
    margin-left: 20px;
    margin-top: -2px;
	border: 1px solid #337ab7;
    color: #337ab7;
}
.pt-cv-content {
    display: flex;
}
h4.pt-cv-title a {
    color: #16688b;
}
.pt-cv-taxoterm.above_title a {
    background: #5c8a9d;
    padding: 2px 10px;
    color: #ffffff;
    font-size: 0.8rem;
    border-radius: 4px;
}

/* 目次====================================== */
div#ez-toc-container ul.ez-toc-list a {
    font-weight: normal;
}

/* ============================================================
   brox グローバルヘッダー（親サイト統一デザイン）
   ============================================================ */

/* Arkhe デフォルトヘッダーを完全非表示 */
#header.l-header {
    display: none !important;
}
.l-headerUnder {
    display: none !important;
}

/* ヘッダー全体 */
#brox-global-header.brox-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.brox-header__inner {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    gap: 32px;
}

/* ロゴ */
.brox-header__logo {
    flex-shrink: 0;
    line-height: 1;
}

.brox-header__logo a {
    display: block;
}

.brox-header__logo img {
    height: 36px;
    width: auto;
    display: block;
}

/* グローバルナビ */
.brox-header__nav {
    margin-left: auto;
}

.brox-gnav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.brox-gnav__item a {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
}

.brox-gnav__item a:hover {
    color: #337ab7;
}

/* 「コラム」ナビアイテム（現在地ハイライト） */
.brox-gnav__item--column a {
    color: #337ab7;
    font-weight: 600;
}

/* CTAボタン（資料請求） */
.brox-gnav__item--cta a.brox-btn-cta {
    background: #337ab7;
    color: #fff !important;
    border-radius: 24px;
    padding: 0 20px;
    height: 40px;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s, opacity .2s;
}

.brox-gnav__item--cta a.brox-btn-cta:hover {
    background: #2868a0;
    opacity: 1;
}

/* ハンバーガーボタン（SP用） */
.brox-header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    padding: 8px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
}

.brox-header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

.brox-header__hamburger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.brox-header__hamburger.is-open span:nth-child(2) {
    opacity: 0;
}
.brox-header__hamburger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ドロワーメニュー（SP用） */
.brox-drawer {
    position: fixed;
    top: 64px;
    right: 0;
    width: 280px;
    height: calc(100vh - 64px);
    background: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 999;
    overflow-y: auto;
    padding: 24px 0;
}

.brox-drawer[aria-hidden="false"] {
    transform: translateX(0);
}

.brox-drawer__nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.brox-drawer__nav li a {
    display: block;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}

.brox-drawer__nav li a:hover {
    color: #337ab7;
    background: #f8f8f8;
}

.brox-drawer__cta a {
    display: block;
    margin: 24px 24px 0;
    padding: 14px;
    background: #337ab7;
    color: #fff !important;
    text-align: center;
    border-radius: 24px;
    font-weight: 600;
    text-decoration: none;
}

/* ドロワーオーバーレイ */
.brox-drawer-overlay {
    display: none;
    position: fixed;
    inset: 64px 0 0;
    background: rgba(0, 0, 0, .4);
    z-index: 998;
}
.brox-drawer-overlay.is-visible {
    display: block;
}

/* bodyスクロールロック（ドロワー開いているとき） */
body.brox-drawer-is-open {
    overflow: hidden;
}

/* WordPressコンテンツ上部の余白調整（sticky header分） */
.l-content {
    padding-top: 0 !important;
}

/* ============================================================
   SP レスポンシブ（768px以下）
   ============================================================ */
@media (max-width: 768px) {
    .brox-header__nav {
        display: none;
    }
    .brox-header__hamburger {
        display: flex;
    }
}

/* ============================================================
   サイドバー ウィジェット スタイル
   ============================================================ */

/* 検索 */
.l-sidebar .c-searchForm {
    border: 1px solid #dde1e7;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.l-sidebar .c-searchForm__s {
    border: none !important;
    background: transparent;
    border-radius: 0;
}

.l-sidebar .c-searchForm__submit {
    background: #337ab7;
    border-radius: 0;
}

.l-sidebar .c-searchForm__submit svg,
.l-sidebar .c-searchForm__submit path {
    fill: #fff;
    color: #fff;
}

/* 最新記事 */
.l-sidebar .widget_recent_entries__list {
    border-top: none;
    border-bottom: none;
}

.l-sidebar .widget_recent_entries__a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 4px 12px 0;
    font-size: 13px;
    line-height: 1.5;
}

.l-sidebar .widget_recent_entries__a::before {
    content: "";
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z' fill='%23337ab7'/%3E%3C/svg%3E") no-repeat center / contain;
}

.l-sidebar .widget_recent_entries__a::after {
    content: "";
    flex-shrink: 0;
    margin-left: auto;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z' fill='%23337ab7'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* カテゴリー */
.l-sidebar .widget_categories > ul {
    border-top: none;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.l-sidebar .widget_categories li {
    background: #f5f5f5;
    border-bottom: none !important;
    border-radius: 6px;
    overflow: hidden;
}

.l-sidebar .widget_categories a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
}

.l-sidebar .widget_categories a::before {
    content: "";
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z' fill='%23337ab7'/%3E%3C/svg%3E") no-repeat center / contain;
}

.l-sidebar .widget_categories a::after {
    content: "";
    flex-shrink: 0;
    margin-left: auto;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z' fill='%23337ab7'/%3E%3C/svg%3E") no-repeat center / contain;
}
