@charset "utf-8";
.slider-container{
    display: flex;
}

.text-container{
    width:50%;
    margin: auto;
}

.slide-container{
    width: 50%;
}
/* 申込コンテナ */

/*申込方法紹介コンテナCSS*/
.container-ginza-apply-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between; /* 要素を均等に配置 */
    flex-wrap: wrap; /* 要素が行をまたぐ場合に折り返す */
    margin-top: 1em;
    gap: 15px; /* 要素間の隙間 */
  }
  
  .ginza-apply-container {
    width: calc(25% - 15px); /* 幅を25%に設定して隙間を考慮 */
    background-color: #e8e8e8;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  
  .ginza-apply-container .ginza-apply-container-header {
    background-color: var(--container-header);
    font-weight: bold;
    color: #e8e8e8;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: center;
    padding: 1em;
    white-space: nowrap;
  }
  
  /* 新しい追加 */
  .ginza-apply-container {
    flex: 1; /* コンテンツの高さに合わせるために flex を使用 */
  }
  
  .ginza-apply-container * {
    flex: 1; /* テキストや画像などの子要素も高さを調整するために flex を使用 */
  }

/*==================================================
スライダーのためのcss
===================================*/
.slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
    width:94%;
    margin:0 auto;
}

.slider img {
    width:auto;
    height:auto;
}

.slider .slick-slide {
  transform: scale(0.8);/*左右の画像のサイズを80%に*/
  transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
  opacity: 0.5;/*透過50%*/
}

.slider .slick-slide.slick-center{
  transform: scale(1);/*中央の画像のサイズだけ等倍に*/
  opacity: 1;/*透過なし*/
}


/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #666;/*矢印の色*/
    border-right: 2px solid #666;/*矢印の色*/
    height: 15px;
    width: 15px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align:center;
  margin:20px 0 0 0;
}

.slick-dots li {
    display:inline-block;
  margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}


@media screen and (max-width:767px) {
    
    .container-ginza-apply-wrapper{
        display: block;
    }

    .ginza-apply-container{
        display: block;
        width: 100%;
    }
    
    .slider-container{
        display: block;
    }
    
    .text-container{
        width:100%;
        margin: auto;
    }
    
    .slide-container{
        width: 100%;
    }
}

/* プリントレイアウトのためのCSS */

@media print and (max-width:768px){

    .container-ginza-apply-wrapper{
        display: block;
    }
    .ginza-apply-container{
        width: 100%;
        height: auto;
    }
}