.slider-title{
    max-width:85%;
    margin:1rem auto 10px auto;
    display:block;
}
#topimage {
    width: 100%;
    margin: 10px auto 25px;
}
#topimage img {
    object-fit: contain;
    width: 100%;
    height: 80%;
}

/* ↓ スライドの外枠 */
.slide-wrapper {
    width: 100%;
    height: 310px; /* 155px * 2段分の高さ (画像の高さ+上下の余白を考慮) */
    position: relative;
    overflow: hidden; /* はみ出したスライドを隠す */
    margin: auto;
    padding-bottom: 40px;
}

/* ↓ スライド（コンテンツ） */
.slide { /*スライド全体 */
    width: 100%; /* スライドの「ペア」の数 (slide_boxの数) に合わせて調整 (例: 2ペアなら200%) */
    height: 100%;
    display: flex;
    transition: all 0.3s;
}

.slide_box { /* スライドの各ペア (2x2の表示単位) */
    width: 100%; /* slideの幅に合わせて調整 */
    flex-shrink: 0; /* 縮小されないようにする */
    height: 100%;
    display: flex;
    flex-direction: column; /* 内部のslide_rowを縦に並べる */
    justify-content: center; /* 縦方向の中央揃え */
    align-items: center; /* 横方向の中央揃え */
}

.slide_row { /* slide_divを2つ横並びにするための行 */
    width: 90%;
    height: 50%; /* slide_boxの高さの半分 */
    display: flex;
    justify-content: space-around; /* 左右に均等に配置 */
    align-items: center; /* 縦方向の中央揃え */
}

.slide_div { /* 各ロゴとテキストのコンテナ */
    width: 50%; /* slide_row内で2つ横並びにするため */
    height: 100%; /* slide_rowの高さの全体 */
    font-size: 14px;
    display: flex;
    justify-content: center; /* 横方向の中央揃え */
    align-items: center; /* 縦方向の中央揃え */
    text-align: center;
    line-height: 1.2rem;
}
.slide_div p{
    word-break: break-all;
}

.slide_com_a {
    width: 90%; /* 親要素(slide_div)内で幅を調整 */
    height: 100%; /* 親要素(slide_div)内で高さを調整 */
    text-decoration: none;
    display: flex; /* 子要素の配置を制御 */
    flex-direction: column; /* 要素を縦に並べる */
    justify-content: center; /* 縦方向の中央揃え */
    align-items: center; /* 横方向の中央揃え */
}

.com_logo_box{
    height: 90px; /* ロゴの表示領域の高さ。元の画像のアスペクト比を保ちつつ、2段表示に合うように調整 */
    margin-bottom: 4px;
    display: flex; /* 画像を中央に配置 */
    justify-content: center;
    align-items: center;
    overflow: hidden; /* ロゴがはみ出ないように */
}
.com_logo_box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* スライドの表示位置制御 */
.slide1 {
    transform: translateX(0);
}
.slide2 {
    transform: translateX(-100%); /* 100% / スライドのペア数 (今回は2ペアなので50%) */
}
/* スライドのペアが増える場合は .slide3, .slide4 なども追加 */
/* 例: 3ペアなら .slide3 { transform: translateX(-66.666%); } (100% / 3 * 2) */


/* ↓ 左右のボタン */
.next {
    position: absolute;
    width: 20px;
    height: 20px;
    right: 10px;
    bottom: 50%;
    z-index: 10;
    cursor: pointer;
    border-top: solid 4px #00BE00;
    border-right: solid 4px #00BE00;
    -webkit-transform: rotate(45deg) translateY(50%);
    transform: rotate(45deg) translateY(50%);
}
.prev {
    position: absolute;
    width: 20px;
    height: 20px;
    left: 25px;
    bottom: 50%;
    z-index: 10;
    cursor: pointer;
    border-top: solid 4px #00BE00;
    border-right: solid 4px #00BE00;
    -webkit-transform: rotate(-135deg) translateY(-50%);
    transform: rotate(-135deg) translateY(-50%);
}
/* ↓ インジケーター */
.indicator {
    width: 100%;
    position: absolute;
    bottom: 20px;
    bottom: 0;
    display: flex;
    column-gap: 18px;
    z-index: 10;
    justify-content: center;
    align-items: center;
}
.indicator li {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    list-style: none;
    background-color: #fff;
    border: 2px #00BE00 solid;
    cursor: pointer;
}
.indicator li:first-of-type {
    background-color: #00BE00;
}


.insert-break-point::after {
  content: "";
}


/* モバイル表示時の調整 */
@media screen and (max-width: 700px) {
    #topimage img {
        max-height: 65%;
    }
    /* 必要に応じて、モバイルでの表示をさらに調整 */
    .slide_box {
        flex-direction: column; /* モバイルでは縦並びにするなど */
    }
    .slide_row {
        height: auto; /* 高さを自動調整 */
    }
    .slide_div {
        width: 100%; /* モバイルでは1列にする */
        height: auto; /* 高さを自動調整 */
        margin-bottom: 10px; /* 各ロゴ間に余白 */
    }
    .slide-wrapper {
        height: auto; /* 高さをコンテンツに合わせて自動調整 */
    }
    .com_logo_box {
        height: 100px; /* モバイルでのロゴの高さ調整 */
    }
    .next, .prev {
        bottom: 20px; /* ボタンの位置を調整 */
    }
}

@media (max-width: 500px) {
  .insert-break-point::after {
    content: "\A";
    white-space: pre;
  }
}