@charset "UTF-8";
/* guide.html: 卒業生・教育チーム・開催地域の3セクションだけに適用 */
.bb-section-refresh {
  --navy: #26384d;
  --ink: #29333e;
  --muted: #5c6773;
  --coral: #c94b47;
  --paper: #f6f4ef;
  --line: #dce0df;
  --radius: 12px;
  --gutter: clamp(18px, 4vw, 48px);
  width: 100%;
  padding-block: clamp(54px, 8vw, 110px);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.85;
  text-align: left;
  overflow-wrap: anywhere;
}
.bb-section-refresh--soft { background: var(--paper); }
.bb-section-refresh .container {
  width: 100%;
  max-width: 1276px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.bb-section-refresh h2,
.bb-section-refresh h3 { color: var(--navy); line-height: 1.4; letter-spacing: .015em; font-weight: 700; }
.bb-section-refresh h2 { font-size: clamp(26px, 3.2vw, 42px); }
.bb-section-refresh h3 { font-size: clamp(17px, 1.6vw, 22px); }
.bb-section-refresh p { color: var(--muted); }
.bb-section-refresh a { color: inherit; text-decoration: none; }
.bb-section-refresh img { display: block; width: 100%; max-width: 100%; height: auto; }
.bb-section-refresh a:focus-visible,
.bb-section-refresh summary:focus-visible { outline: 3px solid var(--coral); outline-offset: -3px; }
.bb-section-refresh .section-heading { margin-bottom: clamp(24px, 4vw, 46px); max-width: 850px; }
.bb-section-refresh .section-heading h2 { margin-top: 10px; }
.bb-section-refresh .section-heading p { margin-top: 14px; font-size: clamp(14px, 1.5vw, 16px); }
.bb-section-refresh .eyebrow { display: block; font-family: Lato, Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--coral); line-height: 1.45; }
/* 卒業生からのメッセージ */
.bb-section-refresh .story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bb-section-refresh .story-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; min-width: 0; }
.bb-section-refresh .story-card > img { aspect-ratio: 4/3; object-fit: cover; }
.bb-section-refresh .story-card > div { padding: clamp(18px, 2.1vw, 28px); display: flex; flex-direction: column; gap: 12px; }
.bb-section-refresh .story-card p { font-size: 14px; }
.bb-section-refresh .story-card small { color: var(--muted); font-size: 12px; }
.bb-section-refresh .more-stories { margin-top: 24px; }
.bb-section-refresh .more-stories .story-grid { margin-top: 18px; }
/* 信頼の教育チーム */
.bb-section-refresh .teacher-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.bb-section-refresh .teacher-grid img { aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; }
.bb-section-refresh .teacher-text { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 28px; }
/* 全国の開催地域・スタジオ */
.bb-section-refresh .region { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.bb-section-refresh summary { cursor: pointer; list-style: none; }
.bb-section-refresh summary::-webkit-details-marker { display: none; }
.bb-section-refresh summary::marker { content: ""; }
.bb-section-refresh .more-stories summary,
.bb-section-refresh .region summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; padding: 17px 20px; color: var(--navy); }
.bb-section-refresh .more-stories summary { background: white; border: 1px solid var(--line); border-radius: 8px; }
.bb-section-refresh .region summary { background: var(--paper); }
.bb-section-refresh .region summary span { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 400; }
.bb-section-refresh .more-stories summary::after,
.bb-section-refresh .region summary::after { content: "＋"; flex-shrink: 0; color: var(--coral); font-size: 20px; }
.bb-section-refresh details[open] > summary::after { content: "−"; }
.bb-section-refresh .studio-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 14px; }
.bb-section-refresh .studio-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: white; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; min-width: 0; }
.bb-section-refresh .studio-card:hover { box-shadow: 0 12px 28px #26384d14; transform: translateY(-2px); }
.bb-section-refresh .studio-card img { aspect-ratio: 16/10; object-fit: cover; }
.bb-section-refresh .studio-card > div { padding: 12px; }
.bb-section-refresh .studio-card h3 { font-size: 14px; margin-bottom: 5px; }
.bb-section-refresh .studio-card span { font-size: 12px; color: var(--coral); font-weight: 700; }
.bb-section-refresh .section-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.bb-section-refresh .btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 51px; padding: 12px 20px; font-size: 14px; font-weight: 700; line-height: 1.5; border-radius: 7px; transition: background .18s; }
.bb-section-refresh .btn-outline { color: var(--navy); background: white; border: 1px solid var(--navy); }
.bb-section-refresh .btn-outline:hover { background: #e9edf0; }
.bb-section-refresh .area-note { margin-top: 18px; text-align: center; font-size: 12px; }
@media (max-width: 1000px) {
  .bb-section-refresh .teacher-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .bb-section-refresh .story-grid,
  .bb-section-refresh .teacher-text { grid-template-columns: 1fr; gap: 14px; }
  .bb-section-refresh .story-card > img { aspect-ratio: 16/10; }
  .bb-section-refresh .teacher-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .bb-section-refresh .studio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; gap: 10px; }
  .bb-section-refresh .section-links .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-section-refresh .studio-card { transition: none; }
}
/* ========================================
   追従バナーの表示制御
======================================== */

/* 初期状態：非表示 */
.cv-fixed-image-button02 {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ファーストビュー通過後：表示 */
.cv-fixed-image-button02.is-after-fv {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
