
    html {
    background-color: #ffffff;
    scrollbar-width: none;
    transition: all 0.3s;
}
section.topics {
    width: 100%;
    margin: 9% auto 0%;
}
section.topics.min {
    margin: 2% auto 2%;
}
.fexbox {
    width: 100%;
    max-width: 100%;
display: inline-block;
    grid-gap: 3rem 3rem;
    margin: 3rem auto;
}

.text-description {
    margin-top: 1rem; /* 画像とテキストの間の余白 */
}
.title-ani {
    overflow: hidden;
    color: #393939 !important;
    transition-delay: 0.6s;
    font-size: 3rem;margin-left: 0%;
}

.title-ani-s {
    overflow: hidden;
    color: #343434 !important;
    transition-delay: 0.7s;
    font-size: 1.3rem;margin-left: 0%;
}
/* スマホなどの小さな画面では1列にする */
@media (max-width: 768px) {
    .i-section1__flexbox {
        grid-template-columns: 1fr; /* 1列表示 */
    }
}
  /* アイコンを右側に固定表示 */
  .floating-icon {
    position: fixed;
    right: 20%;
    bottom: 5rem;
    width: 50px;
    height: 50px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(50px); /* 初期状態では少し下に隠れている */
  }

  /* アイコンが表示されるときのスタイル */
  .floating-icon.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* スライドイン */
  }
  .floating-icon.hide {
    opacity: 0; /* フェードアウト */
    transform: translateY(50px); /* フェードアウト時に下にスライド */
  }

  /* オーバーレイのスタイル */
  .video-overlay {
    display: none; /* 初期状態では非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 70%);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease; /* フェードインと拡大のトランジション */
    transform: scale(0.9); /* 初期状態では少し縮小 */
  }

  /* 動画をレスポンシブに表示するためのラッパー */
  .video-wrapper {
    position: relative;
    width: 80%;
    padding-bottom: 30%;
    margin: 2rem auto;
  }

  /* YouTube動画のスタイル */
  #youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  /* オーバーレイが表示されるときのアクティブ状態 */
  .video-overlay.active {
    display: flex;
    opacity: 1;
    transform: scale(1); /* 拡大して元のサイズに */
  }

  /* 閉じるボタンのスタイル */
  .close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
  }

  /* スマホや小さな画面向けの調整 */
  @media (max-width: 768px) {
    .video-wrapper {
      width: 95%;
      padding-bottom: 56.25%; /* アスペクト比を維持 */
    }

    .close-btn {
      font-size: 1.5rem; /* 閉じるボタンのサイズも調整 */
    }
  }

  /* 大画面向けの調整 */
  @media (min-width: 1200px) {
    .video-wrapper {
      max-width: 60rem;
    }
  }
  .i-section1__flexbox.card{
    display: block;
}
.leftbox {
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 15px !important;
  transition: transform 0.3s ease !important, box-shadow 0.3s ease !important;
}
.text-description {
    margin-top: 2rem;
    font-size: 1rem;
    font-size: 1.1rem;
    font-family: YakuHanJP, Zen Kaku Gothic New, sans-serif !important;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.8rem;
    margin-left: 6%;
    margin-right: 6%;
}
.text.sponly {
    display: none;
}
.fexbox {
    padding-left: 0%;
    padding-right: 0%;
}
span.que {
    font-size: 1.4rem;
    font-weight: 600;
    padding-right: 2%;
}
@media (max-width: 768px) {
    .text.sponly {
    display: block;
}

    .fexbox {
        width: 94%;
        display: inline-block;
        margin: 2rem 3%;
    }
    .tb-none {
        display: block;
    }
    .text.pconly {
    display: none;
}
    .i-section1__flexbox {
margin-top: 2rem;
    }  
}
@media (max-width: 768px) {
  a.leftbox {
    position: relative;
    display: block;
    overflow: hidden;
  }

   a.leftbox .image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* デフォルトは透明 */
    transition: background 0.3s ease;
    z-index: 1;
  }


  a.leftbox .text {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    color: white;
    z-index: 2;
    transition: color 0.3s ease;
  }



  /* 指で触れた際の動作 */
  a.leftbox:active .image::before {
    background: rgba(0, 0, 0, 0.7); /* 黒い透過を引く */
  }

  /* 指で触れた際にtextクラスを表示 */
  a.leftbox:active .text {
    display: block;
    color: white; /* 白文字で表示 */
  }
  .text-description {
    margin-top: 2rem;
    font-size: 1rem;
    font-size: 0.94rem;
    font-family: YakuHanJP, Zen Kaku Gothic New, sans-serif !important;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.8rem;
    margin-left: 0%;
    margin-right: 0%;
}
section.topics {
    width: 90%;
    margin: 7rem auto 20%;
}
    .title-ani {
        overflow: hidden;
        color: var(--secondary-color) !important;
        transition-delay: 0.6s;
        font-size: 2rem;
    }
    .title-ani-s {
        overflow: hidden;
        color: var(--accent-color) !important;
        transition-delay: 0.7s;
        font-size: 1rem;
    }
}
.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scrollin {
  opacity: 1;
  transform: translateY(0);
}
.fadein {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fadein.fade-in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .fadein {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 1s ease-out, transform 1s ease-out;
    }

    .fadein.fade-in {
        opacity: 1;
        transform: translateY(0);
    }
}
.my-svg {
    width: 55%;
    height: auto;
    margin: 20% auto 10%;
    display: block;
    animation: blink 5s infinite, color-change 7s infinite;
    transition: transform 0.1s;
}
section.message p {
    font-weight: 500;
    letter-spacing: .05em;
    line-height: 3.5em;
    margin: 0 auto 2em;
    white-space: nowrap;
    display: inline;
    font-size: 1rem;
}
.floating-icon {
    position: fixed;
    right: 25%;
    bottom: 5rem;
    width: 4.3rem;
    height: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(50px); /* 初期状態では少し下に隠れている */
}

/* マウスホバーでシェイクアニメーションを追加 */
.floating-icon:hover {
    animation: shake 0.5s ease-in-out;
}

/* シェイクアニメーションの定義 */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}


  /* アイコンが表示されるときのスタイル */
  .floating-icon.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* スライドイン */
  }
  .floating-icon.hide {
    opacity: 0; /* フェードアウト */
    transform: translateY(50px); /* フェードアウト時に下にスライド */
  }

  /* オーバーレイのスタイル */
  .video-overlay {
    display: none; /* 初期状態では非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 70%);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease; /* フェードインと拡大のトランジション */
    transform: scale(0.9); /* 初期状態では少し縮小 */
  }

  /* 動画をレスポンシブに表示するためのラッパー */
  .video-wrapper {
    position: relative;
    width: 80%;
    padding-bottom: 30%;
    margin: 2rem auto;
  }

  /* YouTube動画のスタイル */
  #youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  /* オーバーレイが表示されるときのアクティブ状態 */
  .video-overlay.active {
    display: flex;
    opacity: 1;
    transform: scale(1); /* 拡大して元のサイズに */
  }

  /* 閉じるボタンのスタイル */
  .close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
  }

  /* スマホや小さな画面向けの調整 */
  @media (max-width: 768px) {
    .video-wrapper {
      width: 95%;
      padding-bottom: 56.25%; /* アスペクト比を維持 */
    }
    section.message p {
            font-size: 0.9rem;
    }
    .my-svg {
        width: 65%;
    }
    .floating-icon {
        position: fixed;
        right: 10%;
    }
    section.message {
        padding: 8% 0% 10%;
        margin: 0 auto 10%;
        display: flex;
        justify-content: center;
    }
    .close-btn {
      font-size: 1.5rem; /* 閉じるボタンのサイズも調整 */
    }
  }

  /* 大画面向けの調整 */
  @media (min-width: 1200px) {
    .video-wrapper {
      max-width: 60rem;
    }
  }
  p.text001.cat.kadai {
    margin-bottom: 4%;
}
.inner{
    width: 70vw;
    margin: 0 auto;
    margin-top: 0%;
}
.inner.news {
    margin-top: 8%;
}
.newsDl .subDl dd {
    width: 86%;
    padding: 0% 0 1% 5%;
    float: left;
}
.newsDl .subDl dd .news_txt {
    width: 80%;
    padding-right: 0%;
    padding-left: 0%;
    float: left;
    word-break: break-all;
    letter-spacing: 0vw;
    line-height: 2.2;
    font-weight: 500;
    -webkit-text-stroke: 0vw;
}
.newsDl .subDl dd .news_date {
    width: 16%;
    float: left;
    margin-right: 0%;
    font-size: 1.6rem;
    font-weight: 500;
    -webkit-text-stroke: 0.02vw;
    line-height: 1.6vw;
}
.newsDl .subDl dt {
    margin-top: 0%;
}
span.titleh2.new {
    margin-left: 1%;
    font-size: 2.2rem;
    color: #000!important;
}
dt.news_category.animation_item {
    width: 14%;
    background: #000000;
    border-radius: 25px;
    text-align: center;
    float: inline-start;
    padding: 0px 27px 0px;
    clear: both;
    color: #ffffff;
    line-height: 3.4rem;
}
dt.news_category.animation_item {
    line-height: 3rem;
}
p.contentslead {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.25;
    letter-spacing: .1em;
}
p.concepttext {
        font-weight: 400!important;
    font-size: 1rem;
    line-height: 2rem;
    letter-spacing: 1px;
    -webkit-text-stroke: 0.01vw;
}
h2.lead {
    font-size: 2rem;
    font-weight: 500;
    line-height: 3.4rem;
    margin-bottom: 4%;
    -webkit-text-stroke: 0.05vw;
}
h2.c-heading-primary {
    font-size: 1.3rem;
    margin: 1% 0 5% 0;
    font-weight: 600;
    display: flex;
    align-items: center; /* ポチとテキストを中央揃えに */
}

h2.c-heading-primary::before {
    content: '';
    display: inline-block;
    width: 0.3em;
    height: 0.3em;
    background-color: #FFD700;
    border-radius: 50%;
    margin-right: 0.5em;
    flex-shrink: 0;
}
.value-box-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin: 2rem 0;
}

.value-box {
    flex: 1 1 calc(33.333% - 2rem);
    /* min-width: 280px; */
    box-sizing: border-box;
    background: #f7f7f7;
    border-radius: 20px;
    padding: 3% 3% 5%;  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-tag {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.value-tag .label {
    font-weight: 600;
    margin-right: 0.1em;
    font-size: 0.74rem;
}

.value-tag .line {
    flex-grow: 1;
    height: 1px;
    background-color: #000;
    margin: 0 -0.5em 0 0.3em;
    max-width: 29px;
}

.value-tag .circle {
    width: 40px;
    height: 40px;
    border: 1px solid #000;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
}
.value-content h3 {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0rem;
    line-height: 4.6;
    text-align: center;
}

.value-content p {
    font-size: 0.94rem;
    line-height: 1.6;
}
.value-box:hover {
  transform: scale(1.03); /* 少しだけ拡大 */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* ふわっと浮く感じ */
}
/* スマホ対応 */
@media screen and (max-width: 768px) {
  .value-box {
    flex: 1 1 100%;
  }
}
.kensyu.bcon {
    overflow-x: hidden !important;
}
.kensyu.bcon {
    width: 95vw;
    max-width: calc(95vw);
    margin-left: 5vw;
    border-radius: 5.8651026393vw 0 0 5.8651026393vw;
    background-color: #fff5c4;
    padding: 5vw 0 6vw;
    margin-top: 5%;
}
.kensyu.w70.ow {
    width: 72vw;
    margin: 0 14vw 0 9vw;
}
.accordion-content {
    display: none;
    margin: 1.5em 0 0em;
}

.accordion-content.is-open {
  display: block;
}

.accordion-title {
  cursor: pointer;
  position: relative;
  padding-right: 2em;
}

.accordion-title .open-close-btn::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
}

.accordion-title.is-open .open-close-btn::after {
  content: '−';
}
.accordion-item {
    font-size: 1rem;
    border-top: 1px solid #e8e8e8;
    padding: 2%;
}
.faqbox {
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 9%;
}
.que {
  flex-shrink: 0;
  min-width: 1.5em;    /* 幅を固定して揃える */
  text-align: left;
}
span.que {
    font-size: 1.4rem;
    font-weight: 600;
    padding-right: 2%;
}

.accordion-title {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  position: relative;
}

.que {
  flex-shrink: 0;
  font-weight: bold;
  font-size: 1.2em;
  min-width: 1.5em;
  text-align: left;
}

.question-text {
  flex: 1;
  font-size: 1em;
  line-height: 1.6;
}
.answer-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  margin-top: 1em;
}

.ans {
    flex-shrink: 0;
    font-weight: bold;
    font-size: 1.2em;
    min-width: 1.5em;
    text-align: left;
    font-size: 1.4rem;
    font-weight: 600;
    padding-right: 2%;
}

.ans-text {
    flex: 1;
    font-size: 1em;
    line-height: 1.6;
    padding-right: 5%;
}
.category-dropdown {
    max-width: max-content;
    margin: 0 auto;
    padding: 10px;
    text-align: left;
    display: inline;
}

#category-select {
    width: 100%;
    padding: 1rem 16px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f9f9f9;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204%205'%3E%3Cpath%20fill='gray'%20d='M2%205L0%200h4z'/%3E%3C/svg%3E);
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
    margin-bottom: 5%;
}

@media (hover: hover) {
  #category-select:hover {
    border-color: #999;
    background-color: #f0f0f0;
  }
}

@media screen and (max-width: 600px) {
  #category-select {
    font-size: 14px;
    padding: 10px 14px;
  }
}
.schedule-table {
    width: 75vw;
    border-collapse: collapse;
    font-size: 0.94rem;
    color: #333;
    background-color: #fff;
    margin: 0 auto;
}

.schedule-table thead {
  background-color: #f9f9f9;
}

.schedule-table th,
.schedule-table td {
padding: 1em;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    line-height: 1.4rem;
}

.table-row:hover {
  background-color: #f5f5f5; /* マウスオンで淡いグレーに */
  transition: background-color 0.3s ease;
}

/* 各列の調整（任意） */
.col-no {
  width: 5%;
  font-weight: 600;
}

.col-date {
  width: 15%;
  white-space: nowrap;
}

.col-title {

  font-weight: 600;
  color: #a41ca3;
}

.col-summary {
  width: 45%;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .schedule-table, .schedule-table thead, .schedule-table tbody, .schedule-table th, .schedule-table td, .schedule-table tr {
    display: block;
    width: 100%;
  }

  .table-header {
    display: none;
  }

    .table-row {
        border-bottom: 1px solid #ddd;
        padding: 1em 1rem;
        margin-bottom: 0em;
    }

  .table-row td {
    border: none;
    padding: 0.5em 0;
  }

  .col-no::before { content: "No: "; font-weight: bold; }
  .col-date::before { content: "日時: "; font-weight: bold; }
  .col-title::before { content: "講座: "; font-weight: bold; }
  .col-summary::before { content: "概要: "; font-weight: bold; }

  .table-row td::before {
    display: inline-block;
    min-width: 4em;
    color: #666;
  }
}
body {
  overflow-x: hidden; /* 横スクロール強制防止 */
}
.swiper-container {
    margin: 6% 0px 8%;
}
.producer-swiper {
  width: 100%;
  box-sizing: border-box;
}
.producer-swiper {
  overflow: visible; /* ←ここが重要 */
}
.producer-swiper .swiper-wrapper {
  display: flex;
}

.producer-swiper .swiper-slide {
  width: calc(70vw / 2.5); /* → 2.5枚分見せる = 30vw */
  flex-shrink: 0;
  margin-right: 1.5vw;
}

/* カードの装飾 */
.producer-swiper .card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producer-swiper .card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.producer-swiper .card img {
  width: 100%;
  display: block;
}

.card-content {
padding: 1rem;
    min-height: 15rem;
    background-color: #f8f8f8;
}
}

/* モバイル用 */
@media screen and (max-width: 768px) {
  .producer-swiper {
    padding-left: 0;
  }

  .producer-swiper .swiper-slide {
    width: 85%;
    margin-left: 5%;
  }
}
.price-table-wrapper {
    max-width: 75vw;
    margin: 4rem auto;
    font-size: 1rem;
    font-family: sans-serif;
}

.note {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.price-table th,
.price-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease;
      font-size: 1rem;
    font-weight: 500;
    -webkit-text-stroke: 0.04vw;
}

/* ホバー縦横強調 */
.price-table tbody tr:hover td,
.price-table tbody td:hover,
.price-table tbody tr:hover td:hover {
  background-color: #f5f5f5;
}

/* ヘッダー */
.price-table thead {
  background-color: #f9f9f9;
  font-weight: bold;
}
td.col-date {
    font-weight: 600;
}
/* モバイル対応 */
@media screen and (max-width: 768px) {
  .price-table,
  .price-table thead,
  .price-table tbody,
  .price-table th,
  .price-table td,
  .price-table tr {
    display: block;
    width: 100%;
  }

  .price-table thead {
    display: none;
  }

  .price-table tr {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
  }

  .price-table td {
    border: none;
    padding: 0.5rem 0;
    text-align: left;
    position: relative;
  }

  .price-table td:nth-child(1)::before {
    content: "コース名：";
    font-weight: bold;
  }

  .price-table td:nth-child(2)::before {
    content: "受講料：";
    font-weight: bold;
  }

  .price-table td:nth-child(3)::before {
    content: "早期割：";
    font-weight: bold;
  }

  .price-table td::before {
    display: block;
    color: #555;
    margin-bottom: 0.25rem;
  }
}

.col-hover {
  background-color: #f0f8ff; /* やや淡いブルー */
}
.hidden-row {
  display: none;
}

#show-more-btn {
width: 100%;
    margin-top: 1rem;
    padding: 1em 1.5em;
    font-size: 1rem;
    border: none;
    background-color: #e0e0e0 !important;
    color: #000000;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s;
}
#show-more-btn:hover {
  background-color: #555;
}

.show-more-wrapper {
    width: 75vw;
    text-align: center;
    margin: 0 auto;
}
.footer {
  background-color: #fff;
  border-top: 1px solid #ccc;
  padding: 2em 1em;
  font-size: 14px;
}

.footer-inner {
  width: 75vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5em;
}

.inquiry-btn {
  background-color: #1b658c;
  color: #fff;
  padding: 0.6em 1.4em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.inquiry-btn:hover {
  background-color: #444;
}

.company-info {
    line-height: 1.8;
    font-size: 1rem;
    font-weight: 500;
    margin: 1% 0 3%;
}
.company-info a {
  color: #000;
  text-decoration: underline;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 2em;
}
.footer-logos img {
  height: 50px;
  object-fit: contain;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .footer-inner {
    width: 100%;
    padding: 0 1em;
  }
}

.course-notes {
    width: 75vw;
    background-color: #f9f9f9;
    padding: 2em 2.5em;
    margin: 2em 0;
    border-radius: 25px;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 auto;
}

.course-notes h3 {
  font-size: 1.3rem;
  margin-bottom: 1em;
  color: #333;
  font-weight: bold;
}

.course-notes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-notes li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 1em;
  font-size:1rem;
}

.course-notes li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #000; /* トーンを合わせたアクセント色 */
  font-size: 0.8em;
  top: 0.2em;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .course-notes {
    padding: 1.5em 1em;
    font-size: 14px;
  }
}
.apply-button {
  display: inline-block;
  background-color: #46b279;
  color: #fff;
  font-weight: bold;
  padding: 0.8em 1.6em;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s;
}

.apply-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #46b279;
}

/* スマホ対応（少し大きめに） */
@media (max-width: 767px) {
  .apply-button {
    display: block;
    text-align: center;
    font-size: 18px;
    padding: 1em;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
}
p.note {
    background: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000;
    margin-bottom:0!important;
}

.apply-button {
    width: 60%;
    text-align: center;
    display: block;
    background-color: #46b279;
    color: #fff;
    font-weight: bold;
    padding: 1.8em 1.6em;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s;
    margin: 5% auto 6%;
}
/* シェイク用アニメーション定義 */
@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

/* .notice-section に hover 時のアニメーションを追加 */
.notice-section:hover {
  animation: shake 0.4s ease-in-out;
}

.notice-section {
  position: relative;
  background: #bfe3ca;
  color: #000;
  text-align: center;
  padding: 1.5em;
  font-weight: bold;
  font-size: 16px;
  width: 100%;
  max-width: 75vw;
  margin: 0 auto;   margin-bottom: 2%;
}

/* ▼ 三角形の位置を“右端に近づける” */
.notice-section::after {
  content: "";
  position: absolute;
  bottom: -20px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid #bfe3ca;
}
.notice-section {
  display: flex;
  align-items: center; /* ← これで縦中央揃え */
  justify-content: center; /* 横方向中央 */
  /* 既存スタイルは維持 */
}

/* スマホでは三角を非表示 */
@media (max-width: 767px) {
  .notice-section::after {
    display: none;
  }
}
h3.htitle {
    font-size: 1rem;
    line-height: 1.8rem;
    margin-bottom: 4%;
    font-weight: 600;
    margin-top: 4%;
}
p.mozg {
    font-weight: 400;
    font-size: 0.94rem;
    line-height: 1.6rem;
}
span.smalld {
    margin-top: 1%;
    display: block;
    font-size: 0.94rem;
}
@media (max-width: 767px) {
.navigation .nav1 .splogo {
        display: inline-block;
        width: 25vw;
}
    section.topics {
        width: 90%;
        margin: 5rem auto 0%;
    }
.inner {
    width: 100%;
    margin: 0 auto;
    margin-top: 0%;
}
    .fexbox {
        width: 95%;
        display: inline-block;
        margin: 2rem 0%;
    }
    .swiper-container {
    margin: 10% 0px 14%;
}
.price-table-wrapper {
    max-width: 100%;
    margin: 4rem auto;
    font-size: 1rem;
    font-family: sans-serif;
}
    .overlay-image {
        position: absolute;
        top: 34%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 100%;
        height: auto;
        pointer-events: none;
    }
.apply-button {
    width: 100%;
    text-align: center;
    display: block;
    background-color: #46b279;
    color: #fff;
    font-weight: bold;
    padding: 1.4em 1.6em;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s;
    margin: 7% auto 10%;
}
    .course-notes {
        padding: 2.5em 2em;
        font-size: 1rem;
        line-height: 1.6rem;
    }
    .course-notes h3 {
    font-size: 1.3rem;
    margin-bottom: 2em;
    color: #333;
    font-weight: bold;
}
.apply-button {
        max-width: 90%;
    }
        .course-notes {
        width: 90vw;
    }
h2.lead {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 3.4rem;
    margin-bottom: 10%;
    -webkit-text-stroke: 0.05vw;
}
        .swiper-slide {
        width: 88% !important;
        margin-left: 0 !important;
        box-sizing: border-box;
    }
    .fexbox.fadein.fade-in {
    width: 100%;
}
h3.htitle {
    font-size: 1rem;
    line-height: 1.8rem;
    margin-bottom: 4%;
    font-weight: 600;
    margin-top: 5%;
}
p.note {
    background: #a8ecaa;
    text-align: center;
    font-size: 0.94rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0 !important;
}
.notice-section {
    position: relative;
    background: #a8ecaa;
    color: #000;
    text-align: center;
    padding: 1em;
    font-weight: 400;
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 5%;
    margin-bottom: 5%;
}
.hidden-row {
  display: none;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease;
}

.hidden-row.show {
  display: table-row;
  opacity: 1;
  height: auto;
}
.card-content {
    padding: 1rem;
    min-height: 17rem;
    background-color: #f8f8f8;
}
}
@media screen and (max-width: 768px) {
  /* テーブルをブロックレイアウトに変換 */
  .schedule-table,
  .schedule-table thead,
  .schedule-table tbody,
  .schedule-table tr,
  .schedule-table td,
  .schedule-table th {
    display: block;
    width: 100%;
  }

  .schedule-table thead {
    display: none;
  }

  .table-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
    margin: 0;
  }

  /* No を右サイドに表示 */
  .col-no {
    width: 20%;
    text-align: right;
    font-weight: bold;
    font-size: 0.9rem;
    color: #000;
    padding-right: 0.5rem;
  }

  /* データ部分（左80%） */
  .data-block {
    width: 80%;
  }

  .data-block .col-date,
  .data-block .col-title,
  .data-block .col-summary {
    display: block;
    padding: 0.2rem 0;
    line-height: 1.4;
  }

  .data-block .col-date {
    font-weight: bold;
    font-size: 0.95rem;
    color: #444;
  }

  .data-block .col-title {
    font-weight: bold;
    font-size: 1.05rem;
    color: #111;
    border-bottom: 1px solid #ccc;
    margin: 0.4rem 0;
    padding-bottom: 0.3rem;
  }

  .data-block .col-summary {
    font-size: 0.95rem;
    color: #333;
  }

  /* ラベルやbr.pconlyは非表示 */
  .col-date::before,
  .col-title::before,
  .col-summary::before,
  br.pconly {
    display: none;
  }
}
/* ===== Base ===== */
.yk-lecturer { --gap:32px; --card-pad:20px; --radius:14px; --shadow:0 2px 10px rgba(0,0,0,.08); }
.yk-lecturer * { box-sizing: border-box; }

.yk-lecturer-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 100%;
    margin: 6% auto;
}

.yk-lecturer-card{
  display:flex; align-items:center; gap:16px;
  padding: var(--card-pad);
  background:#fff; border:1px solid #e6e6e6; border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor:pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}

@media (hover:hover) and (pointer:fine){
  .yk-lecturer-card:hover{ transform: scale(1.04); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
}

@media (prefers-reduced-motion:reduce){
  .yk-lecturer-card{ transition:none; }
}

.yk-lecturer-photo{
  width:140px; height:140px; object-fit:cover; border-radius:8px; background:#0f6280;
}

.yk-lecturer-name{ margin:0 0 6px; font-size:1rem; font-weight:600; line-height:1.2; }
.yk-lecturer-role{ margin:0; color:#444; line-height:1.5; font-size:.95rem; }

/* ===== Lightbox ===== */
.yk-lecturer-lightbox{
  position:fixed; inset:0; display:none; place-items:center;
  background:rgba(0,0,0,.8); z-index:9999; padding:24px;
}
.yk-lecturer-lightbox.is-open{ display:grid; }
.yk-lecturer-lightbox-img{ max-width: min(900px, 90vw); max-height: 78vh; border-radius:10px; }
.yk-lecturer-lightbox-caption{ margin-top:12px; color:#fff; font-size:1rem; text-align:center; line-height:1.5; }
.yk-lecturer-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;               /* 中央寄せ */
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.25s ease;  /* アニメーション追加 */
  transform-origin: center;    /* 拡大の基点を中央に */
}

/* ホバー時の効果 */
.yk-lecturer-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);       /* ふわっと拡大 */
}

/* フォーカス（キーボード操作）時も軽く */
.yk-lecturer-lightbox-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}


/* ===== Responsive (スマホ1列) ===== */
@media (max-width: 768px){
  .yk-lecturer-grid{ grid-template-columns: 1fr; gap: 20px; }
  .yk-lecturer-card{ padding:16px; }
  .yk-lecturer-photo{ width:100px; height:100px; }
  .yk-lecturer-name{ font-size:1.05rem; }
  .yk-lecturer-role{ font-size:.9rem; }
  .yk-lecturer-lightbox-img{ max-width: 94vw; max-height: 70vh; }
}

/* さらに横幅が狭い端末 */
@media (max-width: 400px){
  .yk-lecturer-card{ gap:12px; }
  .yk-lecturer-photo{ width:88px; height:88px; }
}
/* ========== 開催概要（固有クラス: yk-summary-*） ========== */
.yk-summary { --c-border:#e6e6e6; --c-bg:#fff; --c-hover:#f6fafc; --c-th:#0f6280; --radius:12px; }
.yk-summary-title { margin: 0 0 12px; font-size: 1.4rem; font-weight: 700; }
.yk-summary-subtitle { margin: 28px 0 10px; font-size: 1.1rem; font-weight: 700; }

.yk-summary-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.yk-summary-caption {
  text-align: left;
  padding: 12px 16px;
  font-size: .95rem;
  color: #666;
  background: #fbfbfb;
  border-bottom: 1px solid var(--c-border);
}

.yk-summary-row { transition: background-color .18s ease; }
.yk-summary-row:hover { background: var(--c-hover); }

.yk-summary-th, .yk-summary-td { padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--c-border); }
.yk-summary-th {
  width: 200px;
  color: var(--c-th);
  font-weight: 700;
  background: #f8fbfd;
}
.yk-summary-td { color:#222; }

.yk-summary-row:last-child .yk-summary-th,
.yk-summary-row:last-child .yk-summary-td { border-bottom: none; }

@media (max-width: 720px){
  .yk-summary-th { width:auto; display:block; border-bottom:none; }
  .yk-summary-td { display:block; padding-top:6px; }
  .yk-summary-row { padding: 10px 0; }
}

/* ========== 注意点（箇条書き） ========== */
.yk-summary-notes {
  margin: 0; padding-left: 1.2em; color:#333; line-height: 1.7;
  list-style: none;
}
.yk-summary-notes li {
  position: relative; margin: 6px 0; padding-left: 1.2em;
}
.yk-summary-notes li::before {
  content: "✔";
  position: absolute; left: 0; top: 0;
  color: #0f6280; font-weight: 700;
}
/* ====== Cards (滑らかスケール) ====== */
.yk-lecturer-card{
  display:flex; align-items:center; gap:16px;
  padding:20px; background:#fff; border:1px solid #e6e6e6; border-radius:14px;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  cursor:pointer;
  /* 合成レイヤー化 & jank低減 */
  transform: translateZ(0);
  will-change: transform;
  contain: layout paint; /* 周囲への再レイアウト影響を抑える */
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

@media (hover:hover) and (pointer:fine){
  .yk-lecturer-card:hover{
    transform: translateZ(0) scale3d(1.02,1.02,1);
    box-shadow:0 8px 18px rgba(0,0,0,.12);
    border-color:#e0eef4;
  }
}

@media (prefers-reduced-motion:reduce){
  .yk-lecturer-card{ transition:none; }
}

/* 画像もレイヤー化（カクつき抑制） */
.yk-lecturer-photo{
  width:140px; height:140px; object-fit:cover; border-radius:8px; background:#e7e7e7;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ====== Lightbox（初期は完全に不可視） ====== */
.yk-lecturer-lightbox{
  position:fixed; inset:0; display:grid; place-items:center;
  background:rgba(0,0,0,.82); z-index: 99999; padding:24px;
  opacity:0; visibility:hidden; pointer-events:none;
  transition: opacity .18s ease, visibility 0s linear .18s; /* フェード後にvisibility切替 */
}
.yk-lecturer-lightbox.is-open{
  opacity:1; visibility:visible; pointer-events:auto;
  transition: opacity .18s ease;
}

.yk-lecturer-lightbox-img {
  display: block;
  width: auto;                 /* 横幅は自動 */
  height: auto;                /* 高さも自動 */
  max-width: min(900px, 90vw); /* 最大サイズのみ制限 */
  max-height: 78vh;            /* 縦方向の上限 */
  border-radius: 10px;
  object-fit: contain;         /* アスペクト比維持 */
  transform: translateZ(0);
  margin: 0 auto;              /* 中央寄せ（必要なら） */
}

.yk-lecturer-lightbox-caption{ margin-top:12px; color:#fff; text-align:center; }

/* 背面スクロール止める */
.yk-no-scroll{ overflow:hidden; }

/* Responsive（既存と同等） */
@media (max-width: 768px){
  .yk-lecturer-grid{ grid-template-columns: 1fr; gap: 20px; }
  .yk-lecturer-photo{ width:100px; height:100px; }
  .yk-lecturer-lightbox-img{ max-width:94vw; max-height:30vh; }
}
div#lightbox {
    display: none;
}
/* ====== 開催概要（シンプル版） ====== */
.yk-summary-title {
  margin: 0 0 10px;
  font-size: 1.06rem;   /* 0.94rem + 少し大きめ */
  font-weight: 700;
}

.yk-summary-subtitle {
  margin: 24px 0 8px;
  font-size: 0.94rem;
  font-weight: 700;
}

.yk-summary-table {
width: 100%;
    font-size: 0.94rem;
    line-height: 1.6;
    border: 1px solid #ffffff;
    border-radius: 8px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    overflow: hidden;
    margin-top: 4%;
}

.yk-summary-caption {
  text-align: left;
  padding: 10px 14px;
  font-size: 0.94rem;
  color: #666;
  background: #fafafa;
  border-bottom: 1px solid #e5e7eb;
}

.yk-summary-row { background: transparent; } /* ホバー効果なし */

.yk-summary-th,
.yk-summary-td {
  padding: 25px 14px;
  vertical-align: top;
  border-bottom: 1px solid #e5e7eb;
  color: #111;
}

.yk-summary-th {
  width: 24%;
  font-weight: 700;
  color: #000;
  background: #f9fbfd;
}

.yk-summary-row:last-child .yk-summary-th,
.yk-summary-row:last-child .yk-summary-td {
  border-bottom: none;
}

/* ====== 注意点（箇条書き） ====== */
.yk-summary-notes {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.94rem;
  line-height: 1.7;
  color: #222;
  list-style: disc;
}

.yk-summary-notes li {
  margin: 4px 0;
}
.yk-lecturer-lightbox.is-open {
    display: flex;
    padding: 10%;
}
/* Responsive */
@media (max-width: 720px) {
.yk-lecturer-lightbox.is-open {
    display: inline;
}
  .yk-summary-th {
    width: auto;
    display: block;
    border-bottom: none;
    padding-bottom: 4px;
    background: transparent;
    color: #333;
  }
  .yk-summary-td {
    display: block;
    padding-top: 2px;
  }
}

.yk-lecturer-lightbox-caption {
    max-width: min(90vw, 720px);
    max-height: 60vh;
    overflow: auto;
    line-height: 1.8;
    padding: 1rem 0 0;
    padding-left: 5%;
    text-align: left;
}
.yk-lecturer-caption-name {
    font-size: 1.625rem;
    display: block;
}

.yk-lecturer-caption-head { margin-bottom: .5rem; }
.yk-lecturer-caption-title {
    color: #fff;
    font-size: .95rem;
    display: block;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #fff;
    margin-top: -10px;
}
.yk-lecturer-profile-body p { margin: .75rem 0; }
span.smalld {
    margin-top: 4%;
    display: block;
    font-size: 0.94rem;
    background: #46b279;
    text-align: center;
    width: 22%;
    color: #fff;
    border-radius: 20px;
    padding: 0px 0;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 2%;
}
p.teacher01 {
    font-weight: 500;
    margin-bottom: 0px;
}
p.teacher02 {
    margin-bottom: 10px;
    line-height: 24px;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.6rem;
}
span.teachersmall {
    font-size: 0.86rem;
    margin-left: 1%;
    font-weight: 500;
}
/* =========================
   YTI Footer (flat & simple)
   ========================= */
.yti-footer {
  --yti-bg: #ffffff;
  --yti-fg: #1a1a1a;
  --yti-sub: #6b7280;        /* subtle text */
  --yti-line: #e5e7eb;       /* hairline */
  --yti-max: 1120px;
  --yti-pad-x: clamp(16px, 4vw, 28px);
  --yti-pad-y: 24px;

  background: var(--yti-bg);
  color: var(--yti-fg);
  border-top: 1px solid var(--yti-line);
  font-feature-settings: "palt";
}

.yti-footer__inner {
  max-width: var(--yti-max);
  margin: 0 auto;
  padding: var(--yti-pad-y) var(--yti-pad-x);
  display: grid;
  gap: 16px 24px;
}

/* ブランド/サイト名（必要なければCSSごと削除OK） */
.yti-footer__brand {
  order: 1;
}
.yti-footer__site {
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--yti-sub);
}

/* 情報ブロック */
.yti-footer__meta {
  order: 2;
}
.yti-footer__list {
  margin: 0 0 8px 0;
  padding: 0;
}
.yti-footer__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  padding: 6px 0;
  border-bottom: 1px dashed transparent; /* 余白用。必要なら色を var(--yti-line) に */
}
.yti-footer__label {
    margin: 0;
    font-size: 1rem;
    color: var(--yti-sub);
    white-space: nowrap;
}
.yti-footer__value {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    margin-left: 1rem;
}
.yti-footer__note {
    margin: 6px 0 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--yti-sub);
}

/* ボトム（コピーライトなど） */
.yti-footer__bottom {
  order: 3;
  border-top: 1px solid var(--yti-line);
  margin-top: 8px;
  padding-top: 12px;
  display: flex;
  justify-content: flex-start;
}
.yti-footer__copy {
  font-size: 12px;
  color: var(--yti-sub);
}

/* =========
   Breakpoint
   ========= */
@media (min-width: 768px) {
  .yti-footer__inner {
    grid-template-columns: 1fr 0fr;
    align-items: start;
  }
  .yti-footer__brand { order: 1; }
  .yti-footer__meta { order: 2; }
  .yti-footer__bottom {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-top: 16px;
  }
  .yti-footer__list .yti-footer__row {
    padding: 8px 0;
  }
}

/* ダークモード対応（必要なら） */
@media (prefers-color-scheme: dark) {
  .yti-footer {
    --yti-bg: #0b0b0b;
    --yti-fg: #ededed;
    --yti-sub: #a1a1aa;
    --yti-line: #2a2a2a;
  }
}
/* =========================
   YTI Marquee (right→left)
   ========================= */
/* ===== YTI one-line marquee ===== */
/* ======== YTI Marquee (unique classes) ======== */
section.yti-marq3 {
    width: 100%;
    margin: 0 auto;
    height: auto;
    padding: 16px 0 calc(var(--yti-stagger, 16px) + 32px);
    margin-top: 0vw;
}
/* ===== YTI Marquee v2 (no fade) ===== */
/* ===== YTI Marquee v3 (single-track, seamless) ===== */
.yti-marq3 { position: relative; overflow: hidden; }
.yti-marq3 { --yti-size: 200px; --yti-gap: 32px; --yti-stagger: 16px; --yti-dur: 60s; }

.yti-marq3__viewport { white-space: nowrap; }
.yti-marq3__track {
  display: inline-flex;
  gap: var(--yti-gap);
  will-change: transform;
  animation: yti-marq3-move var(--yti-dur) linear infinite;
}

/* 0 → -50% まで動かす（JSで中身を2倍にする） */
@keyframes yti-marq3-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* 正方形。トリミング無しで収める（余白あり） */
.yti-marq3__item {
  margin: 0;
  flex: 0 0 auto;
  width: var(--yti-size);
  height: var(--yti-size);
  border-radius: 18px;
  background: #eef1f4;       /* レターボックス色 */
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,.09);
}

/* 偶数だけ下げる → シーム部も自然に繰り返される */
.yti-marq3__item:nth-child(even) { transform: translateY(var(--yti-stagger)); }

.yti-marq3__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;        /* 全体を見せる。切り取りたいなら cover */
  display: block;
}

/* Hover pause（任意） */
@media (hover:hover) {
  .yti-marq3:hover .yti-marq3__track { animation-play-state: paused; }
}

/* SP微調整 */
@media (max-width: 768px){
  .yti-marq3 { --yti-size: 140px; --yti-gap: 20px; --yti-stagger: 10px; }
}
/* デフォ（= SP想定） */
.yti-marq3{
  --yti-size: 160px;   /* 画像サイズ */
  --yti-gap:  20px;    /* アイテム間隔 */
  --yti-stagger: 50px; /* 偶数の縦ズレ */
}

/* タブレット以上 */
@media (min-width: 768px){
  .yti-marq3{
    --yti-size: 220px;
    --yti-gap:  32px;
    --yti-stagger: 14px;
  }
}
a.link {
    font-weight: 600;
    text-decoration: underline;
}
p.area {
    margin-bottom: 2%;
}
/* PC（お望みの 300 / 50 / 50） */
@media (min-width: 1024px){
  .yti-marq3{
        --yti-size: 22vw;
        --yti-gap: 50px;
        --yti-stagger: 8vh;
  }
}
/* 既存の .yti-marq3__item に追記 */
.yti-marq3__item{
  transition: transform .18s ease, box-shadow .18s ease;
  will-change: transform;
}

/* PC: ホバーで拡大＆影強め。重なり優先のため z-index を上げる */
@media (hover:hover) and (pointer:fine){
  .yti-marq3:hover .yti-marq3__track{ animation-play-state: paused; }
  .yti-marq3__item:hover{
    transform: translateY(var(--yti-stagger)) scale(1.02);
    box-shadow: 0 14px 28px rgba(0,0,0,.18);
    z-index: 2;
  }
}

/* SP: タップ中だけ少しスケール（JSが .is-pressed を付与） */
@media (pointer:coarse){
  .yti-marq3__item.is-pressed{
    transform: translateY(var(--yti-stagger)) scale(1.04);
    box-shadow: 0 10px 22px rgba(0,0,0,.16);
  }
}
.navigation {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 1000;
}
.navigation.show {
  opacity: 1;
  visibility: visible;
}
/* producer-swiper 内に限って適用（重要） */
.producer-swiper .swiper-button-prev,
.producer-swiper .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;

  width: 4rem;
  height: 4rem;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  color: #333;
}

/* 左右位置（必要に応じて微調整） */
.producer-swiper .swiper-button-prev {
  left: -20px;
}

.producer-swiper .swiper-button-next {
  right: -20px;
}

.producer-swiper .swiper-button-prev::after,
.producer-swiper .swiper-button-next::after {
  font-size: 20px;
}

/* スライダーを基準にするため必須 */
.producer-swiper {
  position: relative;
}

