#sponsor-section {
    position: relative;     /* 他の要素に影響しないように */
    /*transform: translateY(500%);  親の高さに対して下に10% */
    z-index: 5;              /* 他セクションの背後にならないように */
}

.icon-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.icon-img {
    width: 80%;
    height: auto;
    transition: transform 0.2s;
    border-radius: 20px;
}


.icon-img-2 {
    width: 80%;
    height: auto;
    transition: transform 0.2s;
    margin-left:20%;
    border-radius: 20px;
}

.icon-img:hover {
    transform: scale(1.1);
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.sponsor-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.company_bar1 {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

.sponsor-card wide{
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 200%;
}

.sponsor-grid .wide {
    grid-column: span 4;
    height: auto;
}

.sponsor-card {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
}

.sponsor-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info-list-card img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
}

.sponsor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s;
    border-radius: 8px;
}

.news-list {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-item {
    margin-bottom: 20px;
}


/* 必要に応じて既存の全体スタイルをそのままにしつつ、追加や調整を行う */

.sponsor-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px 0; /* 他のセクションとの一貫性を保つための余白 */
    /*background-color: #f8f9fa; /* 背景色の調整 */
}

.sponsor-logos {
    width: 90vw;
    max-width: 1200px; /* 全体の最大幅 */
    text-align: center; /* センター配置 */
}

.large-logos .logo img,
.small-logos .logo img {
    border: 1px solid black; /* 画像に黒い枠を追加 */
    padding: 1px; /* 画像と枠の間に少し余白を追加（必要に応じて調整） */
    box-sizing: border-box; /* パディングとボーダーが画像サイズに含まれるように設定 */
}

.large-logos {
    display: flex;
    flex-direction: column; /* ロゴを縦に並べる */
    align-items: center;
    margin-bottom: 3vh;
}

.large-logos .logo {
    width: 100%; /* ロゴを親コンテナの幅に合わせる */
    margin: 10px 0; /* 上下に間隔を設定 */
}

.large-logo img {
    width: 100%; /* 幅を親要素に合わせる */
    /*aspect-ratio: 5 / 1; /* 8:1の比率に設定 */
    height: auto;
}


.small-logos {
    display: flex;
    justify-content: space-between;
    margin-top: 20px; /* 上部と間隔を空ける */
}

.small-logos .logo {
    flex: 1;
    margin: 0 5px; /* 小さなロゴの間隔を設定 */
}

.small-logo img {
    width: 100%;
    aspect-ratio: 16 / 9; /* 正方形に近い比率 */
    height: auto;
}


.sponsor-logos p {
    text-align: left; /* テキストを左寄せに設定 */
    margin-top: 20px; /* 上部に少し余白を追加（必要に応じて調整） */
}


.sponsor-section .section-header {
    text-align: left; /* 見出しを左寄せに設定 */
    margin-bottom: 20px; /* 下部に少し余白を追加 */
    font-size: 3rem;
}

@media screen and (max-width: 480px) {
    .sponsor-section .section-header {
    text-align: left; /* 見出しを左寄せに設定 */
    margin-bottom: 20px; /* 下部に少し余白を追加 */
    font-size: 2rem;
}
}

.logo a{
    background-color: white;
}
.logo-link{
    display: block;
    height: auto;
}

/*画像の比率を整える　[adjust]：枠内一杯に覆いかぶさる, [arrange]：枠内で画像比率をあわせる */
.adjust-size{
    object-fit: cover;
}
.arrange-size{
    object-fit: contain;
}