.sp-title{
    display: flex;
    width: 90%;
    margin: 20px auto 0 auto;
    justify-content: space-around;
}

.slider-title{
    width: 400px;
    display: block;
    margin: auto;
}

.slider-title img{
    width: 100%;
}

#topimage {
    width: 100%;
    /* margin: 0px auto 25px; */
}
#topimage img {

}



.head-border-sp {
    display: flex;
    align-items: center;
    margin: 0px 30px 0 30px;
    font-size: 14px;
    width: 400px;
    max-width: 85vw;
    margin: auto;
}

.head-border-sp:before,
.head-border-sp:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #666;
}

.head-border-sp:before {
    margin-right: 5px;
}

.head-border-sp:after {
    margin-left: 5px;
}


.ano-sp{
    width: 420px;
    padding: 0px 15px 0px 25px;
}

.ano-site{
    width: 100%;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    margin:0;
}

.ano-site img{
    max-width: 330px;
    width: 70vw;
    max-height: 80px;
    display: inline-block;
}
.ano-site a{
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}


.ano-site2{
    width: 100%;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    margin: 0;display: flex;
    justify-content: space-around;
}
.ano-site2 img{
    max-width: 100%;
    max-height: 130px;
    margin-bottom: 10px;
}
.ano-site2 a{
    text-decoration: none;
    margin: 5px 10px 0 10px !important;
}




.swiper-container{
    overflow: hidden;
    cursor: grab;
    width: 98%;
    white-space: nowrap;
    padding: 8px 0px 10px;
    margin: auto;
    height: 135px;
}

#slide{
    display: flex;
    width: max-content;
    gap: 20px;
    align-items: center;
}

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

.slide_com {
    width: 85vw;
    max-width: 340px;
    box-shadow: 3px 3px 10px 1px rgba(0, 0, 0, 0.2);
    padding: 5px;
    border-radius: 15px;
    text-align: center;
}

.slide_com_a {
    text-decoration: none;
    display: flex; /* 子要素の配置を制御 */
    flex-direction: column; /* 要素を縦に並べる */
    justify-content: center; /* 縦方向の中央揃え */
    align-items: center; /* 横方向の中央揃え */
    flex-shrink: 0;
    margin: unset !important;
    width: unset;
}

.slide_com_a img{
    object-fit: contain;
    width: 90% !important;
    height: 75px !important;
    padding-top: 5px !important;
    display: block;
    margin: auto;
    margin-bottom: 10px;
}

.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;
}

.slide_com p{
    overflow-wrap: break-word;
    white-space: normal;
    /* display: table; */
    margin: auto;
    color: #333;
}


.ban_com{
    font-size: min(3.1vw, 12px);
    padding: 10px 2px 1px 2px;
}

.ban_area{
    font-weight: bold;   
    display: flex;
    align-items: center;       /* 上下の中央揃え */
    justify-content: center;    /* 左右の中央揃え */
    gap: 10px;                 /* 文字と線の間の余白 */
    text-align: center;
    background-color: #FFF;
    display: inline-block;
    /* padding: 0px; */
    padding: 5px 7px 3px 10px;
    margin-right: 5px;
    border-radius: 10px;
}

.ban_syok{
    font-weight: bold;
    background-color: #d6ffae;
    border-radius: 15px;
    font-size: 14px;
    padding: 4px 0;
    line-height: 1;
}


/* モバイル表示時の調整 */
@media screen and (max-width: 700px) {
    #topimage img {
        max-height: 100%;
    }
}

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