/* ==========================================================================
   基本設定
   ========================================================================== */
html {
  background: #ffffff;
  font-size: 100%; /* 標準サイズ */
  transition: font-size 0.3s ease;
}
body {
  letter-spacing: -0.01em;
  line-height: 1.7;
  color: #1A1A1A;
  background-color: #fff;
  font-family: 'Zen Kaku Gothic New', "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
}
#wrapper {
    overflow: visible;
}
img {
  max-width: 100%;
  height: auto;
  -webkit-backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
  flex-shrink: 0;
}
div {
  position: relative;
}
table {
  color: #1A1A1A;
  text-align: left;
}
table ol {
  margin-bottom: 0;
}
a {
  color: #000066;
  transition: all 0.3s ease;
  text-decoration: none;
}
a:hover {
  opacity: 0.7;
  text-decoration: none;
}
b, strong, .bold {
  font-weight: bold;
}
.btn, .btn-sm, .btn-lg, .small, .card-text, .card-title, .navbar-nav .nav-link, .dropdown-item, .breadcrumb-item, .modal-title, .alert, .alert-link, .list-group-item, a, button, label, th, td {
  font-weight: inherit !important;
}
.text {
  font-weight: 400 !important;
}
@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1030px;
  }
}
@media (min-width: 992px) {
  .container, .container-lg, .container-md, .container-sm {
    max-width: 1030px;
  }
}
@media (min-width: 768px) {
  .container, .container-md, .container-sm {
    max-width: 1030px;
  }
}
.rounded {
  border-radius: .5rem !important;
}
.mb-4 {
  margin-bottom: 1.7rem;
}
.mt-4 {
  margin-top: 1.7rem;
}
.my-4 {
  margin-bottom: 1.7rem;
  margin-top: 1.7rem;
}
/* ==========================================================================
   フォントクラス
   ========================================================================== */
.gothic {
  font-family: 'Zen Kaku Gothic New', "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}
.mincho {
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", "Sawarabi Mincho", serif;
}
/* ==========================================================================
   見出しサイズ
   ========================================================================== */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: bold;
  line-height: 1.7;
}
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.1rem;
}
h6 {
  font-size: 1rem;
}
/* ==========================================================================
   フォントサイズユーティリティ
   ========================================================================== */
.small {
  font-size: 90%;
}
.xsmall {
  font-size: 80%;
}
.xxsmall {
  font-size: 70%;
}
.xxxsmall {
  font-size: 60%;
}
.large {
  font-size: 120%;
}
.xlarge {
  font-size: 140%;
}
.xxlarge {
  font-size: 160%;
}
.xxxlarge {
  font-size: 200%;
}
.lead {
  font-size: 1.15rem;
}
.line-h11 {
  line-height: 1.1;
}
.line-h12 {
  line-height: 1.2;
}
.line-h13 {
  line-height: 1.3;
}
.line-h14 {
  line-height: 1.4;
}
.line-h15 {
  line-height: 1.5;
}
.line-h16 {
  line-height: 1.6;
}
/* ==========================================================================
   ヘッダー設定
   ========================================================================== */
#HeaderWrapper {
  background-color: rgba(255, 255, 255, 0.85);
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 500;
}
#overlayMenu .HeaderLine {
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 500;
}
.HeaderLine {
  background-color: #000066;
}
.HeaderLine span {
  font-size: 110%;
  letter-spacing: 1px;
  background-color: #003681;
  position: relative;
  display: inline-block;
  z-index: 0;
  text-align: center;
  padding: 20px;
}
.HeaderLine span::before, .HeaderLine span::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20px;
  background: #000066;
  z-index: -1;
}
.HeaderLine span::before {
  left: -10px;
  transform: skewX(-20deg);
}
.HeaderLine span::after {
  right: -10px;
  transform: skewX(-20deg);
}
.logo-img {
  max-height: 45px;
  max-width: 50vw;
  height: auto;
}
.logo-text {
  max-height: 40px;
  max-width: 50vw;
  height: auto;
}
@media (max-width: 600px) {
  .logo-img {
    max-width: 17vw;
  }
  .logo-text {
    max-width: 60vw;
  }
}
nav .nav-link {
  font-weight: 500;
  white-space: nowrap;
}
/* === ハンバーガーボタン === */
#hamburgerBtn {
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
#hamburgerIcon, #closeMenuBtn {
  font-size: 18px;
  color: #fff;
}
/* === モバイルメニュー === */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}
.mobile-menu-inner {
  max-width: 400px;
  margin: 0 auto;
  padding: 1rem 0;
}
body.modal-open {
  overflow: hidden;
}
.mobile-menu-inner .card {
  background-color: transparent;
  border-radius: 0;
  border: none;
  letter-spacing: 1px;
}
.mobile-menu-inner .card-header, .mobile-menu-inner .card button {
  background-color: transparent;
}
.stretched-hyphen {
  display: inline-block;
  transform: scaleX(1.8);
  line-height: 1;
}
#HeaderNavi{
    background-color: rgba(255, 255, 255, 0.9);
}
.global-nav .nav-link {
  color: black;
  font-size: 1.4rem;
  line-height: 1.4;
  padding: 0 1rem;
}

.global-nav .sub-label {
  display: block;
  font-size: 0.9rem;
  color: #000066;
  font-weight: bold;
}

.global-nav .divider {
  position: relative;
  width: 1px;
  margin: 0 1rem;
}

.global-nav .divider::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  width: 1px;
  height: 90%;
  background-color: #ccc; /* 線の色 */
  transform: rotate(25deg);
  transform-origin: center;
}

/* ==========================================================================

   フッター設定
   ========================================================================== */
.c-white{
  filter: brightness(0) invert(1);
}
#FooterUpper{
  position: relative;
  background-image: url('https://kitano-club.com/w/wp-content/uploads/2025/07/illu2.svg'), url('https://kitano-club.com/w/wp-content/uploads/2025/07/illu5.svg');
  background-repeat: no-repeat, no-repeat;
  background-position: 3% 97%, 97% 3%;
  background-size: 200px auto, 200px auto; /* サイズ調整 */
}
#FooterWrapper a{
    color: #ffffff;
}
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  display: none;
  text-align: center;
  text-decoration: none;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: #000066;
  transition: color 0.3s ease, border-color 0.3s ease, bottom 0.3s ease;
}
.back-to-top .circle-arrow {
  width: 60px;
  height: 60px;
  border: 1px solid currentColor;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top .arrow-up {
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(-45deg);
}
.back-to-top .back-text {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: currentColor;
  font-weight: 400;
}
.back-to-top.on-blue {
  color: #fff;
}
.back-to-top.bottom-shifted {
  bottom: 3rem;
}
@media (max-width: 575px) {
  .back-to-top.bottom-shifted {
    bottom: 7rem;
  }
#FooterUpper{
  position: relative;
  background-image: none; /* サイズ調整 */
}
}
/* ==========================================================================
   ユーティリティクラス・レイアウト補助
   ========================================================================== */
.table {
  color: inherit;
}
.rounded-lg {
  border-radius: 0.8rem !important;
}
.img-responsive {
  width: 100%;
  max-width: 100%;
}
.title {
  letter-spacing: 1px;
  font-weight: 500;
  line-height: 1.3;
}
p.date {
  font-size: 80%;
}
.highlight {
  text-decoration: underline; /* 下線 */
  text-decoration-thickness: 0.5em; /* 線の太さ */
  text-decoration-color: rgba(255, 228, 0, 0.4); /* 線の色 */
  text-underline-offset: -0.2em; /* 線の位置。テキストに重なるようにやや上部にする */
  text-decoration-skip-ink: none; /* 下線と文字列が重なる部分でも下線が省略されない（線が途切れない） */
}
  ol.stylish-list {
    counter-reset: number;
    list-style: none;
    padding-left: 0;
    max-width: 100%;
      display: inline-block;
  }

  ol.stylish-list li {
    counter-increment: number;
    margin-bottom: 1.2em;
    position: relative;
    padding-left: 2.2em;
    text-align: left;
  }

  ol.stylish-list li::before {
    content: counter(number) ".";
    position: absolute;
    left: 0;
    top: 0.05em;
    font-style: italic;
    font-size: 1.4em;
    font-weight: bold;
    color: #1a1a1a;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.2;
  }