  /* ---------------------------
     ベース
  --------------------------- */
  .banner-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width:1240px;
    margin: auto;
    padding: 30px 0 0 0;
  }

  .banner {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .banner img {
    max-width: 280px;
    border-radius: 12px;
    /*box-shadow: 0 4px 12px rgba(0,0,0,0.15);*/
  }

  .banner:hover {
    transform: scale(1.03);
  }

  /* ---------------------------
     モーダル
  --------------------------- */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
  }

  .modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }

  .modal-content {
    background: #fff;
    border-radius: 10px;
    max-width: 420px;
    width: 90%;
    max-height: 90%;
    position: relative;
    overflow: hidden; /* スクロール部分を限定 */
    display: flex;
    flex-direction: column;
  }

  /* 縦長画像をスクロール可能にする */
  .modal-scroll {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
  }

  .modal-scroll img {
    width: 100%;
    height: auto;
    display: block;
  }

  .close-btn {
    position: absolute;
    right: 12px;
    top: 8px;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    background: rgba(0,0,0,0.5);
    border-radius: 4px;
    padding: 4px 10px;
    line-height: 1;
    z-index: 10;
  }

  .close-btn:hover {
    background: rgba(0,0,0,0.8);
  }


/*Q&A*/
  .qa_con {
    font-family: "Noto Sans JP", sans-serif;
    margin: 0;
  }

  .slider {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 50px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding-bottom:40px;
  }

  .slides {
    display: flex;
    transition: transform 0.5s ease;
  }

  .slide {
    min-width: 100%;
    padding: 30px;
    box-sizing: border-box;
  }

 .slides h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
  }

  .answer {
    margin-bottom: 20px;
    background: #fafafa;
    padding: 15px;
    border-radius: 8px;
    line-height: 1.7;
    position: relative;
  }

  .answer .text {
    overflow: hidden;
    max-height: 3.5em; /* 約3行分を表示 */
    transition: max-height 0.3s ease;
  }

  .answer.expanded .text {
    max-height: 1000px; /* 全文表示 */
  }

  .more-btn {
    display: inline-block;
    margin-top: 8px;
    color: #1E90FF;
    cursor: pointer;
    font-size: 14px;
  }

  .controls {
    text-align: center;
    margin: 15px 0;
  }

  .controls button {
    background: #1E90FF;
    color: #fff;
    border: none;
    margin: 0 10px;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
  }

  .controls button:hover {
    background: #005ea2;
  }







