/*
 * =======================================================
 * 秀徹オフィシャルサイト - Final Complete CSS
 * =======================================================
 */

/* =======================================================
 * 1. 【最優先】背景を強制的に白にする設定
 * ======================================================= */
body, 
html, 
#page, 
.site, 
.site-content, 
.entry-content, 
.ast-container, 
.site-primary, 
.site-main, 
article {
    background-color: #ffffff !important;
    background-image: none !important;
}

/* 背景が白になったので、文字色は強制的に黒にする */
body, p, h1, h2, h3, h4, h5, h6, li, .entry-content {
    color: #333333 !important;
}

/* =======================================================
 * 2. ベースデザイン（フォント・リンク・ボタン）
 * ======================================================= */
#shutetsu-cool-page {
    font-family: 'Noto Sans JP', sans-serif !important;
    background-color: #ffffff !important;
    color: #333333 !important;
    line-height: 1.8 !important;
    border: none !important;
    box-shadow: none !important;
}

#shutetsu-cool-page *, 
#shutetsu-cool-page *::before, 
#shutetsu-cool-page *::after {
    box-sizing: border-box;
}

/* リンク色 */
#shutetsu-cool-page a {
    color: #0056b3 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}
#shutetsu-cool-page a:hover {
    color: #000000 !important;
    text-decoration: underline !important;
}

/* ボタン（黒背景・白文字） */
#shutetsu-cool-page .button {
    display: inline-block !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 15px 40px !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    font-size: 1.1em !important;
    text-align: center !important;
    transition: all 0.3s ease;
    border: 2px solid #000000 !important;
}
#shutetsu-cool-page .button:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    transform: translateY(-2px);
}

/* セクション見出し */
#shutetsu-cool-page .section-title {
    font-size: 2em !important;
    color: #000000 !important;
    text-align: center !important;
    margin-bottom: 50px !important;
    padding-bottom: 15px !important;
    border-bottom: 3px solid #000000 !important;
    display: inline-block !important;
    width: 100%;
}

/* =======================================================
 * 3. レイアウト設定（PC）
 * ======================================================= */
#shutetsu-cool-page .container {
    max-width: 960px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

#shutetsu-cool-page .section {
    padding: 60px 0 !important;
    border-bottom: 1px solid #eeeeee !important;
}

/* =======================================================
 * 4. 最新情報（強調デザイン & 赤バッジ）
 * ======================================================= */
#shutetsu-cool-page .latest-info {
    position: relative;
    background: #ffffff !important;
    border: 4px solid #000000 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 40px 0 60px 0 !important;
    box-shadow: 10px 10px 0px #888888 !important;
}

/* タイトル帯 */
#shutetsu-cool-page .latest-info__title {
    background-color: #000000 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 15px 25px !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* NEWSバッジ（赤色で強調） */
#shutetsu-cool-page .news-badge {
    background-color: #cc0000 !important; /* 赤 */
    color: #ffffff !important;
    border: none !important;
    padding: 4px 12px !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    font-size: 0.85em !important;
    margin-right: 10px !important;
}

/* コンテンツエリア */
#shutetsu-cool-page .latest-info__body {
    padding: 30px 25px !important;
}

#shutetsu-cool-page .latest-info__body p {
    margin-bottom: 25px !important;
    padding-bottom: 25px !important;
    border-bottom: 1px dashed #cccccc !important;
    line-height: 1.8 !important;
    color: #333 !important;
    font-weight: 500;
}
#shutetsu-cool-page .latest-info__body p:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

/* =======================================================
 * 5. 各セクションの装飾（Hero, Profileなど）
 * ======================================================= */
/* Hero Section */
#shutetsu-cool-page .hero-section {
    padding: 40px 0 80px 0 !important;
    background-color: #f9f9f9 !important;
    border-radius: 8px;
    margin-bottom: 40px;
}
#shutetsu-cool-page .hero-flex {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 24px !important;
    text-align: center !important;
}
#shutetsu-cool-page .hero-img {
    width: 280px !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
    border-radius: 4px !important;
}
#shutetsu-cool-page .hero-copy {
    font-size: 1.8em !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    color: #000 !important;
}
#shutetsu-cool-page .hero-button {
    color: #ffffff !important;
}

/* Profile */
#shutetsu-cool-page .profile-wrapper {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}
#shutetsu-cool-page .profile-image {
    flex: 0 0 250px;
}
#shutetsu-cool-page .profile-image img {
    width: 100%;
}
#shutetsu-cool-page .profile-details {
    flex: 1;
}
#shutetsu-cool-page .profile-details h3 {
    border-bottom: 1px solid #ddd !important;
    padding-bottom: 10px !important;
    margin-top: 30px !important;
    color: #000 !important;
}

/* Page Nav */
#shutetsu-cool-page .page-nav {
    background-color: #f4f4f4 !important;
    border-radius: 4px !important;
    padding: 20px !important;
    margin-bottom: 60px !important;
}
#shutetsu-cool-page .page-nav ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#shutetsu-cool-page .page-nav a {
    color: #000 !important;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 20px !important;
    border-radius: 30px !important;
    font-weight: bold !important;
}
#shutetsu-cool-page .page-nav a:hover {
    background: #000 !important;
    color: #fff !important;
    border-color: #000;
}

/* Footer */
#shutetsu-cool-page .site-footer {
    text-align: center !important;
    padding: 40px 0 !important;
    margin-top: 60px !important;
    border-top: 1px solid #eee !important;
    background: #fff !important;
}
#shutetsu-cool-page .social-links a {
    margin: 0 15px !important;
    font-weight: bold !important;
    color: #333 !important;
}

/* =======================================================
 * 6. テーブル（PC用デフォルト）
 * ======================================================= */
#shutetsu-cool-page .info-card {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    padding: 40px !important;
}
#shutetsu-cool-page .notice {
    background: #fdfdfd;
    border-left: 4px solid #000;
    padding: 15px;
    color: #333;
    margin-bottom: 30px !important;
}
#shutetsu-cool-page .table-wrapper {
    overflow-x: auto !important;
}
#shutetsu-cool-page .custom-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border-top: 2px solid #000 !important;
    min-width: 600px;
}
#shutetsu-cool-page .custom-table th,
#shutetsu-cool-page .custom-table td {
    padding: 20px 15px !important;
    text-align: left !important;
    border-bottom: 1px solid #ddd !important;
    color: #333 !important;
}
#shutetsu-cool-page .custom-table th {
    background-color: #f9f9f9 !important;
    font-weight: bold !important;
    width: 25% !important;
    color: #000 !important;
}
#shutetsu-cool-page .custom-table .important {
    color: #d32f2f !important;
    font-weight: bold !important;
}

/* =======================================================
 * 7. スマホ対応（文字スペース最大化・テーブルのカード化）
 * ======================================================= */
@media (max-width: 768px) {

    /* 画面端の余白を最小限にして文字スペースを確保 */
    #shutetsu-cool-page .container {
        padding: 0 10px !important;
    }

    /* セクションタイトルのサイズ調整 */
    #shutetsu-cool-page .section-title {
        font-size: 1.6em !important;
    }

    /* プロフィールのレイアウトを縦並びに */
    #shutetsu-cool-page .profile-wrapper {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

    /* カード（白い箱）の余白を削除して全幅を使う */
    #shutetsu-cool-page .info-card {
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
    }

    /* テーブルのカード化（横スクロール廃止） */
    #shutetsu-cool-page .table-wrapper {
        overflow-x: visible !important;
    }
    #shutetsu-cool-page .custom-table {
        min-width: 0 !important;
        width: 100% !important;
        display: block !important;
        border-top: none !important;
    }
    
    /* テーブル要素をすべてブロック（箱）に変換 */
    #shutetsu-cool-page .custom-table tbody,
    #shutetsu-cool-page .custom-table tr,
    #shutetsu-cool-page .custom-table th,
    #shutetsu-cool-page .custom-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 各行をカードとしてデザイン */
    #shutetsu-cool-page .custom-table tr {
        margin-bottom: 25px !important;
        border: 2px solid #000000 !important;
        background: #ffffff !important;
    }

    /* 見出しエリア（グレー） */
    #shutetsu-cool-page .custom-table th {
        background-color: #eeeeee !important;
        color: #000000 !important;
        font-size: 1.1em !important;
        padding: 10px 15px !important;
        border-bottom: 1px solid #000000 !important;
    }

    /* コンテンツエリア（白） */
    #shutetsu-cool-page .custom-table td {
        padding: 15px !important;
        font-size: 1em !important;
        line-height: 1.6 !important;
        background: #ffffff !important;
        word-break: break-all !important;
    }
}

/* =======================================================
 * 8. ヘッダーメニューが見えなくなる場合の予備設定
 * ======================================================= */
.site-title a, 
.site-description,
.main-header-menu a {
    color: #333333 !important;
}
/* スマホメニュー（三本線） */
.ast-mobile-menu-buttons .ast-mobile-svg {
    fill: #333333 !important;
}




/* =======================================================
 * Shu-Tetsu Punk Taste Customization
 * Concept: Scientific x Punk (High Contrast & Hard Edges)
 * ======================================================= */

/* 1. 全体の強調色を「パンクレッド」と「黒」で引き締める */
:root {
    --punk-red: #cc0000;
    --punk-black: #111111;
    --punk-shadow: 6px 6px 0px #000000; /* ぼかさない影 */
}

/* 2. ボタン：丸みをなくし、ハードな影をつける */
#shutetsu-cool-page .button {
    border-radius: 0 !important; /* 角丸を廃止 */
    border: 3px solid #000000 !important;
    box-shadow: 4px 4px 0px #000000 !important; /* ハードな影 */
    font-weight: 900 !important; /* より太く */
    letter-spacing: 1px;
    background-color: #fff !important;
    color: #000 !important;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

#shutetsu-cool-page .button:hover {
    background-color: #000 !important;
    color: #fff !important;
    transform: translate(-2px, -2px) !important; /* ホバーで少し浮く */
    box-shadow: 6px 6px 0px var(--punk-red) !important; /* 影が赤になる */
}

/* 3. セクション見出し：下線ではなく「マーカー塗り」風に */
#shutetsu-cool-page .section-title {
    border-bottom: none !important;
    background: linear-gradient(transparent 60%, #eee 60%) !important; /* 下半分マーカー */
    display: inline-block !important;
    width: auto !important; /* 文字幅に合わせる */
    padding: 0 10px !important;
    transform: rotate(-1deg); /* ごく僅かに傾けて不安定さを出す */
}

/* 4. 最新情報ボックス：枠線を太く、バッジを傾ける */
#shutetsu-cool-page .latest-info {
    border: 4px solid #000000 !important;
    box-shadow: 8px 8px 0px #cccccc !important; /* グレーのハードな影 */
}

#shutetsu-cool-page .latest-info__title {
    background-color: #000 !important;
    border-bottom: 4px solid #000 !important;
}

/* NEWSバッジを「ステッカー」風に傾ける */
#shutetsu-cool-page .news-badge {
    transform: rotate(-5deg) skew(-10deg) !important;
    border: 2px solid #fff !important;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.3) !important;
    font-style: italic;
}

/* 5. ヒーローセクションのキャッチコピー */
#shutetsu-cool-page .hero-copy {
    font-weight: 900 !important;
    line-height: 1.4 !important;
    /* 文字の背景に白ブロックを置いて切り抜き感を出す（画像の上に乗る場合などに有効） */
    background-color: #fff;
    display: inline;
    padding: 5px 10px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    border: 2px solid #000;
}

/* 6. テーブル（料金表など）：シンプルかつ強固に */
#shutetsu-cool-page .custom-table {
    border: 3px solid #000 !important;
}
#shutetsu-cool-page .custom-table th {
    background-color: #000 !important;
    color: #fff !important;
    border-bottom: 2px solid #000 !important;
}
#shutetsu-cool-page .custom-table td {
    border-bottom: 2px solid #000 !important;
}
#shutetsu-cool-page .custom-table tr:last-child td {
    border-bottom: none !important;
}

/* スマホ時のテーブルカード化デザイン調整 */
@media (max-width: 768px) {
    #shutetsu-cool-page .custom-table tr {
        border: 3px solid #000 !important;
        box-shadow: 5px 5px 0px #eee !important;
        margin-bottom: 30px !important;
    }
}

/* 7. 注意書きボックス：警告テープ風 */
#shutetsu-cool-page .notice, 
div[style*="background-color: #fff0f0"] {
    border: 3px solid #cc0000 !important;
    background-image: repeating-linear-gradient(
      -45deg,
      #fff0f0,
      #fff0f0 10px,
      #fff 10px,
      #fff 20px
    ) !important; /* ストライプ背景で警告感を出す */
    color: #cc0000 !important;
    font-weight: bold;
    box-shadow: 5px 5px 0px rgba(204, 0, 0, 0.2) !important;
}

/* =======================================================
 * 9. 会員システムカード（ボード／付箋／プレート風）
 * ======================================================= */
#shutetsu-cool-page .membership-system {
    padding-top: 40px !important;
    padding-bottom: 60px !important;
}

#shutetsu-cool-page .membership-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    justify-content: space-between !important;
}

/* 基本カードデザイン */
#shutetsu-cool-page .membership-card {
    position: relative !important;
    flex: 1 1 calc(33.333% - 16px) !important;
    padding: 24px 22px !important;
    border: 3px solid #000000 !important;
    box-shadow: 6px 6px 0px #000000 !important;
    background-color: #ffffff !important;
    min-height: 260px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* タイトル・テキスト */
#shutetsu-cool-page .membership-card__title {
    font-size: 1.2rem !important;
    margin: 0 0 10px 0 !important;
}

#shutetsu-cool-page .membership-card__tagline {
    font-size: 0.9rem !important;
    margin: 0 0 10px 0 !important;
}

#shutetsu-cool-page .membership-card__body {
    font-size: 0.9rem !important;
    margin: 0 0 10px 0 !important;
}

#shutetsu-cool-page .membership-card__points {
    list-style: disc !important;
    padding-left: 18px !important;
    margin: 0 0 18px 0 !important;
    font-size: 0.9rem !important;
}

#shutetsu-cool-page .membership-card__points li {
    margin-bottom: 4px !important;
}

#shutetsu-cool-page .membership-card__button {
    margin-top: auto !important;
    width: 100% !important;
    text-align: center !important;
}

/* バリエーション：稽古会員（ボード風） */
#shutetsu-cool-page .membership-card--dojo {
    background-color: #ffffff !important;
}

/* バリエーション：オンライン（付箋風・やや傾ける） */
#shutetsu-cool-page .membership-card--online {
    background-color: #fff6cc !important;
    transform: rotate(-1.5deg) !important;
}

/* バリエーション：パーソナル（プレート風・淡いブルー） */
#shutetsu-cool-page .membership-card--personal {
    background-color: #e7f7ff !important;
    transform: rotate(1.2deg) !important;
}

/* スマホ対応：縦並び・傾きを弱める */
@media (max-width: 900px) {
    #shutetsu-cool-page .membership-grid {
        flex-direction: column !important;
    }

    #shutetsu-cool-page .membership-card {
        flex: 1 1 100% !important;
    }

    #shutetsu-cool-page .membership-card--online,
    #shutetsu-cool-page .membership-card--personal {
        transform: rotate(0.5deg) !important;
    }
}


/* 会費表の補足（年会費・保険料）を少し控えめに表示 */
#shutetsu-cool-page .membership-fee-note{
    font-size: 0.92em !important;
    opacity: 0.85 !important;
    font-weight: normal !important;
    margin-left: 4px !important;
}


/* 会員特典リスト（表内） */
#shutetsu-cool-page .membership-benefits{
    margin: 10px 0 10px 18px;
    padding: 0;
}
#shutetsu-cool-page .membership-benefits li{
    margin: 6px 0;
}
#shutetsu-cool-page .membership-benefits-note{
    font-size: 0.92em;
    opacity: 0.85;
}

/* =======================================================
 * 10. 稽古スケジュール補足（本部・支部共通参加）
 * ======================================================= */
#shutetsu-cool-page .schedule-note{
    margin-bottom: 10px !important;
}

/* =============================
   最新情報 (latest.txt 連動)
   ============================= */
#shutetsu-cool-page .latest-updates {
  white-space: pre-wrap;
  padding: 16px;
  border: 1px dashed rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.03);
  margin: 0 0 12px;
}

#shutetsu-cool-page .latest-info__sub {
  margin: 0 0 10px;
}

#shutetsu-cool-page .embed-list {
  display: grid;
  gap: 12px;
  margin: 10px 0 0;
}

#shutetsu-cool-page .note-embed {
  width: 100%;
  max-width: 520px;
  border: 0;
  display: block;
}



/* =============================
   外部テキスト連動の囲み（online_notice.txt）
   ============================= */
#shutetsu-cool-page .notice-box {
  border: 3px solid #cc0000;
  background-color: #fff0f0;
  color: #cc0000;
  padding: 20px;
  margin: 0 0 30px;
  text-align: center;
  font-weight: bold;
  line-height: 1.8;
  border-radius: 4px;
  white-space: pre-wrap;
}

/* =======================================================
 * 11. テキストファイル読み込みエリアの強調（パンク改修）
 * ======================================================= */

/* 読み込みエリア共通：改行の維持とボックスデザイン */
#latestText, 
#onlineNoticeText {
    white-space: pre-wrap !important; /* テキストファイルの改行を反映 */
    word-wrap: break-word !important;
    font-family: 'Noto Sans JP', monospace !important; /* 等幅フォントっぽさを少し混ぜる */
    font-weight: 700 !important;
    line-height: 1.9 !important;
    font-size: 1.05rem !important;
}

/* 1. 最新情報エリア (latest.txt) */
#latestText {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 3px solid #000000 !important;
    /* パンクレッドのハードな影で強調 */
    box-shadow: 8px 8px 0px #cc0000 !important; 
    padding: 25px !important;
    margin-bottom: 30px !important;
    position: relative;
}

/* 最新情報に「UPDATE」の装飾ラベルを付ける（擬似要素） */
#latestText::before {
    content: "UPDATE";
    position: absolute;
    top: -15px;
    right: -10px;
    background: #cc0000;
    color: #fff;
    padding: 5px 15px;
    font-weight: 900;
    font-style: italic;
    border: 2px solid #000;
    transform: rotate(3deg);
    font-size: 0.8em;
    pointer-events: none;
}

/* 2. オンライン案内エリア (online_notice.txt) */
.notice-box--online {
    background-color: #fff0f0 !important; /* 薄い赤背景 */
    color: #cc0000 !important;
    border: 3px solid #cc0000 !important;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.8) !important; /* 黒い影 */
    padding: 25px !important;
    margin-bottom: 40px !important;
    text-align: left !important; /* 中央揃えだと読みづらいため左揃えに変更 */
}

/* 自動生成されたリンクのスタイル */
.dynamic-link {
    background-color: #000 !important; /* 黒背景 */
    color: #fff !important;           /* 白文字 */
    padding: 2px 8px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    display: inline-block;
    margin: 0 2px;
    border-radius: 2px;
    word-break: break-all;
    transition: all 0.2s ease;
}

.dynamic-link:hover {
    background-color: #cc0000 !important; /* ホバーで赤 */
    color: #fff !important;
    transform: translateY(-2px);
}

/* スマホ調整 */
@media (max-width: 768px) {
    #latestText, 
    .notice-box--online {
        padding: 15px !important;
        font-size: 0.95rem !important;
        box-shadow: 4px 4px 0px #cc0000 !important;
    }
}
