/* ========================================
   カスタムヘッダー
======================================== */
.vg-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.vg-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  height: 64px;
  box-sizing: border-box;
}

/* ロゴ */
.vg-header__logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

/* h1/div どちらで囲んでも見た目を同一にする */
.vg-header__logo h1,
.vg-header__logo div {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.vg-header__logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.vg-header__logo svg,
.vg-header__logo img {
  display: block;
}

/* カテゴリナビ: ロゴとボタンの間を埋めてボタン寄り（justify-content: flex-end） */
.vg-header__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.vg-header__nav .vg-nav-list,
.vg-header__nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vg-header__nav li {
  margin: 0;
  padding: 0;
}

.vg-header__nav li a {
  display: inline-block;
  padding: 6px 14px 4px; /* bottom padding を少し縮めて文字と線を近づける */
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  color: #00377f;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

/* 下線：padding分を除いた文字幅の下に表示 */
.vg-header__nav li a::after {
  content: "";
  position: absolute;
  bottom: 2px;          /* 文字に近づける */
  left: 14px;
  width: calc(100% - 28px);
  height: 1px;
  background: #00377f;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.25s ease;
}

.vg-header__nav li a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* CTAボタン */
.vg-header__cta {
  flex-shrink: 0;
}

.vg-header__btn {
  display: inline-block;
  padding: 8px 20px;
  background: #ffffff;
  color: #00377f !important;
  border: 1.5px solid #00377f;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.vg-header__btn:hover {
  background: #00377f;
  border-color: #00377f;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 55, 127, 0.22);
  text-decoration: none;
}

/* ボタン内の矢印アニメーション */
.vg-btn-arrow {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.2s ease;
}

/* ヘッダーCTAボタン：短縮テキストはデフォルト非表示 */
.vg-btn-text--short {
  display: none;
}

/* 420px以下：短縮テキスト・矢印なしに切り替え */
@media (max-width: 420px) {
  .vg-header__btn .vg-btn-text--full,
  .vg-header__btn .vg-btn-arrow {
    display: none;
  }
  .vg-header__btn .vg-btn-text--short {
    display: inline;
  }
}

.vg-header__btn:hover .vg-btn-arrow,
.vg-footer__btn:hover .vg-btn-arrow,
.vg-top-fv__btn:hover .vg-btn-arrow,
.vg-top-side-cv__btn:hover .vg-btn-arrow,
.vg-top-final__btn:hover .vg-btn-arrow,
.vg-top-sticky-cta:hover .vg-btn-arrow,
.vg-top-more__link:hover .vg-btn-arrow,
.vg-header-band__link:hover .vg-btn-arrow {
  transform: translateX(4px);
}

/* SANGOデフォルトヘッダーを非表示（カスタムヘッダーと重複しないよう） */
#header .inner-header,
#header .sng-header-wrap {
  display: none;
}

/* ========================================
   ヘッダー下帯バナー
======================================== */
.vg-header-band {
  width: 100%;
  /* 2026-10-02：紺からアクセントの水色へ流れるグラデーションに */
  background: linear-gradient(
    90deg,
    #002a61 0%,
    #00377f 28%,
    #0b4f9c 62%,
    #10b0cd 100%
  );
  text-align: center;
  padding: 6px 24px;      /* 高さを低く */
  line-height: 1.6;
  box-sizing: border-box;
  position: sticky;       /* スクロール追従 */
  top: 64px;              /* ヘッダーの高さ分下にずらす */
  z-index: 999;           /* ヘッダー(1000)の直下 */
}

/* 2026-10-02：下線のテキストリンクから、ボタン形に変更 */
.vg-header-band__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.vg-header-band__text {
  color: rgba(255, 255, 255, 0.86);
}

.vg-header-band__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vg-header-band__btn span {
  transition: transform 0.2s ease;
}

.vg-header-band__link:hover .vg-header-band__btn {
  background: #fff;
  border-color: #fff;
  color: #00377f;
}

.vg-header-band__link:hover .vg-header-band__btn span {
  transform: translateX(3px);
}

/* ========================================
   ハンバーガーボタン（スマホのみ表示）
======================================== */
.vg-hamburger {
  display: none; /* PCでは非表示 */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  margin-left: auto;
}

.vg-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #00377f;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* ハンバーガー → ✕ アニメーション */
.vg-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.vg-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.vg-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   モバイルメニュー
======================================== */
.vg-mobile-menu {
  display: none; /* JS で制御 */
  background: #fff;
  border-top: 1px solid #e8e8e8;
  padding: 16px 24px 24px;
}

.vg-mobile-menu.is-open {
  display: block;
}

.vg-mobile-nav-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.vg-mobile-nav-list li {
  border-bottom: 1px solid #f0f0f0;
}

.vg-mobile-nav-list li a {
  display: block;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 500;
  color: #00377f;
  text-decoration: none;
  transition: color 0.2s;
}

.vg-mobile-nav-list li a:hover {
  color: #10b0cd;
}

.vg-mobile-menu__cta {
  padding-top: 8px;
}

.vg-mobile-menu__cta .vg-header__btn {
  display: block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* ========================================
   レスポンシブ：850px以下でハンバーガー表示
======================================== */
@media (max-width: 850px) {
  .vg-header__inner {
    padding: 0 16px;
    gap: 0;
  }

  /* PC用ナビを非表示 */
  .vg-header__nav {
    display: none;
  }

  /* CTAボタンをロゴの反対側（右端）に配置 */
  .vg-header__cta {
    margin-left: auto;
  }

  /* ハンバーガーボタンを表示・CTAの直後に配置 */
  .vg-hamburger {
    display: flex;
    margin-left: 8px;
  }
}


/* ========================================
   splide 関連
======================================== */


.l-inner {
  position: relative;
  box-sizing: content-box;
  max-width: 1200px;
  margin: 0 auto;
}

.l-section {
  border-top: 1px solid #eee;
}

.l-section .l-inner {
  padding-top: 0px;
  padding-bottom: 0px;
}

.c-temp {
  line-height: 1;
}

.c-temp .l-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.c-temp .text {
  font-size: 2.4rem;
  font-weight: bold;
}

.c-temp .button {
  font-size: 1.4rem;
  font-weight: bold;
  display: block;
  width: 12rem;
  padding: 1.6rem 0 1.2rem;
  text-align: center;
  letter-spacing: 0.1em;
  color: #fff;
  border-radius: 4px;
  background-color: #fff;
}

.c-footer .l-inner {
  padding-top: 0;
}

.c-footer .text {
  color: #333;
}

/* ========================================
   カスタムフッター
======================================== */
.vg-footer {
  background: #fafcfd;
  color: #333333;
  width: 100%;
  padding: 72px 0 0;
}

.vg-footer__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
}

.vg-footer__main {
  min-height: 300px;
  display: grid;
  grid-template-columns: 280px 1fr 260px;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.vg-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.vg-footer__logo {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
}

.vg-footer__logo img {
  width: 196px;
  height: auto;
}

.vg-footer__tagline {
  max-width: 280px;
  margin: 0;
  color: rgba(0, 0, 0, 0.6);
  font-size: var(--fs-s3, 13px);
  line-height: 1.9;
}

.vg-footer__nav {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(280px, 1.5fr) minmax(140px, 0.8fr);
  gap: 42px;
}

.vg-footer__nav-title,
.vg-footer__contact-title {
  margin: 0 0 18px;
  color: var(--vg-top-c-primary, #00377f);
  font-size: var(--fs-s1, 16px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vg-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vg-footer__nav-list--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.vg-footer__nav-list li {
  margin: 0 0 9px;
}

.vg-footer__nav-list a,
.vg-footer__legal a {
  position: relative;
  display: inline-block;
  color: #333333;
  text-decoration: none;
  font-size: var(--fs-s2, 14px);
  line-height: 1.55;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.vg-footer__nav-list a::after,
.vg-footer__legal a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.25s ease;
}

.vg-footer__nav-list a:hover,
.vg-footer__legal a:hover {
  color: #00377f;
}

.vg-footer__nav-list a:hover::after,
.vg-footer__legal a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.vg-footer__contact {
  color: #333333;
}

.vg-footer__contact-text {
  margin: 0 0 20px;
  color: rgba(0, 0, 0, 0.6);
  font-size: var(--fs-s2, 14px);
  line-height: 1.8;
}

.vg-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 22px;
  background: #ffffff;
  color: #00377f !important;
  font-size: var(--fs-s2, 14px);
  font-weight: 700;
  border: 1.5px solid #00377f;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.vg-footer__btn:hover {
  background: #00377f;
  border-color: #00377f;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 55, 127, 0.22);
}


.vg-footer__bottom {
  margin-top: 72px;
  padding: 24px 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.vg-footer__copyright {
  margin: 0;
  color: rgba(0, 0, 0, 0.6);
  font-size: var(--fs-s3, 13px);
}

.vg-footer__legal {
  grid-column: 2 / 4;
  justify-self: end;
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vg-footer__legal a {
  color: rgba(0, 0, 0, 0.7);
  font-size: var(--fs-s3, 13px);
}

/* ========================================
   フッター レスポンシブ
======================================== */
@media (max-width: 1100px) {
  .vg-footer__main {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .vg-footer__tagline {
    max-width: 560px;
  }

  .vg-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vg-footer__contact {
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .vg-footer {
    padding-top: 52px;
  }

  .vg-footer__inner {
    padding: 0 22px;
  }

  .vg-footer__nav {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .vg-footer__nav-list--grid {
    grid-template-columns: 1fr;
  }

  .vg-footer__bottom {
    margin-top: 48px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .vg-footer__legal {
    grid-column: auto;
    justify-self: start;
    flex-direction: column;
    gap: 10px;
  }
}

.c-info {
  font-size: 1.4rem;
  display: inline-block;
  margin-top: 4rem;
  margin-bottom: 6.4rem;
}

.c-info li {
  position: relative;
  padding-left: 16px;
  color: #fff;
}

.c-info li::before {
  position: absolute;
  top: 0.6em;
  left: 0;
  display: inline-block;
  width: 8px;
  height: 2px;
  content: "";
  background-color: #fff;
}

.c-info li + li {
  margin-top: 0.8rem;
}

.c-title {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.6;
  display: inline-block;
  min-width: 32rem;
  margin-bottom: 6.4rem;
  vertical-align: top;
  color: #fff;
}

.c-title [class*="ico-"] {
  font-size: 1.3rem;
  line-height: 1;
  display: block;
  width: 10rem;
  margin-bottom: 1.2rem;
  padding: 0.8rem 0 0.6rem;
  text-align: center;
  letter-spacing: 0.05em;
  border-radius: 100px;
}

.c-title .ico-advanced {
  color: #fff;
  background-color: #fff;
}

/* slider */
.slide-media,
.thumb-media {
  position: relative;
  overflow: hidden;
}

.slide-media img,
.thumb-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.splide {
  z-index: 0;
}

.splide-wrapper {
  position: relative;
}

.splide__arrow > svg {
  display: none;
}

.card04 {
  overflow: hidden;
}

.card04 .splide-a:not(.is-active) .splide__track {
  overflow: visible;
}

.card04 .splide__track {
  overflow: visible;
}

.card04 .splide__arrow--prev,
.card04 .splide__arrow--next {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  margin: auto;
}

.card04 .splide__arrow--prev {
  right: calc(100% - 1.6rem);
}

.card04 .splide__arrow--next {
  left: calc(100% - 1.6rem);
}

.card04 .splide-a:not(.is-active) {
  padding: 0;
}

.card04 .splide-a:not(.is-active) .splide__arrow--prev,
.card04 .splide-a:not(.is-active) .splide__arrow--next {
  display: none;
}

.card04 .splide-a:not(.is-active) .splide__list {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.card04 .slide {
  overflow: hidden;
  border-radius: 8px;
  height: 100%;
}

.card04 .slide-media {
  padding-top: 62.5%;
}

.card04 .slide-media img {
  height: calc(100%);
}

.card04 .slide-content {
  background-color: #fff;
  padding: 16px;
  height: 100%;
}

.card04 .slide-date {
  font-size: 1.2rem;
  line-height: 1;
  display: block;
  color: var(--color-theme);
}

.card04 .slide-title {
  line-height: 1.6;
  margin-top: 0;
  margin: 0px;
  padding: 0px;
  border-left-width: 0px;
  border-left-style: none;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}
p.slide-text {
  font-size: 14px;
  margin-top: 12px;
  margin-bottom: 16px;
}
ul.slide-ul {
  margin-top: 0px;
  margin-bottom: 0px;
}
.slide-ul li {
  font-size: 14px;
  list-style-type: none;
  padding-top: 0px;
  padding-bottom: 0px;
  display: flex;
  align-items: center;
  font-weight: 700;
  margin-left: 16px;
}

@media only screen and (max-width: 599px) {
  .pc-tab {
    display: none !important;
  }
}

@media only screen and (min-width: 1025px) {
  .tab-sp {
    display: none !important;
  }

  .splide__arrow--prev:hover::before,
  .splide__arrow--next:hover::before {
    transform: scale(1.2);
  }
}

@media only screen and (min-width: 600px) {
  .sp {
    display: none !important;
  }
}

.splide.is-initialized:not(.is-active) .splide__list {
  /* display: block; */
  display: flex;
  flex-direction: row;
}
.card04 .splide-a:not(.is-active) .splide__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.splide__slide {
  color: #333;
}
article.slide {
  border: 1px solid #333;
}

.slide-ul li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("../../../../uploads/top/check-circle.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
  vertical-align: middle;
}
button.splide__arrow.splide__arrow--prev {
  display: none;
}
button.splide__arrow.splide__arrow--next {
  display: none;
}

.image-overlay {
  display: flex;
  align-items: center;
}

.image-overlay img {
  display: block;
  width: auto;
  height: 50px !important;
  position: absolute;
  top: 0px;
  left: 0px;
  background: #fff;
  padding: 12px;
  border-bottom: 1px solid #333;
}

.overlay-number {
  font-size: 24px;
  color: #333;
  font-weight: bold;
  background-color: #e5e5e5;
  height: 50px;
  width: 50px;
  text-align: center;
  position: absolute;
  top: 0px;
  left: 91.5px;
  border-bottom: 1px solid #333;
  border-right: 1px solid #333;
  border-left: 1px solid #333;
}

/*--------------------------------------
fv-image
--------------------------------------*/

.fv-article-image {
  height: 40vh;
  max-height: 500px;
  min-height: 200px;
  display: flex;
  align-items: stretch;
}

.fv-article-image img {
  height: 40vh;
  max-height: 500px;
  min-height: 200px;
  object-fit: cover;
}

.top-title-wrapper {
  display: flex;
}

/* ========================================
   新着コラム セクション
======================================== */

/* セクションタイトル */
.top-title-container {
  margin-bottom: 32px;
}

.top-heading-en {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #10b0cd;
  margin-bottom: 4px;
}

.top-title-h2 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #00377f !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* 左カラム（記事リスト）+ 右カラム（検索・カテゴリ）: 7.5:2.5 */
.top-left-article {
  flex-basis: 75% !important;
  padding-right: 0 !important;
}

.top-right-sidebar {
  flex-basis: 25% !important;
  border-left: 1px solid rgba(0, 31, 73, 0.1);
  padding-left: 24px !important;
}

/* もっと見るボタン */
.top-btn {
  margin-top: 24px;
  text-align: center;
}

/* 新着コラム「もっとみる」ボタン：下にボーダー */
.top-btn--new {
  padding-bottom: 48px;
  border-bottom: 1px solid #cad8e6;
}

.top-btn a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 13px 32px !important;
  background: #fff !important;
  border: 1px solid #00377f !important;
  color: #00377f !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s !important;
  position: relative !important;
}

.top-btn a::after {
  content: "→";
  font-size: 14px;
  transition: transform 0.2s ease;
  display: inline-block;
}

.top-btn a:hover {
  background: #00377f !important;
  color: #fff !important;
}

.top-btn a:hover::after {
  transform: translateX(4px);
}

/* サイドバー：検索 */
.top-right-sidebar .wp-block-search {
  margin-bottom: 32px;
}

.top-right-sidebar .wp-block-search__input {
  border: 0px solid #ccc;
  border-radius: 6px 0 0 6px;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
}

.top-right-sidebar .wp-block-search__button {
  background: #00377f;
  color: #fff;
  border: none;
  border-radius: 0 6px 6px 0;
  padding: 8px 14px;
  cursor: pointer;
}

.top-right-sidebar :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
  border-radius: 8px !important;
}

/* サイドバー：カテゴリタイトル（白背景・角丸） */
.vg-category-title {
  background: #fff;
  border-radius: 8px 8px 0 0;
  padding: 16px 16px 12px !important;
  margin-bottom: 0 !important;
  font-weight: 700 !important;
  color: #00377f !important;
}

.top-right-sidebar .top-category {
  background: #fff;
  border-radius: 0 0 8px 8px;
  padding: 12px 16px 16px !important;
}

/* サイドバー：カテゴリタイトル */
.sidebar-main-title {
  font-size: 13px;
  font-weight: 700;
  color: #00377f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 2px solid #10b0cd;
  margin-bottom: 12px;
}

/* カテゴリリスト：タグ型ボタン */
.top-category {
  list-style: none !important;
  margin: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.top-category li {
  border-bottom: none;
}

.top-category li a {
  display: inline-flex !important;
  align-items: center;
  padding: 6px 14px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #00377f !important;
  background: #ffffff;
  border: 1.5px solid #cad8e6;
  border-radius: 999px !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.top-category li a:hover {
  background: #00377f !important;
  color: #fff !important;
  border-color: #00377f !important;
}

/* レスポンシブ（850px以下）: タイトルサイズ変更 */
@media (max-width: 850px) {
  .top-title-h2 {
    font-size: 18px !important;
  }
}

/* レスポンシブ（600px以下）: 左右カラム縦積み */
@media (max-width: 600px) {
  .top-left-article {
    flex-basis: 100% !important;
    padding-right: 0 !important;
  }

  .top-right-sidebar {
    flex-basis: 100% !important;
    border-left: none;
    border-top: 1px solid rgba(0, 31, 73, 0.1);
    padding-left: 0 !important;
    padding-top: 32px !important;
  }
}

/* vg-column-section 内の .wrap 幅を100%に */
.vg-column-section .wrap {
  width: 100% !important;
}

/* ========================================
   人気ランキング（vg-column-section内）
======================================== */
/* カードグリッド */
#sgb-css-id-7 .catpost-cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

/* flatレイアウト（横並び）を縦型に上書き */
#sgb-css-id-7 .catpost-cards--flat .c_linkto {
  display: flex !important;
  flex-direction: column !important;
}

#sgb-css-id-7 .catpost-cards--flat .c_linkto_img_wrap {
  width: 100% !important;
  flex-shrink: 0 !important;
}

#sgb-css-id-7 .catpost-cards--flat .c_linkto_text {
  width: 100% !important;
}

/* カードのボーダー色・背景 */
#sgb-css-id-7 .catpost-cards .c_linkto_wrap {
  max-width: none !important;
  border: 1px solid #ffffff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #fff !important;
}

/* ランキングバッジ（1位・2位・3位） */
#sgb-css-id-7 .catpost-cards .c_linkto_wrap:nth-child(1) .c_linkto_img_wrap::before,
#sgb-css-id-7 .catpost-cards .c_linkto_wrap:nth-child(2) .c_linkto_img_wrap::before,
#sgb-css-id-7 .catpost-cards .c_linkto_wrap:nth-child(3) .c_linkto_img_wrap::before {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

#sgb-css-id-7 .catpost-cards .c_linkto_wrap:nth-child(1) .c_linkto_img_wrap::before {
  content: "1";
  background: #D4A017;
}

#sgb-css-id-7 .catpost-cards .c_linkto_wrap:nth-child(2) .c_linkto_img_wrap::before {
  content: "2";
  background: #9EA5A8;
}

#sgb-css-id-7 .catpost-cards .c_linkto_wrap:nth-child(3) .c_linkto_img_wrap::before {
  content: "3";
  background: #B87333;
}

/* ホバー時の上移動・影を無効化 */
#sgb-css-id-7 .c_linkto_wrap,
#sgb-css-id-7 .c_linkto {
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}

#sgb-css-id-7 .c_linkto_wrap:hover,
#sgb-css-id-7 .c_linkto:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* ホバー時：画像を白くフェード */
#sgb-css-id-7 .c_linkto_img_wrap {
  position: relative;
  overflow: hidden;
  box-shadow: none !important;
  transition: none !important;
  border-radius: 0 !important;
}

#sgb-css-id-7 .c_linkto_img_wrap:hover {
  box-shadow: none !important;
  transform: none !important;
}

#sgb-css-id-7 .c_linkto_img_wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

#sgb-css-id-7 .c_linkto:hover .c_linkto_img_wrap::after {
  background: rgba(255, 255, 255, 0.3);
}

/* テキスト色・日付 */
#sgb-css-id-7 .c_linkto_text {
  color: #00377f !important;
  padding: 12px 14px 14px !important;
}

#sgb-css-id-7 .sng-link-time {
  font-weight: 400 !important;
}

/* タブレット（850px以下）: 2カラム */
@media (max-width: 850px) {
  #sgb-css-id-7 .catpost-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

/* スマホ（480px以下）: 1カラム */
@media (max-width: 480px) {
  #sgb-css-id-7 .catpost-cards {
    grid-template-columns: 1fr !important;
  }
}

/* ランキングタイトルの上余白 */
.vg-column-section .top-left-article .top-title-container:not(:first-child) {
  margin-top: 48px !important;
}

/* 新着コラム：カードグリッド 3カラム → 2カラム → 1カラム */
.vg-column-section .catpost-cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

/* カードのボーダー色 */
html body .vg-column-section .catpost-cards .c_linkto_wrap,
html body .vg-column-section .catpost-cards .c_linkto_wrap:hover {
  border: 1px solid #ffffff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* タブレット（850px以下）: 2カラム */
@media (max-width: 850px) {
  .vg-column-section .catpost-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

/* スマホ（480px以下）: 1カラム */
@media (max-width: 480px) {
  .vg-column-section .catpost-cards {
    grid-template-columns: 1fr !important;
  }
}


.splide {
  z-index: 0;
}

.splide-wrapper {
  position: relative;
}

.splide__arrow > svg {
  display: none;
}

.card04 .splide-a:not(.is-active) .splide__track {
  overflow: visible;
}

.card04 .splide__track {
  overflow: visible;
}

.card04 .splide__arrow--prev,
.card04 .splide__arrow--next {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  margin: auto;
}

.card04 .splide__arrow--prev {
  right: calc(100% - 1.6rem);
}

.card04 .splide__arrow--next {
  left: calc(100% - 1.6rem);
}

.card04 .splide-a:not(.is-active) {
  padding: 0;
}

.card04 .splide-a:not(.is-active) .splide__arrow--prev,
.card04 .splide-a:not(.is-active) .splide__arrow--next {
  display: none;
}

.card04 .splide-a:not(.is-active) .splide__list {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media only screen and (min-width: 1025px) {
  .splide__arrow--prev:hover::before,
  .splide__arrow--next:hover::before {
    transform: scale(1.2);
  }
}

.splide.is-initialized:not(.is-active) .splide__list {
  /* display: block; */
  display: flex;
  flex-direction: row;
}

.card04 .splide-a:not(.is-active) .splide__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.splide__slide {
  color: #333;
}

button.splide__arrow.splide__arrow--prev {
  display: none;
}
button.splide__arrow.splide__arrow--next {
  display: none;
}

button.splide__toggle {
  text-align: center;
  margin-left: auto;
}

/* splide */

/* ページネーション分の下余白を確保 */
.container .splide {
  padding-bottom: 2.8em;
}

.container .splide .splide__slide .post-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.container .splide .thumbnail-link {
  display: block;
}

.container .splide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.container .splide .post-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.6rem 2rem;
  border-radius: 4px;
  color: #000;
  text-decoration: none;
}

.container .splide .content-date {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

.container .splide .content-title {
  font-weight: 700;
  font-size: 18px;       /* デスクトップ: 18px */
  margin: 0;
  line-height: 1.6;
  background: rgba(0, 31, 73, 0.75);
  color: #fff;
  padding: 4px 8px;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-align: left;
}

/* 1025〜1499px: フォントやや小さめ */
@media (max-width: 1499px) {
  .container .splide .content-title {
    font-size: 16px;
  }
}

/* 769〜1024px: さらに小さく */
@media (max-width: 1024px) {
  .container .splide .content-title {
    font-size: 15px;
  }
}

/* 〜768px: 背景なし・フォントさらに小さく */
@media (max-width: 768px) {
  .container .splide .content-title {
    font-size: 13px;
    background: none;
    padding: 0;
  }
}

/* 〜480px: 最小サイズ */
@media (max-width: 480px) {
  .container .splide .content-title {
    font-size: 12px;
  }
}

.splide__slide .post-card {
  transition: opacity 0.3s ease-out;
  box-shadow: 4px 6px 16px rgba(0, 0, 0, 25%);
}

div#splide01-track {
  overflow: hidden;
  /* padding: 24px; */
}

/* splide  */

.splide__pagination {
  bottom: -2.2em !important; /* スライドとの余白を確保 */
}

.splide__pagination__page {
  background: #ccc !important; /* 非アクティブなページネーションの色 */
  width: 10px !important; /* サイズ調整 */
  height: 10px !important;
  margin: 0 5px !important; /* 間隔調整 */
  transition: all 0.3s ease;
}

.splide__pagination__page.is-active {
  background: #00377f !important; /* アクティブなページネーションの色 */
  transform: scale(1.2) !important; /* アクティブ時に少し大きく */
}

/* スライダー要素のスタイル */
.splide__slider {
  position: relative;
}

/* 丸い矢印のスタイル */
.splide__arrows--round .splide__arrow {
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  opacity: 0.8;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.splide__arrows--round .splide__arrow:hover {
  opacity: 1;
  background: #f8f8f8;
}

.splide__arrows--round .splide__arrow svg {
  fill: #333;
  width: 20px;
  height: 20px;
}


/* モバイル対応 */
@media (max-width: 768px) {
  .splide__arrows--round .splide__arrow {
    width: 30px;
    height: 30px;
  }

  .splide__arrows--round .splide__arrow svg {
    width: 15px;
    height: 15px;
  }
}

/* アクセシビリティ修正 - 非表示スライドでもフォーカス可能に */
.splide__slide:not(.is-active) a {
  visibility: visible !important;
  pointer-events: auto !important;
}

/* 非アクティブスライドのリンクがフォーカスされたときの表示を改善 */
.splide__slide:not(.is-active) a:focus {
  outline: 2px solid #00377f;
  outline-offset: 2px;
}

/* post-card の縦横を16:9に固定（どんな画像サイズでも崩れない） */
.container .splide .post-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* post-card 内の img・a をすべて枠いっぱいに引き伸ばす */
.container .splide .thumbnail-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.container .splide .post-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* どんなサイズの画像でも16:9枠に収める */
  object-position: center;
}

/* splide__slide 単体の img も念のため制御 */
.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.splide__arrow {
  background: #000 !important;
}


/* ========================================
   Splide 初期化前のチラつき防止
   ※ HTMLのstyle属性でvisibility:hiddenを付与済み
   　 mounted後にJSでvisibility:visibleに戻す
======================================== */

/* 念のためCSSでも保証（JS読み込み前の一瞬もカバー） */
.splide-loop:not(.is-initialized) {
  visibility: hidden !important;
  opacity: 0 !important;
}
.splide-loop.is-initialized {
  visibility: visible !important;
  opacity: 1 !important;
}


/*--------------------------------------
ここから
--------------------------------------*/
.top-content-custum .wrap {
  margin: 0px;
}

@media only screen and (min-width: 769px) {
  .top-content-custum .wrap {
    margin: 0px;
  }

  #content.top-content-custum {
    padding: 0px !important;
  }
}

@media only screen and (min-width: 1030px) {
  .top-content-custum #content {
    width: 100% !important;
  }
  #content.top-content-custum .post_content {
    max-width: 100%;
    margin-right: 0px;
    margin-left: 0px;
  }
}

button.splide__toggle {
  text-align: center;
  margin-left: auto;
}

/* kokusai */
.contact-sticky-banner p {
  font-size: 17px;
}

.contact-container-kokusai img {
  max-width: 80%;
}

.contact-howto-title {
  max-width: 800px;
}

/* トップFV */
.top-fv {
  border-bottom: 1px solid #cad8e6;
}

/* トップページのみ entry-content h2 のデフォルトスタイルを無効化 */
.page-forfront .post_content h2 {
  border-left: none !important;
  padding: 0 !important;
  background: none !important;
}

/* サイドバーウィジェットタイトル（h4→divに変更したためスタイルを維持） */
div.c-widget__title {
  display: block;
  font-size: 1em;
  font-weight: 700;
  margin-block-start: 0;
  margin-block-end: 0;
}

@media only screen and (min-width: 769px) {
  .page-forfront .wrap {
    width: 100%;
  }
}

/* 新着コラムセクション */
.vg-column-section {
  border-bottom: 1px solid #cad8e6;
  background: #ffffff;
}

html .page-forfront .vg-column-section .sgb-full-bg__content {
  max-width: 1600px !important;
  width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box !important;
}

@media only screen and (max-width: 1600px) {
  html .page-forfront .vg-column-section .sgb-full-bg__content {
    padding-right: 32px !important;
    padding-left: 32px !important;
  }
}

@media only screen and (max-width: 768px) {
  html .page-forfront .vg-column-section .sgb-full-bg__content {
    padding-right: var(--wp--custom--wrap--mobile--padding, 16px) !important;
    padding-left: var(--wp--custom--wrap--mobile--padding, 16px) !important;
  }
}


.top-consultation .sgb-full-bg__cover {
  opacity: 0.2;
}
.top-ranking .sgb-full-bg__cover {
  opacity: 0.2;
}

.splide__slide .post-card {
  transition: opacity 0.3s ease-out;
  box-shadow: 4px 6px 16px rgba(0, 0, 0, 25%);
}

.post-card-overlay {
  /* 下から上に向かって #00377f の線形グラデーション（80% → 30% → 完全透明） */
  background: linear-gradient(
    to top,
    rgba(0, 31, 73, 0.8) 0%,
    rgba(0, 31, 73, 0.3) 50%,
    rgba(0, 31, 73, 0) 100%
  );
}

.post-card:hover .post-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 31, 73, 0.8) 0%,
    rgba(0, 31, 73, 0.3) 50%,
    rgba(0, 31, 73, 0) 100%
  );
}

@media (max-width: 768px) {
  .post-card:hover .post-card-overlay {
    background-color: rgba(255, 255, 255, 0);
  }
}

/* ========================================
   splide-loop スライダーの矢印を強制表示・スタイル
   （他の button.splide__arrow { display:none } を上書き）
======================================== */
.splide-loop .splide__arrow,
.splide-loop button.splide__arrow--prev,
.splide-loop button.splide__arrow--next,
.splide-loop button.splide__arrow.splide__arrow--prev,
.splide-loop button.splide__arrow.splide__arrow--next {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  /* ボタン本体のデザイン */
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  cursor: pointer !important;
  transition: background 0.2s ease, box-shadow 0.2s ease !important;
  padding: 0 !important;
  color: #00377f !important;
}

.splide-loop button.splide__arrow--prev {
  left: 8px !important;
}

.splide-loop button.splide__arrow--next {
  right: 8px !important;
}

.splide-loop .splide__arrow:hover,
.splide-loop button.splide__arrow--prev:hover,
.splide-loop button.splide__arrow--next:hover {
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
}

/* 矢印のSVGを表示（他のルールでhideされている場合の対策） */
.splide-loop .splide__arrow > svg {
  display: block !important;
  fill: currentColor !important;
  width: 28px !important;
  height: 28px !important;
  pointer-events: none;
}

/* 親テーマの .splide__arrow--prev svg { transform: scaleX(-1) } を打ち消す */
.splide-loop .splide__arrow--prev svg {
  transform: none !important;
}

/* ========================================
   トップページのスライダーエリアのみ width・padding を上書き
======================================== */
@media only screen and (min-width: 769px) {
  .home .top-content-custum .wrap,
  .page-forfront .top-content-custum .wrap {
    width: 100% !important;
  }
}

.home #content.page-forfront,
.page-forfront #content.page-forfront {
  padding: 0 !important;
}

/* ========================================
   ヒーローバナー（横長画像＋テキストオーバーレイ）
======================================== */
.vg-hero-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid #cad8e6;
}

.vg-hero-banner__img {
  width: 100%;
  aspect-ratio: 1137 / 400;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* 下から上へのグラデーションオーバーレイ */
.vg-hero-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 31, 73, 0.85) 0%,
    rgba(0, 31, 73, 0.5) 30%,
    rgba(0, 31, 73, 0) 55%
  );
  pointer-events: none;
}

/* コンテンツ：左下配置 */
.vg-hero-banner__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px;
  box-sizing: border-box;
}

.vg-hero-banner__content-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

/* 左：サブタイトル＋タイトル */
.vg-hero-banner__left {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  text-align: left;
}

.vg-hero-banner__sub {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.1em;
  margin: 0;
}

.vg-hero-banner__title {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* 右：本文＋ボタン */
.vg-hero-banner__right {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.vg-hero-banner__body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin: 0;
}

.vg-hero-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  background: #00377f;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.vg-hero-banner__btn:hover {
  background: #002a61;
  color: #fff !important;
}

.vg-hero-banner__btn:hover .vg-btn-arrow {
  transform: translateX(4px);
}

/* レスポンシブ（850px以下）: 縦積み */
@media (max-width: 850px) {
  .vg-hero-banner__content {
    padding: 24px 20px;
  }

  .vg-hero-banner__content-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .vg-hero-banner__title {
    font-size: 20px !important;
  }

  .vg-hero-banner__img {
    aspect-ratio: 16 / 10;
  }

  /* グラデーションの範囲を広げて左側も覆う */
  .vg-hero-banner__overlay {
    background: linear-gradient(
      to top,
      rgba(0, 31, 73, 0.9) 0%,
      rgba(0, 31, 73, 0.6) 40%,
      rgba(0, 31, 73, 0.2) 70%,
      rgba(0, 31, 73, 0) 100%
    );
  }
}

/* スマホ（480px以下） */
@media (max-width: 480px) {
  .vg-hero-banner__title {
    font-size: 18px !important;
  }

  .vg-hero-banner__btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* 右：テキスト */
.vg-cta-section__content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: center;
  justify-content: center;
}

.post_content .vg-cta-section__label,
.vg-cta-section__label {
  font-size: 12px !important;
  font-weight: 600;
  color: #10b0cd;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 !important;
}

.post_content .vg-cta-section__catch,
.vg-cta-section__catch {
  font-size: 23px !important;
  font-weight: 700 !important;
  color: #00377f !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  border-left: none !important;
  padding: 0 !important;
  background: none !important;
}

.vg-cta-section__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-start; /* コンテンツ幅に合わせる */
  width: 100%;
  max-width: fit-content;
}

.vg-cta-section__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: bold;
  color: #00377f;
  background: #ffffff;
  border-radius: 8px;
  padding: 10px 14px;
  line-height: 1.5;
}

.vg-cta-section__list li .material-icons-round {
  font-size: 20px;
  color: #10b0cd;
  flex-shrink: 0;
}

.post_content .vg-cta-section__body,
.vg-cta-section__body {
  font-size: 14px;
  color: #4a5563;
  line-height: 1.8;
  margin: 0 !important;
}

.vg-cta-section__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  background: #00377f;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  align-self: flex-start;
}

.vg-cta-section__btn:hover {
  background: #002a61;
  color: #fff !important;
}

.vg-cta-section__btn:hover .vg-btn-arrow {
  transform: translateX(4px);
}

/* CTAセクション レスポンシブ（850px以下） */
@media (max-width: 850px) {
  .vg-cta-section {
    padding: 32px 20px;
  }

  .vg-cta-section__inner {
    flex-direction: column;
    gap: 24px;
  }

  .vg-cta-section__image {
    flex: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .vg-cta-section__img {
    aspect-ratio: 16 / 9;
    border-radius: 2px;
  }

  .vg-cta-section__catch {
    font-size: 20px;
  }

  .vg-cta-section__btn {
    align-self: stretch;
    justify-content: center;
  }
}

/* ========================================
   ヘッダーバンド・モバイルメニュー：850px以下
======================================== */
@media (max-width: 850px) {
  .vg-header-band {
    top: 56px; /* スマホ時のヘッダー高さに合わせる */
  }

  .vg-mobile-menu {
    top: calc(56px + 33px); /* ヘッダー + バンドの高さ */
  }
}

/* ========================================
   新着コラム カードリンク（c_linkto）上書き
======================================== */
/* ホバー時の上移動・影を無効化 */
.vg-column-section .c_linkto_wrap,
.vg-column-section .c_linkto {
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}

.vg-column-section .c_linkto_wrap:hover,
.vg-column-section .c_linkto:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* ホバー時：画像を白くフェード */
.vg-column-section .c_linkto_img_wrap {
  position: relative;
  overflow: hidden;
}

.vg-column-section .c_linkto_img_wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.vg-column-section .c_linkto:hover .c_linkto_img_wrap::after {
  background: rgba(255, 255, 255, 0.3);
}

/* テキスト色 */
.vg-column-section .c_linkto_text {
  color: #00377f !important;
}

/* 日付フォントウェイトを通常に */
.vg-column-section .sng-link-time {
  font-weight: 400 !important;
}

/* カード画像ホバー時の影を無効化 */
.vg-column-section .c_linkto_img_wrap img,
.vg-column-section .c_linkto:hover .c_linkto_img_wrap img {
  box-shadow: none !important;
}

/* カードテキスト余白 */
.vg-column-section .c_linkto_text {
  padding: 12px 14px 14px !important;
}

/* ========================================
   rlmg 画像ホバー：白くフェード演出
======================================== */
/* ホバー時の浮き上がり・影を無効化 */
a:has(figure.rlmg) {
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}

a:hover:has(figure.rlmg) {
  transform: none !important;
  box-shadow: none !important;
}

/* 画像ホバーで白くフェード・浮き上がり無効化 */
figure.rlmg {
  position: relative;
  overflow: hidden;
  transform: none !important;
  transition: none !important;
  box-shadow: none !important;
}

a:hover figure.rlmg,
a:hover figure.rlmg img {
  transform: none !important;
  transition: none !important;
}

figure.rlmg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

a:hover figure.rlmg::after {
  background: rgba(255, 255, 255, 0.3);
}

/* rlmg 画像の影を無効化 */
.rlmg img {
  box-shadow: none !important;
}

/* ========================================
   サイト全体：影・浮き上がりをまとめて無効化
======================================== */
figure,
figure img,
.prnx_box,
.prnx_box a,
.prnx,
.related-posts,
.related-posts a,
.related-posts li,
.c_linkto,
.c_linkto_wrap,
.c_linkto img,
.sng-card,
.sng-card img,
.cat-card,
.cat-card img {
  box-shadow: none !important;
}

figure:hover,
figure img:hover,
.prnx_box a:hover,
.related-posts a:hover,
.c_linkto:hover,
.c_linkto_wrap:hover,
.sng-card:hover,
.cat-card:hover {
  box-shadow: none !important;
  transform: none !important;
}

/* 前後記事ナビ（prnx_box）浮き上がり・影を無効化 */
.prnx_box a,
.prnx_box a:hover {
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}

.prnx_tb figure,
.prnx_tb figure img {
  box-shadow: none !important;
  transform: none !important;
}

/* ========================================
   関連記事スライド（related-posts）rlmg 画像
======================================== */
/* 浮き上がり・影を無効化 */
.related-posts a {
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}

.related-posts a:hover {
  transform: none !important;
  box-shadow: none !important;
}

.related-posts figure.rlmg {
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}

.related-posts figure.rlmg img {
  box-shadow: none !important;
}


/* ========================================
 adinserter
======================================== */

/* タイトル */
.vg-info-title {
  font-size: 20px !important;
  border-left: 4px solid var(--wp--preset--color--sango-main);
  padding: .5em .7em;
  background: #f2f2f2;
  color: #323232;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.6;
}

/* 画像 */
.vg-info-image {
    margin: 0 0 1.5em;
}

/* リード文 */
.vg-info-lead {
    margin: 0 0 1.2em;
    line-height: 1.9;
    color: #333;
}

/* 強調 */
.vg-highlight {
    color: var(--sgb-accent-color);
    font-weight: 700;
}

/* ポイント枠 */
.post_content ul.vg-info-points {
     list-style: none;
}

.vg-info-points {
    padding: 22px;
    margin: 0 0 1.5em;
    background: rgba(16, 176, 205, 0.05);
    border-radius: 10px;
}

.vg-info-points li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
  color: var(--sgb-main-color);
}

.vg-info-points li:last-child {
  margin-bottom: 0;
}

.vg-info-points li::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f058"; /* fa-circle-check */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
  color: var(--sgb-accent-color);
}

/* CTA */
.vg-info-cta {
  text-align: center;
  margin: 20px 0 8px;
}

.vg-info-button {
  display: inline-block;
  padding: 14px 28px;
  background: var(--sgb-accent-color);
  color: #fff !important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  transition: all .2s ease;
}

.vg-info-button:hover {
  background: #10b0cd;
}

/* マイクロコピー */
.vg-info-microcopy {
  text-align: center;
  font-size: 12px;
  margin: 0 0 1.5em;
  color: #666;
}


/* feature-image / vg-info-image：16:9 トリミング表示 */
.feature-image,
.vg-info-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* feature-box ラッパー */
.feature-box-wrapper {
  padding: 24px;
  background: rgba(16, 176, 205, 0.05);
  border-radius: 8px;
}

/* タイトル強調 */
.feature-box-title-main {
  display: block;
  color: var(--sgb-main-color);
  font-weight: 700;
  font-size: 1.4em;
  margin-top: 16px;
  margin-bottom: 0;
}

.feature-box-title-sub {
  color: #444;
  font-size: 1em;
}

/* 強調テキスト */
.vg-highlight {
  color: var(--sgb-accent-color);
  font-weight: 700;
}

/* CTAリード文 */
.vg-cta-lead {
  font-size: 1.05em;
  line-height: 2;
}


/* Article CTA before table of contents */
.vg-before-toc-cta {
  margin: 28px 0;
  color: #333;
  border: 1px solid rgba(0, 55, 127, 0.22);
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 28%),
    linear-gradient(135deg, rgba(0, 55, 127, 0.1) 0%, rgba(0, 55, 127, 0.04) 100%);
}

.vg-before-toc-cta__bg {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 42, 97, 0.96) 0%, rgba(0, 55, 127, 0.9) 58%, rgba(0, 34, 79, 0.96) 100%);
}

.vg-before-toc-cta__container {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.92fr);
  gap: 0;
  align-items: stretch;
}

.vg-before-toc-cta__image-col {
  order: 2;
  align-self: stretch;
  min-height: 100%;
}

.vg-before-toc-cta__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.vg-before-toc-cta__content {
  display: flex;
  align-items: center;
  order: 1;
  padding: 34px 32px;
}

.vg-before-toc-cta__title {
  margin: 0;
  line-height: 1.75;
}

.vg-before-toc-cta__title-main {
  display: block;
  color: #fff;
  /* 2026-10-02：大きすぎたので一段小さく（旧 1.22〜1.55rem） */
  font-size: clamp(1.06rem, calc(0.95rem + 0.45vw), 1.3rem);
  font-weight: 700;
  line-height: 1.6;
}

.vg-before-toc-cta__title-sub {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  line-height: 1.9;
}

.vg-before-toc-cta__info {
  padding: 26px 28px 30px;
  background-color: rgba(0, 55, 127, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.56);
  /* 下の角は親の丸みに合わせる。
     backdrop-filter を付けると親の overflow:hidden で切り抜けず、角が四角く残るので使わない */
  border-bottom-left-radius: 11px;
  border-bottom-right-radius: 11px;
}

.vg-before-toc-cta__lead {
  margin: 0 0 18px;
  font-size: 0.98rem;
  line-height: 1.95;
  color: #333;
}

.vg-before-toc-cta__lead-first {
  color: #333;
  font-weight: 700;
}

.vg-before-toc-cta__points {
  display: grid;
  gap: 3px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.vg-before-toc-cta__points li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--button-main-color);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.42;
}

.vg-before-toc-cta__points .material-icons-round {
  margin-top: 0.08em;
  color: #00377f;
  font-size: 20px;
  line-height: 1;
}

.vg-before-toc-cta__num {
  color: var(--button-main-color);
  background: linear-gradient(transparent 42%, #d6e2f3 42%);
  padding: 0 0.16em 0.02em;
  font-weight: 800;
}

.vg-before-toc-cta__button-wrap {
  margin: 22px 0 0;
  text-align: center;
}

.vg-before-toc-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 520px);
  min-height: 56px;
  padding: 14px 28px;
  background: #00377f;
  color: #ffffff !important;
  border: 1px solid #00377f;
  border-radius: var(--vg-top-radius-pill, 4px);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vg-before-toc-cta__button:hover,
.vg-before-toc-cta__button:focus {
  background: #002a61;
  border-color: #002a61;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* 2カラムのままだと文字側がつぶれるので、900px 以下では縦に積む */
@media (max-width: 900px) {
  .vg-before-toc-cta {
    margin: 24px 0;
  }

  .vg-before-toc-cta__container {
    display: flex;
    flex-direction: column;
  }

  .vg-before-toc-cta__image-col {
    order: 1;
    min-height: 0;
  }

  .vg-before-toc-cta__bg {
    background: #fafcfd;
  }

  .vg-before-toc-cta__content {
    order: 2;
    padding: 22px 20px 6px;
  }

  .vg-before-toc-cta__title-main {
    color: #00377f;
  }

  .vg-before-toc-cta__title-sub {
    color: #333;
  }

  .vg-before-toc-cta__info {
    border-top: 0;
  }

  .vg-before-toc-cta__image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-position: center;
  }

  .vg-before-toc-cta__title-main {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .vg-before-toc-cta__title-sub,
  .vg-before-toc-cta__lead {
    font-size: 0.94rem;
    line-height: 1.85;
  }

  .vg-before-toc-cta__points li {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 7px;
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .vg-before-toc-cta__points .material-icons-round {
    font-size: 19px;
  }

  .vg-before-toc-cta__info {
    padding: 22px 20px 24px;
  }

  .vg-before-toc-cta__button {
    width: 100%;
    min-height: 54px;
    padding: 13px 18px;
  }
}

@media (max-width: 520px) {
  .vg-before-toc-cta__title-main {
    font-size: 1rem;
  }

  .vg-before-toc-cta__content,
  .vg-before-toc-cta__info {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* 目次前 監修者ボックス */
.vg-supervisor-box {
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #cad8e6;
  border-radius: 8px;
  margin-bottom: 24px;
}

.vg-supervisor-box__label {
  font-size: 11px;
  font-weight: 600;
  color: #10b0cd;
  margin: 0 0 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vg-supervisor-box__inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.vg-supervisor-box__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
}

.vg-supervisor-box__body {
  flex: 1;
  min-width: 0;
}

.vg-supervisor-box__name {
  font-size: 1.2em;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.4;
  color: #1a1a1a;
}

.vg-supervisor-box__job {
  display: inline-block;
  font-size: 12px;
  color: #333;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 2px 10px;
  margin-bottom: 10px;
}

.vg-supervisor-box__bio {
  font-size: 13px;
  line-height: 1.8;
  color: #444;
  margin: 0;
}

/* ボタン（SANGOテーマ .btn.raised.accent-bc.strong 準拠） */
.feature-box-button,
.vg-feature-button {
  display: block;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  /* 下の5pxの縁のぶん、上に余白を足してラベルをボタン全体の中央に置く */
  padding: calc(0.9rem + 5px) 1.6rem 0.9rem;
  background-color: var(--button-main-color, var(--wp--preset--color--sango-accent));
  color: #fff !important;
  border: 0;
  border-bottom: solid 5px rgba(0, 0, 0, 0.27);
  border-radius: 4px;
  box-sizing: border-box;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 0.15s ease;
}

/* 通常の色は、サイトのネイビーより一段濃くする */
.feature-box-button,
.vg-feature-button {
  background-color: #002f6e;
}

/* ホバーのときだけ濃くする。:focus を入れると、押したあと色が戻らなくなる */
.feature-box-button:hover,
.vg-feature-button:hover {
  background-color: #001f4b;
  color: #fff !important;
  text-decoration: none !important;
}

/* キーボード操作のときだけ、色は変えずに枠で位置を知らせる */
.feature-box-button:focus-visible,
.vg-feature-button:focus-visible {
  outline: 2px solid #10b0cd;
  outline-offset: 3px;
}

/* アウトラインボタン */
.vg-feature-button-outline {
  display: block;
  width: 100%;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
  padding: 1rem 1.6rem;
  background-color: transparent;
  color: var(--button-main-color, var(--wp--preset--color--sango-accent)) !important;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 4px;
  border: 2px solid var(--button-main-color, var(--wp--preset--color--sango-accent));
  border-bottom: solid 5px rgba(0, 0, 0, 0.15);
  transition: opacity 0.1s ease;
  box-sizing: border-box;
}

.vg-feature-button-outline:hover,
.vg-feature-button-outline:focus {
  opacity: 0.8;
  text-decoration: none !important;
}

/* CTAラッパー */
.feature-box-cta {
  text-align: center;
  margin: 12px 0;
}

/* CTAテキスト（.center_micro 準拠） */
.feature-box-cta-text {
  margin-bottom: 0px !important;
  text-align: center !important;
  color: var(--button-main-color);
  font-weight: bold;
}

/* マイクロコピー */
.vg-feature-microcopy {
  text-align: center;
  font-size: 12px;
  margin-top: 8px;
  color: #666;
}

/* 「＼ 採用の検討段階でもお気軽にご相談ください ／」をスマホで1行に収める（2026-10-26）
   約23文字分なので、画面幅に合わせて文字サイズを下げる */
@media (max-width: 767px) {
  .feature-box-cta-text {
    font-size: clamp(10px, calc((100vw - 90px) / 23), 16px) !important;
    letter-spacing: 0 !important;
  }
}
