/* ==============================
   ベストワン津幡能瀬校 LP
   ============================== */
html {
  scroll-behavior: smooth;
}

.bw-lp {
  font-weight: 500;
  --bw-green: #007f41;
  --bw-green-dark: #006633;
  --bw-green-light: #eef8f3;
  --bw-text: #222;
  --bw-subtext: #555;
  --bw-border: #e5e8e6;

  color: var(--bw-text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    Meiryo,
    sans-serif;
}


/* ファーストビュー */

.bw-nowrap {
  white-space: nowrap;
}

.bw-hero {
  background: #fff;
}

.bw-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0px 28px 40px;
}

/* 上部ブランド帯 */

.bw-hero-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 8px;
  margin-top: 0;
}

.bw-hero-logo {
  margin: 0;
  transform: translateY(-8px);
}

.bw-hero-logo img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
}

.bw-hero-label {
  margin: 0;
  padding: 6px 12px;
  color: var(--bw-green);
  background: var(--bw-green-light);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

/* 写真全面エリア */

.bw-hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 28px;
}

.bw-hero-photo {
  position: absolute;
  inset: 0;
}

.bw-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* 左側を暗くしてコピーを読みやすくする */

.bw-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, .72) 0%,
      rgba(0, 0, 0, .62) 28%,
      rgba(0, 0, 0, .30) 46%,
      rgba(0, 0, 0, 0) 65%);
  pointer-events: none;
}

/* コピー */

.bw-hero-copy {
  position: relative;
  z-index: 2;
  width: 52%;
  padding: 52px 48px;
  color: #fff;
}

.bw-hero h1 {
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(32px, 2.8vw, 44px);
  line-height: 1.45;
  letter-spacing: .02em;
}

.bw-hero h1 span {
  color: #fff;
}

.bw-hero-text {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, .92);
  font-size: 17px;
  line-height: 2;
}

.bw-hero-break-mobile {
  display: none;
}

.bw-hero-actions {
  margin-bottom: 0;
}

.bw-btn-primary {
  display: inline-block;
  padding: 16px 32px;
  color: #fff !important;
  background: var(--bw-green);
  border-radius: 7px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    transform .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.bw-btn-primary:hover {
  background: var(--bw-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 127, 65, .18);
}

@media (max-width: 950px) {

  .bw-hero-inner {
    padding: 0 20px 40px;
  }

  .bw-hero-brand {
    margin-bottom: 10px;
  }

  .bw-hero-logo img {
    max-width: 190px;
  }

  .bw-hero-visual {
    min-height: 520px;
  }

  .bw-hero-copy {
    width: 66%;
    padding: 42px 28px;
  }

  .bw-hero h1 {
    font-size: 32px;
    line-height: 1.4;
  }

  .bw-hero-text {
    font-size: 16px;
    line-height: 1.9;
  }
}

/* スマートフォン */

@media (max-width: 767px) {

  .bw-hero-inner {
    min-height: auto;
    padding: 42px 20px 50px;
  }

  .bw-hero h1 {
    font-size: 30px;
  }

  .bw-hero-text {
    font-size: 15px;
    line-height: 1.9;
  }

  .bw-btn-primary {
    width: 100%;
    padding: 15px 18px;
    text-align: center;
  }
}

@media (max-width: 650px) {

  .bw-hero-visual {
    min-height: 420px;
  }

  .bw-hero-photo img {
    object-position: 35% center;
  }

  .bw-hero-copy {
    width: 100%;
    padding: 42px 22px 30px;
  }

  .bw-hero-visual::after {
    background: linear-gradient(90deg,
        rgba(0, 0, 0, .78) 0%,
        rgba(0, 0, 0, .72) 38%,
        rgba(0, 0, 0, .58) 58%,
        rgba(0, 0, 0, .32) 75%,
        rgba(0, 0, 0, .08) 92%,
        rgba(0, 0, 0, 0) 100%);
  }

  .bw-hero h1 {
    margin-bottom: 26px;
    font-size: 27px;
    line-height: 1.45;
  }

  .bw-hero-text {
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.9;
  }

  .bw-btn-primary {
    width: auto;
    min-width: 240px;
    padding: 14px 24px;
    text-align: center;
  }
}

@media (max-width: 430px) {

  .bw-hero-copy {
    width: 100%;
    padding: 32px 16px 24px;
  }

  .bw-hero h1 {
    margin-bottom: 22px;
    font-size: 23px;
    line-height: 1.4;
  }

  .bw-hero-text {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.8;
  }

  .bw-btn-primary {
    min-width: 0;
    padding: 13px 20px;
  }

  .bw-hero-photo img {
    object-position: 55% center;
  }

  .bw-hero-break-mobile {
    display: block;
  }

  .bw-hero-visual::after {
    background: linear-gradient(90deg,
        rgba(0, 0, 0, .76) 0%,
        rgba(0, 0, 0, .68) 35%,
        rgba(0, 0, 0, .45) 60%,
        rgba(0, 0, 0, .12) 82%,
        rgba(0, 0, 0, 0) 100%);
  }

}

/* ==============================
   冬期講習キャンペーン
   ============================== */

.bw-winter-banner {
  position: relative;
  margin: 0 0 10px;
  overflow: hidden;

  background:
    linear-gradient(90deg,
      rgba(234, 247, 255, .05) 0%,
      rgba(234, 247, 255, .35) 9%,
      rgba(234, 247, 255, .92) 18%,
      #eaf7ff 27%,
      #edf9ff 100%),
    url("../images/winter-banner-bg.webp") left center / cover no-repeat;

  border: 1px solid #cbe6f4;
  border-radius: 18px;
}

/* 画像を使用するため疑似要素の雪は不要 */
.bw-winter-banner::before,
.bw-winter-banner::after {
  display: none;
  content: none;
}

.bw-winter-banner-inner {
  position: relative;
  z-index: 1;

  min-height: 86px;
  padding: 9px 36px 9px 120px;

  display: grid;
  grid-template-columns:
    max-content minmax(250px, 1fr) max-content;
  align-items: center;
  column-gap: 30px;
}

/* ------------------------------
   タイトル
   ------------------------------ */

.bw-winter-banner-title {
  display: flex;
  align-items: center;
  gap: 14px;

  margin: 0;
  white-space: nowrap;
}

.bw-winter-banner-course {
  color: #124b8b;

  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;

  /* フォント自体の太さが足りないため少しだけ補強 */
  -webkit-text-stroke: .8px currentColor;
}

.bw-winter-banner-status {
  color: #f05223;

  font-size: 39px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;

  -webkit-text-stroke: .7px currentColor;
}

/* ------------------------------
   説明
   ------------------------------ */
.bw-winter-banner-text {
  position: relative;

  margin: 0;
  padding-left: 30px;

  border-left: 0;

  color: #20374a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;

  transform: translateY(12px);
}

/* ------------------------------
   ボタン
   ------------------------------ */

.bw-winter-banner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  min-width: 280px;
  padding: 16px 24px;

  background: #f15a24;
  border-radius: 10px;

  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none !important;

  box-shadow: 0 5px 14px rgba(241, 90, 36, .18);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.bw-winter-banner-button span {
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
}

.bw-winter-banner-button:hover {
  background: #dc4c1b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(241, 90, 36, .24);
}

.bw-winter-mobile-br {
  display: none;
}

/* ==============================
   タブレット
   ============================== */
@media (max-width: 1200px) and (min-width: 811px) {

  .bw-winter-banner-inner {
    padding: 12px 18px 12px 105px;

    display: grid;
    grid-template-columns: 1fr 1.35fr;
    grid-template-areas:
      "title text"
      "button button";

    align-items: center;
    column-gap: 36px;
    row-gap: 12px;
  }

  .bw-winter-banner-title {
    grid-area: title;
    justify-self: end;
  }

  .bw-winter-banner-text {
    grid-area: text;
    justify-self: start;

    margin: 0;
    padding: 0;

    font-size: 13px;
    line-height: 1.5;
    transform: none;
  }

  .bw-winter-banner-button {
    grid-area: button;

    justify-self: stretch;
    width: auto;
    min-width: 0;

    margin: 0;
    padding: 11px 20px;

    font-size: 13px;
  }
}

.bw-no-wrap {
  white-space: nowrap;
}


/* ==============================
   スマートフォン
   ============================== */
@media (max-width: 810px) {

  .bw-winter-banner {
    margin-bottom: 12px;

    background:
      linear-gradient(90deg,
        rgba(234, 247, 255, .12) 0%,
        rgba(234, 247, 255, .65) 22%,
        #eaf7ff 45%,
        #edf9ff 100%),
      url("../images/winter-banner-bg.webp") left center / cover no-repeat;

    border-radius: 16px;
  }

  .bw-winter-banner-inner {
    display: grid;

    grid-template-columns: 1fr 1.25fr;
    grid-template-areas:
      "title text"
      "button button";

    align-items: center;
    column-gap: 20px;
    row-gap: 12px;

    min-height: 0;
    padding: 14px 14px 14px 90px;
  }

  .bw-winter-banner-title {
    grid-area: title;

    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;

    margin: 0;
    white-space: nowrap;
  }

  .bw-winter-banner-course {
    font-size: 36px;
    -webkit-text-stroke: .7px currentColor;
  }

  .bw-winter-banner-status {
    font-size: 30px;
    -webkit-text-stroke: .6px currentColor;
  }

  .bw-winter-banner-text {
    grid-area: text;

    display: block;
    justify-self: start;

    margin: 0;
    padding: 0;

    font-size: 12px;
    line-height: 1.5;

    transform: none;
  }

  .bw-winter-banner-button {
    grid-area: button;

    display: inline-flex;
    justify-self: stretch;

    width: auto;
    min-width: 0;
    margin: 0;
    padding: 11px 16px;

    font-size: 13px;
  }
}

/* ==============================
   スマートフォン
   680px以下
   ============================== */
@media (max-width: 680px) {

  .bw-winter-banner {
    background:
      linear-gradient(90deg,
        rgba(234, 247, 255, .45) 0%,
        rgba(234, 247, 255, .65) 35%,
        rgba(234, 247, 255, .92) 60%,
        #eaf7ff 78%,
        #edf9ff 100%),
      url("../images/winter-banner-bg.webp") left center / cover no-repeat;
  }

  .bw-winter-banner-inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "text"
      "button";

    min-height: 0;
    padding: 18px 14px 14px 86px;

    row-gap: 10px;
  }

  .bw-winter-banner-title {
    grid-area: title;

    justify-self: start;
    justify-content: flex-start;

    gap: 10px;
  }

  .bw-winter-banner-course {
    font-size: 32px;
  }

  .bw-winter-banner-status {
    font-size: 27px;
  }

  .bw-winter-banner-text {
    grid-area: text;
    justify-self: stretch;

    width: 100%;
    margin: 0;
    padding: 0;

    font-size: 13px;
    line-height: 1.55;
    transform: none;
  }

  .bw-winter-banner-button {
    grid-area: button;

    justify-self: stretch;

    width: auto;
    min-width: 0;
    margin: 2px 0 0;
    padding: 11px 14px;

    font-size: 13px;
  }

}

@media (max-width: 430px) {

  .bw-winter-banner-inner {
    padding-left: 72px;
  }

  .bw-winter-banner-button {
    padding: 11px 8px;
    font-size: 12px;
    gap: 8px;
    white-space: nowrap;
  }

  .bw-winter-banner-button span {
    font-size: 22px;
  }
}

@media (max-width: 400px) {
  .bw-winter-mobile-br {
    display: inline;
  }
}


/* ==============================
   冬期講習 詳細
   ============================== */
.bw-winter-course {
  background: #f4f9fc;
  scroll-margin-top: 90px;
}

.bw-winter-lead {
  max-width: 760px;
  margin: -18px auto 56px;
  color: var(--bw-subtext);
  font-size: 17px;
  line-height: 2;
  text-align: center;
}

.bw-winter-subheading {
  margin: 0 0 28px;
  text-align: center;
}

.bw-winter-subheading h3 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--bw-text);
  font-size: 25px;
  line-height: 1.5;
}

.bw-winter-subheading h3::before,
.bw-winter-subheading h3::after {
  display: none !important;
  content: none !important;
}

/* ねらい */
.bw-winter-purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bw-winter-purpose-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid #dce9ef;
  border-radius: 14px;
}

.bw-winter-purpose-number {
  display: block;
  margin-bottom: 16px;
  color: #347aa5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

.bw-winter-purpose-card h3 {
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #164e79;
  font-size: 20px;
  line-height: 1.55;
}

.bw-winter-purpose-card h3::before,
.bw-winter-purpose-card h3::after {
  display: none !important;
  content: none !important;
}

.bw-winter-purpose-card p {
  margin: 0 0 14px;
  color: var(--bw-subtext);
  font-size: 14px;
  line-height: 1.9;
}

.bw-winter-purpose-card p:last-child {
  margin-bottom: 0;
}

.bw-winter-purpose-note {
  padding-top: 10px;
  border-top: 1px solid #e7eef2;
  font-size: 12px !important;
}

/* 授業回数 */
.bw-winter-lessons {
  max-width: 950px;
  margin: 72px auto 0;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #dce9ef;
}

.bw-winter-small-label {
  margin: 0 0 8px !important;
  color: #347aa5 !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .1em;
}

.bw-winter-lessons h3 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--bw-text);
  font-size: 23px;
}

.bw-winter-lessons h3::before,
.bw-winter-lessons h3::after {
  display: none !important;
  content: none !important;
}

.bw-winter-lessons-content>p:not(.bw-winter-small-label) {
  margin: 0 0 14px;
  color: var(--bw-subtext);
  font-size: 14px;
  line-height: 1.8;
}

.bw-winter-lessons-content>p:last-child {
  margin-bottom: 0;
}

.bw-winter-lessons-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  border: 1px solid #347aa5;
  border-radius: 8px;
  color: #23678f !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none !important;
}

.bw-winter-lessons-link span {
  font-size: 26px;
}

.bw-winter-lessons-emphasis {
  color: #164e79;
  font-weight: 700;
  background: linear-gradient(transparent 65%,
      #e3f1f8 65%);
}

/* 料金 */
.bw-winter-price {
  margin-top: 80px;
}

.bw-winter-subheading p {
  margin: 10px 0 0;
  color: var(--bw-subtext);
  font-size: 14px;
}

.bw-winter-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.bw-winter-price-card {
  padding: 30px 24px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #dce9ef;
  text-align: center;
}

.bw-winter-price-grade {
  margin: 0 0 8px;
  color: #164e79;
  font-size: 20px;
  font-weight: 700;
}

.bw-winter-price-condition {
  margin: 0 0 20px;
  color: var(--bw-subtext);
  font-size: 13px;
}

.bw-winter-price-subject {
  min-height: 48px;
  margin: 0 0 18px;
  color: var(--bw-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.bw-winter-price-value {
  margin: 0;
  color: #164e79;
}

.bw-winter-price-value strong {
  font-size: 30px;
  line-height: 1.3;
}

.bw-winter-price-value span {
  margin-left: 3px;
  font-size: 14px;
}

.bw-winter-price-note {
  max-width: 1000px;
  margin: 18px auto 0;
  color: var(--bw-subtext);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

/* 冬期CTA */
.bw-winter-cta {
  max-width: 900px;
  margin: 80px auto 0;
  padding: 52px 40px;
  background: #164e79;
  border-radius: 16px;
  color: #fff;
  text-align: center;
}

.bw-winter-cta-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
}

.bw-winter-cta h3 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 27px;
  line-height: 1.6;
}

.bw-winter-cta h3::before,
.bw-winter-cta h3::after {
  display: none !important;
  content: none !important;
}

.bw-winter-cta>p:not(.bw-winter-cta-kicker) {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  line-height: 1.9;
}

.bw-winter-cta-button {
  min-width: 300px;
  padding: 17px 30px;
  border: 0;
  border-radius: 8px;
  background: #f15a24;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 850px) {

  .bw-winter-purpose-grid,
  .bw-winter-price-grid {
    grid-template-columns: 1fr;
  }

  .bw-winter-lessons {
    display: block;
  }

  .bw-winter-lessons-link {
    position: relative;
    display: block;
    width: 100%;

    margin-top: 24px;
    padding: 14px 42px;

    text-align: center;
    line-height: 1.55;
  }

  .bw-winter-lessons-link br {
    display: initial;
  }

  .bw-winter-lessons-link span {
    position: absolute;
    top: 50%;
    right: 18px;

    display: block;
    margin: 0;

    transform: translateY(-50%);
  }

  .bw-winter-price-subject {
    min-height: 0;
  }
}

/* スマートフォン */
@media (max-width: 430px) {
  .bw-winter-lead {
    margin-bottom: 40px;
    text-align: left;
  }

  .bw-winter-lead br {
    display: none;
  }

  .bw-winter-subheading {
    text-align: left;
  }

  .bw-winter-purpose-card {
    padding: 26px 20px;
  }

  .bw-winter-card-break {
    display: none;
  }

  .bw-winter-lessons {
    margin-top: 54px;
    padding: 28px 20px;
  }

  .bw-winter-price {
    margin-top: 60px;
  }

  .bw-winter-price-note {
    text-align: left;
  }

  .bw-winter-cta {
    margin-top: 60px;
    padding: 40px 20px;
  }

  .bw-winter-cta h3 {
    font-size: 23px;
  }

  .bw-winter-cta h3 br,
  .bw-winter-cta>p br {
    display: none;
  }

  .bw-winter-cta-button {
    width: 100%;
    min-width: 0;
  }
}

/* ==============================
   お悩みセクション
   ============================== */

.bw-section {
  padding: 90px 28px;
}

.bw-problem-break-mobile {
  display: none;
}

.bw-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.bw-section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.bw-section-kicker {
  margin: 0 0 12px;
  color: var(--bw-green);
  font-size: 15px;
  font-weight: 700;
}

.bw-section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.55;
}

.bw-problems {
  background: #fff;
}

.bw-problems-heading {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.bw-problems-heading h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--bw-text);
}

.bw-problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bw-problem-card {
  min-height: 170px;
  padding: 26px 24px;

  background: #f8faf9;
  border: 1px solid var(--bw-border);
  border-radius: 12px;

  display: flex;
  flex-direction: column;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}



.bw-problem-card p {
  flex: 1;

  display: flex;
  align-items: center;

  margin: 0;
  padding-top: 10px;

  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

.bw-problems-message {
  margin: 44px 0 0;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--bw-text);
}

.bw-problems-message strong {
  color: var(--bw-green);
}


/* タブレット */
@media (max-width: 950px) {

  .bw-problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* スマートフォン */
@media (max-width: 767px) {

  .bw-section {
    padding: 64px 20px;
  }

  .bw-section-heading {
    margin-bottom: 32px;
    text-align: left;
  }

  .bw-problem-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bw-problem-card {
    min-height: auto;
    padding: 20px;
  }

  .bw-problem-card p {
    margin-top: 18px;
  }

  .bw-problems-message {
    margin-top: 34px;
    text-align: left;
    font-size: 15px;
  }

  .bw-problems-message br {
    display: none;
  }
}

@media (max-width: 430px) {
  .bw-problem-card {
    padding: 18px 16px;
  }

  .bw-problem-card p {
    margin-top: 8px;
  }

  .bw-problem-break-mobile {
    display: inline;
  }

  .bw-problem-card p {
    display: block;
  }
}

/* ==============================
   指導方針
   ============================== */

.bw-guidance {
  background: #f5f8f6;
}

.bw-guidance-break-mobile {
  display: none;
}

.bw-guidance-lead {
  max-width: 800px;
  margin: -10px auto 52px;

  text-align: center;
  color: var(--bw-subtext);
  font-size: 17px;
  line-height: 2;
}

.bw-guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bw-guidance-card {
  padding: 34px 30px 36px;

  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .04);
}

.bw-guidance-number {
  display: block;
  margin-bottom: 22px;

  color: var(--bw-green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
}

.bw-guidance-card h3 {
  margin: 0 0 18px !important;
  padding: 0 !important;

  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;

  background: transparent !important;
  box-shadow: none !important;

  color: var(--bw-text);
  font-size: 21px;
  line-height: 1.55;
}

.bw-guidance .bw-guidance-card h3::before,
.bw-guidance .bw-guidance-card h3::after {
  display: none !important;
  content: none !important;
}

.bw-guidance-card p {
  margin: 0;

  color: var(--bw-subtext);
  font-size: 15px;
  line-height: 1.9;
}

/* 大崩れ防止だけ先に入れておく */
@media (max-width: 950px) {

  .bw-guidance-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 430px) {

  .bw-guidance-lead {
    text-align: left;
  }

  .bw-guidance-break-mobile {
    display: inline;
  }

  .bw-guidance-card-break-mobile {
    display: none;
  }

  .bw-guidance .bw-section-heading {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .bw-guidance .bw-section-heading h2 {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
  }

  .bw-guidance-card-break-mobile {
    display: inline;
  }
}

/* ==============================
   個別指導
   ============================== */

.bw-lesson {
  background: #fff;
}

.bw-mobile-break {
  display: none;
}

.bw-lesson-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.bw-lesson-photo {
  overflow: hidden;
  border-radius: 16px;
}

.bw-lesson-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.bw-lesson-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bw-lesson-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;

  padding: 30px 0;
  border-bottom: 1px solid #e5e5e5;
}

.bw-lesson-item:first-child {
  padding-top: 0;
}

.bw-lesson-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.bw-lesson-number {
  color: var(--bw-green);
  font-size: 14px;
  font-weight: 700;
}

.bw-lesson-item h3 {
  margin: 0 0 10px !important;
  padding: 0 !important;

  border: none !important;
  background: transparent !important;
  box-shadow: none !important;

  color: var(--bw-text);
  font-size: 21px;
  line-height: 1.5;
}

.bw-lesson-item h3::before,
.bw-lesson-item h3::after {
  display: none !important;
  content: none !important;
}

.bw-lesson-item p {
  margin: 0;

  color: var(--bw-subtext);
  font-size: 15px;
  line-height: 1.9;
}

/* 今は大崩れ防止のみ */
@media (max-width: 950px) {
  .bw-lesson-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bw-lesson-photo {
    min-height: 0;
  }
}

/* 650px以下 */
@media (max-width: 650px) {

  .bw-mobile-break {
    display: inline;
  }

}

/* ==============================
   学習サポート
   ============================== */

.bw-support {
  background: #f5f8f6;
}

.bw-support-heading-break-mobile {
  display: none;
}

.bw-support-card-break-mobile {
  display: none;
}

.bw-support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bw-support-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;

  padding: 34px 32px;

  background: #fff;
  border-radius: 14px;
}

.bw-support-number {
  color: var(--bw-green);
  font-size: 14px;
  font-weight: 700;
}

.bw-support-item h3 {
  margin: 0 0 12px !important;
  padding: 0 !important;

  border: none !important;
  background: transparent !important;
  box-shadow: none !important;

  color: var(--bw-text);
  font-size: 20px;
  line-height: 1.5;
}

.bw-support-item h3::before,
.bw-support-item h3::after {
  display: none !important;
  content: none !important;
}

.bw-support-item p {
  margin: 0;

  color: var(--bw-subtext);
  font-size: 15px;
  line-height: 1.9;
}

.bw-support-note {
  margin-top: 10px !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

/* 大崩れ防止 */
@media (max-width: 800px) {

  .bw-support-grid {
    grid-template-columns: 1fr;
  }

}

.bw-learning-environment {
  margin-top: 72px;
}

.bw-learning-environment-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.bw-support-item p strong {
  font-weight: 700;
  color: var(--bw-text);
  background: linear-gradient(transparent 60%,
      rgba(0, 140, 70, 0.16) 60%);
}

.bw-support .bw-learning-environment-heading h3 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--bw-text);
  text-align: center;
}

.bw-support .bw-learning-environment-heading h3::before,
.bw-support .bw-learning-environment-heading h3::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 430px) {
  .bw-support-item {
    grid-template-columns: 26px 1fr;
    gap: 10px;
    padding: 28px 20px;
  }

  .bw-support-heading-break-mobile {
    display: inline;
  }

  .bw-support-card-break-mobile {
    display: inline;
  }
}

/* ========================================
   保護者への授業報告
======================================== */

.bw-support-report {
  margin-top: 90px;
}

.bw-support-detail-heading {
  margin-bottom: 46px;
  text-align: center;
}

.bw-support-detail-heading h3 {
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--bw-text);
}

.bw-support-eiken-venue {
  margin-top: 20px;
}

/* 画像＋説明 */

.bw-support-report-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 70px;
}


/* Comiru画面 */

.bw-support-report-image {
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
}

.bw-support-report-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}


/* 説明 */

.bw-support-report-content p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--bw-subtext);
}

.bw-support-report-content p:last-child {
  margin-bottom: 0;
}

.bw-support-report-content strong {
  font-weight: 700;
  color: var(--bw-text);
  background: linear-gradient(transparent 60%,
      rgba(0, 140, 70, 0.16) 60%);
}

.bw-support-report-note {
  margin-top: 28px;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--bw-subtext);
}

.bw-support-report-note a {
  margin-left: 6px;
  color: var(--bw-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bw-support-report-note a:hover {
  text-decoration-thickness: 2px;
}

.bw-learning-environment-heading p {
  margin: 0;
  line-height: 1.9;
  color: var(--bw-subtext);
}

.bw-learning-environment-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.bw-learning-environment-photo {
  min-width: 0;
}

.bw-learning-environment-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

/* ========================================
   スマートフォン
======================================== */

@media (max-width: 768px) {

  .bw-support-report {
    margin-top: 64px;
  }

  .bw-support-detail-heading {
    margin-bottom: 34px;
  }

  .bw-support-detail-heading h3 {
    font-size: 22px;
  }

  .bw-support-report-inner {
    display: block;
    max-width: 520px;
  }

  .bw-support-report-image {
    width: min(280px, 85%);
    margin: 0 auto 36px;
    padding: 14px;
    border-radius: 20px;
  }

  .bw-support-report-image img {
    border-radius: 10px;
  }

  .bw-support-report-content p {
    font-size: 14px;
    line-height: 1.9;
  }
}

@media (max-width: 430px) {

  .bw-support-detail-heading {
    text-align: left;
  }

  .bw-support-detail-heading h3,
  .bw-support .bw-learning-environment-heading h3 {
    font-size: 20px !important;
    text-align: left;
  }

  .bw-learning-environment-heading {
    text-align: left;
  }

  .bw-learning-environment-heading p {
    text-align: left;
  }

}

/* ==============================
   学習例
   ============================== */

.bw-example {
  background: #f5f8f6;
}

.bw-example-break-mobile {
  display: none;
}

.bw-example-heading-break-mobile {
  display: none;
}

.bw-example-lead {
  max-width: 800px;
  margin: -10px auto 50px;

  text-align: center;
  color: var(--bw-subtext);
  font-size: 17px;
  line-height: 2;
}

.bw-example-box {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;

  max-width: 1000px;
  margin: 0 auto;
  padding: 48px;

  background: #fff;
  border-radius: 16px;
}

.bw-example-profile {
  padding: 30px;
  background: #eef7f2;
  border-radius: 14px;
}

@media (min-width: 769px) {
  .bw-example-profile-inner {
    position: sticky;
    top: 120px;
  }
}

.bw-example-label {
  display: block;
  margin-bottom: 22px;

  color: var(--bw-green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.bw-example-profile h3 {
  margin: 0 0 20px !important;
  padding: 0 !important;

  border: none !important;
  background: transparent !important;
  box-shadow: none !important;

  color: var(--bw-text);
  font-size: 24px;
  line-height: 1.5;
}

.bw-example-profile h3::before,
.bw-example-profile h3::after {
  display: none !important;
  content: none !important;
}

.bw-example-profile p {
  margin: 0;

  color: var(--bw-subtext);
  font-size: 15px;
  line-height: 1.9;
}

.bw-example-flow {
  display: flex;
  flex-direction: column;
}

.bw-example-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
}

.bw-example-step>span {
  color: var(--bw-green);
  font-size: 14px;
  font-weight: 700;
}

.bw-example-step small {
  display: block;
  margin-bottom: 4px;

  color: var(--bw-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.bw-example-step h4 {
  margin: 0 0 7px;

  color: var(--bw-text);
  font-size: 19px;
  line-height: 1.5;
}

.bw-example-step p {
  margin: 0;

  color: var(--bw-subtext);
  font-size: 14px;
  line-height: 1.8;
}

.bw-example-down {
  margin: 14px 0 14px 72px;
  width: calc(100% - 72px);
  text-align: center;

  color: var(--bw-green);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.bw-example-note {
  margin: 18px auto 0;
  max-width: 1000px;

  color: var(--bw-subtext);
  font-size: 12px;
  text-align: center;
}

.bw-example-marker {
  font-weight: 700;
  background: linear-gradient(transparent 60%,
      rgba(0, 140, 70, 0.16) 60%);
}


/* 大崩れ防止 */
@media (max-width: 850px) {

  .bw-example-box {
    grid-template-columns: 1fr;
    gap: 36px;
  }

}

@media (max-width: 650px) {

  .bw-example-break-mobile {
    display: inline;
  }

}

@media (max-width: 430px) {
  .bw-example-lead {
    text-align: left;
  }

  .bw-example-break-mobile,
  .bw-example-sentence-break {
    display: none;
  }

  .bw-example-box {
    padding: 24px 16px;
  }

  .bw-example-profile {
    padding: 22px 20px;
  }

  .bw-example-step {
    grid-template-columns: 26px 1fr;
    gap: 10px;
  }

  .bw-example-down {
    margin-left: 36px;
    width: calc(100% - 36px);
  }

  .bw-example-heading-break-mobile {
    display: inline;
  }

  .bw-example-note {
    text-align: left !important;
  }
}

/* ==============================
   中間CTA
   ============================== */

.bw-mid-cta {
  padding: 80px 0;
  background: #fff;
}

.bw-mid-cta-break-small {
  display: none;
}

.bw-mid-cta-break-mobile {
  display: none;
}

.bw-mid-cta-box {
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px 40px;

  background: var(--bw-green);
  border-radius: 18px;

  text-align: center;
  color: #fff;
}

.bw-mid-cta-kicker {
  margin: 0 0 20px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

.bw-mid-cta-box h2 {
  margin: 0 0 24px !important;
  padding: 0 !important;

  border: none !important;
  background: transparent !important;
  box-shadow: none !important;

  color: #fff !important;
  font-size: 30px;
  line-height: 1.6;
}

.bw-mid-cta-box h2::before,
.bw-mid-cta-box h2::after {
  display: none !important;
  content: none !important;
}

.bw-mid-cta-text {
  margin: 0 auto 32px;

  font-size: 16px;
  line-height: 2;
  color: #fff;
}

.bw-mid-cta-button {
  display: inline-block;
  min-width: 320px;
  padding: 18px 36px;

  background: #fff;
  border-radius: 8px;

  color: var(--bw-green) !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;

  transition: opacity .2s ease;
}

.bw-mid-cta-button:hover {
  opacity: .9;
}

.bw-mid-cta-note {
  margin: 18px 0 0;

  color: #fff;
  font-size: 13px;
}

.bw-request-form {
  margin: 0;
}

button.bw-mid-cta-button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

@media (max-width: 650px) {

  .bw-mid-cta-break-mobile {
    display: inline;
  }

}

@media (max-width: 430px) {
  .bw-mid-cta-break-small {
    display: inline;
  }

  .bw-mid-cta-button {
    width: auto;
    min-width: 220px;
    padding-left: 24px;
    padding-right: 24px;
  }
}


/* ==============================
   無料体験・学習相談の流れ
   ============================== */

.bw-flow {
  background: #fff;
}

.bw-flow-lead-break {
  display: inline;
}

.bw-flow-lead {
  max-width: 800px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--bw-subtext);
  font-size: 17px;
  line-height: 1.9;
}

.bw-flow-timeline {
  display: grid;
  grid-template-columns: 1.15fr 1.3fr 1.15fr 1fr 1fr;
  max-width: 1180px;
  margin: 0 auto;
}

.bw-flow-step {
  position: relative;
  min-width: 0;
}

.bw-flow-number {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;
  margin: 0 auto 26px;

  border-radius: 50%;
  background: var(--bw-green);
  color: #fff;

  font-size: 13px;
  font-weight: 700;
  line-height: 1;

  letter-spacing: .08em;
}

.bw-flow-line {
  position: absolute;
  z-index: 1;
  top: 22px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: rgba(0, 140, 70, 0.2);
}

.bw-flow-content {
  padding: 0 18px;
  text-align: center;
}

.bw-flow .bw-flow-content h3 {
  margin: 0 0 14px !important;
  padding: 8px 10px !important;
  border: 1px solid #ddd !important;
  border-left: 5px solid #999 !important;
  background: #fff !important;
  box-shadow: none !important;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--bw-text);
}

.bw-flow-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--bw-subtext);
}

.bw-flow-note {
  margin: 44px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  color: var(--bw-subtext);
}

@media (max-width: 950px) {

  .bw-flow-timeline {
    display: block;
    max-width: 520px;
  }

  .bw-flow-step {
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 18px;
    padding-bottom: 38px;
  }

  .bw-flow-step:last-child {
    padding-bottom: 0;
  }

  .bw-flow-number {
    grid-column: 1;
    width: 42px;
    height: 42px;
    margin: 0;
  }

  .bw-flow-line {
    top: 42px;
    left: 20px;
    width: 2px;
    height: calc(100% - 42px);
  }

  .bw-flow-content {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    text-align: left;
  }

  .bw-flow .bw-flow-content h3 {
    white-space: normal;
    font-size: 17px;
  }
}

@media (max-width: 430px) {

  .bw-flow-lead {
    text-align: left;
  }

  .bw-flow-lead-break {
    display: none;
  }

  .bw-flow-note {
    text-align: left;
  }

}


/* ==============================
   FAQ
   ============================== */

.bw-faq {
  background: #f5f8f6;
}

.bw-faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.bw-faq-item {
  margin-bottom: 12px;

  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.bw-faq-item summary {
  position: relative;

  padding: 24px 64px 24px 28px;

  cursor: pointer;
  list-style: none;

  color: var(--bw-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.bw-faq-item summary::-webkit-details-marker {
  display: none;
}

.bw-faq-item summary::before {
  content: "Q";
  margin-right: 14px;

  color: var(--bw-green);
  font-weight: 700;
}

.bw-faq-item summary::after {
  content: "+";

  position: absolute;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);

  color: var(--bw-green);
  font-size: 24px;
  font-weight: 400;
}

.bw-faq-item[open] summary::after {
  content: "−";
}

.bw-faq-answer {
  padding: 0 28px 24px 58px;
}

.bw-faq-answer p {
  margin: 0;

  color: var(--bw-subtext);
  font-size: 15px;
  line-height: 1.9;
}

.bw-faq-break-mobile {
  display: none;
}

@media (max-width: 430px) {
  .bw-faq-break-mobile {
    display: inline;
  }

  .bw-faq-item summary {
    display: grid;
    grid-template-columns: 16px 1fr 16px;
    column-gap: 8px;
    align-items: start;
  }

  .bw-faq-item summary::before {
    grid-column: 1;
  }

  .bw-faq-question-text {
    grid-column: 2;
  }

  .bw-faq-item summary::after {
    grid-column: 3;
  }
}

/* ==============================
   料金
   ============================== */

.bw-price {
  background: #fff;
}

.bw-price-lead {
  max-width: 800px;
  margin: -10px auto 50px;

  text-align: center;
  color: var(--bw-subtext);
  font-size: 17px;
  line-height: 2;
}

.bw-price-example {
  max-width: 950px;
  margin: 0 auto;
}

.bw-price-example-head {
  margin-bottom: 24px;
  text-align: center;
}

.bw-price-example-head span {
  display: block;
  margin-bottom: 8px;

  color: var(--bw-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}

.bw-price-example-head h3 {
  margin: 0 !important;
  padding: 0 !important;

  border: none !important;
  background: transparent !important;
  box-shadow: none !important;

  color: var(--bw-text);
  font-size: 22px;
}

.bw-price-example-head h3::before,
.bw-price-example-head h3::after {
  display: none !important;
  content: none !important;
}

.bw-price-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.bw-price-card {
  padding: 32px;

  background: #f5f8f6;
  border-radius: 14px;
}

.bw-price-frequency {
  margin: 0 0 24px;

  color: var(--bw-green);
  font-size: 20px;
  font-weight: 700;
}

.bw-price-row,
.bw-price-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.bw-price-row strong,
.bw-price-total strong {
  margin-left: auto;
  text-align: right;
}

.bw-price-condition {
  margin: 4px 0 24px;
  color: var(--bw-subtext);
  font-size: 14px;
  font-weight: 500;
}

.bw-price-total {
  margin-top: 24px;
  padding-top: 2px;
}

.bw-price-total>span {
  display: block;
  margin-bottom: 6px;

  color: var(--bw-subtext);
  font-size: 13px;
}

.bw-price-total strong {
  color: var(--bw-green);
  font-size: 32px;
  line-height: 1.3;
}

.bw-price-total small {
  margin-left: 5px;

  color: var(--bw-text);
  font-size: 13px;
  font-weight: 500;
}

.bw-price-notes {
  margin-top: 24px;
  padding: 28px 32px;

  background: #fafafa;
  border-radius: 12px;
}

.bw-price-notes p {
  margin: 0 0 9px;

  color: var(--bw-subtext);
  font-size: 14px;
  line-height: 1.8;
}

.bw-price-notes p:last-child {
  margin-bottom: 0;
}

.bw-price-notes strong {
  color: var(--bw-text);
}

.bw-price-campaign {
  margin-top: 16px !important;
  color: var(--bw-green) !important;
}

.bw-price-bottom {
  margin: 28px auto 0;

  text-align: center;
  color: var(--bw-subtext);
  font-size: 13px;
  line-height: 1.9;
}

.bw-price-campaign-link {
  color: var(--bw-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 大崩れ防止 */
@media (max-width: 700px) {

  .bw-price-cards {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 430px) {

  .bw-price-lead,
  .bw-price-bottom {
    text-align: left;
  }

  .bw-price-lead-break,
  .bw-price-bottom-break {
    display: none;
  }
}

/* ==============================
   保護者様からの声
   ============================== */

.bw-reviews {
  background: #fff;
}

.bw-reviews-lead {
  max-width: 800px;
  margin: -10px auto 50px;

  text-align: center;
  color: var(--bw-subtext);
  font-size: 17px;
  line-height: 2;
}

.bw-reviews-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;

  max-width: 760px;
  margin: 0 auto;
}


.bw-review-card {
  padding: 34px 40px;

  background: #f5f8f6;
  border-radius: 14px;
}

.bw-review-label {
  display: block;
  margin: 0 0 14px;

  color: var(--bw-green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.bw-review-text p {
  margin: 0;

  color: var(--bw-subtext);
  font-size: 15px;
  line-height: 1.9;
}

.bw-reviews-link {
  margin-top: 32px;
  text-align: center;
}

.bw-reviews-link a {
  color: var(--bw-green) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.bw-reviews-link a:hover {
  text-decoration-thickness: 2px;
}


/* スマートフォン */
@media (max-width: 430px) {

  .bw-reviews-lead {
    text-align: left;
  }

  .bw-review-card {
    padding: 28px 20px;
  }

  .bw-reviews-link {
    text-align: center;
  }

}

/* ==============================
   教室情報・アクセス
   ============================== */

.bw-access {
  background: #f5f8f6;
}

.bw-access-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

/* 教室情報 */
.bw-access-info {
  padding: 38px;
  background: #fff;
  border-radius: 14px;
}

.bw-access-info h3 {
  margin: 0 0 30px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--bw-text);
  font-size: 22px;
  line-height: 1.6;
}

.bw-access-info h3::before,
.bw-access-info h3::after {
  display: none !important;
  content: none !important;
}

.bw-access-list {
  margin: 0;
}

.bw-access-list>div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid #e5e8e6;
}

.bw-access-list>div:last-child {
  border-bottom: none;
}

.bw-access-list dt {
  color: var(--bw-green);
  font-size: 14px;
  font-weight: 700;
}

.bw-access-list dd {
  margin: 0;
  color: var(--bw-subtext);
  font-size: 14px;
  line-height: 1.8;
}

.bw-access-info a {
  white-space: nowrap;
}

/* 教室外観・駐車場写真 */

.bw-access-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 85%;
  margin: 0 auto;
  min-width: 0;
  align-items: start;
}

.bw-access-photo {
  min-width: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.bw-access-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bw-access-photo-caption {
  padding: 16px 18px 18px;
}

.bw-access-photo-caption p {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--bw-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.bw-access-photo-caption p::before,
.bw-access-photo-caption p::after {
  display: none !important;
  content: none !important;
}

.bw-access-photo-caption span {
  display: block;
  margin-top: 6px;
  color: var(--bw-subtext);
  font-size: 13px;
  line-height: 1.7;
}

/* Googleマップ */
.bw-access-map {
  max-width: 1000px;
  min-height: 420px;
  margin: 56px auto 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #e8efeb;
  border-radius: 14px;
  text-align: center;
  color: var(--bw-subtext);
  overflow: hidden;
}

/* Googleマップ設置後 */
.bw-access-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* リンク */
.bw-access-link {
  color: var(--bw-green) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.bw-access-link:hover {
  text-decoration: underline !important;
}

.bw-access-link-note {
  display: block;
  margin-top: 6px;
  color: var(--bw-subtext);
  font-size: 13px;
  line-height: 1.7;
}

.bw-access-marker {
  font-weight: 700;
  background: linear-gradient(transparent 65%,
      rgba(0, 140, 75, 0.18) 65%);
}


/* ==============================
   対応学校一覧
   ============================== */

.bw-access-schools {
  margin-top: 24px;
  padding: 18px;
  background: #f3faf6;
  border-radius: 10px;
}

.bw-access-schools h4 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #17633e;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.6;
}

.bw-access-schools h4::before,
.bw-access-schools h4::after,
.bw-access-schools h5::before,
.bw-access-schools h5::after {
  display: none !important;
  content: none !important;
}

.bw-access-schools-note {
  margin: 0 !important;
  color: var(--bw-subtext);
  font-size: 13px;
  line-height: 1.8;
}

/* 折りたたみ */
.bw-access-schools-details {
  margin-top: 14px;
}

.bw-access-schools-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: #e1f1e8;
  border-radius: 7px;
  color: #17633e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.bw-access-schools-details summary::-webkit-details-marker {
  display: none;
}

.bw-access-schools-details summary::after {
  content: "⌄";
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s;
}

.bw-access-schools-details[open] summary::after {
  transform: rotate(180deg);
}

.bw-access-schools-details summary:focus-visible {
  outline: 2px solid var(--bw-green);
  outline-offset: 3px;
}

/* 展開時の学校一覧 */
.bw-access-schools-content {
  padding: 16px 12px 4px;
  background: #fff;
  border: 1px solid #e1f1e8;
  border-top: none;
  border-radius: 0 0 7px 7px;
}

.bw-access-schools-group {
  margin-bottom: 16px;
}

.bw-access-schools-group h5 {
  margin: 0 0 5px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--bw-green);
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1.5;
}

.bw-access-schools-group p {
  margin: 0 !important;
  color: var(--bw-subtext);
  font-size: 13px;
  line-height: 1.8;
}

.bw-sp-only {
  display: none;
}

/* 大崩れ防止 */
@media (max-width: 800px) {
  .bw-access-layout {
    grid-template-columns: 1fr;
  }

  .bw-access-map {
    max-width: 1000px;
    margin: 56px auto 0;
    border-radius: 14px;
    overflow: hidden;
  }

  .bw-access-map iframe {
    display: block;
    width: 100% !important;
    height: 420px;
    border: 0;
  }
}

@media (max-width: 600px) {

  .bw-access-photos {
    grid-template-columns: 1fr;
    gap: 20px;
  }

}

@media (max-width: 430px) {
  .bw-sp-only {
    display: inline;
  }

  .bw-access-info {
    padding: 26px 20px;
  }

  .bw-access-list>div {
    grid-template-columns: 70px 1fr;
    gap: 8px;
  }

  .bw-access-info a {
    white-space: normal;
  }

}

/* ==============================
   最終CTA
   ============================== */

.bw-final-cta {
  padding: 90px 28px;
  background: #fff;
}

.bw-final-cta-break-small {
  display: none;
}

.bw-final-cta-box {
  max-width: 1000px;
  margin: 0 auto;
  padding: 72px 40px;

  background: var(--bw-green);
  border-radius: 18px;

  color: #fff;
  text-align: center;
}

.bw-final-cta-kicker {
  margin: 0 0 20px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.bw-final-cta-box h2 {
  margin: 0 0 26px !important;
  padding: 0 !important;

  border: none !important;
  background: transparent !important;
  box-shadow: none !important;

  color: #fff !important;
  font-size: 30px;
  line-height: 1.6;
}

.bw-final-cta-box h2::before,
.bw-final-cta-box h2::after {
  display: none !important;
  content: none !important;
}

.bw-final-cta-text {
  margin: 0 0 34px;

  color: #fff;
  font-size: 16px;
  line-height: 2;
}

.bw-final-cta-button {
  display: inline-block;
  min-width: 360px;
  padding: 19px 38px;

  background: #fff;
  border-radius: 8px;

  color: var(--bw-green) !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.bw-final-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.bw-final-cta-note {
  margin: 22px 0 0;

  color: #fff;
  font-size: 13px;
}

button.bw-final-cta-button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.bw-final-cta-break-mobile {
  display: none;
}

@media (max-width: 650px) {

  .bw-final-cta-break-mobile {
    display: inline;
  }

}

@media (max-width: 430px) {
  .bw-final-cta-break-small {
    display: inline;
  }
}

/* ==============================
   フッター
   ============================== */

.bw-footer {
  padding: 38px 28px;

  background: #f2f4f3;
}

.bw-footer-inner {
  max-width: 1180px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.bw-footer-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.bw-footer-brand strong {
  color: var(--bw-green);
  font-size: 15px;
}

.bw-footer-brand span {
  color: var(--bw-text);
  font-size: 13px;
}

.bw-footer-copy {
  margin: 0;

  color: #777;
  font-size: 11px;
}

.bw-eiken-notice {
  padding: 24px 20px;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  color: var(--bw-subtext);
}

.bw-eiken-notice p {
  margin: 0;
}

.bw-eiken-notice p+p {
  margin-top: 4px;
}

.bw-footer-links {
  margin: 12px 0 6px;
  font-size: 13px;
}

.bw-footer-links a {
  color: inherit;
  text-decoration: underline;
}

.bw-footer-links a:hover {
  opacity: 0.75;
}

/* 大崩れ防止 */
@media (max-width: 700px) {

  .bw-final-cta {
    padding: 64px 20px;
  }

  .bw-final-cta-box {
    padding: 50px 22px;
  }

  .bw-final-cta-button {
    min-width: 0;
    width: 100%;
  }

  .bw-footer-inner {
    display: block;
    text-align: center;
  }

  .bw-footer-brand {
    display: block;
    margin-bottom: 14px;
  }

  .bw-footer-brand strong,
  .bw-footer-brand span {
    display: block;
  }

}

/* ========================================
   Sticky Header
======================================== */

.bw-sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.bw-sticky-header.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bw-sticky-header-inner {
  max-width: 1180px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bw-sticky-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bw-text);
  cursor: pointer;
}

.bw-sticky-brand img {
  display: block;
  width: auto;
  height: 52px;
}

.bw-sticky-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 11px 22px;
  border-radius: 999px;

  background: var(--bw-green);
  color: #fff !important;

  font-size: 14px;
  font-weight: 700;
  line-height: 1;

  text-decoration: none !important;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.bw-sticky-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

body.admin-bar .bw-sticky-header {
  top: 32px;
}

@media (max-width: 430px) {

  .bw-sticky-header-inner {
    height: 64px;
    padding: 0 12px;
    gap: 10px;
  }

  .bw-sticky-brand img {
    height: 44px;
  }

  .bw-sticky-cta {
    padding: 10px 14px;
    font-size: 12px;
    white-space: nowrap;
  }

}

/* ========================================
   Scroll Reveal
======================================== */

.bw-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.bw-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bw-reveal-delay-1 {
  transition-delay: 0s;
}

.bw-reveal-delay-2 {
  transition-delay: 0.12s;
}

.bw-reveal-delay-3 {
  transition-delay: 0.24s;
}

.bw-reveal-delay-4 {
  transition-delay: 0.36s;
}

.bw-support-note,
.bw-support-report-note,
.bw-example-note,
.bw-mid-cta-note,
.bw-flow-note,
.bw-price-bottom,
.bw-final-cta-note,
.bw-eiken-notice {
  font-weight: 400;
}


/* 2026-10: 保護者の声（LP内3か所） */
.bw-lp .bw-voice-inline {
  margin: 38px auto 0;
  padding: 19px 24px 16px;
  max-width: 1020px;
  border: 1px solid #dcece3;
  border-left: 4px solid #007f41;
  border-radius: 10px;
  background: #f5faf7;
  box-sizing: border-box;
}

.bw-lp .bw-voice-inline-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #006633;
  font-weight: 700;
  font-size: 16px;
}

.bw-lp .bw-voice-inline-mark {
  font: 700 29px/0.8 Georgia, serif;
  color: #00854a;
}

.bw-lp .bw-voice-inline-heading small {
  color: #68776d;
  font-size: 11px;
  font-weight: 500;
}

.bw-lp .bw-voice-inline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 14px 0 9px;
  list-style: none;
}

.bw-lp #support .bw-voice-inline-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bw-lp .bw-voice-inline-list li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid #e6efe9;
  border-radius: 7px;
  padding: 12px 13px;
  font-size: 14px;
  line-height: 1.7;
  color: #303c33;
}

.bw-lp .bw-voice-grade {
  display: block;
  text-align: right;
  color: #68776d;
  font-size: 12px;
  font-weight: 500;
}

.bw-lp .bw-voice-inline-note,
.bw-lp .bw-review-posted-note {
  margin: 0;
  font-size: 11px;
  color: #69756c;
  text-align: right;
}

.bw-lp .bw-review-label {
  text-align: right;
}

/* INDIVIDUAL LESSON の口コミのみ2列 */
#lesson .bw-voice-inline-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 700px) {
  .bw-lp .bw-voice-inline {
    margin-top: 28px;
    padding: 15px 16px 13px;
  }

  .bw-lp .bw-voice-inline-list,
  .bw-lp #support .bw-voice-inline-list {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .bw-lp .bw-voice-inline-list li {
    gap: 7px;
    padding: 9px 11px;
    font-size: 13px;
  }

  .bw-lp .bw-voice-inline-heading {
    font-size: 15px;
  }

  .bw-lp .bw-voice-grade {
    font-size: 11px;
  }

  .bw-lp .bw-voice-inline-note,
  .bw-lp .bw-review-posted-note {
    text-align: left;
    font-size: 10px;
  }
}

/* INDIVIDUAL LESSON：PCでは2列 */
.bw-lp #lesson .bw-voice-inline-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* スマホでは1列 */
@media (max-width: 700px) {
  .bw-lp #lesson .bw-voice-inline-list {
    grid-template-columns: 1fr;
  }
}