@charset "UTF-8";

.-x-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
        overflow: hidden; /* 大枠のはみ出しを防止 */
    }

    .-x-container {
        width: 100%;
        max-width: 1200px; /* 広い画面用 */
    }

    /* 点線枠：この枠内で一括横スクロールさせる */
    .-x-dashed-box {
        border: 2px dashed var(--i_sub_color);
        border-radius: 10px;
        padding: 12px;
        margin-bottom: 15px;
        width: 95%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 auto 15px;
    }

    /* 点線枠の中身：崩れない最小幅を確保し、900px以下などでスクロールを誘発する */
    .-x-dashed-box-inner {
        min-width: 1100px; 
    }

    /* 点線枠外のレスポンシブ用テーブルラッパー */
    .-x-table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 8px;
    }

    /* 角丸ボックス */
    .-x-rounded-box-wrapper {
        position: relative;
        margin-top: 20px;
        padding-top: 15px;
    }
    .-x-rounded-box {
        border: 2px solid #555;
        border-radius: 12px;
        padding: 20px 10px 10px 10px;
    }
    .-x-rounded-badge {
        position: absolute;
        top: 15px;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        border: 2px solid #555;
        border-radius: 16px;
        padding: 2px 20px;
        font-weight: bold;
        font-size: 16px;
        white-space: nowrap;
        z-index: 1;
        text-align: center;
    }
    
    /* Table styles */
    table {
        width: 100%;
        border-collapse: collapse;
    }
    
    /* 点線枠外のテーブルは、ラッパー内で最小幅を維持 */
    .-x-table-responsive > table {
        min-width: 850px;
    }

    th, td {
        border: 1px solid rgba(0, 0, 0, 0.3);
        padding: 4px 6px;
        text-align: center;
        vertical-align: middle;
        word-break: break-all;
    }
    
    /* Specific table adjustments */
    .-x-table-basic th, .-x-table-basic td {
        padding: 6px;
    }
    .-x-table-annual {
        margin-bottom: 0;
    }
    .-x-table-items th, .-x-table-items td {
        padding: 3px 4px;
    }
    .-x-table-course th, .-x-table-course td {
        padding: 5px;
    }
    .-x-table-bottom {
        margin-bottom: 15px;
    }
    
    /* Utilities */
    .-x-text-left { text-align: left; }
    .-x-text-right { text-align: right; }
    .-x-text-center { text-align: center; }
    .-x-vertical-top { 
        vertical-align: middle;
        color: #379fb9;
    }
    .-x-bold { font-weight: bold; }
    .-x-small-text { font-size: 12px; }
    
    .-x-flex-between {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        color: #379fb9;
    }
    .-x-flex-col-between {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    
    .-x-note {
        font-size: 14px;
        margin: 4px 0 8px 0;
        padding-left: 1em;
        text-indent: -1em;
        line-height: 1.5;
    }
    .-x-note-inline {
        display: inline-block;
        margin: 4px 0;
        color: #379fb9;
    }
    .-x-section-title {
        font-weight: bold;
        margin: 10px 0 4px 0;
        font-size: 22px;
    }
    
    /* Removing borders for specific cells */
    .-x-border-bottom-none { border-bottom: none !important; }
    .-x-border-top-none { border-top: none !important; }

th {
    color: #379fb9;
}
th, td {
    border: 1px solid rgba(0, 0, 0, 0.3);
}
.-x-color_text {
    color: var(--i_txt_color);
}
table {
    font-size: 16px;
}
@media screen and (max-width: 480px) {
   .-x-dashed-box {
       padding: 12px;
       width: calc(100% - 40px);;
   }
}