.student-coupon-list {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    justify-content: flex-start;
    margin: 0;
    padding: 0 0 10px 0;
}

.student-coupon-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(255,152,0,0.10), 0 1.5px 8px rgba(0,0,0,0.06);
    border: 2.5px solid #ffe0b2;
    width: 340px;
    min-width: 260px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s, border 0.18s, transform 0.15s;
    position: relative;
}

.student-coupon-card:hover {
    box-shadow: 0 12px 40px 0 rgba(255,152,0,0.18), 0 2px 12px 0 rgba(0,0,0,0.10);
    border-color: #ff9800;
    transform: translateY(-6px) scale(1.03);
}

.student-coupon-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f7f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    position: relative;
}

.student-coupon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    background: #f7f7fa;
}

.student-coupon-info {
    padding: 18px 16px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.student-coupon-business {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 4px;
}
.student-coupon-business-name {
    font-size: 1.08rem;
    font-weight: 700;
    color: #ff9800;
}
.student-coupon-address {
    font-size: 0.92rem;
    color: #888;
}

.student-coupon-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #222;
    margin: 4px 0 2px 0;
    line-height: 1.25;
}

.student-coupon-discount {
    font-size: 1.05rem;
    font-weight: 600;
    color: #e65100;
    margin-bottom: 2px;
}

.student-coupon-genre,
.student-coupon-terms,
.student-coupon-date,
.student-coupon-used {
    font-size: 0.97rem;
    color: #444;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.student-coupon-used {
    color: #e65100;
    font-weight: 600;
}

.student-detail-link {
    display: inline-block;
    margin-top: 10px;
    background: linear-gradient(45deg, #ff9800, #ffb74d);
    color: #fff;
    padding: 8px 22px;
    border-radius: 18px;
    font-size: 1.02rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(255,152,0,0.10);
    transition: background 0.18s, color 0.18s;
    align-self: flex-end;
}
.student-detail-link:hover {
    background: linear-gradient(45deg, #e65100, #ff9800);
    color: #fff;
}

/* クーポンセクションの横スクロールレイアウト */
.coupon-scroll-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding: 8px;
    margin: 16px 0 32px;
    gap: 16px;
    scrollbar-width: thin;
    scrollbar-color: #ff9800 transparent;
}
.coupon-card-link {
    text-decoration: none;
    flex: 0 0 auto;
}
.coupon-card {
    position: relative;
    width: 240px;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #eee;
    transition: transform 0.18s;
}
.coupon-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.coupon-card-bgimg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: filter 0.2s;
}
.coupon-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}
.coupon-info-panel {
    position: relative;
    z-index: 3;
    background: rgba(255,255,255,0.82);
    margin: 0 12px 18px 12px;
    border-radius: 12px;
    padding: 14px 14px 10px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.coupon-business-name {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 4;
    color: #fff;
    font-size: 1.02rem;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0,0,0,0.28);
    background: rgba(0,0,0,0.22);
    padding: 4px 12px;
    border-radius: 8px;
    letter-spacing: 0.01em;
}
.coupon-genre-pill {
    display: inline-block;
    background: #ff9800;
    color: #fff;
    border-radius: 999px;
    padding: 2px 14px;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
    line-height: 1.2;
}
.coupon-info-panel h3 {
    font-size: 1.13rem;
    margin: 0 0 4px 0;
    color: #222;
    font-weight: 700;
    line-height: 1.2;
}
.coupon-discount {
    font-size: 0.93rem;
    color: #333;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.2;
}
.coupon-expiry {
    font-size: 0.82rem;
    color: #666;
    margin: 0;
    line-height: 1.2;
}

