/* =========================================
   Partners Section（パートナー紹介）
   ========================================= */
.partners-section {
    background: #fafafa;
    border-bottom: 3px solid #000;
}

.partner-tier {
    margin-bottom: 60px;
    text-align: left;
}

.partner-tier:last-child {
    margin-bottom: 0;
}

.tier-label {
    display: table;
    margin: 0 auto 28px;
    background: #000;
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    padding: 7px 24px;
    text-transform: uppercase;
    font-family: var(--font-en);
    font-weight: 700;
    transform: skewX(-10deg);
}

.tier-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: center;
    padding: 20px 10px 10px;
}

.partners-section .logo-item {
    width: 170px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1) opacity(0.55);
    transition: 0.3s;
}

.partners-section .logo-item:hover {
    filter: grayscale(0) opacity(1);
    transform: translateY(-3px);
}

.partners-section .logo-text {
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 0.9rem;
    text-align: center;
    color: #333;
    font-weight: 700;
    line-height: 1.45;
}

.partner-card {
    display: flex;
    align-items: center;
    position: relative;
    background: #fff;
    border: 2px solid #000;
    box-shadow: 6px 6px 0 #000;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s ease;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/koryu_library.jpg') center/cover no-repeat;
    opacity: 0.12;
    z-index: 0;
}

.partner-card > * {
    position: relative;
    z-index: 1;
}

.partner-card:hover {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0 #000;
    border-color: var(--primary);
}

.partner-logo-img {
    width: 150px;
    height: 60px;
    background: #5a4a3a;
    border-radius: 8px;
    margin-right: 28px;
    object-fit: contain;
    padding: 8px;
    flex-shrink: 0;
}

.partner-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.partner-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.5;
    font-family: var(--font-jp);
}

.partner-desc {
    font-size: 0.92rem;
    color: #444;
    line-height: 1.85;
    margin-bottom: 14px;
}

.partner-link {
    display: inline-block;
    align-self: flex-end;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2px;
}

@media (max-width: 768px) {
    .partner-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        box-shadow: 4px 4px 0 #000;
    }
    .partner-logo-img {
        margin-right: 0;
        margin-bottom: 18px;
    }
    .tier-logos {
        gap: 25px;
        justify-content: center;
        padding: 15px 5px;
    }
    .partners-section .logo-item {
        width: 140px;
        height: 60px;
    }
    .partner-tier {
        margin-bottom: 45px;
    }
    .partner-name {
        font-size: 1rem;
    }
}
