
/* ========== 全体モジュールスタイル ========== */
.applications-module {
    max-width: 1280px;
    margin: 40px auto;
    background-color: #f9fafb;
    border-radius: 24px;
    padding: 48px 40px;
    box-sizing: border-box;
}
.section-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 35px;
    color: #222222;
    text-align: center;
    margin-bottom: 16px;
}
.section-intro {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #555555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}
/* ========== カルーセルスタイル ========== */
.carousel-outer {
    position: relative;
    margin-bottom: 48px;
}
.carousel-container {
    overflow: hidden;
    width: 100%;
}
.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
    will-change: transform;
}
.app-card {
    flex: 0 0 calc(33.333% - 16px);
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.app-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}
.app-card h3 {
    font-weight: 700;
    font-size: 20px;
    color: #0047AB;
    margin-bottom: 8px;
}
.app-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #555555;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 28px;
    font-weight: 600;
    color: #0047AB;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s;
    z-index: 10;
}
.carousel-btn:hover {
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-left { left: -22px; }
.btn-right { right: -22px; }
/* ========== テーブルスタイル ========== */
.table-wrapper {
    margin-top: 20px;
}
.table-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #222222;
    text-align: center;
    margin-bottom: 24px;
}
.table-responsive {
    overflow-x: auto;
    border-radius: 16px;
    border: 2px solid #cbd5e1;
    background: #ffffff;
}
.app-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #555555;
    min-width: 800px;
}
.app-table th,
.app-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}
.app-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #0047AB;
    border-bottom: 2px solid #cbd5e1;
}
.app-table tr:last-child td {
    border-bottom: none;
}
.grade-link {
    color: #0047AB;
    text-decoration: none;
    font-weight: 500;
}
.grade-link:hover {
    text-decoration: underline;
}
/* ========== レスポンシブ ========== */
@media (max-width: 900px) {
    .applications-module { padding: 36px 30px; }
    .app-card { flex: 0 0 calc(50% - 12px); }
    .carousel-btn { width: 38px; height: 38px; font-size: 24px; }
    .btn-left { left: -12px; }
    .btn-right { right: -12px; }
}
@media (max-width: 640px) {
    .applications-module { padding: 36px 24px; }
    .app-card { flex: 0 0 100%; }
    .app-card img { height: 140px; }
    .carousel-btn { width: 32px; height: 32px; font-size: 20px; }
    .btn-left { left: -8px; }
    .btn-right { right: -8px; }
    .section-title { font-size: 28px; }
    .section-intro { font-size: 15px; margin-bottom: 32px; }
    .table-subtitle { font-size: 24px; }
    .app-table, .app-table thead, .app-table tbody, .app-table tr, .app-table td {
        display: block;
        width: 100%;
    }
    .app-table thead { display: none; }
    .app-table tr {
        margin-bottom: 20px;
        border: 2px solid #cbd5e1;
        border-radius: 16px;
        overflow: visible;
        background: #ffffff;
    }
    .app-table td {
        display: block;
        padding: 10px 16px;
        border-bottom: 1px solid #e2e8f0;
        word-break: break-word;
        white-space: normal;
    }
    .app-table td:last-child { border-bottom: none; }
    .app-table td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: #0047AB;
        margin-bottom: 6px;
        font-size: 13px;
    }
}
