  /* ---------------------------
     ベース
  --------------------------- */
  .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;
  }


/*Digest*/
.Digest {
  line-height: 60px;
  position: relative;
  height: 60px;
  width: 80%;
  margin: 3em auto 1em;
  padding: 0 2rem;
  text-align: center;
  color: #fff;
  background: #fa4141;
  font-size: calc(var(--base-fs) * 30) !important;
}

.Digest:before,
.Digest:after {
  position: absolute;
  top: 0;
  display: block;
  height: 48px;
  content: '';
  border: 30px solid #fa4141;
}

.Digest:before {
  left: -40px;
  border-left-width: 15px;
  border-left-color: transparent;
}

.Digest:after {
  right: -40px;
  border-right-width: 15px;
  border-right-color: transparent;
}

.Digest span {
  position: relative;
  display: block;
}

  .video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 30px auto 0;
  }

  .video-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }

  .video-item:hover {
    transform: translateY(-4px);
  }

  .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
  }

  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.4s;
    pointer-events: none;
  }

  .play-button::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 20px solid #ff0000; /* ブランドカラー赤 */
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 6px;
  }

  .video-item:hover .play-button {
    transform: translate(-50%, -50%) scale(1);
    background-color: rgba(255, 0, 0, 0.85);
  }

  .video-item:hover .play-button::before {
    border-left-color: #fff;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }

.Sydtxt{
    width:80%;
    margin: 10px auto 0;
}





