/*
Theme Name: Lightning
Text Domain: lightning
Theme URI: https://lightning.vektor-inc.co.jp/en/
Description: Lightning is a very simple & easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files.
Author: Vektor,Inc.
Author URI: https://www.vektor-inc.co.jp
Version: 15.42.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Lightning WordPress theme, Copyright (C) 2015-2026 Vektor,Inc.
Lightning WordPress theme is licensed under the GPL.

Lightning WordPress Theme bundles the following third-party resources:

Font Awesome icon font, Copyright 2012 Fonticons, Inc.
its fonts are licensed under the terms of the SIL OFL License 1.1, and its code is licensed under the terms of the MIT license
Source: https://fontawesome.com/

Bootstrap framework, Copyright 2011 Bootstrap Authors and Twitter, Inc.
Bootstrap is licensed under the terms of the MIT license
Source: https://getbootstrap.com/

CSS Simple Tree Shaking
CSS Simple Tree Shaking is licensed under the terms of the GNU General Public License v2 license
Source: https://celtislab.net/
*/

.font-size-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
}

.font-size-switcher button {
  padding: 5px 10px;
  border: none;
  background: #333333;
  color: #FFF;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  transition: 0.5s all;
}

.font-size-switcher button:hover {
  background: #777;
}

.font-size-switcher button.active {
  background: #333;
  color: #fff;
  border-color: #333;
}

.font-size-switcher button:focus-visible {
  outline: 3px solid #0073aa;
  outline-offset: 2px;
}

/* タブ全体 */
.news-tabs {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* タブメニュー */
.news-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.news-tab {
  padding: 1.5rem 2rem 1.3rem 2rem;
  border-bottom: none;
  background: #CCE6E8;
  color: #333;
  cursor: pointer;
  font-weight: 600;
  border: none;
  width: 100%;
  max-width: 150px;
  border-radius: 5px 5px 0px 0px;
  position: relative;
  transition: 0.5s all;
}

.news-tab:hover {
  background: #e5edf5;
  color: #FFF;
}

.news-tab.active {
  background: #00828D;
  color: #fff;
  border-color: #00828D;
}

.news-tab:nth-child(2).active,
.news-tab:nth-child(2):hover {
  background: #1C8259;
}

.news-tab:nth-child(3).active,
.news-tab:nth-child(3):hover {
  background: #D14343;
}

.news-tab:nth-child(4).active,
.news-tab:nth-child(4):hover {
  background: #E98624;
}

.news-tab:nth-child(5).active,
.news-tab:nth-child(5):hover {
  background: #915DA3;
}

.news-tab:nth-child(6).active,
.news-tab:nth-child(6):hover {
  background: #707070;
}

.news-tab::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid transparent;
  transition: 0.5s all;
}

.news-tab.active::after {
  border-top: 10px solid #00828D;
}

.news-tab:nth-child(2).active::after {
  border-top: 10px solid #1C8259;
}

.news-tab:nth-child(3).active::after {
  border-top: 10px solid #D14343;
}

.news-tab:nth-child(4).active::after {
  border-top: 10px solid #E98624;
}

.news-tab:nth-child(5).active::after {
  border-top: 10px solid #915DA3;
}

.news-tab:nth-child(6).active::after {
  border-top: 10px solid #707070;
}

/* コンテンツ */
.news-panel {
  display: none;
}

.news-panel.active {
  display: block;
  background-color: #FFF;
  padding: 2rem 2rem 3rem;
}

/* 記事一覧 */
.news-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.news-item time {
  flex-shrink: 0;
}

/* 記事なし */
.news-empty {
  padding: 20px 10px;
}

/* もっと見る */
.news-more {
  text-align: center;
  margin-top: 25px;
}

.news-more a {
  display: inline-block;
  min-width: 180px;
  padding: 0.8rem 4rem 0.7rem;
  background: #FFF;
  color: #00828D;
  border: 2px solid #00828D;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.5s;
  text-align: center;
  position: relative;
  font-weight: 600;
}

.news-more a::after {
  content: "";
  background-image: url(/wp-content/themes/lightning/img/icon_arrow_blue_right.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 9px;
  height: 14px;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.5s all;
}

.news-more a:hover::after {
  filter: brightness(0) invert(1);
}

.news-more a:hover {
  background: #00828D;
  color: #fff;
}

.news-more span {
  margin-left: 10px;
}

.infinite-slider {
  width: 100%;
  overflow: hidden;
}

.infinite-slider-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: infinite-scroll 30s linear infinite;
}

.infinite-slider-track .slide {
  flex: 0 0 260px;
  width: 260px;
  height: 200px;
  margin: 0;
  padding: 0;
}

.infinite-slider-track img {
  display: block;
  width: 260px;
  height: 200px;
  object-fit: cover;
}

/* 左方向へ無限スクロール */
@keyframes infinite-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

html {
  font-size: 62.5%;
}

body {
  font-family: "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
  font-size: 1.6rem;
  color: #333;
  font-weight: 500;
}

/* 文字サイズ切替 */
body.font-small {
  font-size: 1.44rem;
}

body.font-medium {
  font-size: 1.6rem;
}

body.font-large {
  font-size: 1.92rem;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
  max-width: none !important;
}

.header_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_right {
  display: flex;
  gap: 1rem 3rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tel {
  font-size: 3.2rem;
  font-weight: 600;
  padding-left: 4rem;
  position: relative;
}

.tel::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 1px);
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background-image: url(/wp-content/themes/lightning/img/icon_tel.png);
  background-size: contain;
}

.font-size-switcher span {
  font-size: 1.6rem;
  margin-right: 5px;
  font-weight: 600;
}

#searchform>div {
  display: flex;
}

#searchform input#s.form-control {
  width: 190px;
  height: 36px;
  border: 3px solid #187FA4;
  border-right: none;
  border-radius: 3px 0px 0px 3px;
  font-size: 1.6rem;
}

#searchform input#searchsubmit {
  height: 36px;
  margin: 0;
  border-radius: 0px 3px 3px 0px;
  background-color: #187FA4;
  background-image: url(/wp-content/themes/lightning/img/icon_search.png);
  background-size: 19px 19px;
  background-position: center;
  text-indent: -9999px;
  background-repeat: no-repeat;
  padding: 5px 20px;
  border: none;
}

.sns {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

/* グローバルメニュー全体 */
#gMenu_outer {
  width: 100%;
}

/* メニューリスト */
#gMenu_outer .gMenu {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 1rem;
}

/* 各メニュー項目 */
#gMenu_outer .gMenu>li {
  flex: 1;
  width: auto;
  text-align: center;
}

/* リンク */
#gMenu_outer .gMenu>li>a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 1.8rem 1rem;
  white-space: nowrap;
  font-weight: 600;
  border-radius: 3px;
  transition: 0.5s all;
  background-color: #187FA4;
  color: #fff;
}

.gMenu>li .gMenu_name {
  font-size: 2rem !important;
}

.gMenu>li:before {
  content: none !important;
}

.container.siteHeadContainer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-left: 5rem;
  padding-right: 5rem;
  padding-bottom: 2rem;
}

.siteHeader {
  box-shadow: none;
}

.siteContent {
  padding: 0;
}

.col.mainSection.mainSection-col-one {
  padding: 0;
}

#gMenu_outer .gMenu>li:hover>a {
  background-color: #ECF5F8;
  color: #333;
}

.siteHeader .siteHeadContainer:after {
  content: none;
}

footer.section.siteFooter {
  background-color: #187FA4;
  padding: 4rem 2rem 0;
}

.footer_top {
  display: flex;
  gap: 5rem;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  flex-wrap: wrap;
}

.footer_top p {
  margin: 0;
  color: #FFF;
  line-height: 1.5;
}

.footer_btn {
  display: flex;
  gap: 2rem;
}

.footer_btn a {
  color: #187FA4;
  font-size: 1.8rem;
  font-weight: 600;
  background-color: #FFF;
  text-decoration: none;
  padding: 0.6rem 2rem;
  border-radius: 3px;
  display: flex;
  gap: 2rem;
  position: relative;
  align-items: center;
  width: 100%;
  min-width: 180px;
  justify-content: space-between;
}

.footer_btn a::after {
  content: "";
  background-image: url(/wp-content/themes/lightning/img/icon_arrow_blue_right.png);
  width: 9px;
  height: 14px;
  transition: 0.5s all;
  position: relative;
  background-size: contain;
}

.footer_btn a:hover::after {
  right: -5px;
  transition: 0.5s all;
}

.footer_bot {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer_bot a {
  color: #FFF;
}

.footer_box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.container.sectionBox.copySection.text-center {
  padding: 1rem;
  color: #FFF;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2rem;
}

#wpfront-scroll-top-container img {
  border: 2px solid #FFF;
  border-radius: 10px;
}

/* ナビゲーション全体 */
.flex-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

/* 各ナビゲーション */
.flex-nav-wrapper .flex-control-nav,
.flex-nav-wrapper .flex-direction-nav,
.flex-nav-wrapper .flex-pauseplay {
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  width: auto;
}

.flex-control-nav,
.flex-direction-nav {
  gap: 1rem;
}

/* 再生・停止 */
.flex-pauseplay a {
  position: static !important;
  display: block !important;
}

.flexslider .flex-direction-nav li a {
  background: transparent !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  position: relative !important;
  transform: none !important;
}

.flex-control-paging li a {
  background: #FFFFFF !important;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5) !important;
  width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 2px solid #FFF !important;
}

.flexslider .flex-control-nav li a:not(.flex-active) {
  background: #FFFFFF !important;
}

#metaslider-id-75 .flexslider .flex-control-nav li a.flex-active {
  background: #FF9900 !important;
}

.metaslider.ms-theme-default-base .flexslider .flex-direction-nav li a.flex-prev:after {
  mask-image: none !important;
  background-image: url(/wp-content/themes/lightning/img/icon_arrow_white_left.png) !important;
  background-repeat: no-repeat !important;
  background-color: #00828D !important;
  background-position: center left 6px !important;
  border: 2px solid #FFF !important;
  border-radius: 50px;
  background-size: 9px 14px;
}

.metaslider.ms-theme-default-base .flexslider .flex-direction-nav li a.flex-next:after {
  mask-image: none !important;
  background-image: url(/wp-content/themes/lightning/img/icon_arrow_white_right.png) !important;
  background-repeat: no-repeat !important;
  background-color: #00828D !important;
  background-position: center right 6px !important;
  border: 2px solid #FFF !important;
  border-radius: 50px;
  background-size: 9px 14px;
}

.metaslider .flexslider .flex-pauseplay .flex-pause,
.metaslider .flexslider .flex-pauseplay .flex-play {
  width: 26px !important;
  height: 26px !important;
  background: #00828D !important;
  opacity: 1 !important;
  border: 2px solid #FFF;
}

.metaslider .flexslider .flex-pauseplay a:before {
  font-size: 11px !important;
  margin: 0 !important;
  line-height: 24px !important;
  display: block !important;
  position: relative;
  left: -1px;
}

.metaslider .flexslider .flex-pauseplay .flex-play:before {
  margin-left: 2px !important;
}

.metaslider.ms-theme-default-base .flexslider .flex-pauseplay a:focus {
  outline: none !important;
}

/* 初期状態は非表示 */
.flex-control-nav,
.flex-direction-nav,
.flex-pauseplay {
  visibility: hidden !important;
}

/* 横並び処理が完了したら表示 */
.flex-nav-ready .flex-nav-wrapper>* {
  visibility: visible !important;
}

.metaslider .flexslider {
  margin-bottom: 0 !important;
}

.news_box {
  padding: 7rem 2rem;
  background-color: #ECF5F8;
}

.home h2 {
  text-align: center;
  border: none;
  font-size: 3.2rem;
  font-weight: 600;
  padding: 0 0 2rem;
  width: fit-content;
  margin: 0 auto 5rem;
  position: relative;
}

.home h2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: #FF9900;
}

.home h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 50px);
  width: 30px;
  height: 3px;
  background-color: #00828D;
}

.news-tabs {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* お知らせ一覧 */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  border-bottom: 1px solid #ddd;
  margin: 0 !important;
  padding: 2rem 1rem;
}

/* カテゴリ */
.news-category {
  display: inline-block;
  min-width: 106px;
  padding: 0px 0px;
  background: #eee;
  color: #FFF !important;
  text-align: center;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 600;
  flex: 0 !important;
}

/* タイトル */
.news-item a {
  flex: 1;
  color: #333;
  text-decoration: none;
  line-height: 2;
  position: relative;
  top: -2px;
}

.news-item a:hover {
  color: #0073aa;
  text-decoration: underline;
}

/* 補助金 */
.news-category.subsidy,
.term-subsidy a {
  background-color: #1C8259 !important;
}

/* セミナー */
.news-category.seminar,
.term-seminar a {
  background-color: #D14343 !important;
}

/* イベント */
.news-category.event,
.term-event a {
  background-color: #E98624 !important;
}

/* 検定試験 */
.news-category.exam,
.term-exam a {
  background-color: #915DA3 !important;
}

/* その他 */
.news-category.other,
.term-other a {
  background-color: #707070 !important;
}

.service_box {
  padding: 7rem 2rem;
  background-color: #FAFAFA;
}

.service_box ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  padding: 0;
  list-style: none;
  max-width: 1100px;
  margin: 0 auto;
}

.service_box ul li {
  text-align: center;
  margin: 0;
}

.service_box ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-decoration: none;
  max-width: 208px;
  background-color: #FFF;
  padding: 3.5rem 1.2rem;
  border-bottom: 8px solid #187FA4;
  position: relative;
  height: 100%;
}

/* オレンジ色の下線 */
.service_box ul li a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 8px;
  background-color: #FF9900;
  transition: width 0.5s ease;
}

/* ホバー時に左から右へ */
.service_box ul li a:hover::after {
  width: 100%;
}

/* 画像の背景の丸 */
.service_box ul li span:first-child {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background-color: #ECF5F8;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 文字 */
.service_box ul li span:nth-child(2) {
  display: block;
  font-size: 1.8rem;
  line-height: 1.5;
  color: #333;
  font-weight: 600;
}

.bnr_box {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 1rem 8rem;
}

.bnr_box .flex-control-paging li a,
.flexslider .flex-control-nav li a:not(.flex-active) {
  background: #999999 !important;
}

.bnr_box .flexslider .flex-control-nav li a.flex-active {
  background: #FF9900 !important;
}

.bnr_box .flex-nav-wrapper {
  bottom: -40px;
}

.header_scrolled .gMenu_outer nav {
  display: none !important;
}

.page-header_pageTitle,
h1.page-header_pageTitle:first-child {
  margin: 0;
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.1;
  background: linear-gradient(to right, #187FA4, #00828D);
  padding: 3.5rem 0 3.5rem;
}

.col-md-12 {
  padding: 0;
}

.section.breadSection {
  max-width: none;
  border-bottom: 1px solid #e9e9e9;
  padding: 0.5rem 0;
  margin: 0 0 4rem;
}

body:not(.home) .section.siteContent {
  max-width: 1120px;
  margin: 0 auto 8rem;
  padding: 0 1rem;
}

.breadSection .breadcrumb span {
  font-size: 1.6rem;
}

.breadSection .breadcrumb>li+li:before {
  content: ">";
  margin-left: 1rem;
  margin-right: 1rem;
  font-size: 16px;
  position: relative;
  top: -1px;
}

.breadSection .breadcrumb {
  padding: 1rem;
}

.breadSection .breadcrumb a {
  color: #0D59B7;
  text-decoration: underline;
}

.entry-meta {
  text-align: right;
}

.entry-meta_items {
  font-size: 1.6rem;
}

.entry-header {
  border: none
}

/* ========================================
   固定ページ・投稿ページ共通 見出しデザイン
======================================== */
body:not(.home) h2 {
  background-color: #CCE6E8;
  color: #333333;
  font-weight: 600;
  font-size: 2.6rem;
  padding: 1.8rem 2rem;
  border-left: 8px solid #00828D;
  border-top: none;
}

h3 {
  font-size: 2.4rem;
  font-weight: 600;
  border-top: none;
  border-bottom: 3px solid #00828D;
  padding: 0 3rem 1.5rem;
  position: relative;
}

h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100px;
  height: 3px;
  background-color: #FF9900;
  z-index: 1;
}

.subSection-title:after,
h3:after {
  content: none;
}

h4 {
  font-size: 2.2rem;
  font-weight: 600;
  padding-left: 3rem;
  padding-bottom: 0.8rem;
  position: relative;
  border: none;
}

h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20px;
  background-color: #FFF5E5;
  z-index: -1;
}

h5 {
  font-size: 2rem;
  font-weight: 600;
  padding: 1rem 0 1rem 3rem;
  position: relative;
}

h5::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 2px);
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-color: #00828D;
  z-index: 0;
}

h5::after {
  content: "";
  position: absolute;
  left: 8px;
  top: calc(50% + 4px);
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background-color: #FF9900;
  z-index: 0;
}

h6 {
  font-size: 1.8rem;
  padding-left: 3rem;
  position: relative;
  font-weight: 600;
}

h6::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: #CCE6E8;
  z-index: 0;
  border-radius: 50%;
}

dl,
ol,
ul {
  margin-top: 1.5rem;
  margin-bottom: 1.3rem;
}

ul li::marker {
  color: #FF9900;
}

li {
  margin-bottom: 0.5rem;
}

th,
td {
  font-size: 1.6rem !important;
  padding: 0.8rem 1.2rem !important;
  border: 1px solid #666666 !important;
}

th {
  background-color: #FFF5E5 !important;
  font-weight: 600 !important;
}

.entry-footer,
.vk_posts {
  display: none;
}

.child-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 0;
}

.child-pages li {
  width: calc(50% - 1.5rem);
  list-style: none;
  margin: 0;
}

.child-pages li a {
  background: linear-gradient(to right, #187FA4 50%, #F4F4F4 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  padding: 2rem 4rem 1.8rem;
  font-size: 2.2rem;
  color: #333;
  font-weight: 600;
  box-shadow: inset 0 -4px 0 #187FA4;
  transition:
    background-position .5s ease,
    color .5s ease,
    box-shadow .5s ease;
  width: 100%;
  display: inline-block;
  position: relative;
  height: 100%;
  text-decoration: none;
}

.child-pages li a:hover {
  background-position: left bottom;
  color: #FFF;
  text-decoration: none;
  box-shadow: inset 0 -4px 0 transparent;
}

/* 下線装飾 */
.child-pages li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0;
  height: 4px;
  background-color: #FF9900;
  transition: .5s all;
}

.child-pages li a:hover::before {
  width: 100%;
}

/* 左上の四角形 */
.child-pages li a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  background-color: #FF9900;
}

/* 投稿一覧：中央寄せ、1列、最大幅1100px */
.postList {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: min(100%, 1100px);
  margin: 0 auto;
}

/* 投稿カード */
.postList>article.media {
  display: block;
  margin: 0;
  padding: 26px 30px;
  background: #fff;
  border: 1px solid #e7ebef;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgb(25 45 65 / 5%);
  transition: border-color .5s ease, box-shadow .5s ease, transform .5s ease;
}

.postList>article.media:hover {
  border-color: #cbd9e6;
  box-shadow: 0 8px 24px rgb(25 45 65 / 10%);
  transform: translateY(-2px);
}

/* Bootstrap由来の横並び・余白をリセット */
.postList .media-body {
  display: block;
  width: 100%;
  overflow: visible;
}

/* 日付・カテゴリー */
.postList .entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 12px;
  color: #333;
  font-size: 1.4rem;
}

.postList .entry-meta_items {
  margin: 0;
}

.postList .entry-meta_hidden {
  display: none;
}

.postList .entry-meta_items_term_button {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #eef4f8;
  color: #FFF;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  min-width: 106px;
}

/* 投稿タイトル */
.postList .entry-title {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 700;
  line-height: 1.5;
}

.postList .entry-title a {
  color: #263746;
  text-decoration: none;
  font-weight: 600;
}

.postList .entry-title a:hover {
  color: #2476a8;
}

/* 抜粋全体をリンクに */
.postList .media-body_excerpt {
  display: block;
  color: inherit;
  text-decoration: none;
}

.postList .media-body_excerpt p {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.9;
}

a:hover img {
  opacity: 0.8;
  transition: 0.5s all;
}

.siteHeader_logo img {
  max-width: none !important;
}

.vk-mobile-nav-menu-btn {
  display: initial;
}

.device-mobile .gMenu .acc-btn {
  width: auto;
  height: auto;
  right: auto;
  top: auto;
  opacity: 0;
}

.device-mobile .gMenu>li>.sub-menu.acc-child-close {
  opacity: 0;
  max-height: 0;
}

.device-mobile .gMenu>li>.sub-menu.acc-child-open {
  opacity: 1;
  max-height: none;
  overflow-y: visible;
}

.device-mobile .gMenu>li {
  padding: 0;
}

.device-mobile .gMenu>li .gMenu_name {
  font-size: inherit;
}

.device-mobile .gMenu>li.menu-item-has-children>a {
  display: block;
  padding-right: 2.5em;
}

body.device-mobile .vk-mobile-nav-menu-btn {
  display: block;
}

/* ==========================================
   Lightning モバイルメニュー
========================================== */

/* ==========================================
   ハンバーガーボタン
========================================== */

body:is(body) .vk-mobile-nav-menu-btn {
  display: flex !important;
  position: fixed;
  top: 10px;
  right: 10px !important;
  z-index: 10001;
  width: 60px;
  height: 60px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: #187FA4 !important;
  border: 2px solid #FFF !important;
  border-radius: 10px;
  font-size: 0;
  color: transparent;
  cursor: pointer;
}

/* 3本線 */
body:is(body) .vk-mobile-nav-menu-btn::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 3px;
  background: #fff;
  box-shadow: 0 -8px 0 #fff, 0 8px 0 #fff;
  transition: transform .5s ease, box-shadow .5s ease;
}

/* メニュー展開時：1本目を斜めに */
body:is(body) .vk-mobile-nav-menu-btn.menu-open::before {
  background: #fff;
  box-shadow: none;
  transform: rotate(45deg);
}

/* メニュー展開時：2本目を追加 */
body:is(body) .vk-mobile-nav-menu-btn.menu-open::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 3px;
  background: #fff;
  transform: rotate(-45deg);
  transition: transform .5s ease;
}

/* ------------------------------------------
   メニュー本体
------------------------------------------ */

body:is(body) #vk-mobile-nav {
  background: #fff;
  box-shadow: -5px 0 25px rgba(0, 0, 0, .12);
  transition: .5s all;
}

/* ------------------------------------------
   メニューリスト
------------------------------------------ */

body:is(body) #vk-mobile-nav .vk-mobile-nav-menu-outer {
  padding: 0;
}

body:is(body) #vk-mobile-nav .vk-mobile-nav-menu-outer ul.menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* メニュー項目 */
body:is(body) #vk-mobile-nav .vk-mobile-nav-menu-outer ul.menu>li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #E1E8EC;
}

/* メニューリンク */
body:is(body) #vk-mobile-nav .vk-mobile-nav-menu-outer ul.menu>li>a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 14px 35px 14px 15px;
  color: #333;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  background: #fff;
  transition: color .25s, background .25s, padding .25s;
}

/* 右側の矢印 */
body:is(body) #vk-mobile-nav .vk-mobile-nav-menu-outer ul.menu>li:not(.menu-item-has-children)>a::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 3px solid #FF9900 !important;
  border-right: 3px solid #FF9900 !important;
  transform: translateY(-50%) rotate(45deg);
  transition: right .25s;
}

/* 左側のアクセントライン */
body:is(body) #vk-mobile-nav .vk-mobile-nav-menu-outer ul.menu>li>a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: #FF9900 !important;
  transition: height .25s ease;
}

/* ------------------------------------------
   サブメニュー
------------------------------------------ */


body:is(body) #vk-mobile-nav .vk-mobile-nav-menu-outer ul.menu .sub-menu li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #E0E7EA;
}

body:is(body) #vk-mobile-nav .vk-mobile-nav-menu-outer ul.menu .sub-menu li:last-child {
  border-bottom: none;
}

body:is(body) #vk-mobile-nav .vk-mobile-nav-menu-outer ul.menu .sub-menu li a {
  display: block;
  padding: 13px 15px;
  color: #333;
  font-size: 1.6rem;
  line-height: 1.6;
  text-decoration: none;
  transition: color .5s, background .5s;
  font-weight: 600;
}

body:is(body) #vk-mobile-nav .vk-mobile-nav-menu-outer ul.menu .sub-menu li a:hover {
  color: #187FA4;
  background: #EAF3F6;
}

/* ------------------------------------------
   メニュー開閉アニメーション
------------------------------------------ */

body:is(body) .admin-bar .vk-mobile-nav-menu-btn {
  top: calc(32px + 15px);
}

.vk-mobile-nav .widget_nav_menu ul li a,
.vk-mobile-nav nav ul li a {
  border: none;
}

.vk-mobile-nav nav>ul {
  border-top: 1px solid #E1E8EC;
}

/* メニュー展開中 */
body:has(#vk-mobile-nav.vk-mobile-nav-open) {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
  touch-action: none !important;
}

/* 背面スクロール禁止 */
html:has(#vk-mobile-nav.vk-mobile-nav-open) {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

.metaslider .flexslider:focus-within .flex-prev,
.metaslider .flexslider:hover .flex-prev,
.metaslider .flexslider:focus-within .flex-next,
.metaslider .flexslider:hover .flex-next {
  opacity: 1 !important;
}

.metaslider.ms-theme-default-base .flexslider .flex-control-nav li a:focus,
.metaslider.ms-theme-default-base .flexslider .flex-direction-nav li a:focus {
  outline: none !important;
}

.admin-bar .vk-mobile-nav-menu-btn {
  top: calc(32px + 10px);
}

.breadSection .breadcrumb {
  gap: 1rem 0;
}

.table,
table {
  width: auto;
  border-top: none;
  margin-bottom: 2rem;
}

.media .media-body .media-heading {
  margin-bottom: 0;
}

.entry-meta {
  margin-bottom: 0.5rem;
}

a {
  text-decoration: underline;
}

.widget .textwidget>a {
  display: block;
  width: fit-content;
  margin: 0 auto 2rem;
}

.vk-mobile-nav {
  padding: 0 1rem;
}

/* ==========================================
   会員紹介一覧
========================================== */

.member-intro {
  display: grid;
  width: 100%;
  gap: 2.4rem;
  margin: 4rem 0;
}

/* 2列・3列レイアウト */
.member-intro--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-intro--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ==========================================
   カード
========================================== */

.member-intro-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e9ee;
  border-radius: 1.2rem;
  box-shadow: 0 0.3rem 1.2rem rgb(30 50 70 / 6%);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* 写真 */
.member-intro-image {
  overflow: hidden;
  background: #f2f5f7;
}

.member-intro-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* コンテンツ */
.member-intro-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
}

/* 事業所名 */
.member-intro-name {
  margin: 0 0 0.8rem;
  color: #243746;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.5;
}

/* 業種 */
.member-intro-category {
  margin: 0 0 1.2rem;
  padding: 0.4rem 0.9rem;
  color: #356b78;
  background: #edf5f5;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: 600;
}

/* 紹介文 */
.member-intro-description {
  margin: 0 0 1.8rem;
  font-size: 1.6rem;
  line-height: 1.8;
}

.member-intro-content .news-more {
  margin-top: 0;
  width: 100%;
}

.member-intro-content .news-more a {
  min-width: 100%;
  box-sizing: border-box;
}

/* ==========================================
   エディター内のリンク選択表示
========================================== */

.mce-content-body .news-more a[data-mce-selected] {
  padding: 0.8rem 4rem 0.7rem;
}

#mceu_14-button span.mce-txt,
#mceu_15-button span.mce-txt {
  font-weight: 600;
  border: 1px solid #595959;
  padding: 0.2rem 0.3rem;
  border-radius: 5px;
  background-color: #FFF;
}

.breadSection .breadcrumb a:hover {
  border-bottom: none;
  text-decoration: none;
}

.section.breadSection .container {
  max-width: 1120px !important;
}

.sns {
  display: none;
}

/* ==========================================
   相馬商工会議所：Lightning ドロップダウン
========================================== */

/* サブメニュー全体 */
#gMenu_outer #menu-header-nav .sub-menu {
  background: #ECF5F8;
  border: 1px solid #D5E8EF;
  border-radius: 6px;
  padding: 6px;
  box-shadow: 0 5px 15px rgba(24, 127, 164, 0.15);
  overflow: hidden;
  border: 2px solid #187FA4;
  margin-left: 0;
  transform: translate(-50%, 0);
  width: 100%;
  max-width: 260px;
}

.gMenu>li.menu-item-has-children::after {
  border-bottom-color: #187FA4;
}

/* サブメニューの各項目 */
#gMenu_outer #menu-header-nav .sub-menu li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #D5E8EF;
}

#gMenu_outer #menu-header-nav .sub-menu li:last-child {
  border-bottom: none;
}

/* サブメニューのリンク */
#gMenu_outer #menu-header-nav .sub-menu li a {
  display: flex;
  align-items: center;
  padding: 13px 16px;
  color: #24566A;
  background: transparent;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 0.2s ease,
    color 0.2s ease,
    padding-left 0.2s ease;
  font-weight: 600;
}

/* 左側の矢印 */
#gMenu_outer #menu-header-nav .sub-menu li a::before {
  content: "›";
  color: #187FA4;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  margin-right: 10px;
  transition: color 0.2s ease;
}

/* ホバー時 */
#gMenu_outer #menu-header-nav .sub-menu li a:hover {
  color: #FFFFFF;
  background: #187FA4;
  padding-left: 22px;
}

/* ホバー時の矢印 */
#gMenu_outer #menu-header-nav .sub-menu li a:hover::before {
  color: #FFFFFF;
}

/* 現在表示中のページ */
#gMenu_outer #menu-header-nav .sub-menu li.current-menu-item>a {
  color: #187FA4;
  background: #DCEEF4;
  font-weight: bold;
}

/* 現在表示中のページのホバー */
#gMenu_outer #menu-header-nav .sub-menu li.current-menu-item>a:hover {
  color: #FFFFFF;
  background: #187FA4;
}

/* 親メニューの開閉ボタン */
#gMenu_outer #menu-header-nav .acc-btn {
  color: #187FA4;
  background-image: none;
  border: none;
}

/* サブメニューの角丸を維持 */
#gMenu_outer #menu-header-nav .sub-menu li:first-child a {
  border-radius: 4px 4px 0 0;
}

#gMenu_outer #menu-header-nav .sub-menu li:last-child a {
  border-radius: 0 0 4px 4px;
}

#metaslider-id-81 .slides a {
  border: 1px solid #DDD;
  display: flex;
  min-height: 71px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

a[href^="tel:"],
a[href^="tel:"]:visited,
a[href^="tel:"]:hover,
a[href^="tel:"]:active {
  color: inherit !important;
  text-decoration: none !important;
  -webkit-text-fill-color: currentColor;
}

.archive-header {
  display: none;
}

.siteHeader_logo img {
  max-height: 60px;
}

.footer_top a img {
  max-width: 274px;
}

#wpfront-scroll-top-container img {
  width: 60px !important;
  height: 60px !important;
}

/* 1100px以下 */
@media screen and (max-width: 1100px) {
  .service_box ul {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 993px) {
  .admin-bar .vk-mobile-nav {
    display: none !important;
  }

  body:is(body) .vk-mobile-nav-menu-btn {
    display: none !important;
  }

  .siteHeader_logo img {
    max-height: 60px;
  }
}

/* スマートフォン */
@media screen and (max-width: 992px) {

  .news-tab {
    flex: 1 1 30%;
    padding: 10px 5px;
    max-width: none;
  }

  .news-item {
    display: block;
    padding: 12px 5px;
  }

  .news-more a {
    width: 100%;
    box-sizing: border-box;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .news-item a {
    flex-basis: 100%;
  }

  .news-item a:first-child {
    display: inline-block;
    margin: 0 0 0 5px;
  }

  .news-item a:last-child {
    display: block;
    margin-top: 0.5rem;
  }

  .service_box ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .header_box {
    flex-direction: column;
    gap: 1rem;
  }

  .header_box .header_right {
    display: none;
  }

  .header_right {
    justify-content: center;
    gap: 1rem 1.5rem;
    padding: 0rem;
  }

  .tel {
    font-size: 2.2rem;
  }

  .home h2 {
    margin-bottom: 2rem;
    font-size: 2.6rem;
  }

  .news_box {
    padding: 6.5rem 1rem 5rem;
  }

  .news-panel.active {
    padding: 1rem 1rem 2rem;
  }

  .news-more {
    margin-top: 2rem;
  }

  .infinite-slider-track .slide {
    flex: 0 0 130px;
    width: 130px;
    height: 100px;
  }

  .infinite-slider-track img {
    width: 130px;
    height: 100px;
  }

  .service_box {
    padding: 5rem 1rem;
    background-color: #FAFAFA;
  }

  .service_box ul li a {
    max-width: none;
    padding: 2rem 1rem;
  }

  .service_box ul li span:nth-child(2) {
    font-size: 1.6rem;
  }

  .bnr_box {
    padding: 3rem 2rem 4.5rem;
  }

  .metaslider.ms-theme-default-base .flexslider .flex-direction-nav li a:after {
    background-size: 5px 9px;
    background-position: center !important;
  }

  .metaslider.ms-theme-default-base .flexslider .flex-direction-nav li a.flex-prev:after {
    background-position: center left 6px !important;
  }

  .metaslider.ms-theme-default-base .flexslider .flex-direction-nav li a.flex-next:after {
    background-position: center left 7px !important;
  }

  #metaslider-id-81 .flexslider .flex-pauseplay .flex-pause,
  #metaslider-id-81 .flexslider .flex-pauseplay .flex-play {
    padding: 0;
  }

  footer.section.siteFooter {
    background-color: #187FA4;
    padding: 2rem 1rem;
  }

  .footer_top {
    gap: 2rem;
  }

  .footer_bot {
    gap: 0.5rem 1rem;
  }

  .news-category {
    display: inline-block;
    min-width: 80px;
    padding: 0px 0px;
    background: #eee;
    color: #FFF !important;
    text-align: center;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    flex: 0 !important;
  }

  .container.sectionBox.copySection.text-center {
    padding: 0;
  }

  .page-header_pageTitle,
  h1.page-header_pageTitle:first-child {
    font-size: 2.6rem;
    padding: 3rem 0 2.5rem;
  }

  .child-pages {
    gap: 1.5rem;
  }

  .child-pages li {
    margin: 0;
  }

  .child-pages li a {
    padding: 2rem;
    font-size: 2rem;
  }

  body:not(.home) .section.siteContent {
    padding: 0 1rem;
    margin: 0 auto 4rem;
  }

  .entry-body table.table-scroll {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .entry-body table.table-scroll th,
  .entry-body table.table-scroll td {
    white-space: nowrap;
  }

  .postList>article.media {
    padding: 1rem;
  }

  .postList .entry-meta {
    margin: 0 0 0.5rem;
  }

  .postList {
    gap: 1rem;
  }

  .member-intro--3col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-intro {
    gap: 1rem;
    margin: 1rem 0;
  }

  .member-intro-content {
    padding: 1.6rem;
  }

  .member-intro-name {
    font-size: 1.8rem;
  }

  .container.siteHeadContainer,
  .siteHeader_logo {
    padding: 0;
  }

  .siteHeader_logo {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .vk-menu-acc .acc-btn {
    width: 100%;
    height: 60px;
    transition: .3s;
    border: none;
    background: none;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
  }

  .vk-menu-acc .acc-btn::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 28px;
    width: 10px;
    height: 10px;
    border-top: 3px solid #FF9900 !important;
    border-right: 3px solid #FF9900 !important;
    transform: translateY(-50%) rotate(135deg);
    transition: .25s;
    border-radius: 0;
    border-left: none;
    border-bottom: none;
    background: none;
  }

  .vk-mobile-nav nav ul li.acc-parent-open {
    background: #ff990030;
  }

  span.acc-btn.acc-btn-close::after {
    transform: translateY(-50%) rotate(315deg);
  }

  .siteHeader_logo img {
    max-height: 40px;
  }
}

@media (max-width: 782px) {
  .admin-bar .vk-mobile-nav-menu-btn {
    top: calc(46px + 10px);
  }
}

/* モバイル */
@media (max-width: 600px) {
  .postList {
    gap: 1rem;
  }

  .postList>article.media {
    padding: 20px 18px;
    border-radius: 10px;
  }

  .postList .media-body_excerpt p {
    font-size: 14px;
  }

  #wpadminbar {
    position: fixed;
  }

  .flex-nav-wrapper {
    bottom: -25px;
  }

  .flex-control-paging li a {
    width: 20px !important;
    height: 20px !important;
  }

  .metaslider.ms-theme-default-base .flexslider .flex-direction-nav li a {
    width: 20px !important;
    height: 20px !important;
  }

  #metaslider-id-75 .flexslider .flex-direction-nav li a:after,
  #metaslider-id-81 .flexslider .flex-direction-nav li a:after {
    background-size: 7px 12px;
    background-position: center right 5px !important;
  }

  #metaslider-id-75 .flexslider .flex-direction-nav li a.flex-next:after,
  #metaslider-id-81 .flexslider .flex-direction-nav li a.flex-next:after {
    background-position: center right 4px !important;
  }

  .metaslider .flexslider .flex-pauseplay .flex-pause,
  .metaslider .flexslider .flex-pauseplay .flex-play {
    width: 20px !important;
    height: 20px !important;
  }

  #metaslider-id-75 .flexslider .flex-pauseplay .flex-pause,
  #metaslider-id-75 .flexslider .flex-pauseplay .flex-play {
    padding: 0;
  }

  .metaslider .flexslider .flex-pauseplay a:before {
    font-size: 9px !important;
    line-height: 16px !important;
    left: 0px;
  }

  .service_box ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .child-pages li {
    width: 100%;
  }

  .child-pages li a {
    padding: 1.5rem 2rem;
    font-size: 1.6rem;
  }

  body:not(.home) h2 {
    font-size: 2.2rem;
    padding: 1.5rem 1.5rem 1rem;
  }

  h3 {
    font-size: 2rem;
    padding: 0rem 1rem 0.5rem;
  }

  h4 {
    font-size: 1.9rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h5 {
    font-size: 1.8rem;
    padding: 0.5rem 0 0.5rem 2.5rem;
  }

  h6 {
    font-size: 1.7rem;
    padding-left: 2.5rem;
  }

  #searchform input#s.form-control {
    width: 140px;
  }

  .member-intro--2col,
  .member-intro--3col {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0;
  }

  .flex-control-nav,
  .flex-direction-nav,
  .metaslider .flex-control-nav,
  .flex-nav-wrapper {
    gap: 0.5rem;
  }
}

@media (max-width: 400px) {
  .header_box {
    align-items: flex-start;
    padding-left: 1rem;
  }

  .header_right {
    padding: 0;
  }

  .footer_bot {
    gap: 0.5rem 1rem;
    margin: 0 auto;
    text-align: center;
  }

  .footer_btn {
    gap: 1rem;
  }

  .footer_btn a {
    min-width: 140px;
    padding: 0.6rem 0.7rem;
    font-size: 1.6rem;
  }

  .textwidget .siteHeader_logo img {
    margin: 0;
  }

  #metaslider-id-81 .slides a {
    min-height: 61px;
  }

  #metaslider_81.flexslider .slides li {
    margin-right: 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  .member-intro-card,
  .member-intro-card .news-more a {
    transition: none;
  }

  .member-intro-card:hover {
    transform: none;
  }
}



/* 会報ページのみ適用 */
body.kaihou .entry-body img {
  border: 1px solid #bbb;
}
