﻿@font-face {
  font-family: "LINESeedJPWeb";
  src: url("../fonts/LINESeedJP_OTF_Rg.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "LINESeedJPWeb";
  src: url("../fonts/LINESeedJP_OTF_0.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
      color: #27292b;
      background: #f1f7fe;
      font-family: var(--font-style, "Hiragino Kaku Gothic ProN", 'Hiragino Sans','ヒラギノ角ゴシック','Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3', -apple-system, BlinkMacSystemFont, 'メイリオ','Meiryo','ＭＳ Ｐゴシック',Osaka,Verdana,sans-serif);
      line-height: 1.75;
      scroll-behavior: smooth;
    }

    * {
      box-sizing: border-box;
    }

body {
      margin: 0;
      background-color: #f1f7fe;
      background-image: url("../img/bg.png");
      background-repeat: no-repeat;
      background-position: center top;
      background-size: cover;
      background-attachment: fixed;
    }

    .contents-menu {
      position: fixed;
      left: max(24px, calc(50% - 650px));
      top: auto;
      bottom: 68px;
      width: 310px;
      z-index: 5;
      background: #232f62;
      border-radius: 10px;
      padding: 0;
      transform: none;
    }

    .contents-menu__inner {
      background: #ffffff;
      margin: 0 4px 4px;
      padding: 20px 24px;
      border-radius: 0 0 6px 6px;
      min-height: 0;
      max-height: 500px;
      overflow-y: auto;
    }


    

    .contents-menu__title {
      display: block;
      margin: 0;
      padding: 12px 0 8px;
      text-align: center;
      color: #ffffff;
      background: #232f62;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 0.2em;
      border-radius: 10px 10px 0 0;
    }

    .contents-menu__nav {
      display: grid;
      gap: 5px;
    }

    .contents-menu__nav a {
      color: #4b5563;
      text-decoration: none;
      font-weight: 900;
      line-height: 1.25;
      font-size: 15px;
      background: #ffffff;
      border: 1px solid rgba(35, 47, 98, 0.10);
      padding: 8px 40px 8px 14px;
      border-radius: 6px;
      display: block;
      position: relative;
      transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    }

    .contents-menu__nav a::after {
      content: '\f0a9';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: rgba(35, 47, 98, 0.40);
      font-size: 17px;
      transition: color 0.18s ease;
    }

    .contents-menu__nav a:hover {
      color: #4b5563;
      background: #ffffff;
      border-color: rgba(35, 47, 98, 0.10);
    }

    .contents-menu__nav a.is-active {
      color: #ec1163;
      background: rgba(236, 17, 99, 0.08);
      border-color: rgba(236, 17, 99, 0.40);
    }

    .contents-menu__nav a:hover::after {
      color: rgba(35, 47, 98, 0.40);
    }

    .contents-menu__nav a.is-active::after {
      color: #ec1163;
    }

    .contents-menu__nav a.is-active {
      padding-left: 12px;
      border-left: 4px solid #ec1163;
    }

    .floating-cta {
      position: fixed;
      right: max(4px, calc(50% - 780px));
      bottom: 68px;
      z-index: 6;
      width: 447px;
      display: grid;
      gap: 8px;
      justify-items: center;
    
      transform: none;
}

    .floating-cta__label,
    .floating-cta__button img {
      display: block;
      width: 100%;
      height: auto;
    }

    .floating-cta__button {
      display: block;
      width: 100%;
      line-height: 0;
      text-decoration: none;
      transition: opacity 0.18s ease;
    }

    .floating-cta__button:hover {
      opacity: 0.88;
    }

    /* Hamburger button + backdrop + mobile CTA bar (hidden by default) */
    .hamburger-btn {
      display: none;
    }
    .menu-backdrop {
      display: none;
    }
    .mobile-cta-bar {
      display: none;
    }

    /* Hide CTA on narrow viewport; convert menu into a slide-in panel */
    @media (max-width: 819px) {
      .floating-cta {
        display: none !important;
      }

      .hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 16px;
        right: 16px;
        z-index: 200;
        width: 48px;
        height: 48px;
        border: 0;
        border-radius: 50%;
        background: #232f62;
        color: #ffffff;
        font-size: 20px;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        pointer-events: none;
      }
      .hamburger-btn.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
      }

      .menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 150;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
      }
      .menu-backdrop.is-open {
        opacity: 1;
        visibility: visible;
      }

      .contents-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: 280px;
        height: 100vh;
        max-width: 86vw;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 160;
        border-radius: 0;
        background: #232f62;
      }
      .contents-menu.is-open {
        transform: translateX(0);
      }
      .contents-menu__title {
        border-radius: 0;
        padding: 20px 16px;
      }
      .contents-menu__inner {
        margin: 0;
        border-radius: 0;
        max-height: calc(100vh - 60px);
        padding: 16px 18px;
      }

      .mobile-cta-bar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        background: #ffffff;
        padding: 10px 14px;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(100%);
        visibility: hidden;
        transition: transform 0.25s ease, visibility 0.25s ease;
      }
      .mobile-cta-bar.is-visible {
        transform: translateY(0);
        visibility: visible;
      }
      .mobile-cta-bar .btn-c {
        margin-top: 0 !important;
        animation: none !important;
        padding: 14px 52px 14px 18px;
        max-width: 520px !important;
        margin-left: auto;
        margin-right: auto;
      }
      .mobile-cta-bar .btn-c .btn-c__arrow {
        right: 14px;
        width: 22px;
        height: 22px;
      }
    }

    /* Narrow viewport: main + sidebar as a centered 2-column group */
    @media (max-width: 1400px) and (min-width: 820px) {
      main {
        margin-left: calc(50% - 400px) !important;
        margin-right: 0 !important;
      }
      .contents-menu {
        left: auto;
        right: calc(50% - 400px);
        bottom: auto;
        top: 24px;
        width: 280px;
      }
      .contents-menu__inner {
        padding: 20px 24px;
      }
      .contents-menu__nav a {
        font-size: 14px;
      }
      .floating-cta {
        right: calc(50% - 400px);
        bottom: 24px;
        width: 280px;
      }
    }

    #about,
    #demo,
    #reason,
    #method,
    #feature,
    #proof,
    #case,
    #case2,
    #program,
    #comparison,
    #price,
    #rooms,
    #support,
    #faq {
      scroll-margin-top: 24px;
    }

    main {
      width: 100%;
      max-width: 500px;
      min-height: 100vh;
      margin: 0 auto;
      background: #ffffff;
      position: relative;
      z-index: 1;
      overflow: hidden;
    }

    .letter {
      background: #ffffff;
    }

    .letter__inner {
      padding: 44px 24px 64px;
    }

    .footer-bg-fill {
      background: #F1F7FE;
      margin: 0 -24px -4px;
      padding-bottom: 4px;
    }

    h1,
    h2,
    h3,
    h4 {
      margin: 0 0 18px;
      letter-spacing: 0;
      line-height: 1.55;
      font-weight: 900;
    }

    h1 {
      font-size: clamp(30px, 10vw, 48px);
      color: #507be9;
    }

    h2 {
      font-size: clamp(16px, 4.1vw, 20px);
      color: #27292b;
    }

    h3 {
      font-size: clamp(20px, 6vw, 28px);
      color: #507be9;
    }

    h4 {
      font-size: clamp(17px, 4.6vw, 21px);
      color: #27292b;
    }

    .heading-box {
      position: relative;
      display: grid;
      gap: 8px;
      margin: 34px 0 28px;
      padding: 26px 18px 20px;
      border: 3px solid #ffee56;
      border-radius: 18px;
      background: #fffdea;
      text-align: center;
    }

    .heading-box__label {
      position: absolute;
      top: -14px;
      left: 50%;
      transform: translateX(-50%);
      padding: 2px 12px;
      border-radius: 999px;
      background: #156fc6;
      color: #ffffff;
      font-size: 12px;
      font-weight: 900;
  white-space: normal;
    }

    .heading-box h1,
    .heading-box h2,
    .heading-box h3,
    .heading-box h4 {
      margin: 0;
      color: #232f62;
      line-height: 1.55;
    }

    .heading-box h1,
    .heading-box h2 {
      font-size: clamp(16px, 4.1vw, 20px);
    }

    .heading-box h3,
    .heading-box h4 {
      font-size: clamp(14px, 3.6vw, 17px);
    }

    .hero-title {
      position: relative;
      padding: 28px 22px 24px;
      margin: -12px -8px 18px;
      border-radius: 28px 28px 12px 12px;
      background: linear-gradient(135deg, #156fc6 0%, #2ecbbc 100%);
      color: #ffffff;
      text-align: center;
      box-shadow: 0 8px 22px rgba(21, 111, 198, 0.18);
    }

    .main-visual-placeholder {
      display: grid;
      min-height: 260px;
      margin: -12px -8px 30px;
      place-items: center;
      border: 4px dashed #156fc6;
      border-radius: 26px;
      background: #edf5ff;
      color: #507be9;
      font-size: clamp(20px, 6vw, 28px);
      font-weight: 900;
      letter-spacing: 0;
      text-align: center;
      padding: 24px;
    }

    .fv-images {
      margin: -44px -24px 0;
    }

    .fv-images img {
      display: block;
      width: 100%;
      height: auto;
      margin: 0;
    }

    .fv-images__hero {
      position: relative;
    }

    @keyframes mainCopyZoomIn {
      from { transform: translateX(-50%) scale(2); opacity: 0; }
      to   { transform: translateX(-50%) scale(1); opacity: 1; }
    }

    .fv-images img.fv-images__main-copy {
      position: absolute;
      top: 50px;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      height: auto;
      transform-origin: center center;
      animation: mainCopyZoomIn 0.25s ease-out both;
    }

    @keyframes mainCopy2FadeUp {
      from { transform: translateX(-50%) translateY(30px); opacity: 0; }
      to   { transform: translateX(-50%) translateY(0); opacity: 1; }
    }

    .fv-images img.fv-images__main-copy2 {
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      height: auto;
      filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
      animation: mainCopy2FadeUp 0.35s ease-out 0.25s both;
    }

    .hero-subtitle {
      padding: 18px;
      border-radius: 18px;
      background: #fffdea;
      border: 3px solid #ffee56;
      color: #27292b;
      text-align: center;
    }

    .hero-subtitle-2 {
      background: #ebfefc;
      border-color: #2ecbbc;
    }

    .hero-subtitle-3 {
      background: #f1f7ff;
      border-color: #c2e0ff;
    }

    .highlight-body-range {
      margin: 0 -24px 24px;
      padding: 0 20px 8px;
      background: #f1f7fe;
      border-radius: 0;
    }

    .bodybg-top {
      margin: 0 -24px 16px;
      line-height: 0;
    }

    .bodybg-top img {
      display: block;
      width: 100%;
      height: auto;
    }

    p {
      margin: 0 0 24px;
      font-size: 16px;
      color: #27292b;
      line-height: 1.9;
    }

    .emphasis-copy {
      margin: 0 0 18px;
      color: #27292b;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.75;
    }

    .section-lead {
      margin: 0 0 10px;
      color: #507be9;
      font-size: clamp(20px, 6vw, 28px);
      font-weight: 900;
      line-height: 1.55;
      text-align: left;
    }

    .section-lead--compact {
      font-size: clamp(15px, 4.8vw, 19px);
      line-height: 1.5;
    }

    strong {
      color: #507be9;
      font-weight: 900;
    }

    ul {
      margin: 0 0 28px;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 12px;
    }

    li {
      position: relative;
      padding: 15px 18px 15px 48px;
      background: #ffffff;
      border: 4px solid #c2e0ff;
      border-radius: 16px;
      font-weight: 700;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
    }

    li::before {
      content: "";
      position: absolute;
      left: 20px;
      top: 1.55em;
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: #F1F7FE;
      border: 3px solid #156fc6;
    }

    hr {
      border: 0;
      height: 1px;
      margin: 38px 0;
      background: linear-gradient(90deg, transparent, #bed4ea, transparent);
    }

    .video-placeholder {
      display: grid;
      min-height: 260px;
      margin: 30px 0;
      place-items: center;
      border: 4px dashed #156fc6;
      border-radius: 26px;
      background: #edf5ff;
      color: #507be9;
      text-align: center;
      font-weight: 900;
      padding: 24px;
    }

    .video-embed {
      overflow: hidden;
      margin: 30px 0;
      border-radius: 18px;
      background: #dfeeff;
      aspect-ratio: 16 / 9;
    }

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-note {
  font-size: 13px;
  line-height: 1.8;
  color: #507be9;
}

    .asset-placeholder {
      display: grid;
      min-height: 220px;
      margin: 30px 0;
      place-items: center;
      border: 3px solid #c2e0ff;
      border-radius: 22px;
      background: #f5faff;
      color: #507be9;
      text-align: center;
      font-weight: 900;
      padding: 24px;
    }

    .evidence-image {
      margin: 30px 0;
    }

    .evidence-image img {
      display: block;
      width: 100%;
      height: auto;
    }

    .evidence-image--bodywide {
      margin: 0 -24px;
    }

    .example-block {
      margin: 24px 0;
      padding: 3em 2em 2em;
      background: #ffffff;
      border-radius: 0;
      position: relative;
    }

    .example-block::before {
      content: '';
      position: absolute;
      top: 0.5em;
      inset-inline: 1em;
      border-top: dotted 10px #F1F7FE;
      pointer-events: none;
    }

    .example-block p {
      margin: 0 0 16px;
      text-decoration: underline dotted #b9c3d4;
      text-underline-offset: 6px;
      text-decoration-thickness: 2px;
      text-decoration-skip-ink: none;
    }

    .example-block p:last-child {
      margin-bottom: 0;
    }

    .design-note-block {
      position: relative;
      margin: 18px 0;
      padding: 22px 18px 18px;
      border: 2px dashed #156fc6;
      border-radius: 18px;
      background: #f8fbff;
    }

    #feature + .design-note-block {
      margin-left: -20px;
      margin-right: -20px;
      background: #f8fbff url("../img/ryan02.png") repeat;
    }

    .design-note-block__label {
      position: absolute;
      top: -12px;
      left: 18px;
      padding: 2px 10px;
      border-radius: 999px;
      background: #156fc6;
      color: #fff;
      font-size: 12px;
      font-weight: 900;
      line-height: 1.4;
    }

    .design-note-block p:last-child {
      margin-bottom: 0;
    }

    .design-group-block {
      position: relative;
      margin: 24px 0;
      padding: 26px 12px 12px;
      border: 3px solid #c2e0ff;
      border-radius: 22px;
      background: #edf5ff;
    }

    .design-group-block__label {
      position: absolute;
      top: -16px;
      left: 18px;
      padding: 4px 14px;
      border-radius: 999px;
      background: #156fc6;
      color: #fff;
      font-size: 13px;
      font-weight: 900;
      line-height: 1.4;
    }

    .button-placeholder {
      display: grid;
      min-height: 74px;
      margin: 24px 0 30px;
      place-items: center;
      border-radius: 999px;
      background: linear-gradient(135deg, #156fc6 0%, #2ecbbc 100%);
      color: #ffffff;
      text-align: center;
      font-weight: 900;
      padding: 18px 24px;
      box-shadow: 0 10px 24px rgba(21, 111, 198, 0.18);
    }

    .cta-block {
      margin: 34px 0;
      padding: 18px 14px 20px;
      border-radius: 18px;
      background: #f3fbff;
      border: 1px solid #d5ebff;
    }

    .cta-block__eyebrow {
      margin: 0 0 18px;
      color: #507be9;
      font-size: 13px;
      font-weight: 900;
      line-height: 1.6;
      text-align: center;
    }

    .cta-block > .cta-button {
      width: 320px;
      max-width: 100%;
    }

    .cta-button {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 243px;
      height: 58px;
      margin: 24px auto 30px;
      padding: 0 18px;
      border: 3px solid #ffffff;
      border-radius: 999px;
      background: linear-gradient(90deg, #ffea34 29.654%, #ffface 95.022%);
      color: #507be9;
      text-align: center;
      font-size: 14px;
      font-weight: 600;
      line-height: 1.6;
      letter-spacing: 0.28px;
      text-decoration: none;
      box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
      align-self: center;
  white-space: normal;
    }

    .cta-button__icon {
      width: 16px;
      height: 16px;
      border-radius: 999px;
      background: #156fc6;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .cta-button__icon::before {
      content: "";
      width: 0;
      height: 0;
      border-top: 3px solid transparent;
      border-bottom: 3px solid transparent;
      border-left: 5px solid #fff;
      margin-left: 2px;
    }

/* マスキングテープ風ボックス */
.monitor-card {
  position: relative;
  margin: 2.5em auto;
  padding: 32px 18px 18px;
  border: 0;
  border-radius: 12px;
  background-color: #e1eaff;
  background-image:
    linear-gradient(rgba(83, 125, 233, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 125, 233, 0.08) 1px, transparent 1px);
  background-size: 15px 15px;
  max-width: 800px;
  outline: 2px dotted #ffffff;
  outline-offset: -10px;
}

.monitor-card:first-of-type {
  margin-top: 0;
}

.monitor-card__tape {
  background-image: repeating-linear-gradient(
    -45deg,
    #e1eaff 0,
    #e1eaff 3px,
    #fafafa 3px,
    #fafafa 6px
  );
  transform: rotate(-2deg);
  box-shadow: 0 1px 2px rgb(0 0 0 / .1);
  padding: .5em 1em;
  line-height: 1;
  position: absolute;
  top: -1em;
  left: 1em;
  display: inline-block;
  font-size: 0.9em;
  font-weight: 700;
  color: #27292b;
  width: auto;
  max-width: calc(100% - 2em);
}

.monitor-card__label {
  display: none;
}

.monitor-card__name {
  margin: 0 0 4px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #27292b;
  line-height: 1.4;
}

.monitor-card__desc {
  margin: 0 0 14px;
  text-align: center;
  font-size: 15px;
  color: #5a5a5a;
  line-height: 1.6;
}

    .monitor-card__frame {
      overflow: hidden;
      border-radius: 14px;
      background: #dfeeff;
      aspect-ratio: 16 / 9;
    }

    .monitor-card__frame iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }

    @media (min-width: 501px) {
      main {
        box-shadow: none;
      }
    }

@media (min-width: 769px) {
  /* highlight-body-rangeのpadding(20px)に合わせて全幅画像のマージンを調整 */
  .highlight-body-range .evidence-image--bodywide {
    margin-left: -20px;
    margin-right: -20px;
  }
}

@media (max-width: 640px) {
      .letter__inner {
        padding: 32px 16px 52px;
      }
      .footer-bg-fill {
        margin-left: -16px;
        margin-right: -16px;
        padding-bottom: 0;
        margin-bottom: 0;
      }
    }

    @media (max-width: 1280px) {
      
    }

    .faq-section {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 36px 20px;
      background: #507be9;
      border-radius: 32px;
      margin: 34px 0 28px;
    }

    .faq-section__label {
      font-size: 13px;
      font-weight: 900;
      color: #fff;
      margin: 0 0 4px;
      letter-spacing: 0.04em;
    }

    .faq-section__title {
      font-size: clamp(20px, 5.6vw, 26px);
      font-weight: 900;
      color: #fff;
      margin: 0 0 16px;
      line-height: 1.4;
      letter-spacing: 0;
      text-align: center;
    }

    .faq-item {
      background: #fff;
      border-radius: 16px;
      overflow: hidden;
    }

    .faq-item__question {
      display: flex;
      align-items: center;
      gap: 14px;
      width: 100%;
      padding: 16px 18px;
      background: transparent;
      border: none;
      text-align: left;
      cursor: pointer;
      font-family: var(--font-style, "Hiragino Kaku Gothic ProN", 'Hiragino Sans','ヒラギノ角ゴシック','Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3', -apple-system, BlinkMacSystemFont, 'メイリオ','Meiryo','ＭＳ Ｐゴシック',Osaka,Verdana,sans-serif);
    }

    .faq-item__badge {
      flex-shrink: 0;
      width: 34px;
      height: 34px;
      background: #fff153;
      border-radius: 6px;
      transform: rotate(45deg);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .faq-item__badge-letter {
      transform: rotate(-45deg);
      font-weight: 900;
      font-size: 14px;
      color: #507be9;
      line-height: 1;
    }

    .faq-item__text {
      flex: 1;
      font-size: 16px;
      font-weight: 700;
      color: #27292b;
      line-height: 1.6;
    }

    .faq-item__icon {
      flex-shrink: 0;
      transition: transform 0.25s ease;
    }

    .faq-item__icon path {
      stroke: #232F62;
    }

    .faq-item__icon--open {
      transform: rotate(45deg);
    }

    .faq-item__answer {
      display: none;
      padding: 4px 18px 18px 66px;
      color: #27292b;
    }

    .faq-item__answer--open {
      display: block;
    }

    .faq-item__answer p {
      margin: 0 0 12px;
      font-size: 15px;
      line-height: 1.85;
    }

    .faq-item__answer ul {
      margin: 0 0 12px;
      gap: 6px;
    }

    .faq-item__answer li {
      padding: 8px 12px 8px 28px;
      border: none;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      font-size: 13px;
      font-weight: 400;
    }

    .faq-item__answer li::before {
      left: 10px;
      top: 1.4em;
      width: 6px;
      height: 6px;
      background: #232F62;
      border: 2px solid #232F62;
    }

    .site-footer {
      border-top: 1px solid #dbe8f6;
      margin-top: -60px;
      padding: 10px 16px 10px;
      background: #ffffff;
      text-align: center;
    }

    .site-footer__copy {
      margin: 4px 0 0;
      font-size: 12px;
      color: #66748a;
      line-height: 1.6;
    }

    .site-footer__links {
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 14px;
      font-size: 12px;
      line-height: 1.6;
    }

    .site-footer__links li {
      margin: 0;
      padding: 0;
      border: 0;
      background: transparent;
      box-shadow: none;
      font-weight: 500;
    }

    .site-footer__links li::before {
      content: none;
    }

    .site-footer__links a {
      color: #4f647d;
      text-decoration: none;
    }

    .site-footer__links a:hover {
      text-decoration: underline;
    }


    .heading-box .gradient-subhead {
  background: linear-gradient(90deg, #537de9 0%, #2756c1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.heading-box--gradient-test {
  display: block;
  position: relative;
  text-align: left;
  margin: 18px 0 22px;
  padding: 25px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.heading-box--gradient-test::before,
.heading-box--gradient-test::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
}

.heading-box--gradient-test::before {
  top: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.5) 52%, rgba(255, 255, 255, 0) 100%);
}

.heading-box--gradient-test::after {
  bottom: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 48%, rgba(255, 255, 255, 0.95) 100%);
}

.heading-box--gradient-test .heading-box__label {
  display: none;
}
.heading-box--gradient-test h1,
.heading-box--gradient-test h2,
.heading-box--gradient-test h3,
.heading-box--gradient-test h4 {
  display: block;
  margin: 0;
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Yu Mincho", "YuMincho", "MS Mincho", serif;
  color: #232f62;
  font-size: clamp(22px, 4.8vw, 30px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: auto;
  text-wrap: wrap;
  text-align: left;
}

.heading-box--gradient-test .subhead-accent {
  background: linear-gradient(90deg, #537de9 0%, #2756c1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.heading-box--gradient-test .gradient-subhead {
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Yu Mincho", "YuMincho", "MS Mincho", serif;
  font-size: clamp(22px, 4.8vw, 30px);
  line-height: 1.35;
  letter-spacing: 0;
  font-weight: 700;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: auto;
  text-wrap: wrap;
  text-align: left;
}

.heading-box--gradient-test h1.gradient-subhead {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #232f62;
  color: #232f62;
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Yu Mincho", "YuMincho", "MS Mincho", serif;
  font-weight: 900;
  font-size: 29px;
}

@media (max-width: 640px) {
  .heading-box--gradient-test h1,
  .heading-box--gradient-test h2,
  .heading-box--gradient-test h3,
  .heading-box--gradient-test h4,
  .heading-box--gradient-test .gradient-subhead {
    font-size: clamp(22px, 6.2vw, 30px);
    line-height: 1.35;
  }
}
.design-note-block--no-frame {
      border: 0;
      background: transparent;
      padding: 12px 0 0;
    }




































@media (max-width: 768px) {
  main {
    width: 100%;
  }

  .floating-cta {
    display: none !important;
  }
}









@media (max-width: 768px) {
  p {
    font-size: 17px;
  }

  .letter__inner {
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer-bg-fill {
    margin-left: -15px;
    margin-right: -15px;
  }

  .fv-images,
  .highlight-body-range,
  .bodybg-top,
  .evidence-image--bodywide,
  #feature + .design-note-block,
  .ba-title-image,
  .ba-section-bg,
  .ba-bottom-image,
  .cta-apply-block {
    margin-left: -15px;
    margin-right: -15px;
  }

  .highlight-body-range,
  .ba-section-bg {
    padding-left: 15px;
    padding-right: 15px;
  }

  .ba-title-image img,
  .ba-bottom-image img {
    width: 100%;
  }
}













#feature + .design-note-block .design-note-block__label,
#feature + .design-note-block .heading-box__label {
  display: none;
}


#feature + .design-note-block {
  border: 0 !important;
  border-radius: 0 !important;
}


#feature + .design-note-block {
  background-image: url('../img/ryan02.png') !important;
  background-repeat: repeat !important;
  background-size: 100% auto !important;
  text-align: left;
  line-height: 180%;
  padding: 20px 30px !important;
}


#feature.evidence-image--bodywide {
  margin-bottom: 0 !important;
}

#feature + .design-note-block {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#proof-end.evidence-image--bodywide {
  margin-top: 0 !important;
}


#feature + .design-note-block .heading-box {
  display: none !important;
}

#case.step-image-frame {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#case.step-image-frame .design-note-block__label {
  display: none;
}

.step-image-frame {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.step-image-frame .design-note-block__label,
.step-image-frame .section-lead {
  display: none;
}

.step-arrow {
  margin: -4px 0 -6px;
  text-align: center;
  line-height: 0;
}

.step-arrow img {
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.step-qa {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 14px 16px;
  background: #F2F2F2;
  border-radius: 20px;
}

.step-qa strong {
  display: inline-block;
  margin-bottom: 4px;
}

.step-qa-group {
  margin: 0 0 24px;
}

.step-qa-group .step-qa {
  margin: 0 0 12px;
  width: fit-content;
  max-width: 100%;
  border-radius: 20px;
  background: #F2F2F2;
}

.step-qa-group .step-qa:last-child {
  margin-bottom: 0;
}

.ba-title-image {
  margin: -1px -24px 0;
  line-height: 0;
}

.ba-title-image img {
  display: block;
  width: 100%;
  height: auto;
}

.cta-apply-block {
  margin: 0 -24px;
  background-image: url('../img/teikyou_03.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 8px 24px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-apply-block__button {
  display: block;
  width: min(82%, 380px);
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.cta-apply-block__button img {
  display: block;
  width: 100%;
  height: auto;
}

.cta-apply-block__button:hover {
  opacity: 0.88;
}

.ba-bottom-image {
  margin: -24px -24px 0;
  line-height: 0;
}

.ba-bottom-image img {
  display: block;
  width: 100%;
  height: auto;
}

.highlight-body-range p:last-child {
  margin-bottom: 0;
}

.highlight-body-range {
  padding-bottom: 0;
  margin-bottom: 0;
}

.ba-section-bg {
  margin: -1px -24px 24px;
  padding: 1.5em 24px 0;
  background: #ffffff url("../img/ba02.png") repeat;
  background-size: contain;
}

.cta-hero-block {
  margin: 0;
  margin-left: -24px;
  margin-right: -24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.cta-hero-block .design-group-block__label {
  display: none;
}

.cta-block--hero {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.cta-hero-block__bg {
  display: block;
  width: 100%;
  height: auto;
}

.cta-hero-block__button {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: block;
  width: calc(100% - 80px);
  line-height: 0;
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.cta-hero-block__button img {
  display: block;
  width: 100%;
  height: auto;
}

.cta-hero-block__button:hover {
  opacity: 0.88;
}

.cta2-image-block {
  margin-top: 0;
  margin-left: -24px;
  margin-right: -24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.cta2-image-block .design-group-block__label {
  display: none;
}

.cta2-image {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.cta2-image__bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta2-image__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 22px 24px;
}

.cta2-image__top,
.cta2-image__bottom {
  display: block;
  width: 100%;
  height: auto;
}

.cta2-image__middle {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 32px 18px;
  box-sizing: border-box;
}

.cta2-image__middle-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.cta2-image__title {
  position: relative;
  z-index: 2;
  margin: 6px 0 12px;
  width: min(90%, 420px);
  height: auto;
}

.cta2-image__copy-image-wrap {
  display: none;
}

.cta2-image__copy-image {
  display: none;
}

.cta2-image__copy {
  position: relative;
  z-index: 2;
  width: 100%;
  color: #2f3138;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}

.cta2-image__copy p {
  margin: 0 0 10px;
}

.cta2-image__copy p:last-child {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.7;
}

.cta2-image__bonus-text {
  color: #a9335b;
  font-weight: 700;
}

.cta2-image__button {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 2;
  display: block;
  width: min(85%, 392px);
  margin: 0;
  line-height: 0;
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.cta2-image__button img {
  display: block;
  width: 100%;
  height: auto;
}

.cta2-image__button:hover {
  opacity: 0.88;
}

.cta3-design-block {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.cta3-design-block > .design-group-block__label {
  display: none;
}

.cta3-image {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.cta3-image__bg {
  display: block;
  width: 100%;
  height: auto;
}

.cta3-image__button {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: block;
  width: min(82%, 380px);
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.cta3-image__button img {
  display: block;
  width: 100%;
  height: auto;
}

.cta3-image__button:hover {
  opacity: 0.88;
}

.simple-program-frame {
  margin: 0;
  margin-left: -24px;
  margin-right: -24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.simple-program-frame > .design-note-block__label {
  display: none;
}

.simple-program-frame__top,
.simple-program-frame__subhead,
.simple-program-frame__bottom {
  margin: 0;
  line-height: 0;
}

.simple-program-frame__subhead {
  margin-left: -20px;
  margin-right: -20px;
}

.simple-program-frame__top img,
.simple-program-frame__subhead img,
.simple-program-frame__bottom img {
  display: block;
  width: 100%;
  height: auto;
}

.simple-program-frame__body {
  background: #ffffff url("../img/simple02.png") repeat-y;
  background-size: 100% auto;
  padding: 0 20px;
}

.simple-program-section {
  padding: 14px 12px 6px;
}

.simple-program-section p:first-of-type {
  margin-top: 0;
}

.simple-program-icons {
  margin: 16px 0 8px;
}

.simple-program-icons img {
  display: block;
  width: 100%;
  height: auto;
}

.simple-program-illust {
  float: right;
  margin: 0 0 12px 14px;
  text-align: right;
}

.simple-program-illust img {
  width: 38vw;
  max-width: 160px;
  height: auto;
}

.simple-program-section--grammar::after,
.simple-program-section--support::after {
  content: "";
  display: block;
  clear: both;
}

.simple-program-illust--grammar {
  margin-top: -60px;
}

.simple-program-illust--grammar img {
  width: 38vw;
  max-width: 160px;
}

.simple-program-illust--support {
  margin-top: 0;
}

.simple-program-section--support ul {
  margin-top: 10px;
}

.simple-program-section--support li {
  font-size: 17px;
}

.nowrap {
  white-space: normal;
}

.phrase-chip {
  display: inline-block;
  margin: 6px 0 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #f2f2f2;
}

p.phrase-chip {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.phrase-chip--white {
  background: #ffffff;
}

.simple-program-section--support ul {
  display: block;
  gap: 0;
  padding-left: 0;
}

.simple-program-section--support li.phrase-chip {
  display: block;
  width: fit-content;
  max-width: 100%;
  list-style: none;
  margin: 6px 0 8px;
  padding: 10px 14px;
  border: 0;
  border-radius: 14px;
  background: #f2f2f2;
  box-shadow: none;
  font-weight: 400;
  position: relative;
}

.simple-program-section--support li.phrase-chip::before {
  content: none;
}

.room-program-frame {
  margin: 0;
  margin-left: -24px;
  margin-right: -24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.room-program-frame__top,
.room-program-frame__bottom,
.room-section__head {
  margin: 0;
  line-height: 0;
}

.room-program-frame__top img,
.room-program-frame__bottom img,
.room-section__head img {
  display: block;
  width: 100%;
  height: auto;
}

.room-program-frame__body {
  background: #ffffff url("../img/room02.png") repeat-y;
  background-size: 100% auto;
}

.room-section {
  margin: 0;
  padding: 0;
}

.room-section__body {
  background: #ffffff url("../img/room04.png") repeat-y;
  background-size: 100% auto;
  padding: 4px 60px 28px;
}

.room-section__body p:first-child {
  margin-top: 0;
}

.room-section__body p:last-child {
  margin-bottom: 0;
}

.room-section__body ul {
  margin: 0 0 24px;
  padding-left: 1.25em;
}

.room-section__body li {
  position: static;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 400;
}

.room-section__body li + li {
  margin-top: 8px;
}

.room-section__body li::before {
  content: none;
}

.room-section--ryan .room-section__body h3 {
  margin: 28px 0 12px;
  color: #507be9;
  font-size: 23px;
  line-height: 1.55;
}

.room-section--ryan .room-section__body {
  padding: 4px 56px 8px;
  background-image: url("../img/room09-2.png");
  background-repeat: repeat-y;
  background-size: 100% auto;
}

@media (max-width: 768px) {
  .room-program-frame {
    margin-left: -15px;
    margin-right: -15px;
  }

  .room-section__body {
    padding: 4px 34px 24px;
  }


  .room-section--ryan .room-section__body {
    padding: 4px 38px 4px;
  }

  .room-section--ryan .room-section__body h3 {
    font-size: 19px;
  }
}

@media (max-width: 768px) {
  .simple-program-frame {
    margin-left: -15px;
    margin-right: -15px;
  }

  .simple-program-frame__body {
    padding: 0 15px;
  }

  .simple-program-frame__subhead {
    margin-left: -15px;
    margin-right: -15px;
  }
}

.cta2-image__panel {
  position: relative;
  width: 100%;
  margin-top: 28px;
}

.cta2-image__panel-bg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .cta-hero-block__button {
    bottom: 2px;
    width: calc(100% - 54px);
  }
}

@media (max-width: 768px) {
  .cta-hero-block {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: -15px;
    margin-right: -15px;
  }
}

@media (max-width: 768px) {
  .cta2-image-block {
    margin-left: -15px;
    margin-right: -15px;
  }

  .cta2-image__inner {
    padding: 10px 12px;
  }

  .cta2-image__title {
    width: 93%;
    margin: 4px 0 10px;
  }

  .cta2-image__button {
    width: 88%;
    bottom: 6px;
  }

  .cta2-image__copy {
    width: 100%;
    font-size: 13px;
    line-height: 1.7;
  }

  .cta2-image__copy p {
    margin-bottom: 8px;
  }

  .cta2-image__copy p:last-child {
    font-size: 12px;
  }

  .cta2-image__panel {
    margin-top: 6px;
  }
}

@media (max-width: 768px) {
  .ba-title-image {
    margin-left: -15px;
    margin-right: -15px;
  }

  .ba-section-bg {
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .ba-bottom-image {
    margin-left: -15px;
    margin-right: -15px;
  }
}


.step-image-frame__top,
.step-image-frame__bottom {
  margin: 0;
  line-height: 0;
}

.step-image-frame__top img,
.step-image-frame__bottom img {
  display: block;
  width: 100%;
  height: auto;
}

#case.step-image-frame .step-image-frame__body p:first-of-type {
  margin-top: 0;
}

.step-image-frame .step-image-frame__body p:first-of-type {
  margin-top: 0;
}

.step-image-frame__body {
  background: #f8fbff url("../img/step02.png") repeat;
  background-size: contain;
  padding: 10px 20px 0px 20px;
  margin-top: -1px;
}

/* SWELL目次風ボックス（Ryan先生メッセージなど） */
.ryan-message-box {
  position: relative;
  --border-color-1: #f8f8f8; /* ストライプ背景の色 */
  --border-color-2: #ddd;    /* 上下枠線の色 */
  margin: 2em auto;
  padding: 2em;
  background: linear-gradient(
    -45deg,
    transparent 25%,
    var(--border-color-1) 25%,
    var(--border-color-1) 50%,
    transparent 50%,
    transparent 75%,
    var(--border-color-1) 75%,
    var(--border-color-1)
  );
  background-size: 4px 4px;
  border-top: 4px double var(--border-color-2);
  border-bottom: 4px double var(--border-color-2);
  background-clip: padding-box;
  max-width: 800px;
  border-radius: 0;
}

.ryan-message-box p {
  margin: 0;
}

.ryan-message-box p:first-child {
  padding-bottom: 0.7em;
  margin-bottom: 0.9em;
  border-bottom: 1px dotted #999;
}



.design-advice-card,
.grammar-day-card {
  margin: 24px 0;
  padding: 22px 18px;
  border: 0;
  border-radius: 8px;
  background: #edf7ff;
  box-shadow: inset 0 0 0 2px #c9ddff;
}

.design-advice-card .design-note-block__label,
.grammar-day-card .design-note-block__label {
  display: none;
}

.design-advice-card .heading-box {
  margin: 0 0 18px;
}

.design-advice-card p {
  margin: 0 0 14px;
}

.design-advice-card p strong,
.grammar-day-card p strong {
  color: #507be9;
}

.grammar-day-card {
  background: #f7fbff;
}

.grammar-day-card__head {
  margin: 0 0 14px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid #c9ddff;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.grammar-day-card__head h2,
.grammar-day-card__head h3 {
  margin: 0;
  color: #507be9;
  line-height: 1.45;
}

.grammar-day-card__head h2 {
  font-size: clamp(19px, 5vw, 24px);
  font-weight: 900;
}

.grammar-day-card__head h3 {
  margin-top: 4px;
  color: #507be9;
  font-size: clamp(15px, 4vw, 18px);
  font-weight: 700;
}

.grammar-day-card p {
  width: fit-content;
  max-width: 100%;
  margin: 8px 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffffff;
}
.chikara-design-frame {
  margin: 0 -24px 24px;
  background: #e9f5ff;
  overflow: hidden;
}

.chikara-image {
  margin: 0;
  line-height: 0;
}

.chikara-image img {
  display: block;
  width: 100%;
  height: auto;
}

.chikara-panel,
.chikara-day-body {
  margin: 0;
  padding: 18px 54px 22px;
  background: #e9f5ff;
}

.chikara-panel p,
.chikara-day-body p {
  margin: 0 0 14px;
}

.chikara-panel p:last-child,
.chikara-day-body p:last-child {
  margin-bottom: 0;
}

.chikara-panel strong,
.chikara-day-body strong {
  color: #507be9;
  font-weight: 900;
}

.chikara-pattern-list {
  margin: 8px 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.chikara-pattern-list li {
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #507be9;
  font-weight: 700;
  box-shadow: none;
}

.chikara-pattern-list li::before {
  content: none;
}

.chikara-day-body {
  margin: 0;
  padding: 0 20% 20px;
  background-color: #e9f5ff;
  background-image: url("../img/Chikara07.png");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
  border: 0;
}

.chikara-day-body p {
  padding: 10px 0 8px;
}

@media (max-width: 768px) {
  .chikara-design-frame {
    margin-left: -15px;
    margin-right: -15px;
  }

  .chikara-panel,
  .chikara-day-body {
    padding-left: 28px;
    padding-right: 28px;
  }

  .chikara-day-body {
    margin-left: 0;
    margin-right: 0;
    padding: 0 18% 14px;
  }
}
.chikara-advice-body {
  margin: 0;
  padding: 10px 6.5% 18px;
  background-color: #e9f5ff;
  background-image: url("../img/Chikara02.png");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
}

@media (max-width: 768px) {
  .chikara-advice-body {
    padding: 8px 7% 14px;
  }
}
.chikara-grammar-body {
  margin: 0;
  padding: 10px calc(6.5% + 10px) 18px;
  background-color: #e9f5ff;
  background-image: url("../img/Chikara04.png");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
}

@media (max-width: 768px) {
  .chikara-grammar-body {
    padding: 8px calc(7% + 10px) 14px;
  }
}

.chikara2-design-frame {
  margin: -24px -24px 0;
  overflow: hidden;
}

.chikara2-image {
  margin: 0;
  line-height: 0;
}

.chikara2-image img {
  display: block;
  width: 100%;
  height: auto;
}

.chikara2-panel {
  margin: 0;
  padding: 10px 20% 18px;
}

.chikara2-panel p {
  margin: 0 0 14px;
}

.chikara2-panel p:last-child {
  margin-bottom: 0;
}

.chikara2-month1-body {
  background-color: #e9f5ff;
  background-image: url("../img/chikara2-04.png");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
}

.chikara2-month2-body {
  background-color: #e9f5ff;
  background-image: url("../img/chikara2-05-2.png");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
}

.chikara2-month3-body {
  background-color: #e9f5ff;
  background-image: url("../img/chikara2-07.png");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
}

@media (max-width: 768px) {
  .chikara2-design-frame {
    margin-left: -15px;
    margin-right: -15px;
  }

  .chikara2-panel {
    padding: 8px 18% 14px;
  }
}
.chikara2-pattern-list {
  margin: 6px 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.chikara2-pattern-list li.phrase-chip {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 10px 14px;
  list-style: none;
  background: #f2f2f2;
  border: 0;
  box-shadow: none;
  color: inherit;
}

.chikara2-pattern-list li.phrase-chip.phrase-chip--white {
  background: #ffffff;
  color: #507be9;
}

.chikara2-pattern-list li.phrase-chip.phrase-chip--blue {
  background: #507be9;
  color: #ffffff;
}

.chikara2-pattern-list li.phrase-chip::before {
  content: none;
}
.chikara-day-body p.phrase-chip {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 10px 14px;
  background: #f2f2f2;
  border: 0;
  box-shadow: none;
}

.chikara-day-body p.phrase-chip:last-child {
  margin-bottom: 0;
}
.heading-box--gradient-test h1,
.heading-box--gradient-test h2,
.heading-box--gradient-test h3,
.heading-box--gradient-test h4 {
  display: block !important;
  margin: 0 !important;
  text-align: left !important;
  text-wrap: wrap !important;
}

.heading-box--gradient-test {
  text-align: left !important;
}
.heading-box--gradient-test.heading-box--single-line {
  padding-top: 25px;
  padding-bottom: 25px;
}
.ps-download-frame {
  margin: 28px 0;
  padding: 34px 28px 30px;
  background: #F7F7F7;
  border: 4px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 8px rgba(25, 152, 208, 0.16);
}

.ps-download-frame > p {
  margin-bottom: 14px;
}

.ps-download-frame > p:last-child {
  margin-bottom: 0;
}

.ps-label {
  font-size: 22px;
}

.heading-box--gradient-test h1:not(.subhead-accent):not(.gradient-subhead),
.heading-box--gradient-test h2:not(.subhead-accent):not(.gradient-subhead),
.heading-box--gradient-test h3:not(.subhead-accent):not(.gradient-subhead),
.heading-box--gradient-test h4:not(.subhead-accent):not(.gradient-subhead),
.heading-box--gradient-test h1.gradient-subhead {
  font-size: 25px !important;
  font-weight: 700 !important;
}

.heading-box--gradient-test .subhead-accent,
.heading-box--gradient-test h2.gradient-subhead,
.heading-box--gradient-test h3.gradient-subhead,
.heading-box--gradient-test h4.gradient-subhead {
  font-size: 29px !important;
  font-weight: 700 !important;
}

@media (max-width: 640px) {
  .heading-box--gradient-test h1:not(.subhead-accent):not(.gradient-subhead),
  .heading-box--gradient-test h2:not(.subhead-accent):not(.gradient-subhead),
  .heading-box--gradient-test h3:not(.subhead-accent):not(.gradient-subhead),
  .heading-box--gradient-test h4:not(.subhead-accent):not(.gradient-subhead),
  .heading-box--gradient-test h1.gradient-subhead {
    font-size: 19px !important;
  }

  .heading-box--gradient-test .subhead-accent,
  .heading-box--gradient-test h2.gradient-subhead,
  .heading-box--gradient-test h3.gradient-subhead,
  .heading-box--gradient-test h4.gradient-subhead {
    font-size: 25px !important;
  }
}

.scaling {
  display: block;
  width: 100%;
  height: auto;
}

.faq-item__badge-letter {
  color: #507be9;
}

.faq-item__icon path {
  stroke: #232F62;
}

.faq-item__answer li::before {
  background: #232F62;
  border: 2px solid #232F62;
}

.faq-section__lead {
  color: #ffffff;
}

.ryan-message-box__title {
  display: inline-block;
  font-size: 20px;
  line-height: 1.45;
  padding-left: 12px;
  border-left: 4px solid #507be9;
}

.ryan-quote,
.ryan-quote strong {
  color: #27292b !important;
}

.ryan-quote {
  background-color: #ffffff;
  padding: 1.2em 1.4em !important;
  border-radius: 6px;
  line-height: 1.5 !important;
  font-size: 24px !important;
  margin-top: 1.5em !important;
  margin-bottom: 1.5em !important;
  font-family: 'Caveat', cursive !important;
}

.ryan-quote strong {
  font-weight: 500 !important;
}

.ryan-quote__sign {
  display: block;
  text-align: right;
  margin-top: 0.4em;
}

/* Corner ribbon (ribbon17) */
.ribbon17-content {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 89px;
  height: 91px;
  overflow: hidden;
}

.ribbon17 {
  display: inline-block;
  position: absolute;
  padding: 6px 0;
  left: -23px;
  top: 22px;
  width: 160px;
  text-align: center;
  font-size: 13px;
  line-height: 14px;
  background: #ffa520;
  color: #fff;
  letter-spacing: 0.05em;
  transform: rotate(45deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ribbon17::before,
.ribbon17::after {
  position: absolute;
  content: "";
  border-top: 4px solid #b2751b;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  bottom: -4px;
}

.ribbon17::before {
  left: 14px;
}

.ribbon17::after {
  right: 18px;
}

.heading-box--gradient-test.heading-box--single-line h1,
.heading-box--gradient-test.heading-box--single-line h2,
.heading-box--gradient-test.heading-box--single-line h3,
.heading-box--gradient-test.heading-box--single-line h4 {
  background: linear-gradient(90deg, #537de9 0%, #2756c1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.support-cause-copy {
  margin: 0 0 24px;
  line-height: 1.6;
}

.support-cause-copy__first {
  white-space: normal;
}



.price-note {
  font-size: 13px;
  line-height: 1.8;
  color: #507be9;
}

.list-blue-bullet li::before {
  border-color: #507be9;
}

.list-marker-only {
  list-style: none;
  padding-left: 0;
}

.list-marker-only li {
  position: relative;
  padding: 15px 18px 15px 48px;
  border: none;
  box-shadow: none;
  background: #fff;
  border-radius: 16px;
  color: #27292b;
}

.list-marker-only li::before {
  content: '\2713';
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 2.5px solid #507be9;
  border-radius: 3px;
  color: #507be9;
  font-size: 13px;
  line-height: 15px;
  transform: translateY(-50%);
  text-align: center;
  font-weight: 900;
  box-sizing: border-box;
}

.list-blue-text li {
  color: #507be9;
}

.list-blue-text li::before {
  border-color: #507be9;
}


.highlight-body-range--flush-top {
  padding-top: 0;
}

/* Folded-corner ribbon list */
.target-list-blue {
  list-style: none;
  padding: 0;
  margin: 28px 8px;
  display: block;
  gap: 0;
}

.target-list-blue li {
  position: relative;
  background: #537de9;
  box-shadow: 0 0 0 5px #537de9;
  border: dashed 2px #2756c1;
  padding: 0.7em 1em 0.7em 3.4em;
  margin: 18px 5px;
  color: #ffffff;
  border-radius: 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
}

.target-list-blue .target-yellow {
  color: #ffe88a;
}

.check-icon {
  color: #507be9;
  margin-right: 8px;
  font-size: 1.1em;
  vertical-align: middle;
}

.nayami-image {
  margin: 20px 0;
}

.nayami-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* White-background image card */
.image-card-white {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  margin: 24px 0;
  text-align: left;
}

.image-card-white img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 20px;
}

.image-card-white p {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.85;
  color: #27292b;
}

.image-card-white p:last-child {
  margin-bottom: 0;
}

.image-card-white__lead {
  text-align: center !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  margin-bottom: 18px !important;
  padding-bottom: 16px;
  border-bottom: 2px dotted #b9c3d4;
  color: #232f62;
}

.image-card-white__lead-icon {
  color: #f5b400;
  margin-right: 10px;
}

/* Blue variant of list-marker-only */
.list-marker-only--blue li {
  background: #537de9 !important;
  color: #ffffff !important;
  padding: 15px 18px !important;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 18px;
  line-height: 1.7;
}

.list-marker-only--blue li::before {
  content: none !important;
}

.list-marker-only--blue li .check-icon {
  color: #ffffff;
  margin-right: 0;
  flex-shrink: 0;
  line-height: 1.6;
}

.target-list-blue li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #ffe88a;
  font-size: 22px;
  line-height: 1;
  text-align: left;
}

.target-list-blue li::after {
  position: absolute;
  content: '';
  left: -7px;
  top: -7px;
  width: 0;
  height: 0;
  border-width: 0 0 15px 15px;
  border-style: solid;
  border-color: #F1F7FE #F1F7FE #2756c1;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}



.ba-title-image--pure + .highlight-body-range {
  margin-top: -1px;
}



.ba-title-image--pure + .highlight-body-range > .heading-box--gradient-test:first-child,
#about .ba-title-image--pure + .highlight-body-range > .heading-box--gradient-test:first-child {
  margin-top: 0 !important;
}

.ba-title-image--pure + .highlight-body-range {
  margin-top: -1px;
  padding-top: 0;
}



/* marker highlight */
.marker-yellow {
  background: linear-gradient(transparent 58%, #ffe88a 58%);
  font-weight: 700;
}






/* reason lead: wrap text + top/bottom lines in one gradient block */
.heading-box--gradient-test.heading-box--reason-lead {
  margin: 18px 0 22px;
  padding: 18px 16px;
  background: linear-gradient(90deg, #537de9 0%, #2756c1 100%);
  border-radius: 6px;
}

.heading-box--gradient-test.heading-box--reason-lead::before,
.heading-box--gradient-test.heading-box--reason-lead::after {
  left: 16px;
  right: 16px;
  background: rgba(255,255,255,0.92);
}

.


/* reason lead tweak: restore gradient lines + 10px spacing */
.heading-box--gradient-test.heading-box--reason-lead {
  padding: 36px 16px;
}

.heading-box--gradient-test.heading-box--reason-lead::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.5) 52%, rgba(255, 255, 255, 0) 100%);
}

.heading-box--gradient-test.heading-box--reason-lead::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 48%, rgba(255, 255, 255, 0.95) 100%);
}



/* reason lead: extend frame outside column */
.heading-box--gradient-test.heading-box--reason-lead {
  margin-left: -15px;
  margin-right: -15px;
  padding-left: 20px;
  padding-right: 20px;
}


/* reason lead: align exactly to outer light-blue frame */
.heading-box--gradient-test.heading-box--reason-lead {
  margin-left: -24px;
  margin-right: -24px;
  padding-left: 24px;
  padding-right: 24px;
}


/* reason lead: keep gradient lines inside with vertical breathing room */
.heading-box--gradient-test.heading-box--reason-lead {
  padding-top: 22px;
  padding-bottom: 22px;
}

.heading-box--gradient-test.heading-box--reason-lead::before {
  top: 12px;
}

.heading-box--gradient-test.heading-box--reason-lead::after {
  bottom: 12px;
}





/* reason lead: remove top/bottom lines */
.heading-box--gradient-test.heading-box--reason-lead::before,
.heading-box--gradient-test.heading-box--reason-lead::after {
  display: none;
}




/* reason lead: text color to light blue */
.heading-box--reason-lead .gradient-subhead {
  color: #F1F7FE !important;
  -webkit-text-fill-color: #F1F7FE !important;
  background: none !important;
}



/* reason lead: Source Han Sans */
.heading-box--reason-lead .gradient-subhead {
  font-family: 'Source Han Sans JP', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif !important;
}


/* reason lead: gradient lines outside top/bottom */
.heading-box--gradient-test.heading-box--reason-lead {
  position: relative;
}

.heading-box--gradient-test.heading-box--reason-lead::before,
.heading-box--gradient-test.heading-box--reason-lead::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  display: block;
  background: linear-gradient(90deg, #537de9 0%, #2756c1 100%);
}

.heading-box--gradient-test.heading-box--reason-lead::before {
  top: -6px;
}

.heading-box--gradient-test.heading-box--reason-lead::after {
  bottom: -6px;
}



/* reason lead first line color */
.heading-box--reason-lead h1.gradient-subhead {
  color: #fff153 !important;
  -webkit-text-fill-color: #fff153 !important;
}


/* reason lead first line size -1pt */
.heading-box--reason-lead h1.gradient-subhead {
  font-size: calc(1em - 1pt) !important;
}


/* reason lead first line fixed size */
.heading-box--reason-lead h1.gradient-subhead {
  font-size: 25px !important;
}

@media (max-width: 640px) {
  .heading-box--reason-lead h1.gradient-subhead {
    font-size: 19px !important;
  }
}


/* mobile weight compensation */
@media (max-width: 640px) {
  .heading-box--reason-lead h1.gradient-subhead,
  .heading-box--reason-lead h3.gradient-subhead {
    font-weight: 700 !important;
  }
}


/* local webfont for consistent mobile rendering */
@font-face {
  font-family: 'LINE Seed JP';
  src: url('../fonts/LINESeedJP_OTF_Rg.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LINE Seed JP';
  src: url('../fonts/LINESeedJP_OTF_0.otf') format('opentype');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

.heading-box--reason-lead .gradient-subhead {
  font-family: 'LINE Seed JP', 'Source Han Sans JP', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif !important;
}


/* Source Han Sans JP webfont */
@font-face {
  font-family: 'Source Han Sans JP Web';
  src: url('https://cdn.jsdelivr.net/gh/adobe-fonts/source-han-sans@release/SubsetOTF/Japanese/SourceHanSansJP-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Han Sans JP Web';
  src: url('https://cdn.jsdelivr.net/gh/adobe-fonts/source-han-sans@release/SubsetOTF/Japanese/SourceHanSansJP-Bold.otf') format('opentype');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

.heading-box--reason-lead .gradient-subhead {
  font-family: 'Source Han Sans JP Web', 'Source Han Sans JP', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif !important;
}


/* reason lead final typography lock */
.heading-box--reason-lead h1.gradient-subhead,
.heading-box--reason-lead h3.gradient-subhead {
  font-family: 'Source Han Sans JP Web', 'Source Han Sans JP', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif !important;
  font-weight: 700 !important;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 640px) {
  .heading-box--reason-lead h1.gradient-subhead,
  .heading-box--reason-lead h3.gradient-subhead {
    font-weight: 700 !important;
    letter-spacing: 0.01em;
  }
}


/* Source Han Sans JP woff2 first for iPhone stability */
@font-face {
  font-family: 'Source Han Sans JP Web';
  src: url('https://fonts.gstatic.com/ea/notosansjp/v6/NotoSansJP-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Han Sans JP Web';
  src: url('https://fonts.gstatic.com/ea/notosansjp/v6/NotoSansJP-Bold.woff2') format('woff2');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}


/* reason lead outer lines: fade restore */
.heading-box--gradient-test.heading-box--reason-lead::before {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 22%, rgba(255,255,255,0.95) 78%, rgba(255,255,255,0) 100%) !important;
}

.heading-box--gradient-test.heading-box--reason-lead::after {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 22%, rgba(255,255,255,0.95) 78%, rgba(255,255,255,0) 100%) !important;
}


/* reason lead lines: re-enable + fade */
.heading-box--gradient-test.heading-box--reason-lead::before,
.heading-box--gradient-test.heading-box--reason-lead::after {
  display: block !important;
  content: '' !important;
  height: 2px !important;
}

.heading-box--gradient-test.heading-box--reason-lead::before {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 22%, rgba(255,255,255,0.95) 78%, rgba(255,255,255,0) 100%) !important;
}

.heading-box--gradient-test.heading-box--reason-lead::after {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 22%, rgba(255,255,255,0.95) 78%, rgba(255,255,255,0) 100%) !important;
}


/* reason lead lines: gradient center with transparent sides */
.heading-box--gradient-test.heading-box--reason-lead::before,
.heading-box--gradient-test.heading-box--reason-lead::after {
  display: block !important;
  content: '' !important;
  height: 2px !important;
  background: linear-gradient(90deg, rgba(64,115,239,0) 0%, rgba(92,88,220,0.95) 50%, rgba(119,61,201,0) 100%) !important;
}


/* reason lead lines: top fades right, bottom fades left */
.heading-box--gradient-test.heading-box--reason-lead::before {
  background: linear-gradient(90deg, rgba(64,115,239,0.95) 0%, rgba(92,88,220,0.7) 58%, rgba(119,61,201,0) 100%) !important;
}

.heading-box--gradient-test.heading-box--reason-lead::after {
  background: linear-gradient(90deg, rgba(64,115,239,0) 0%, rgba(92,88,220,0.7) 42%, rgba(119,61,201,0.95) 100%) !important;
}



/* reason lead: Zen Old Mincho */
.heading-box--reason-lead h1.gradient-subhead,
.heading-box--reason-lead h3.gradient-subhead,
.heading-box--reason-lead .gradient-subhead {
  font-family: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'ヒラギノ明朝 ProN', 'Yu Mincho', 'YuMincho', 'MS Mincho', serif !important;
}








/* global subhead unified style */
.heading-box--gradient-test {
  margin-left: -24px;
  margin-right: -24px;
  padding: 22px 24px;
  background: linear-gradient(90deg, #537de9 0%, #2756c1 100%);
  border-radius: 6px;
  position: relative;
}

.heading-box--gradient-test::before,
.heading-box--gradient-test::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  display: block;
}

.heading-box--gradient-test::before {
  top: -6px;
  background: linear-gradient(90deg, rgba(64,115,239,0.95) 0%, rgba(92,88,220,0.7) 58%, rgba(119,61,201,0) 100%);
}

.heading-box--gradient-test::after {
  bottom: -6px;
  background: linear-gradient(90deg, rgba(64,115,239,0) 0%, rgba(92,88,220,0.7) 42%, rgba(119,61,201,0.95) 100%);
}

.heading-box--gradient-test h1,
.heading-box--gradient-test h2,
.heading-box--gradient-test h3,
.heading-box--gradient-test h4,
.heading-box--gradient-test .subhead-accent,
.heading-box--gradient-test .gradient-subhead {
  color: #F1F7FE !important;
  -webkit-text-fill-color: #F1F7FE !important;
  background: none !important;
  font-family: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'ヒラギノ明朝 ProN', 'Yu Mincho', 'YuMincho', 'MS Mincho', serif !important;
  font-weight: 700 !important;
}

.heading-box--gradient-test h1:first-child {
  color: #fff153 !important;
  -webkit-text-fill-color: #fff153 !important;
  font-size: 25px !important;
}

@media (max-width: 640px) {
  .heading-box--gradient-test {
    margin-left: -15px;
    margin-right: -15px;
    padding: 18px 15px;
  }
  .heading-box--gradient-test h1:first-child {
    font-size: 19px !important;
  }
}


/* keep accent lines yellow */
.heading-box--gradient-test .subhead-accent {
  color: #fff153 !important;
  -webkit-text-fill-color: #fff153 !important;
}


/* unify yellow size for 3-month section */
.heading-box--gradient-test .subhead-accent {
  font-size: 25px !important;
}

@media (max-width: 640px) {
  .heading-box--gradient-test .subhead-accent {
    font-size: 19px !important;
  }
}



/* keep first line in one row */
.heading-box--reason-lead h1.gradient-subhead {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .heading-box--reason-lead h1.gradient-subhead {
    white-space: normal;
  }
}


/* reason lead: tighten right padding to keep first line */
.heading-box--gradient-test.heading-box--reason-lead {
  padding-right: 10px !important;
}


/* reason lead: equal horizontal padding */
.heading-box--gradient-test.heading-box--reason-lead {
  padding-left: 18px !important;
  padding-right: 16px !important;
}







/* blue emphasis */
.blue-em {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #507be9;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}



/* method yellow line: match global yellow sizing */
#method .subhead-accent {
  font-size: 25px !important;
}

@media (max-width: 640px) {
  #method .subhead-accent {
    font-size: 19px !important;
  }
}


/* unify white subhead size to reason-lead white line */
.heading-box--gradient-test .gradient-subhead:not(.subhead-accent),
.heading-box--gradient-test h1:not(.subhead-accent),
.heading-box--gradient-test h2:not(.subhead-accent),
.heading-box--gradient-test h3:not(.subhead-accent),
.heading-box--gradient-test h4:not(.subhead-accent) {
  font-size: 29px !important;
}

@media (max-width: 640px) {
  .heading-box--gradient-test .gradient-subhead:not(.subhead-accent),
  .heading-box--gradient-test h1:not(.subhead-accent),
  .heading-box--gradient-test h2:not(.subhead-accent),
  .heading-box--gradient-test h3:not(.subhead-accent),
  .heading-box--gradient-test h4:not(.subhead-accent) {
    font-size: 25px !important;
  }
}


/* global color-based subhead size rule */
.heading-box--gradient-test h1.subhead-accent,
.heading-box--gradient-test h2.subhead-accent,
.heading-box--gradient-test h3.subhead-accent,
.heading-box--gradient-test h4.subhead-accent,
.heading-box--gradient-test .subhead-accent {
  font-size: 25px !important;
}

.heading-box--gradient-test h1:not(.subhead-accent),
.heading-box--gradient-test h2:not(.subhead-accent),
.heading-box--gradient-test h3:not(.subhead-accent),
.heading-box--gradient-test h4:not(.subhead-accent),
.heading-box--gradient-test .gradient-subhead:not(.subhead-accent) {
  font-size: 29px !important;
}

@media (max-width: 640px) {
  .heading-box--gradient-test h1.subhead-accent,
  .heading-box--gradient-test h2.subhead-accent,
  .heading-box--gradient-test h3.subhead-accent,
  .heading-box--gradient-test h4.subhead-accent,
  .heading-box--gradient-test .subhead-accent {
    font-size: 19px !important;
  }
  .heading-box--gradient-test h1:not(.subhead-accent),
  .heading-box--gradient-test h2:not(.subhead-accent),
  .heading-box--gradient-test h3:not(.subhead-accent),
  .heading-box--gradient-test h4:not(.subhead-accent),
  .heading-box--gradient-test .gradient-subhead:not(.subhead-accent) {
    font-size: 25px !important;
  }
}


/* fix specific white line size */
.heading-box--gradient-test h3:not(.subhead-accent) {
  font-size: 29px !important;
}

@media (max-width: 640px) {
  .heading-box--gradient-test h3:not(.subhead-accent) {
    font-size: 25px !important;
  }
}


/* proof lead: force middle two lines to white rule */
.heading-box--proof-lead h3:not(.subhead-accent) {
  color: #F1F7FE !important;
  -webkit-text-fill-color: #F1F7FE !important;
  background: none !important;
  font-size: 29px !important;
}

@media (max-width: 640px) {
  .heading-box--proof-lead h3:not(.subhead-accent) {
    font-size: 25px !important;
  }
}


/* subhead gradient: disable rounded corners globally */
.heading-box--gradient-test {
  border-radius: 0 !important;
}

/* final subhead unification: inline (no line breaks), uniform size, white, bold, Zen Old Mincho */
/* uses #about prefix for highest specificity to override all earlier rules */
#about .heading-box--gradient-test h1,
#about .heading-box--gradient-test h2,
#about .heading-box--gradient-test h3,
#about .heading-box--gradient-test h4,
#about .heading-box--gradient-test .gradient-subhead,
#about .heading-box--gradient-test .subhead-accent,
#about .heading-box--gradient-test h1:first-child,
#about .heading-box--gradient-test h1.gradient-subhead,
#about .heading-box--gradient-test h1.subhead-accent,
#about .heading-box--gradient-test h3.gradient-subhead,
#about .heading-box--gradient-test h3.subhead-accent,
#about .heading-box--gradient-test .gradient-subhead:not(.subhead-accent),
#about .heading-box--gradient-test h1:not(.subhead-accent),
#about .heading-box--gradient-test h2:not(.subhead-accent),
#about .heading-box--gradient-test h3:not(.subhead-accent),
#about .heading-box--gradient-test h4:not(.subhead-accent) {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'ヒラギノ明朝 ProN', 'Yu Mincho', 'YuMincho', 'MS Mincho', serif !important;
  font-size: 27px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  white-space: normal !important;
  text-shadow: none !important;
  text-decoration: underline dotted !important;
  text-decoration-color: rgba(255, 255, 255, 0.35) !important;
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 10px !important;
  text-decoration-skip-ink: none !important;
}

@media (max-width: 640px) {
  #about .heading-box--gradient-test h1,
  #about .heading-box--gradient-test h2,
  #about .heading-box--gradient-test h3,
  #about .heading-box--gradient-test h4,
  #about .heading-box--gradient-test .gradient-subhead,
  #about .heading-box--gradient-test .subhead-accent,
  #about .heading-box--gradient-test h1:first-child,
  #about .heading-box--gradient-test h1.gradient-subhead,
  #about .heading-box--gradient-test h1.subhead-accent,
  #about .heading-box--gradient-test h3.gradient-subhead,
  #about .heading-box--gradient-test h3.subhead-accent,
  #about .heading-box--gradient-test .gradient-subhead:not(.subhead-accent),
  #about .heading-box--gradient-test h1:not(.subhead-accent),
  #about .heading-box--gradient-test h2:not(.subhead-accent),
  #about .heading-box--gradient-test h3:not(.subhead-accent),
  #about .heading-box--gradient-test h4:not(.subhead-accent) {
    font-size: 24px !important;
  }
}

/* subhead container: left/right padding 25px, extra bottom padding, vertical margin */
#about .heading-box--gradient-test,
#about .heading-box--gradient-test.heading-box--reason-lead {
  padding-left: 25px !important;
  padding-right: 25px !important;
  padding-bottom: 32px !important;
  margin-top: 36px !important;
  margin-bottom: 32px !important;
}

/* subhead inline yellow highlight */
#about .heading-box--gradient-test .subhead-yellow {
  color: #fff153 !important;
  -webkit-text-fill-color: #fff153 !important;
}

/* check-list (code-idea.com/list-sample-003 — exact copy) */
ul.check-list {
  position: relative;
  background: #fff;
  padding: 2rem 24px;
  border: 4px solid #507be9;
  border-radius: 0 12px 12px 12px;
  margin: 28px 0 24px;
  list-style: none;
  display: block;
  gap: 0;
}

ul.check-list--initial::before {
  content: "当初の英語力" !important;
}

ul.check-list--initial {
  margin-top: 50px;
}

/* Mission section block (Day mission with background) */
.simple-program-section--mission,
.simple-program-section--grammar,
.simple-program-section--support {
  background: #f7f7f7;
  border-radius: 16px;
  padding: 22px 20px;
  margin: 0 12px;
}

/* LINE-style chat balloons (balloon-11) */
.balloon-11 {
  display: grid;
  gap: 1em 0;
  padding: 25px 0;
  background-color: transparent;
  margin: 20px 0;
}

.balloon-11__section {
  display: flex;
  align-items: center;
  gap: 0 15px;
}

.balloon-11__p {
  display: inline-block;
  position: relative;
  max-width: 80%;
  margin: 0;
  padding: .6em 1em;
  border-radius: 20px;
  color: #333;
  font-size: 16px;
  line-height: 1.7;
}

.balloon-11__p.left {
  background-color: #f1f1f1;
}

.balloon-11__p.right {
  background-color: #537de9;
  color: #ffffff;
  margin: 0 10px 0 auto;
}

.balloon-11__p::before {
  position: absolute;
  top: -15px;
  width: 20px;
  height: 30px;
  content: '';
}

.balloon-11__p.left::before {
  left: -10px;
  border-radius: 0 0 0 15px;
  box-shadow: -3px -15px 0 -7px #f7f7f7 inset;
}

.balloon-11__p.right::before {
  right: -10px;
  border-radius: 0 0 15px 0;
  box-shadow: 3px -15px 0 -7px #537de9 inset;
}

/* AI balloon variant 2: white background */
.balloon-11__p.left2 {
  background-color: #ffffff;
  border: 1px solid #e4e4e4;
}

.balloon-11__p.left2::before {
  left: -10px;
  border-radius: 0 0 0 15px;
  box-shadow: -3px -15px 0 -7px #ffffff inset;
}

.balloon-11__p .balloon-jp {
  display: inline-block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.85;
}

.balloon-11__p.right,
.balloon-11__p.right strong,
.balloon-11__p.right .balloon-jp {
  color: #ffffff !important;
}

/* Step flow design (flow07) */
.flow_design07 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0;
}

.flow07 {
  padding-left: 0;
  margin: 0;
  list-style: none;
  display: block;
  gap: 0;
  width: 100%;
}

.flow07 > li {
  list-style-type: none;
  display: flex;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.flow07 > li::before {
  content: none;
}

.flow07 > li:not(:last-child) {
  margin: 0 0 50px;
}

.flow07 > li .icon07 {
  width: 90px;
  box-sizing: border-box;
  padding: 20px 10px 10px;
  font-weight: bold;
  color: #FFF;
  text-align: center;
  background: #537de9;
  border-radius: 5px 5px 0 0;
  position: relative;
  line-height: 125%;
  margin: 0;
  flex-shrink: 0;
}

.flow07 > li .icon07::after {
  content: ' ';
  width: 0;
  height: 0;
  border-left: 45px solid transparent;
  border-right: 45px solid transparent;
  border-top: 20px solid #537de9;
  position: absolute;
  bottom: -20px;
  left: 0;
}

.flow07 > li dl {
  padding: 28px 20px;
  margin: 0 0 0 20px;
  width: calc(100% - 110px);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.flow07 > li dl dt {
  padding: 0 0 8px;
  margin: 0 0 18px;
  font-size: 1.55em;
  font-weight: bold;
  line-height: 1.4;
  border-bottom: 4px solid #CCCCCC;
  position: relative;
}

.flow07 > li dl dt::after {
  content: '';
  width: 20%;
  height: 4px;
  position: absolute;
  bottom: -4px;
  left: 0;
  background-color: #537de9;
}

.flow07 > li dl dd {
  margin: 0;
}

@media (max-width: 640px) {
  .flow07 > li .icon07 {
    width: 44px;
    padding: 14px 0 10px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    writing-mode: initial;
  }
  .flow07 > li .icon07__text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.1em;
    line-height: 1.2;
    font-size: 14px;
    color: #fff;
  }
  .flow07 > li .icon07::after {
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-top: 14px solid #537de9;
    bottom: -14px;
  }
  .flow07 > li dl {
    margin: 0 0 0 12px;
    padding: 14px 14px;
    width: calc(100% - 56px);
  }
}

/* CTA headline */
.cta-headline {
  margin: 28px 0 8px;
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  color: #232f62;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.cta-subline {
  margin: 0 0 14px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #232f62;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .cta-headline {
    font-size: 26px;
  }
  .cta-subline {
    font-size: 16px;
  }
}

/* CTA bounce animation: 2 quick bounces + pause, looping */
@keyframes cta-bounce {
  0%, 14%, 28%, 100% { transform: translateY(0); }
  7% { transform: translateY(-12px); }
  21% { transform: translateY(-12px); }
}

@keyframes cta-bounce-centered {
  0%, 14%, 28%, 100% { transform: translateX(-50%) translateY(0); }
  7% { transform: translateX(-50%) translateY(-12px); }
  21% { transform: translateX(-50%) translateY(-12px); }
}

/* CSS button (pill shape) */
.btn-c {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 4px !important;
  padding: 26px 56px 26px 22px;
  animation: cta-bounce 2.2s ease-in-out infinite;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  color: #ffffff !important;
  border: 1px solid #c70d52;
  border-radius: 999px;
  background: #ec1163;
  background: linear-gradient(0deg, #d40a4f 50%, #ec1163 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6), 0 5px 10px rgba(0, 0, 0, .15);
  line-height: 1.3 !important;
  box-sizing: border-box;
}

.btn-c:hover {
  opacity: 1 !important;
}

/* For absolute-positioned CTAs, preserve translateX(-50%) during bounce */
.cta2-image__button.btn-c,
.cta3-image__button.btn-c {
  animation: cta-bounce-centered 2.2s ease-in-out infinite;
}

.btn-c__text {
  display: inline-block;
}

/* Show desktop label by default, swap to mobile label on smartphone */
.btn-c__text--mobile {
  display: none;
}

@media (max-width: 640px) {
  .btn-c {
    font-size: 17px !important;
  }
  .btn-c__text--desktop {
    display: none;
  }
  .btn-c__text--mobile {
    display: inline-block;
  }
}

.btn-c__arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: #ffffff;
}

/* Payment variants — green / orange / blue */
.btn-c--cash {
  border-color: #1d8a52 !important;
  background: #22c55e !important;
  background: linear-gradient(0deg, #1d8a52 50%, #34d172 100%) !important;
}

.btn-c--orange {
  border-color: #d97706 !important;
  background: #f59e0b !important;
  background: linear-gradient(0deg, #ea8a08 50%, #fbbf24 100%) !important;
}

.btn-c--blue {
  border-color: #1e7dd1 !important;
  background: #3b9eff !important;
  background: linear-gradient(0deg, #1e7dd1 50%, #5ab2ff 100%) !important;
}

/* Disable bounce animation on payment buttons */
.btn-c--no-anim {
  animation: none !important;
}

/* Stack apply buttons vertically with spacing */
.cta-apply-block {
  flex-direction: column;
  gap: 12px;
}

.cta-apply-block__heading {
  margin: 0 0 4px;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
  color: #232f62;
  letter-spacing: 0.04em;
}

ul.check-list::before {
  content: "3つのポイント";
  position: absolute;
  background: #507be9;
  padding: .5rem 1rem;
  top: -32px;
  left: -4px;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: .08rem;
  line-height: 1;
  box-sizing: content-box;
  border-radius: 12px 12px 0 0;
}

ul.check-list li {
  position: relative;
  padding: 0 0 0 1.6rem;
  margin: 1rem 0 0 0;
  color: #3c3c3c;
  font-size: 18px;
  line-height: 1.7;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-weight: normal;
}

ul.check-list li:first-child {
  margin-top: 0;
}

ul.check-list li::before {
  content: "";
  position: absolute;
  background: linear-gradient(-45deg, #fba853, #ff80a3);
  display: block;
  width: 24px;
  height: 16px;
  left: -5px;
  top: 2px;
  transform: rotate(-45deg);
  border: 0;
  border-radius: 0;
}

ul.check-list li::after {
  content: "";
  position: absolute;
  background: #fff;
  display: block;
  width: 24px;
  height: 16px;
  left: -5px;
  top: -6px;
  transform: rotate(-45deg);
}

/* keep strong inside check-list from inheriting site's blue+heavy emphasis */
ul.check-list li strong {
  color: inherit;
  font-weight: bold;
}

/* Exit-intent popup (Before/After) */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.exit-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.exit-popup__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 520px at 50% 30%, rgba(83, 125, 233, 0.30), rgba(83, 125, 233, 0) 60%),
    rgba(35, 47, 98, 0.72);
  backdrop-filter: blur(2px);
}

.exit-popup__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 22px 22px 20px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #f5fcff 0%, #ffffff 22%, #ffffff 100%);
  border: 1px solid rgba(83, 125, 233, 0.22);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
}

.exit-popup__panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 10px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, #537de9 0%, #156fc6 42%, #ec1163 100%);
}

.exit-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #232f62;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.exit-popup__close:hover {
  background: #ffffff;
}

/* exit-popup__title removed (copy is in image) */

.exit-popup__sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.exit-popup__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 12px 0 14px;
  border-radius: 12px;
  background: #f5fcff;
  border: 1px solid rgba(83, 125, 233, 0.18);
}

/* exit-popup__text removed (copy is in image) */

.exit-popup__cta {
  margin-top: 4px !important;
  font-size: 18px !important;
  padding: 22px 52px 22px 18px !important;
}

body.exit-popup-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .exit-popup__panel {
    padding: 20px 16px 18px;
    border-radius: 16px;
  }

  .exit-popup__cta {
    font-size: 16px !important;
  }
}
