/* 案内の帯（参考 .home-bnrs）：淡い面にやわらかな形を敷き、横長の大きな帯1つと、小さな帯3つ。
   参考の採用・研修・外部サイトの帯は、キッズスペース・はじめての方へ・費用・アクセスの案内に替えた */
.bnrs {
  position: relative;
  margin-top: 90px;
  background: var(--panel);
  overflow: hidden;
}
.bnrs__bg { position: absolute; inset: 0; }
.bnrs__bg svg { width: 100%; height: 100%; }
.bnrs__bg path { fill: rgba(255, 255, 255, 0.5); }
.bnrs__inner { position: relative; padding-top: 60px; padding-bottom: 70px; }

/* 大きな帯：写真の左に白い面を重ね、日本語・英字・一文 */
.bnr-l a {
  position: relative;
  display: block;
  aspect-ratio: 340 / 230;
  overflow: hidden;
  background: var(--white);
}
.bnr-l img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 80%;
  transition: transform 0.6s ease;
}
.bnr-l__txt {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 16px 20px 18px;
  background: rgba(255, 255, 255, 0.88);
}
.bnr-l__ja { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.5; }
.bnr-l__en { font-size: 30px; line-height: 1.2; letter-spacing: 0.03em; }
.bnr-l__p { margin-top: 4px; font-size: 12px; line-height: 1.7; }

/* 小さな帯：白い地に左の文、右の写真 */
.bnr-s { margin-top: 20px; }
.bnr-s li + li { margin-top: 20px; }
.bnr-s a {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 50%;
  align-items: center;
  aspect-ratio: 340 / 150;
  overflow: hidden;
  background: var(--white);
}
.bnr-s__txt { display: flex; flex-direction: column; padding: 0 10px 0 22px; }
.bnr-s__ja {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
  white-space: nowrap;
  background: linear-gradient(transparent 68%, var(--yellow-pale) 0%);
}
.bnr-s__en {
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.03em;
}
.bnr-s__img { display: block; height: 100%; overflow: hidden; }
.bnr-s__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.bnr-s__walk {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  column-gap: 4px;
  padding: 16px 10px 6px 22px;
  border-radius: 40px 0 0 0;
  background: var(--yellow);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.bnr-s__walk-s { display: flex; flex-direction: column; font-size: 9px; line-height: 1.3; letter-spacing: 0.05em; }

@media (min-width: 768px) and (max-width: 1023px) {
  .bnr-s { display: flex; justify-content: space-between; margin-top: 30px; }
  .bnr-s li { width: 32%; }
  .bnr-s li + li { margin-top: 0; }
  .bnr-s a { grid-template-columns: 1fr; grid-template-rows: auto 1fr; aspect-ratio: 230 / 200; }
  .bnr-s__txt { padding: 14px 14px 10px; }
  .bnr-s__en { font-size: 18px; }
  .bnr-l a { aspect-ratio: 1080 / 330; }
  .bnr-l__txt { top: 0; right: auto; width: 46%; justify-content: center; padding: 0 30px; }
}
@media (min-width: 1024px) {
  .bnrs { margin-top: 150px; }
  .bnrs__inner { padding-top: 120px; padding-bottom: 120px; }
  .bnr-l a { aspect-ratio: 1080 / 330; }
  .bnr-l a:hover img,
  .bnr-s a:hover .bnr-s__img img { transform: scale(1.05); }
  .bnr-l__txt {
    top: 0;
    width: 42%;
    justify-content: center;
    padding: 0 0 0 80px;
    background: rgba(255, 255, 255, 0.82);
  }
  .bnr-l__ja { font-size: 18px; }
  .bnr-l__en { margin-top: 6px; font-size: 64px; }
  .bnr-l__p { margin-top: 14px; font-size: 15px; }
  .bnr-s { display: flex; justify-content: space-between; margin-top: 60px; }
  .bnr-s li { width: 31.5%; }
  .bnr-s li + li { margin-top: 0; }
  .bnr-s__txt { padding-left: 26px; }
  .bnr-s__ja { font-size: 13px; }
  .bnr-s__en { font-size: min(2vw, 24px); }
}
