.top_link_button {
  flex-wrap: wrap;
    justify-content: center;
  }
  
  @media screen and (min-width:1024px) and ( max-width:1150px) {
    .top_link_button {
      flex-wrap: wrap;
    }
  }
  
  .top_link_button .imgX {
    /* aspect-ratio: 412 / 193; */
      overflow: hidden;
      border-radius: 0;
  }
  
  @media (min-width: 1024px) {
      .top_link_button .imgX {
          flex: initial;
          width: 19%;
      }
  }
  
  .linkBox_txt {
    font: normal 700 14px / 24px 'BIZ UDPMincho', "Noto Serif JP", serif;
      transform: translate(50%, -50%);
    width: 95%;
  }
  
  .gjs-dashed .linkBox_txt {
    transform: translate(50%, -50%);
  }

  .top_link_button .imgX img {
    transform-origin: center center; 
      /* 変化を滑らかにする設定（アニメーションの速さ、時間） */
      transition: transform 0.4s ease-in-out;
      aspect-ratio: 412 / 193;
  }
  
  .top_link_button .imgX img:hover {
      transform: scale(1.1);
  }
  
  @media (max-width: 768px) {
    .top_link_button {
      display: flex !important;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: start;
      justify-content: center;
      row-gap: 40px;
        column-gap: 2%;
    }
    
    .top_link_button .imgX {
    width: 100%;
  
    }
    
    .top_link_button .imgX img {
       width: 100%;
              border-radius: 6px;
    }
  }
  
  .top_link_button.d-none {
    display: none !important;
  }
  
  .linkBox_txt2-wrapper{
    padding: 8px;
    border: solid 1px #ccc;
    border-top: none;
    min-height: 4em;
    text-align: center;

  }
  .linkBox_txt2{
    /* position: absolute; */
    color: #000;
    /* top: 50%; */
    /* right: 50%; */
    text-align: center;
    width: 100%;
  }
 .linkBox_txt2-button{
  display: inline-block;
  border: 1px solid #5f859d;;
  color: #5f859d;;
  padding: 8px;
  font-size: 14px;
 }