/* アネックスZ ロゴ */
*[data-component="global-header"] div.top-bar .logo.annexz {
  background-image: url("../images/@1x/sponichi_annexz_logo.webp");
  width : 150px;
  height: 47px;
}
/* 虎報Z ロゴ */
.torahouz[data-component="global-header"] div.top-bar .logo.annexz {
  background-image: url("../images/@1x/sponichi_torahouz_logo.webp");
  width : 150px;
  height: 47px;
}

/* 会員登録・ログイン・会員ページボタン */
#auth-container {
    margin-right: 5px;
}
#login-container {
    display: none;
}
#login-container .register-btn {
    display: inline-block;
    border: solid 1px #0078c6;
    background-color: #fff;
    line-height: 1;
    padding: 6px;
    text-align: center;
    color: #0078c6;
    margin-right: 10px;
}
#login-container .register-btn:hover {
    background-color: #0078c6;
    color: #fff;
}
#login-container .login-btn {
    display: inline-block;
    font-weight: 600;
    color: #484848;
}
#login-container .login-btn:hover {
    text-decoration: underline;
}
#logout-container {
    display: none;
}
#member_page-btn {
    display: inline-block;
    font-weight: 600;
    color: #484848;
}

/* アネックスZ グロナビ */
div.nav-wrapper.annexz,
div.nav-wrapper.sakusaku {
    font-family: 'Noto Serif JP', serif;
}

div.annexz .bordeaux-lux {
    background: radial-gradient(circle at 50% 40%, #D40000 0%, #800000 100%);
}

div.sakusaku .bordeaux-lux {
    background: linear-gradient(90deg, 
      #001a40 0%,   /* 深い紺 */
      #004bb1 35%,  /* ロゴの中間的な青 */
      #0095da 50%,  /* 【鮮やかさのピーク】ロゴ右側のシアンブルー */
      #004bb1 65%,  /* 再び青へ */
      #001a40 100%  /* 深い紺で締める */
    );
}

.torahouz div.annexz .bordeaux-lux {
    background: radial-gradient(circle at 50% 40%, #222222 0%, #000000 100%);
}

div.annexz .global-nav {
    display: flex;
    align-items: center;
    height: 35px;
    position: relative;
    border-top: 3px solid;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C) 1;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5), inset 0 0 8px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

div.sakusaku .global-nav {
    display: flex;
    align-items: center;
    height: 35px;
    position: relative;

    border-top: 3px solid #ced4da;
    border-bottom: 3.5px solid #adb5bd;
    box-shadow: 0 10px 20px rgba(0, 30, 80, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

.torahouz div.annexz .global-nav {
    border-image: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C) 1;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7), inset 0 0 15px rgba(191, 149, 63, 0.1);
}

div.annexz .global-nav ul,
div.sakusaku .global-nav ul {
    display: flex;
    list-style: none;
    width: calc(100% - 28px * 2);
    padding: 0;
    flex-grow: 1;
    justify-content: space-around;
}

div.annexz .global-nav ul li,
div.sakusaku .global-nav ul li {
    border-right: 1px solid transparent;
    border-image: linear-gradient(to bottom, transparent, #FCF6BA, transparent) 1;
    padding: 0 10px;

    display: flex;
    width: auto;
    position: relative;
    flex-shrink: 0;
}

.torahouz div.annexz .global-nav ul li {
    border-image: linear-gradient(to bottom, transparent, rgba(252, 246, 186, 0.4), transparent) 1;
}

div.annexz .global-nav ul li:last-child,
div.sakusaku .global-nav ul li:last-child {
    border-right: none;
}

div.annexz .global-nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.08em;

    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: block;
}

div.sakusaku .global-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.15em;
    /* 強い光の中でも文字を際立たせるドロップシャドウ */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: block;
}

.torahouz div.annexz .global-nav ul li a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 900;
    font-size: 17px;
    letter-spacing: 0.1em;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0,0,0,1), 0 0 8px rgba(255, 215, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    display: block;
}

div.annexz .global-nav ul li a:hover {
    color: #FBF5B7;
    text-shadow: 0 0 10px rgba(251, 245, 183, 0.7);
    transform: translateY(-2px);
}

div.sakusaku .global-nav ul li a:hover {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
    filter: brightness(1.2);
}

.torahouz div.annexz .global-nav ul li a:hover {
    color: #FFFFFF;
    transform: skewX(-12deg) translateY(-2px);
    text-shadow: 0 0 20px #FFD700, 2px 2px 0 #D40000;
}

div.annexz .global-nav .nav-arrow {
    color: #FCF6BA;
    font-weight: bold;
    font-size: 28px;
    top: 3%;
    width: 28px;
    height: 100%;
    padding-left: 7px;
    background-color: #800000;
    position: absolute;
    cursor: pointer;
}

div.sakusaku .global-nav .nav-arrow {
    color: #ffffff;
    font-weight: bold;
    font-size: 28px;
    top: 3%;
    width: 28px;
    height: 100%;
    padding-left: 7px;
    background-color: #001a40;
    position: absolute;
    cursor: pointer;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

.torahouz div.annexz .global-nav .nav-arrow {
    color: #FFD700;
    background-color: #000000;
}

div.annexz .global-nav .nav-arrow.swiper-button-prev,
div.sakusaku .global-nav .nav-arrow.swiper-button-prev {
    left: 0;
}

div.annexz .global-nav .nav-arrow.swiper-button-next,
div.sakusaku .global-nav .nav-arrow.swiper-button-next {
    right: 0;
}

div.annexz .global-nav .nav-arrow.swiper-button-disabled,
div.sakusaku .global-nav .nav-arrow.swiper-button-disabled {
    display: none;
}

/* アネックスZ　フッター */
#annexz-footer[data-component="global-footer"] > div:nth-child(1),
#annexz-torahouz-footer[data-component="global-footer"] > div:nth-child(1),
#noads-footer[data-component="global-footer"] > div:nth-child(1) {
    height: 124px;
    font-size: 14px;
    overflow: hidden;
    background-color: #f2f2f2;
    border-top: 1px solid #e0e0e0;
}

#annexz-footer[data-component="global-footer"] > div:nth-child(1) figure:not(#logo-annex) {
    background-image: url("../images/@1x/annexz_logo_footer.webp");
}

#annexz-torahouz-footer[data-component="global-footer"] > div:nth-child(1) figure:not(#logo-annex) {
    background-image: url("../images/@1x/torahouz_logo_footer.webp");
}

#noads-footer[data-component="global-footer"] > div:nth-child(1) figure:not(#logo-annex) {
    background-image: url("../images/@1x/annexz_logo_footer.webp");
}

#annexz-footer[data-component="global-footer"] > div:nth-child(1) nav a,
#annexz-torahouz-footer[data-component="global-footer"] > div:nth-child(1) nav a,
#noads-footer[data-component="global-footer"] > div:nth-child(1) nav a {
    color: #333;
    font-weight: 600;
}

#annexz-footer[data-component="global-footer"] > div:nth-child(1) nav span,
#annexz-torahouz-footer[data-component="global-footer"] > div:nth-child(1) nav span,
#noads-footer[data-component="global-footer"] > div:nth-child(1) nav span {
    color: #333;
}

#annexz-footer[data-component="global-footer"] > div:nth-child(2) {
    color: #ffffff;
    background: radial-gradient(circle at 50% 40%, #D40000 0%, #800000 100%);
    border-top: 3px solid;
    border-image: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C) 1;
}

#annexz-torahouz-footer[data-component="global-footer"] > div:nth-child(2) {
    color: #ffffff;
    background: radial-gradient(circle at 50% 40%, #222222 0%, #000000 100%);
    border-top: 3px solid;
    border-image: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C) 1;
}

#noads-footer[data-component="global-footer"] > div:nth-child(2) {
    color: #ffffff;
    background: linear-gradient(90deg, 
      #001a40 0%,   /* 深い紺 */
      #004bb1 35%,  /* ロゴの中間的な青 */
      #0095da 50%,  /* 【鮮やかさのピーク】ロゴ右側のシアンブルー */
      #004bb1 65%,  /* 再び青へ */
      #001a40 100%  /* 深い紺で締める */
    );
    border-top: 3px solid #ced4da;
}

#annexz-footer[data-component="global-footer"] > div:nth-child(2) p:nth-child(1),
#annexz-torahouz-footer[data-component="global-footer"] > div:nth-child(2) p:nth-child(1),
#noads-footer[data-component="global-footer"] > div:nth-child(2) p:nth-child(1) {
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 中間ページ ペイウォール */
body *[data-component="basic-article"] .annexz-article-body[data-component="article-body"] figure:first-of-type {
    width: 270px;
}
body *[data-component="basic-article"] .annexz-article-body[data-component="article-body"] figure:first-of-type span {
    width: 270px;
    height: 155px;
}
body *[data-component="basic-article"] .annexz-article-body[data-component="article-body"] figure:first-of-type span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    font-family: 'object-fit: cover; object-position: 50% 20%;';
}

#paywall {
  margin-bottom: 10px;
}

.paywall-lock-icon {
  width: 22px;
  height: auto;
  display: block; 
  object-fit: contain; 
}

.paywall-wrapper {
    background-color: #ffffff;
    width: 100%;
    max-width: 450px;
    padding: 30px 20px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    margin: 0 auto;
  }

  /* メインメッセージ：突き放さず、メリットを伝える */
  .headline {
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.4;
    display: inline-flex;
  }
  .headline-highlight {
    color: #e60012; /* スポニチカラー等で強調 */
  }

  /* キャンペーンバナー */
  .campaign-banner {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 25px;
  }

/* ベネフィットエリア */
  .benefit-box {
    background-color: #f5f8ff; /* 爽やかな背景色でメリットを強調 */
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
  }
  .benefit-title {
    color: #000066;
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 10px 0;
    text-align: center;
  }
  .benefit-list {
    text-align: left;
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .benefit-list li {
    color: #333333;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .benefit-list li:last-child {
    margin-bottom: 0;
  }
  .icon-check {
    stroke: #4a7acc;
    flex-shrink: 0;
  }

/* 新規登録ボタン（えんじ色） */
  .btn-register {
    display: inline-block;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #8b0000;
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
    padding: 16px 0;
    border-radius: 8px;
    margin-bottom: 8px; /* マイクロコピーとの間隔 */
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(139, 0, 0, 0.2);
    transition: all 0.2s;
    cursor: pointer;
  }
  .btn-register:hover, .btn-register:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(139, 0, 0, 0.2);
  }

  .btn-register span.small-text {
  display: block;
  font-size: 75%;
}

.btn-register span.main-text {
  display: block;
}

  /* マイクロコピー（安心感の付与） */
  .microcopy {
    color: #666666;
    font-size: 11px;
    margin: 0 0 25px 0;
  }

  /* ログイン導線エリア */
  .login-area {
    border-top: 1px solid #eeeeee;
    padding-top: 20px;
  }
  .login-text {
    color: #666666;
    font-size: 12px;
    margin: 0 0 10px 0;
  }

.btn-login {
    display: block;
    width: 100%;
    background-color: #ffffff;
    color: #4a7acc;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 0;
    border-radius: 6px;
    border: 1px solid #4a7acc;
    box-sizing: border-box;
    transition: background-color 0.2s;
    margin-bottom: 20px;
    cursor: pointer;
  }
  .btn-login:hover, .btn-login:active {
    background-color: #f0f4ff;
  }

  /* 下部リンク（サービス詳細へ） */
  .link-about {
    display: inline-block;
    color: #666666;
    font-size: 12px;
    text-decoration: none;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 2px;
    transition: color 0.2s;
  }
  .link-about:hover {
    color: #333333;
    border-color: #333333;
  }

#logged-in-news-more {
  margin-bottom: 10px;
}
  #logged-in-news-more a span[data-component="button-show-more"] {
  margin: 0 auto;
}

#logged-in-news-more a span[data-component="button-show-more"]::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-image: url('/assets/images/@1x/paywall-unlock.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: unset;
}

/* 通常記事 中間ページ 続きを表示 */
#login_article_more_area {
  display: none;
}

.read-option-container {
  display: none;
  gap: 10px;
  margin: 20px 0;
  box-sizing: border-box;
}

.btn-standard {
  flex: 1;
  height: 45px;
  background-color: #f4f4f4;
  border: 1px solid #979797;
  color: #2E59AE;
  font-weight: bold;
  border-radius: 4px;
  -webkit-tap-highlight-color: transparent;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-standard:hover {
  background-color: #2E59AE;
  color: #ffffff;
}

.btn-premium-base {
  font-family: 'Noto Serif JP', serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 45px;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

  background: linear-gradient(90deg, 
    #001a40 0%,   
    #004bb1 35%,  
    #0095da 50%,  
    #004bb1 65%,  
    #001a40 100%
  );

  border-radius: 4px;
  border-top: 3px solid #ced4da;
  border-bottom: 3.5px solid #adb5bd;
  border-left: 1px solid #ced4da;
  border-right: 1px solid #adb5bd;
}

.btn-premium-base:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.btn-premium-base .text-label {
  color: #ffffff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.15em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.btn-premium-base:hover .text-label {
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

.btn-premium-base:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.premium-icon {
  margin-right: 6px;
  color: #d4af37;
  font-size: 16px;
}


/* フローティングボタン */
.floating-btn {
  font-family: 'Noto Serif JP', serif;
  bottom: 45px;
  left: 45px;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  height: 60px; /* 指定通り 60px */
  width: 340px;
  position: fixed;
  cursor: pointer;
  border-radius: 100px; /* カプセル型 */
  text-decoration: none;
  box-sizing: border-box;

  /* 背景：ご提示の linear-gradient をそのまま適用 */
  background: linear-gradient(90deg,
    #001a40 0%,   /* 深い紺 */
    #004bb1 35%,  /* ロゴの中間的な青 */
    #0095da 50%,  /* 【鮮やかさのピーク】ロゴ右側のシアンブルー */
    #004bb1 65%,  /* 再び青へ */
    #001a40 100%  /* 深い紺で締める */
  );

  /* 縁取り：ご提示のプラチナシルバーをそのまま適用 */
  border-top: 3px solid #ced4da;
  border-bottom: 3.5px solid #adb5bd;
  /* 左右の線はカプセル端に馴染ませるため border-top と同色を適用 */
  border-left: 2px solid #ced4da;
  border-right: 2px solid #adb5bd;

  /* 影：ご提示のシャドウをそのまま適用 */
  box-shadow: 0 15px 35px rgba(0, 30, 80, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);

  /* アニメーション：ご提示の transition をそのまま適用 */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

  z-index: 10000;

  display:none;
}

.floating-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.floating-btn .text-label {
  color: #ffffff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.15em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.floating-btn:hover .btn-text {
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

.floating-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.floating-lock-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}


/* ページロード時のスピナー */
/* スクロールを強制停止させる魔法のクラス */
body.no-scroll {
    overflow: hidden;
}

/* 画面全体を覆う半透明の背景 */
#loading-overlay {
    position: fixed;        /* 画面に固定 */
    top: 0;
    left: 0;
    width: 100vw;           /* 画面幅いっぱい */
    height: 100vh;          /* 画面の高さいっぱい */
    background-color: rgba(255, 255, 255, 0.8); /* 白の半透明 */
    z-index: 9999;          /* 一番手前に表示 */

    /* 中身を上下左右のど真ん中に配置 (PC/スマホ共通で最強の指定) */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* クルクルと文字を縦に並べるコンテナ */
.spinner-container {
    text-align: center;
}

/* クルクル本体 (先ほどと同じですが、少し太く見やすく) */
.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top-color: #007bff; /* スマホでも見やすいハッキリした青 */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 読み込み中...のテキスト */
.spinner-text {
    color: #333;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
