*,
*::before,
*::after {
    box-sizing: border-box;
}
:root {
    /* Player / Entry（選手系） */
    --player-light: #ffb7c5;
    --player-main:  #ff6f88;
    --player-dark:  #e3425a;

    /* Sponsor（スポンサー系） */
    --sponsor-light: #61e8b1;
    --sponsor-main:  #45d492;
    --sponsor-dark:  #147a6d;

    /* User / Fan（一般ユーザー） */
    --user-light: #9ad5ff;
    --user-main:  #5ab5ff;
    --user-dark:  #2d8adb;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #404040;
    background-color: #f3f3f3;
}

a {
    color: #4d88be;
    text-decoration: none;
}

a:hover {
    text-decoration: none;

}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.header-inner {
   position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
   
    padding-right: 64px;
}
/* ハンバーガーメニュー（右上固定） */
.mypage-menu-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px 6px;
    z-index: 20;                    /* ヘッダー内で前面に */
}
.logo a {
    font-weight: 700;
    font-size: 18px;
    color: #404040;
}

.global-nav a {
    margin-left: 16px;
    font-size: 14px;
}
/* ================================
   Footer layout
   ================================ */
.site-footer {
   background: var(--player-main);
    color: #ffffff;
    margin-top: 40px;
}

.footer-inner {
    padding: 16px 0;
    text-align: center;
    font-size: 12px;
}


.footer-inner {
    padding: 16px 0 10px;
    font-size: 12px;
}

.footer-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight:800;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    font-size: 11px;
    opacity: 0.9;
}

.main {
    min-height: 70vh;
}



.hero-title {
    font-size: 28px;
    margin-bottom: 8px;
}

.hero-text {
    margin-bottom: 16px;
    line-height: 1.6;
}

.hero-actions .btn {
    margin-right: 8px;
}

/* Sections */
.section {
    padding: 32px 0;
    background: #f3f3f3;
}

.section-title {
    font-size: 22px;
    margin-bottom: 16px;
}

.section-lead {
    font-size: 14px;
    margin-bottom: 24px;
}

/* Cards */
.tour-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.tour-card {
    background: #ffffff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.tour-title {
    margin: 0 0 8px;
    font-size: 18px;
}

.tour-date,
.tour-note {
    margin: 4px 0;
    font-size: 13px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn.primary {
    background: #4d88be;
    color: #ffffff;
}

.btn.secondary {
    background: #ffffff;
    color: #4d88be;
}

/* Forms */
.form-container {
    max-width: 480px;
}

.form {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #cccccc;
}

.form-actions {
    text-align: right;
}

.alert {
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 16px;
}

.alert-error {
    background: #ffe0e5;
    color: #b00020;
}
.alert-success {
    background: #e6ffed;
    color: #006400;
}
/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .global-nav {
        margin-top: 8px;
    }

    .hero-title {
        font-size: 22px;
    }
}
/* ================================
   Header
   ================================ */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.logo a {
    font-weight: 700;
    font-size: 22px;
    color: #404040;
}

.header-actions .header-btn {
    margin-left: 8px;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 999px;
    font-weight:800;
}

.header-btn-outline {
    background: #ffffff;
    color: #e65a78;
    border: 1px solid #e65a78;
}

.header-btn-solid {
    background: #e65a78;
    color: #ffffff;
}
.header-btn-outline:hover {
    background: #e65a78;   /* 内側を色で塗る */
    color: #ffffff;        /* 白文字 */
    border-color: #e65a78; /* ボーダーも同じ色 */
    text-decoration:none;
}

/* ソリッド（ピンク背景） */
.header-btn-solid:hover {
    background: #ff8fa3;   /* 少し明るいピンク */
    color: #ffffff;
        text-decoration:none;
}
/* ===============================
   Logo Image
   =============================== */

.logo-img {
    height: 32px;      /* ← 見た目に合わせて微調整可（28–40px推奨） */
    width: auto;
    display: block;
}
/* ================================
   Hero (メインビジュアル)
   ================================ */
.hero-img-full {
    width: 100%;
    overflow: hidden; /* 念のため */
}

.hero-full-image {
    width: 100%;
    height: auto;   /* ← これが「絶対にトリミングしない」 */
    display: block; /* 画像下の余白（inline要素問題）を消す */
}

/* ================================
   Entry section
   ================================ */
.entry-section {
    background: #f3f3f3;
    padding-top: 32px;
    padding-bottom: 24px;
}

.entry-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #f17086;
    color: #ffffff;
    border-radius: 8px;
    padding: 16px 20px;
}

.entry-icon {
    flex: 0 0 auto;
    width: 180px;
    height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
 
}

.entry-icon-text {
    transform: translateY(2px);
}

.entry-text {
    flex: 1;
      text-align: center;
}
/* 見出し（H1） */
.entry-heading {
    margin: 0 0 12px;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.5;
}
/* ステップ（選手登録 → ログイン → ツアー） */
.entry-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;  /* スマホで折り返し対応 */
}

/* 四角で囲われる部分 */
.entry-step-box {
    padding: 6px 14px;
    border-radius: 6px;
    border: 2px solid #ffffff;
    background: #4d88be;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

/* 矢印（囲わない） */
.entry-step-arrow {
    font-size: 18px;
    font-weight: 700;
}
.entry-main {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.5;
}

.entry-note {
    margin: 0;
    font-size: 14px;
}



.entry-btn-left {
    background: #f17086;
    color: #ffffff;
}
.entry-btn-left:hover {
    background: #f598a5;    /* ← ワントーン薄く */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;  /* ← アンダーライン完全無効 */
}
.entry-btn-right {
    background: #4d88be;
    color: #ffffff;
}
.entry-btn-right:hover {
    background: #74a4cc;    /* ← ワントーン薄く */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        text-decoration: none;  /* ← アンダーライン完全無効 */

}
/* ENTRY アイコン画像 */
.entry-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* ================================
   Players section
   ================================ */
.players-section {
    background: #f7f7f7;
    padding-top: 32px;
    padding-bottom: 32px;
}

.players-title {
    margin-bottom: 16px;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.player-card {
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #f17086;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

/* 1段目：写真 */
.player-photo {
    width: 100%;
    aspect-ratio: 1 / 1;          /* 正方形を保つ */
    border-radius: 8px;
    overflow: hidden;
    background: #fff5f7;
    border: 1px dashed #f17086;
}

.player-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* 本番画像用。仮シルエットもOK */
    display: block;
}

/* 2段目：名前 */
.player-name {
    margin: 10px 0 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    word-break: break-all;        /* 長い名前も折り返す */

    /* 行数を2行程度に抑えたいなら（対応ブラウザ多い） */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 3段目：プロフィールボタン */
.player-profile-btn {
    font-size: 12px;
    padding: 8px 12px;
    background: #f17086;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    align-self: center;
    width:90%;
font-weight:800;
    transition: all .2s ease;
}

.player-profile-btn:hover {
    background: #f598a5;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
        text-decoration: none;

}
.players-more {
    text-align: right;
    margin-top: 16px;
}

.players-more-btn {
    background: #f17086;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight:800;
}
.players-more-btn:hover {
    background: #f598a5;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
        text-decoration: none;
           font-weight:800;

}
/* ================================
   Sponsor section
   ================================ */
.sponsor-section {
    background: #ffffff;
    padding-top: 32px;
    padding-bottom: 40px;
    border-top: 1px solid #dddddd;
}

.sponsor-panel {
    margin-top: 8px;
    margin-bottom: 16px;
    height: 120px;
    border-radius: 8px;
    background: #45d492;
}

.sponsor-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.sponsor-btn {
    min-width: 200px;
    background: #147a6d;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 8px;
}
.sponsor-btn:hover {
    background: #45d492;    /* 少し明るいグリーン */
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}
/* ================================
   Player Profile Page
   ================================ */

.player-header-section {
    background: #f7f7f7;
    padding-top: 32px;
    padding-bottom: 24px;
}
.player-profile-section,
.player-stats-section,
.player-sns-section,
.player-results-section,
.player-articles-section {
    padding-top: 24px;
    padding-bottom: 24px;
}
.player-header-inner {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.player-photo-lg {
    flex: 0 0 260px;
    border-radius: 16px;
    border: 2px solid #f17086;
    background: #fff;
    padding: 12px;
}

.player-photo-lg-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.player-main-info {
    flex: 1;
}

.player-category {
    margin: 0 0 4px;
    font-size: 14px;
    color: #f17086;
    font-weight: 600;
}

.player-name-lg {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
}

.player-name-sub {
    margin: 4px 0 16px;
    font-size: 13px;
    color: #666;
}

.player-basic-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 32px;
    margin: 0 0 16px;
}

.player-basic-list dt {
    font-size: 12px;
    color: #777;
}

.player-basic-list dd {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.player-sns {
    margin-top: 8px;
    font-size: 13px;
}

.player-sns-label {
    display: inline-block;
    font-weight: 700;
    margin-right: 8px;
}

.player-sns-links span {
    display: block;
}
.player-sns-grid-instagram {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}
/* YouTube：1行2列 */
.player-sns-grid-youtube {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
}
/* 埋め込みの共通ラッパー */
.sns-embed-item {
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

/* iframe をカラム幅にフィットさせる */
.sns-embed-item iframe {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
}
/* プロフィール本文 */
.player-profile-section {
    background: #ffffff;
    padding-top: 24px;
    padding-bottom: 24px;
}

.player-profile-text {
    font-size: 14px;
    line-height: 1.8;
}

/* スタッツカード */
.player-stats-section {
    background: #f7f7f7;
    padding-top: 24px;
    padding-bottom: 24px;
}

.player-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.player-stat-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f17086;
    padding: 12px 16px;
    text-align: center;
}

.player-stat-label {
    margin: 0 0 4px;
    font-size: 12px;
    color: #666;
}

.player-stat-value {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

/* 戦績テーブル */
.player-results-section {
    background: #ffffff;
    padding-top: 24px;
    padding-bottom: 32px;
}

.player-results-table-wrapper {
    overflow-x: auto;
}

.player-results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.player-results-table th,
.player-results-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e0e0e0;
}

.player-results-table th {
    background: #f7f7f7;
    text-align: left;
    font-weight: 600;
}
.player-articles-section {
    padding-top: 24px;
    padding-bottom: 32px;
}

/* 記事ブロック */
.player-article-full {
    margin-bottom: 24px;
}

.player-article-title-full {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
}

.player-article-date {
    font-size: 12px;
    color: #777;
    margin: 0 0 12px;
}

.player-article-body {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 12px;
}
.player-article-images {
    display: flex;
    gap: 8px;
}

/* 区切り線 */
.player-article-divider {
    margin: 24px 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}
/* ================================
   entry Page
   ================================ */
/* エントリーページ Hero */
.entry-hero-section {
    padding-top: 32px;
    padding-bottom: 32px;
    background: #f7f7f7;
}

.entry-hero-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.entry-hero-text {
    flex: 1 1 0;
}

.entry-hero-image {
    flex: 1 1 0;
    text-align: right;
}

.entry-img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.entry-label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f17086;
    margin: 0 0 4px;
}

.entry-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px;
}

.entry-lead {
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 16px;
}

/* ボタン */
.entry-buttons {
    display: flex;
    justify-content: center;   /* 真ん中に寄せる */
    align-items: center;
    width: 100%;
    margin-top: 20px;
    gap: 24px;
}

.entry-btn-primary,
.entry-btn-secondary {
    min-width: 200px;
    text-align: center;
    text-decoration: none;
    border-radius: 999px;
    padding: 14px 24px; /* 縦幅ちょい長め */
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

/* メインボタン */
.entry-btn-primary {
    background: #f17086;
    color: #fff;
    border: none;
}

.entry-btn-primary:hover {
    background: #f598a5;          /* 少し明るく */
    transform: translateY(-2px);  /* 少し浮く */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* セカンダリボタン */
.entry-btn-secondary {
    background: #ffffff;
    color: #f17086;
    border: 1px solid #f17086;
}

.entry-btn-secondary:hover {
    background: #ffe6ec;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
/* 受付済みボタンの見た目 */
.entry-btn-disabled {
 background: #eee;
    color: #999;
    border: 1px solid #ccc;
    cursor: not-allowed;
    min-width: 280px;
    text-align: center;

    padding: 22px 32px;
    border-radius: 20px;
    font-size: 22px;
    font-weight: 600;

  display: inline-flex;            /* ← ここポイント */
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* hover時も動かないように上書き */
.entry-btn-disabled:hover {
    background: #ccc;
    box-shadow: none;
    transform: none;
}

/* エントリーフロー */
.entry-flow-section {
    padding-top: 24px;
    padding-bottom: 24px;
    background: #ffffff;
}

.entry-flow-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
}

.entry-flow-box {
    flex: 1 1 0;
    min-width: 220px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    background: #fff;
}

.entry-step-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #f17086;
    border-radius: 999px;
    padding: 2px 10px;
    margin-bottom: 6px;
}

.entry-flow-main {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
}

.entry-flow-sub {
    font-size: 13px;
    margin: 0;
    line-height: 1.7;
}

.entry-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    font-size: 18px;
}

/* 注意事項 */
.entry-notes-section {
    padding-top: 16px;
    padding-bottom: 32px;
}

.entry-notes-list {
    margin: 0;
    padding-left: 1.2em;
    font-size: 13px;
    line-height: 1.7;
}
.entry-deadline {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 700;
    color: #f17086;    /* 濃いアクセントカラー */
    display: flex;
    align-items: center;
    gap: 8px;
}

.entry-deadline .deadline-icon {
    font-size: 22px;
}

.entry-deadline .deadline-label {
    font-weight: 600;
    color: #444;
}

.entry-deadline .deadline-date {
    font-size: 20px;
    font-weight: 800;
    color: #f17086;
}
.player-register-section {
    padding-top: 24px;
    padding-bottom: 40px;
    background: #ffffff;
}

.player-register-inner {
    max-width: 720px;
    margin: 0 auto;
}

.player-register-form .form-row {
    margin-bottom: 16px;
}
/* ================================
   entry Form
   ================================ */

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.required {
    color: #f17086;
    font-size: 12px;
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #f17086;
    box-shadow: 0 0 0 1px rgba(241,112,134,0.25);
}

.form-error {
    margin-top: 4px;
    font-size: 12px;
    color: #d9534f;
}

.radio-group {
    display: flex;
    gap: 16px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.form-row-inline {
    display: flex;
    gap: 16px;
}

.form-row-inline .form-col {
    flex: 1 1 0;
}

.form-note {
    font-size: 12px;
    color: #777;
}

.form-actions {
    margin-top: 24px;
    text-align: center;
}

.player-register-complete-box {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 20px 24px;
    background: #fafafa;
}

.player-register-summary {
    margin: 0 0 16px;
}

.player-register-summary > div {
    display: flex;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 6px;
}

.player-register-summary dt {
    width: 110px;
    color: #777;
}

.player-register-summary dd {
    margin: 0;
}

/* =========================================
   Player MyPage Layout
   ========================================= */
.section-mypage {
    background: #faf7f8;
    padding: 40px 16px 64px;
}

.mypage-layout {
    max-width: 1120px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.mypage-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #f1d2da;
    background: linear-gradient(to right, #ffe4ec, #ffffff);
}

.mypage-header-label {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--player-dark);
}

.mypage-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mypage-username {
    font-size: 14px;
    color: #555555;
}

.mypage-logout {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--player-main);
    color: var(--player-main);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.mypage-logout:hover {
    background: var(--player-main);
    color: #ffffff;
}

/* hamburger button (SP only by default) */
.mypage-menu-toggle {
    margin-left: 8px;
    border: none;
    background: transparent;
    padding: 4px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
}

.mypage-menu-bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #444444;
}

/* body layout */
.mypage-body {
    position: relative;
    min-height: 420px;
}

.mypage-sidebar {
    background: #fff7fa;
}

.mypage-sidebar-inner {
    padding: 16px 18px;
}

.mypage-menu-title {
    font-size: 13px;
    font-weight: 700;
    color: #999999;
    margin-bottom: 8px;
}

.mypage-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mypage-menu-list li {
    margin-bottom: 4px;
}

.mypage-menu-list a {
    display: block;
    padding: 9px 10px;
    border-radius: 999px;
    font-size: 14px;
    color: #555555;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.mypage-menu-list li.is-active a,
.mypage-menu-list a:hover {
    background: #ffe0ea;
    color: var(--player-dark);
}

.mypage-main {
    padding: 24px 24px 32px;
}

.mypage-title {
    font-size: 22px;
    margin: 0 0 12px;
}

.mypage-section {
    margin-top: 20px;
    margin:20px auto 0 auto;
}

.mypage-section-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.mypage-note {
    font-size: 13px;
    color: #777777;
    margin-top: 4px;
}

.mypage-text {
    font-size: 14px;
    line-height: 1.7;
}

.mypage-link-row {
    margin-top: 8px;
}

.mypage-link {
    font-size: 14px;
    color: var(--player-main);
    text-decoration: none;
}

.mypage-link:hover {
    text-decoration: underline;
}

.mypage-list {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.7;
}
/* ===== MyPage top blocks ===== */

.mypage-section-tour {
    margin-top: 8px;
    padding: 16px 18px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffe4ec, #ffffff);
    border: 1px solid #ffd0e0;
}

.mypage-tour-banner {
    margin-bottom: 12px;
}

.mypage-tour-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #c8507a;
    margin-bottom: 4px;
}

.mypage-tour-copy {
    font-size: 14px;
    line-height: 1.7;
    color: #444444;
}

.mypage-btn-primary {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 999px;
    background: var(--player-main);
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(222, 92, 136, 0.35);
    transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.15s ease;
      outline: none;
    -webkit-tap-highlight-color: transparent;
    border: none;
}

.mypage-btn-primary:hover {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(222, 92, 136, 0.2);
    opacity: 0.95;
}

.mypage-section-news {
    margin-top: 24px;
    padding: 16px 18px 20px;
    border-radius: 14px;
    border: 1px solid #f1d2da;
    background: #fffdfd;
}

.mypage-news-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.mypage-news-item {
    padding: 8px 0;
    border-bottom: 1px dashed #f0d5df;
}

.mypage-news-item:last-child {
    border-bottom: none;
}

.mypage-news-meta {
    font-size: 12px;
    color: #999999;
    margin-bottom: 2px;
}

.mypage-news-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.mypage-news-body {
    font-size: 13px;
    line-height: 1.7;
    color: #555555;
}
.mypage-tour-thumb {
    margin-top: 12px;
    border-radius: 14px;
    overflow: hidden;           /* はみ出しカット */
}

.mypage-tour-image {
    width: 100%;
    height: 100%;
    display: block;
}

    /* CLOSEボタン */
.mypage-menu-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 28px;
    background: none;
    border: none;
    color: #444;
    cursor: pointer;
    padding: 4px;
    z-index: 10001;
}
.profile-image-thumb {
    width: 150px;         /* サムネ幅（お好みで） */
    height: 150px;        /* 正方形にしたい場合 */
    object-fit: cover;    /* トリミングして中央表示 */
    border-radius: 8px;   /* 角丸（任意） */
    display: block;
}

.mypage-public-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;            /* ← 10px 24px → 小さく */
    border-radius: 999px;
    border: 2px solid #e47a99;
    background: #fff;
    color: #e47a99;
    font-weight: 700;
    font-size: 13px;              /* ← 14px→13px */
    text-decoration: none;
    white-space: nowrap;
}
.player-articles-more-wrapper {
  margin-top: 16px;
  text-align: right;
}

.player-articles-more-link {
  font-size: 14px;
  color: #e47a99;
  text-decoration: none;
}

.player-articles-more-link:hover {
  text-decoration: underline;
}

/* 一覧ページ用 */
.player-articles-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.player-articles-list-player {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-photo-sm-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.player-articles-back-link {
  font-size: 14px;
  color: #e47a99;
  text-decoration: none;
}

.player-articles-back-link:hover {
  text-decoration: underline;
}
.article-player-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #eee;
}
.article-player-name {
    font-size: 18px;
    font-weight: 700;
}

.article-player-category {
    color: #999;
    font-size: 14px;
}
/* 記事ページ用 */

.player-article-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.player-article-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px; /* 角丸。丸にしたければ 50% に */
  object-fit: cover;
  border: 1px solid #eee;
}

.player-article-player-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.player-article-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 16px 0;
}

.player-article-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.player-article-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.player-article-date {
  font-size: 14px;
  color: #888;
  margin: 0;
}

.player-article-body {
  font-size: 16px;
  line-height: 1.8;
}
.player-article-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 24px 0;
  font-size: 15px;
}

.player-article-nav-link {
  color: #457b9d;
  text-decoration: none;
}

.player-article-nav-link:hover {
  text-decoration: underline;
}

.player-article-back {
  text-align: center;
  margin-top: 16px;
}
.article-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

 .player-article-images {
    display: flex;
    flex-direction: column;
    align-items:center
}

.player-article-img {
    width: 100% !important;
    max-width: 400px !important;
    height: auto !important;
}
/* ==== ツアーエントリー TOP 共通 ==== */

.entry-page {
  background: #f5f5f5;
  padding: 40px 0 80px;
}

.entry-page-inner {
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  padding: 32px 24px 40px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 受付ステータス */

.entry-status-block {
  margin-bottom: 24px;
}

.entry-status {
  font-weight: 700;
  margin-bottom: 4px;
}
.entry-status-banner {
  text-align: center;
  padding: 12px 8px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 12px;
}

.entry-open {
  background: #ff5aa5;   /* ピンク帯 */
  color: #fff;
}
.entry-closed {
  background: #999;
  color: #fff;
}

..entry-deadline-row {
  text-align: center;
  font-size: 15px;
  margin-bottom: 20px;
}

/* 大会要項 */

.tour-outline-block {
  margin-top: 16px;
  margin-bottom: 32px;
}

.tour-outline-block .section-title {
  font-size: 18px;
  font-weight: 700;
  color: #ff5aa5;    /* ピンク */
  border-bottom: 2px solid #ff5aa5;
  padding-bottom: 4px;
  margin-bottom: 12px;
}

/* 参加規約（タブ＋iframe） */

.tour-terms-block {
  margin-top: 24px;
}

.tour-terms-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tour-terms-tab {
  border: 1px solid #ccc;
  background: #f5f5f5;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
}

.tour-terms-tab.is-active {
  background: #333;
  color: #fff;
  border-color: #333;
}

.tour-terms-panels {
  position: relative;
}

.tour-terms-panel {
  display: none;
}

.tour-terms-panel.is-active {
  display: block;
}

.tour-terms-iframe {
  width: 100%;
  min-height: 480px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
}

.tour-terms-note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 8px;
}

/* ==== 同意チェックをセンター揃え ==== */

.agreement-center {
  text-align: center;
  margin: 24px 0 16px;
}

.agreement-center .form-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}

.form-error {
  color: #d00;
  margin-top: 6px;
  font-size: 13px;
}
/* 大会要項 本文インデント */
.tour-outline-body {
  padding-left: 1.5em;        /* 全体をちょい右に寄せる */
}

.tour-outline-body > ol {
  margin-left: 0;             /* 二重インデント防止 */
}

.tour-outline-body p {
  margin: 0 0 6px;
}

/* 本文中の中見出し（ピンク＋太字＋共通サイズ） */
.tour-outline-subtitle {
  font-size: 16px;           /* 統一フォント */
  font-weight: 700;          /* 太字 */
  color: #e0458f;            /* 濃いピンク */
  margin: 22px 0 8px;        /* 上ちょい広め、下少し空ける */
  border-left: 4px solid #e0458f;  /* 装飾（必要なら） */
  padding-left: 8px;
}
.tour-outline-subtitle_sanka {
  font-size: 16px;           /* 統一フォント */
  font-weight: 700;          /* 太字 */
  color: #e0458f;            /* 濃いピンク */
  margin: 22px 0 20px;        /* 上ちょい広め、下少し空ける */
  border-left: 4px solid #e0458f;  /* 装飾（必要なら） */
  padding-left: 8px;
}
.entry-card {
  display: flex;
  flex-wrap: wrap;           /* 3列×2段 / SPで2列×3段 */
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #fff;
}

/* 各項目セル */
.entry-item {
  display: flex;
  flex-direction: column;  /* ← これで必ず縦並びになる */
  justify-content: flex-start;
  box-sizing: border-box;
  flex: 0 0 33.3333%;        /* PC：3列 */
  padding: 16px 18px;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.entry-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 3px;
}

.entry-value {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* ステータス色 */
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}
.status-entry      { background:#fff3e6; color:#ff7a3c; }
.status-paid       { background:#e7f5ff; color:#1c8ad9; }
.status-confirmed  { background:#e7ffe8; color:#22a347; }
/* プレビューボタン全体の配置 */
.preview-button-wrapper {
    text-align: center;
    margin: 24px 0 20px 0;
}

/* プレビューボタン本体 */
.preview-button {
    display: inline-block;
    width: 260px;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 600;
    color: #e8557e;
    border: 2px solid #e8557e;
    background: #fff;
    border-radius: 30px;
    transition: 0.2s;
}

/* Hover */
.preview-button:hover {
    background: #ffe7ef;
    border-color: #e8557e;
    color: #e8557e;
}
.player-article-images {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.player-article-img {
  display: block;
  max-width: 800px;  /* 最大800px */
  width:100%
  object-fit: contain;
   border-radius: 12px;
}

.player-sns-heading {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 8px;  /* 上に24px空けて、下に8px */
}

/* 横並びレイアウト */
.player-sns-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

/* 各動画カード */
.player-sns-row > .sns-item {
  flex: 0 0 calc(50% - 8px);   /* PCで2カラム固定 */
  box-sizing: border-box;
  margin-bottom: 20px;
}

/* YouTube iframe */
.youtube-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  display: block;
}
/* =========================================
   Footer
   ========================================= */

.terms-switch {
    margin: 20px 0;
    display: flex;
    gap: 12px;
}
.terms-tab {
    padding: 8px 16px;
    background: #eee;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}
.terms-tab.is-active {
    background: #f17086;
    color: #fff;
}
/* =========================================
   Legal
   ========================================= */
/* プラポリ・特商法などリーガル系ページ共通 */

.legal-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.legal-card {
  max-width: 900px;              /* ③ 最大幅900px */
  margin: 0 auto;                /* センター揃え */
  background: #fff;              /* ④ 白カード背景 */
  padding: 32px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

/* １：見出しをピンクに */
.legal-main-title {
  font-size: 26px;
  font-weight: 700;
  color: #f17086;                /* Ascent Bond ピンク系 */
  margin: 0 0 12px;
}

.legal-sub-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
}

.legal-meta {
  color: #666;
  margin: 0 0 16px;
}

/* hr のデザイン */
.legal-separator {
  border: 0;
  border-top: 1px solid #eee;
  margin: 16px 0 24px;
}

/* ２：本文インデント＆読みやすさ */
.legal-body {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.legal-body p {
  text-indent: 1em;          /* 先頭一文字インデント */
  margin: 0 0 0.8em;
}

.legal-body h2,
.legal-body h3 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  text-indent: 0;            /* 見出しはインデントなし */
}

.legal-body h2 {
  font-size: 20px;
}

.legal-body h3 {
  font-size: 18px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 16px;
}

.legal-table th,
.legal-table td {
  padding: 12px 10px;
  vertical-align: top;
  border-bottom: 1px solid #ddd;   /* ★ ボーダー */
}

.legal-table th {
  width: 180px;
  font-weight: bold;
  color: #444;
}

/* 最後の行のボーダーを薄く */
.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom-color: #eee;
}
/* 共通：リーガルタブ（プラポリ・特商法のフロント＆管理で使う） */
.legal-tabs {
  display: flex;
  gap: 12px;
  margin: 10px 0 20px;
}

.legal-tab {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  background: #f0f0f0;
  color: #333;
  transition: 0.2s;
}

.legal-tab:hover {
  background: #e4e4e4;
}

.legal-tab.active {
  background: #f17086;
  color: #fff;
}
/* ================================
   Front global MENU (header)
   ================================ */
/* ================================
   Front MENU button (ヘッダー用)
   ================================ */

/* 共通デザイン：カード型 */
.front-menu-toggle {
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    padding: 7px 4px;
    border-radius: 5px;
    border: 2px solid #f06292; /* ピンクの枠 */
    background: #ffffff;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    box-shadow: 0 2px 3px rgba(0,0,0,0.12);
    transition: box-shadow 0.2s ease, transform 0.1s ease;
    z-index: 2000;
}

.front-menu-toggle:hover {
    box-shadow: 0 2px 3px rgba(0,0,0,0.18);
    transform: translateY(-1px);
}

.front-menu-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #e91e63; /* 濃いピンク */
    margin-bottom: 3px;
}

.front-menu-lines {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 70%;
}

.front-menu-line {
    height: 3px;
    border-radius: 2px;
    background: #666666;  /* グレーの棒 */
}


  /* ヘッダー右側（ボタン＋MENU） */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;        /* 折り返さない */
    white-space: nowrap;
}

.header-actions > * {
    flex-shrink: 0;           /* つぶれて改行しないように */
}
/* =========================================
   フロント共通サイドメニュー（右からスライド）
   ========================================= */
.front-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 80%;
    height: 100vh;
    background: #ffffff;
    transform: translateX(100%);           /* 初期状態は画面外 */
    transition: transform 0.25s ease;
    z-index: 2100;
    box-shadow: -8px 0 20px rgba(0,0,0,0.18);
    padding: 20px 18px;
}

/* 背景の半透明オーバーレイ */
.front-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 2050;
}

/* JS から is-open が付いたときの状態 */
.front-sidebar.is-open {
    transform: translateX(0);
}
.front-sidebar-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* 閉じるボタン */
.front-sidebar-close {
    display: block;
    margin-left: auto;
    margin-bottom: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #ffe0eb;
    color: #ff4f7c;
    font-size: 20px;
    cursor: pointer;
}

/* メニューリストの見た目 */
.front-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.front-sidebar-menu li {
    margin-bottom: 8px;
}

.front-sidebar-menu a {
    display: block;
    padding: 9px 10px;
    border-radius: 999px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
}

.front-sidebar-menu a i {
    margin-right: 8px;
}

.front-sidebar-menu a:hover {
    background: #ffe0ea;
    color: #e3425a;
}

.front-sidebar-separator hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 10px 0;
}
/* =========================================
   スポンサー
   ========================================= */

/* 郵便番号 + 検索ボタン横並び */
.postal-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 「半分くらいの幅」にしたいイメージ */
.postal-row input#postal_code {
    flex: 1;
    max-width: 220px;   /* ここを好みで増減させてOK */
}

.postal-row .btn-postal{
    white-space: nowrap;
    border:solid 1px #005500;
  border-radius: 5px;
  background-color:#147a6d;
  color:#FFFFFF;
}

/* 個人スポンサー：ニックネーム使用トグル */
.nickname-toggle {
    display: grid;
    grid-template-columns: 9fr 1fr;  /* テキスト：チェック = 9:1 */
    align-items: center;
    column-gap: 16px;
    margin-top: 8px;
}

.nickname-toggle-text {
    font-weight: 600;
}

.nickname-toggle-check {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}
.form-required{
font-size:13px;
color:#FF0000;
}
.support-menu-group {
  margin-top: 20px;
}

.support-menu-group-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.support-menu-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.support-menu-item {
  padding: 14px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #f4d7e2;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.support-menu-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
}

.support-menu-label input[type="radio"],
.support-menu-label input[type="checkbox"] {
  margin-right: 10px;
}

.support-menu-benefits {
  margin: 8px 0 0;
  padding-left: 20px;
  font-size: 14px;
  color: #555;
}

.support-menu-benefits li {
  margin-bottom: 3px;
}

.support-menu-quantity {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.quantity-input {
  width: 80px;
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.support-menu-separator {
  margin: 24px 0;
}

.support-menu-separator hr {
  border: none;
  border-top: 1px dashed #f0b9cf;
}

.support-menu-submit {
  margin-top: 24px;
  text-align: center;
}

.support-player-item{
 margin-bottom: 20px;
}
.support-menu-item {
    margin-bottom: 20px;
}
.support-confirm-table-wrapper {
  margin-top: 16px;
  overflow-x: auto;
}

.support-confirm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.support-confirm-table th,
.support-confirm-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #f0d3e0;
}

.support-confirm-table th {
  background: #fff5f8;
  text-align: left;
}

.support-confirm-table td.num,
.support-confirm-table th.num {
  text-align: right;
}

.support-confirm-table tfoot th {
  background: #ffe6ef;
}

.support-confirm-player {
  font-size: 12px;
  color: #666;
}

.support-confirm-buttons {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.mypage-btn-secondary {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #ccc;
  background: #fff;
  color: #555;
  text-decoration: none;
  font-size: 14px;
}
.support-complete-section {
  max-width: 640px;
    text-align: center;
}

.support-complete-lead {
  margin-top: 8px;
  margin-bottom: 16px;
  font-size: 15px;
   text-align: center;
}

.support-complete-lead strong {
  font-size: 18px;
}

.support-complete-box {
  margin-top: 8px;
  padding: 16px 18px;
  background: #fff5f8;
  border-radius: 12px;
  line-height: 1.7;
}

.support-complete-subtitle {
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 700;
}

.support-bank-info {
  font-weight: 600;
}

.support-complete-note {
  margin-top: 10px;
  font-size: 13px;
  color: #666;
}

.support-complete-actions {
  margin-top: 24px;
  text-align: center;
}
/* ================================
   個人スポンサー：サポート履歴
   ================================ */

.ps-history-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 18px 18px;
    margin-bottom: 18px;
    border: 1px solid #f0dfe6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    font-size: 14px;
}

.ps-history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.ps-history-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ps-history-date {
    font-weight: 600;
    letter-spacing: 0.03em;
}

.ps-history-total {
    font-size: 13px;
}
.ps-history-total span {
    font-size: 18px;
    font-weight: 700;
}

.ps-history-status {
    font-size: 12px;
}

.ps-history-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.ps-badge-pending {
    background: #fff5e5;
    color: #c97a00;
}

.ps-badge-paid {
    background: #e9fbf0;
    color: #1b8a4b;
}

.ps-badge-cancelled {
    background: #fde8ea;
    color: #c63b4b;
}

.ps-history-table-wrap {
    overflow-x: auto;
}

.ps-history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 6px;
    font-size: 13px;
}

.ps-history-table th,
.ps-history-table td {
    padding: 6px 8px;
    border-top: 1px solid #ebd9e1;
    text-align: left;
}

.ps-history-table thead th {
    background: #fff6fa;
    font-weight: 600;
}

.ps-col-price,
.ps-col-qty,
.ps-col-subtotal {
    text-align: right;
    white-space: nowrap;
}

.ps-history-item-label {
    width: 55%;
}

.ps-history-item-note {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
}
/* ================================
   個人スポンサー：応援した選手グラフ
   ================================ */

.ps-support-summary {
    margin-top: 24px;
    padding: 16px 18px 18px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #f0dfe6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    font-size: 14px;
}

.ps-support-summary-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ps-support-summary-note {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}

.ps-support-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ps-support-player {
    flex: 0 0 110px;
    font-size: 13px;
}

.ps-support-bar-wrap {
    flex: 1;
    background: #f9edf2;
    border-radius: 999px;
    padding: 3px;
}

.ps-support-bar {
    height: 22px;
    border-radius: 999px;
    background: var(--player-main);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 10px;
    white-space: nowrap;
    transition: width 0.2s ease-out;
}

.ps-support-amount {
    font-size: 12px;
    color: #fff;
    font-weight: 600;
}
.ps-player-link {
    color: var(--player-main, #df5c88);
    text-decoration: none;
    font-weight: 600;
}

.ps-player-link:hover {
    text-decoration: underline;
}
.ps-support-card {
  background: #ffffff;
  border: 1px solid #e8dfe8;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 30px;
}

.ps-support-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ps-support-date {
  font-size: 14px;
  color: #444;
}

.ps-support-total span {
  font-size: 20px;
  font-weight: 700;
}

.ps-support-status {
  text-align: right;
}

.ps-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

.ps-badge-paid {
  background: #d4f5e4;
  color: #198754;
}

.ps-badge-pending {
  background: #fff3cd;
  color: #b48400;
}

.ps-badge-cancelled {
  background: #f8d7da;
  color: #b02a37;
}

.ps-support-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.ps-support-table th,
.ps-support-table td {
  padding: 10px 6px;
  border-bottom: 1px solid #eee;
}

.ps-support-table th.num,
.ps-support-table td.num {
  text-align: right;
}

.ps-support-player-note {
  font-size: 13px;
  color: #777;
  margin-top: 4px;
}
/* ===========================
   管理画面：スポンサー基本情報テーブル
   =========================== */

.admin-box {
  margin-bottom: 32px;
}

.admin-box-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.admin-box-body {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eee;
  box-shadow: 0 4px 18px rgba(0,0,0,0.03);
  padding: 20px 24px;
}

/* entry-table ベースで 2 列の詳細テーブルにする */
.entry-table.admin-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.entry-table.admin-detail-table th,
.entry-table.admin-detail-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
}

.entry-table.admin-detail-table th {
  width: 140px;
  white-space: nowrap;
  background: #f9fafb;
  font-weight: 600;
  color: #555;
  border-right: 1px solid #eee;
}

.entry-table.admin-detail-table tr:last-child th,
.entry-table.admin-detail-table tr:last-child td {
  border-bottom: none;
}
/* ==============================
   管理画面：戻るボタン（ピンク）
   ============================== */
.admin-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.25s ease;

}

/* ピンクの戻るボタン */
.admin-btn-back {
  background: #ff7aa2;
  color: #fff !important;
  border: 1px solid #ff7aa2;
  box-shadow: 0 2px 5px rgba(255, 122, 162, 0.3);

}

.admin-btn-back:hover {
  background: #ff5f8f;
  border-color: #ff5f8f;
  box-shadow: 0 3px 6px rgba(255, 122, 162, 0.4);
}

.admin-btn-back:active {
  background: #ff4879;
  border-color: #ff4879;
}
.admin-actions {
    text-align: center;
    margin: 30px 0;
}
/* サポートメニュー一覧：PCではテーブル、SPではカード */

.pc-only-support-menu {
  display: block;
}

.sp-only-support-menu {
  display: none;
}

/* カードレイアウト */

.admin-support-menu-card-list {
  margin-top: 16px;
}

.admin-support-menu-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  padding: 12px 14px;
  margin-bottom: 12px;
}

.admin-support-menu-card .card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: #555;
}

.admin-support-menu-card-dl {
  margin: 0;
}

.admin-support-menu-card-dl .row {
  display: flex;
  font-size: 0.9rem;
  padding: 4px 0;
  border-top: 1px solid #f2f2f2;
}

.admin-support-menu-card-dl .row:first-child {
  border-top: none;
}

.admin-support-menu-card-dl dt {
  width: 32%;
  font-weight: 600;
  color: #666;
}

.admin-support-menu-card-dl dd {
  width: 68%;
  margin: 0;
}

/* バッジとボタン */

.admin-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.admin-badge-on {
  background: #e6f9ea;
  color: #18a34a;
}

.admin-badge-off {
  background: #f5d9dd;
  color: #c53030;
}
/* 管理ボタン（ピンク系は既存と同トーンで） */
.admin-btn-danger {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background-color: #ff4b6e; /* 少し強めのピンク */
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

.admin-btn-danger:hover {
  opacity: 0.86;
}

/* BAN 理由入力 */
.admin-inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.admin-ban-reason-label {
  font-size: 13px;
}

.admin-input-ban-reason {
  min-width: 260px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 13px;
}

.ps-banned-meta,
.ps-banned-reason {
  margin-top: 4px;
  font-size: 12px;
  color: #666;
}

.sponsor-name-banned {
  color: #d7263d;
  font-weight: bold;
}

.sponsor-name-banned::after {
  content: '（ブラック）';
  font-size: 0.85em;
  margin-left: 4px;
}
/* =========================================
   Corporate Sponsor Register (cs-*)
   - centered
   - same density as player register
   - clean cards & radio list
   ========================================= */

.cs-register-section {
  padding: 48px 0 72px;
}

.cs-register-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Title */
.cs-page-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
}

/* system alert */
.cs-alert {
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
}
.cs-alert-danger {
  background: #fff0f0;
  border: 1px solid #ffd1d1;
  color: #b20000;
}

/* Card */
.cs-card {
  background: #fff;
  border: 1px solid #e9e9ee;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  overflow: hidden;
  margin: 18px 0;
}

.cs-card-header {
  padding: 18px 20px 12px;
  border-bottom: 1px solid #eeeeee;
}

.cs-card-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
}

.cs-card-note {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.cs-card-body {
  padding: 18px 20px 22px;
}

/* Required mark */
.cs-req {
  color: #d24a4a;
  font-weight: 800;
}

/* Field spacing */
.cs-field {
  margin: 0 0 14px;
}

.cs-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #222;
}

.cs-help {
  margin: 6px 0 0;
  font-size: 12px;
  color: #777;
  line-height: 1.5;
}

.cs-error {
  margin: 0 0 6px;
  font-size: 13px;
  color: #b20000;
  font-weight: 700;
}

/* Inputs */
.cs-input {
  width: 100%;
  height: 44px;
  border: 1px solid #dcdce3;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.cs-input:focus {
  border-color: #9bb6ff;
  box-shadow: 0 0 0 4px rgba(155,182,255,0.20);
}

.cs-input[disabled] {
  background: #f6f6f8;
  color: #666;
}

/* file */
.cs-file {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dcdce3;
  border-radius: 10px;
  background: #fff;
}

/* two column grid */
.cs-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

/* Actions */
.cs-actions {
  display: flex;
  justify-content: center;
  margin: 22px 0 0;
}

.cs-btn {
  min-width: 240px;
  height: 44px;
  border-radius: 999px;
}

/* =========================
   Plan list (radio left)
   ========================= */
.cs-plan-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-plan-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px;
  border: 1px solid #e6e6ee;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.cs-plan-item:hover {
  border-color: #cbd6ff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

.cs-plan-radio-wrap {
  width: 26px;
  padding-top: 2px;
  flex: 0 0 26px;
  display: flex;
  justify-content: center;
}

.cs-plan-radio {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #4b7cff; /* Safari/Chrome */
}

.cs-plan-main {
  flex: 1;
  min-width: 0;
}

.cs-plan-name {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #222;
}

.cs-plan-sub {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.cs-plan-benefits {
  margin: 10px 0 0;
  padding: 0 0 0 18px;
  color: #333;
  font-size: 13px;
  line-height: 1.65;
}

/* Selected style using :has (modern browsers) */
.cs-plan-item:has(.cs-plan-radio:checked) {
  border-color: #4b7cff;
  box-shadow: 0 0 0 4px rgba(75,124,255,0.14);
}

/* fallback for browsers without :has */
@supports not selector(:has(*)) {
  .cs-plan-radio:checked {
    outline: 4px solid rgba(75,124,255,0.14);
    border-radius: 50%;
  }
}

/* confirm用：入力欄の代わりに表示する値 */
.cs-value{
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  font-weight: 700;
  color: #222;
  min-height: 44px;
  display: flex;
  align-items: center;
  word-break: break-word;
}

/* 読み取り専用っぽく少し落ち着かせる */
.cs-plan-item.is-readonly{
  cursor: default;
}
.cs-plan-item.is-readonly input{
  pointer-events: none;
}
.cs-email-input{
margin:20px auto;
}
.cs-email-stack{
text-align:center;
}
/* =========================
   Corporate Sponsor - Article UI (add)
   ========================= */

.cs-textarea{
  width: 100%;
  min-height: 260px;
  border: 1px solid #dcdce3;
  border-radius: 10px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
  line-height: 1.7;
  resize: vertical;
}
.cs-textarea:focus{
  border-color: #9bb6ff;
  box-shadow: 0 0 0 4px rgba(155,182,255,0.20);
}

.cs-table-wrap{
  width: 100%;
  overflow-x: auto;
  border: 1px solid #ececf2;
  border-radius: 14px;
  background: #fff;
}
.cs-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.cs-table th, .cs-table td{
  padding: 12px 12px;
  border-bottom: 1px solid #efeff5;
  font-size: 14px;
  vertical-align: middle;
}
.cs-table thead th{
  font-size: 13px;
  color: #666;
  background: #fafafe;
}

.cs-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.cs-badge-public{
  color:#1d6b2b;
  background:#e9f7ec;
  border:1px solid #cfead5;
}
.cs-badge-private{
  color:#7a2a2a;
  background:#fdecec;
  border:1px solid #f4caca;
}

.cs-image-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cs-image-item{
  display:block;
  border: 1px solid #ececf2;
  border-radius: 12px;
  padding: 10px;
  background:#fff;
}
.cs-image-thumb{
  width:100%;
  height:140px;
  object-fit: contain;
  display:block;
  background:#fafafe;
  border-radius: 10px;
}
.cs-image-del{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top: 8px;
  font-size: 13px;
  color:#444;
}
/* =========================
   HOME: Corporate Sponsors
   ========================= */
.corp-sponsors-hr{
  margin: 10px 0 18px;
  border: none;
  border-top: 1px solid rgba(0,0,0,.25);
}

.corp-card-grid-2col{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}



.corp-card{
  border: 1px solid rgba(0,0,0,.35);
  border-radius: 16px;
  background:#fff;
  overflow:hidden;
}

.corp-card-inner{
  display:flex;
  gap: 14px;
  padding: 14px;
  align-items:center;
}

/* 左ロゴ枠（画像のモックに寄せる） */
.corp-card-logo{
  flex: 0 0 34%;
  width: 34%;
  min-width: 80px;
  max-width: 320px;
  height: clamp(90px, 14vw, 200px);
  background:#fff;
  border-radius: 12px;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}


.corp-card-logo img{
width: 90%;
  height: 90%;
max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  display:block;
  background:#fff;
}

.corp-card-body{
  flex:1;
  min-width:0;
}

.corp-card-title-row{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 6px;
}

.corp-card-medal-img{
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.corp-card-medal-spacer{
  width: 34px;
  height: 34px;
  display:inline-block;
  flex: 0 0 auto;
}

.corp-card-title{
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  word-break: break-word;
}

.corp-card-url{
  margin-top: 6px;
  text-align:center;
  word-break: break-all;
}

.corp-card-url a{
  text-decoration:none;
}

.corp-card-divider{
  margin: 10px 0 12px;
  border-top: 1px solid rgba(0,0,0,.35);
}

.corp-card-btn{
  display:block;
  width: 100%;
  background:#8caca4; /* 画像のグリーンに寄せる（あとで調整OK） */
  color:#fff;
  text-align:center;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration:none;
}

.corp-card-btn:hover{
  opacity: .92;
}
/* =========================
   Corp Sponsors: Rank styles
   ========================= */

/* 冠：TITLE SPONSOR */
.corp-card--title{
  border: 3px solid #d4af37;
  background: linear-gradient(135deg, #fff9e6 0%, #ffffff 45%, #fff3c4 100%);
  box-shadow: 0 8px 20px rgba(212,175,55,.18);
}

/* TITLE SPONSOR ラベル */
.corp-card-rank-label{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  color: #b08a14;
  margin: 0 0 8px;
}
/* プラチナ強化版 */
.corp-card--platinum{
  border: 2px solid #aeb4ba;
  background: linear-gradient(
    135deg,
    #eef1f4 0%,
    #ffffff 50%,
    #e6eaee 100%
  );
}

.corp-card-rank-label--platinum{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #7a7f85;
}
/* =========================
   TOP Message
   ========================= */
.top_message {
  max-width: 980px;
  margin: 0 auto 30px;
  padding: 0 20px;
  text-align: center;
  color: #333;
}

/* 上段の説明テキスト */
.top_message p,
.top_message {
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* 強調メッセージ */
.top_message h1 {
  margin-top: 36px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: #222;
  position: relative;
  display: inline-block;
  padding: 0 12px;
}

/* h1 下線装飾（品よく） */
.top_message h1::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  margin: 16px auto 0;
  background: linear-gradient(
    90deg,
    rgba(255,120,150,0) 0%,
    rgba(255,120,150,.8) 50%,
    rgba(255,120,150,0) 100%
  );
  border-radius: 4px;
}
.entry-divider {
  margin: 20px auto 15px;
  max-width: 720px;
  border: none;
  border-top: 1px solid #fff;
}


.entry-guide h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  color:#fff;
}

.entry-guide p {
  margin-bottom: 10px;
  font-size: 15px;
    color:#333;
    text-align:center;
}


.entry-highlight {
  color: #e85c7f; /* Ascent Bond ピンク */
  font-weight: 800;
}

.entry-cta-text {
  margin-top: 24px;
  font-weight: 700;
  
}

.entry-cta-label {
  margin-top: 24px;
  font-weight: 800;
  color: #e85c7f!important;
}
.entry-summary{
 margin-bottom: 10px;
  font-size: 15px;
    color:#fff !important;
}
.sponsor-intro-compact {
  padding: 32px 0 24px;
  background: #fff;
  text-align: center;
}

.sponsor-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.sponsor-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 800;
}

.sponsor-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sponsor-box li {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 4px;
}

/* 区切り線は短く・軽く */
.sponsor-intro-hr {
width: 240px;
  margin: 16px auto 10px;
  border-top: 1px solid rgba(0,0,0,.18);
}

.sponsor-intro-footer {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* =========================
   Sponsor Detail Pages
========================= */
.sponsor-detail { padding: 32px 0; }

.sponsor-detail-head {
  text-align: center;
  margin-bottom: 22px;
}

.sponsor-detail-title {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: .04em;
}

.sponsor-detail-lead {
  margin: 0;
  color: #444;
  line-height: 1.9;
}

.sponsor-detail-block {
  margin: 22px auto;
  padding: 18px;
  border: 1px solid #eee;
  border-radius: 16px;
  background: #fff;
}

.sponsor-detail-h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.sponsor-detail-bullets {
  margin: 0;
  padding-left: 18px;
  color: #333;
}

.sponsor-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sponsor-plan-card {
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 14px;
  background: #fafafa;
}

.sponsor-plan-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.sponsor-plan-name {
  font-weight: 800;
  font-size: 16px;
}

.sponsor-plan-price {
  font-weight: 800;
  opacity: .9;
}

.sponsor-plan-benefits {
  margin: 0;
  padding-left: 18px;
  color: #444;
  line-height: 1.7;
}

.terms-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.terms-item {
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.terms-title {
  font-weight: 800;
  margin-bottom: 8px;
}

.terms-iframe {
  width: 100%;
  height: 260px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
}

.terms-check {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  font-weight: 700;
}

.sponsor-detail-cta {
  text-align: center;
  margin-top: 16px;
}

.sponsor-register-btn.is-disabled {
  pointer-events: none;
  opacity: .45;
  filter: grayscale(30%);
}

.sponsor-detail-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #666;
}

.sponsor-plan-section-title{
color:#ff6f88;
}
.sponsor-plan-name{
color:#0b9878;
}
.sponsor-hr{
  border:0;
  height:2px;
  background: rgba(20,122,109,0.25);
  margin: 10px 0 18px;
}

/* 個人スポンサー一覧 */
.ps-top-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
}
.ps-top-item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid rgba(20,122,109,0.18);
  border-radius:12px;
  background:#fff;
}
.ps-medal{ width:22px; height:22px; object-fit:contain; }
.ps-name{ font-weight:700; }

/* ランキング */
.rank-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.rank-col{
  list-style:none;
  margin:0;
  padding:10px;
  border:1px solid rgba(20,122,109,0.18);
  border-radius:14px;
  background:#fff;
}
.rank-item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:7px 6px;
  border-bottom:1px dashed rgba(20,122,109,0.14);
}
.rank-item:last-child{ border-bottom:0; }
.rank-no{
  width:34px;
  text-align:right;
  font-weight:800;
  color:#147a6d;
}
.rank-medal{ width:18px; height:18px; object-fit:contain; }
.rank-name{ font-weight:700; }
.admin-badge.admin-badge-muted {
  background: #eee;
  color: #666;
  border: 1px solid #ddd;
}
.admin-badge-pending{
color:#ff0000;
font-weight:800;
}
.admin-summary-box {
  margin: 12px 0 20px;
  padding: 12px 16px;
  background: #f8f9fb;
  border: 1px solid #e2e5ec;
  border-radius: 8px;
}

.admin-summary-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-summary-list li {
  font-size: 14px;
}

.text-danger {
  color: #e60023;
}
.ouenhead img {
  transition: opacity 0.2s ease !important;
}

.ouenhead:hover img {
  opacity: 0.7 !important; /* 好みで調整 */
}














/* desktop layout */
@media (min-width: 769px) {
    .mypage-body {
        display: flex;
    }

    .mypage-sidebar {
        width: 230px;
        border-right: 1px solid #f3d5dd;
        box-shadow: none;
        position: relative;
        transform: none !important;
    }

    .mypage-main {
        flex: 1;
    }

    .mypage-menu-toggle {
        display: none;
    }

  .mypage-menu-close {
        display: none; /* PC時は非表示 */
    }
        /* ヘッダーの flex の中で普通に横並びにする */
    .front-menu-toggle {
        position: static;          /* ヘッダー内に配置 */
        margin-left: 16px;         /* 右側に少し余白 */
        flex-shrink: 0;
    }
}



/* ================================
   Responsive tweaks
   ================================ */
@media (max-width: 768px) {
    .players-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .entry-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .entry-icon {
        width: 100%;
    }

    .entry-buttons {
        flex-direction: column;
    }

    .sponsor-buttons {
        flex-direction: column;
    }
     .player-header-inner {
        flex-direction: column;
    }

    .player-photo-lg {
        flex: none;
        max-width: 260px;
        margin: 0 auto 16px;
    }

    .player-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .player-sns-grid-instagram {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        /* 1列にしたければ → grid-template-columns: 1fr; */
    }
      .player-sns-grid-youtube {
        grid-template-columns: 1fr; /* 1列に縦積み */
    }

    
     .entry-hero-inner {
        flex-direction: column-reverse;
    }

    .entry-hero-image {
        text-align: center;
    }

    .entry-flow-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .entry-flow-arrow {
        display: none; /* SPでは矢印非表示でもOK。残したければ inline-block に */
    }
        .entry-deadline {
        justify-content: center;
        text-align: center;
        font-size: 16px;
    }
    .entry-deadline .deadline-date {
        font-size: 18px;
    }
        .form-row-inline {
        flex-direction: column;
    }

    .player-register-inner {
        padding: 0 8px;
    }
     .section-mypage {
        padding: 24px 8px 40px;
    }

  

    .mypage-layout {
        border-radius: 0;
        box-shadow: none;
    }

    .mypage-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: 260px;
        height: 100vh;
        box-shadow: -8px 0 20px rgba(0,0,0,0.12);
        transform: translateX(100%);
        transition: transform 0.25s ease;
        z-index: 999;
    }

    .mypage-sidebar.is-open {
        transform: translateX(0);
    }

    .mypage-sidebar-inner {
            height: 100%;
    overflow-y: auto;
    padding: 20px;
    }

    .mypage-main {
        padding: 20px 16px 28px;
    }
        .mypage-section-tour,
    .mypage-section-news {
        padding: 14px 14px 18px;
    }
       .mypage-public-link {
        padding: 5px 12px;        /* さらに小さく */
        font-size: 12px;
        border-width: 1px;
    }
      .player-article-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .player-article-title {
    font-size: 20px;
  }
    .entry-page-inner {
    padding: 24px 16px 32px;
  }

  .tour-terms-iframe {
    min-height: 400px;
  }
  .entry-item {
    flex: 0 0 100%;
    border-right: none;        /* 右枠は不要 */
    border-bottom: 1px solid #eee;
  }

  .entry-grid {
    border-right: none;
  }
  /* ハンバーガーを右上に固定 */
  .mypage-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 12px;
    transform: translateY(0%);
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    z-index: 1200;
    padding: 0;
  }
  /* ハンバーガーの3本線 */
  .mypage-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 2px 0;
    background: #444;
    border-radius: 5px;
  }
  /* サイドバーをドロワーメニュー化 */
  .mypage-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 1500;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  }
    /* 閉じるボタン */
  .mypage-menu-close {
    display: block;
    margin-left: auto;
    margin-bottom: 10px;
    background: #ffe0eb;
    color: #ff4f7c;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    cursor: pointer;
  }
   .mypage-body {
    display: block;
  }
      .preview-button {
        width: 85%;
        font-size: 16px;
    }
      .player-article-img {
    width: 100%;
    max-width: 100%;
  }
 .player-sns-row {
    flex-direction: column;
  }
  .player-sns-row > .sns-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
    .legal-card {
    padding: 20px 10px;
    margin: 0 5px;           /* 左右に5pxずつ余白をとる（⑥） */
  }

  .legal-main-title {
    font-size: 22px;         /* ちょい小さく */
  }

  .legal-sub-title {
    font-size: 18px;
  }

  .legal-body {
    font-size: 14px;         /* 本文を2pxくらい小さく（⑤） */
  }
    .legal-tabs {
    gap: 8px;
  }
  .legal-tab {
    padding: 6px 12px;
    font-size: 14px;
  }
      .front-menu-toggle {
        position: fixed;           /* 画面右上に固定 */
        top: 15px;
        right: 10px;
        margin-left: 0;
    }

  
      .header-actions {
        margin-top: 8px;
    }
     .ps-history-card {
        padding: 12px 12px 14px;
        font-size: 13px;
    }
    .ps-history-header {
        flex-direction: column;
        gap: 4px;
    }
    .ps-history-total span {
        font-size: 16px;
    }
    .ps-history-table {
        font-size: 12px;
    }
    .ps-history-table th,
    .ps-history-table td {
        padding: 5px 6px;
    }
      .ps-support-summary {
        padding: 14px 12px 16px;
        font-size: 13px;
    }
    .ps-support-player {
        flex-basis: 90px;
        font-size: 12px;
    }
    .ps-support-bar {
        height: 20px;
        padding: 0 8px;
    }
    .ps-support-amount {
        font-size: 11px;
    }
  /* PCテーブルは非表示 */
  .table-responsive {
    display: none;
  }

  /* カードリストON */
  .entry-card-list {
    display: block;
  }

  /* カードの文字サイズ微調整 */
  .entry-card {
    padding: 15px;
  }

  .entry-card-header-right {
    font-size: 15px;
  }
  
    .admin-info-card {
    padding: 16px 18px;
  }
  .admin-box-body {
    padding: 16px 14px;
  }

  .entry-table.admin-detail-table th,
  .entry-table.admin-detail-table td {
    padding: 8px 10px;
    font-size: 13px;
  }

  .entry-table.admin-detail-table th {
    width: 36%;
  }
    .entry-table.admin-detail-table {
    display: table;
    width: 100%;
  }
    .pc-only-support-menu {
    display: none;
  }

  .sp-only-support-menu {
    display: block;
  }

  .admin-support-menu-card {
    padding: 10px 12px;
  }
    .cs-register-container {
    padding: 0 14px;
  }
  .cs-page-title {
    font-size: 28px;
  }
  .cs-grid-2 {
    grid-template-columns: 1fr;
  }
  .cs-btn {
    width: 100%;
    min-width: 0;
  }
    .cs-image-grid{ grid-template-columns: repeat(2, 1fr); }
  .corp-card-grid-2col{
    grid-template-columns: 1fr;
  }
 .corp-card-grid-2col { grid-template-columns: 1fr; }

  .corp-card-inner{
    flex-direction: column;
    align-items: stretch;
  }

  .corp-card-logo{
    width: 100%;
    max-width: none;
    flex: 0 0 auto;

  }

  .corp-card-url{
    word-break: normal;
    overflow-wrap: anywhere;
    text-align: left;
  }
  .corp-card-logo img{
    width: 100%;
    max-width: 170px;   /* 220→320 くらいに上げる */
    height: auto;

  }
    .top_message {
    margin-bottom: 32px;
  }

  .top_message p,
  .top_message {
    font-size: 15px;
  }

  .top_message h1 {
    font-size: 24px;
    margin-top: 28px;
  }

  .sponsor-intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
     .sponsor-detail-title { font-size: 22px; }
  /* プラン一覧：縦積み */
  .sponsor-plan-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 規約ブロック：縦積み */
  .terms-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }
    .rank-grid{ grid-template-columns: 1fr; }

  
  
  
}
