﻿  .br-sp-only { display: none; }
  @media (max-width: 767px) {
    .br-sp-only { display: inline; }
  }

  /* SP版のヒーロー資料スライダー */
  .hero__whitepaper-wrap {
    position: relative;
  }
  .hero__slider-dots { display: none; }

  @media (max-width: 767px) {
    .hero__whitepaper {
      display: flex !important;
      grid-template-columns: none !important;
      gap: 12px !important;
      max-width: 100% !important;
      margin: 16px -24px 0 !important;
      padding: 4px 24px 8px !important;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      scroll-behavior: smooth;
    }
    .hero__whitepaper::-webkit-scrollbar { display: none; }
    .hero__whitepaper img {
      flex: 0 0 78%;
      scroll-snap-align: center;
      scroll-snap-stop: always;
    }
    .hero__whitepaper img:first-child { margin-left: 11%; }
    .hero__whitepaper img:last-child { margin-right: 11%; }

    .hero__slider-dots {
      display: flex !important;
      justify-content: center;
      gap: 8px;
      margin-top: 16px;
    }
    .hero__slider-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #d4cdc0;
      border: none;
      padding: 0;
      cursor: pointer;
      transition: background 0.3s, transform 0.3s;
    }
    .hero__slider-dot.is-active {
      background: #c4935a;
      transform: scale(1.25);
    }
  }

  /* FV内 学べること */
  .hero__badge--dl {
    display: inline-block;
    background: #ff6a00;
    color: #fff;
    padding: 8px 24px;
    border-radius: 999px;
    font-size: clamp(13px, 3.4vw, 15px);
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.5;
    white-space: nowrap;
  }
  @media (max-width: 380px) {
    .hero__badge--dl {
      padding: 8px 16px;
      letter-spacing: 0.02em;
    }
  }
  .hero__learn {
    max-width: 640px;
    margin: 40px auto 0;
    padding: 0;
    border: 2px solid #ff6a00;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
  }
  @media (max-width: 767px) {
    .hero__learn {
      margin: 32px 16px 0;
      max-width: calc(100% - 32px);
    }
  }
  .hero__learn-heading {
    background: #ff6a00;
    color: #fff;
    text-align: center;
    font-size: clamp(18px,4.2vw,22px);
    font-weight: 700;
    margin: 0;
    padding: 16px 24px;
    letter-spacing: 0.02em;
  }
  .hero__learn-list {
    list-style: none;
    padding: 24px clamp(36px,7vw,64px);
    margin: 0;
    text-align: left;
  }
  .hero__learn-list li {
    position: relative;
    padding: 12px 0 12px 40px;
    font-size: clamp(15px,3.8vw,17px);
    line-height: 1.6;
    color: #1a1a1a;
    font-weight: 700;
  }
  .hero__learn-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  @media (max-width: 767px) {
    .hero__learn-list li {
      padding: 10px 0 10px 32px;
    }
    .hero__learn-list li::before {
      width: 22px;
      height: 22px;
    }
  }

  /* FV内 CTAボタン */
  .hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: auto;
    max-width: 100%;
    height: auto;
    min-height: 64px;
    padding: 16px 40px;
    white-space: nowrap;
    font-size: clamp(15px, 4vw, 18px);
    box-shadow: 0 4px 16px rgba(230, 184, 0, 0.3);
    box-sizing: border-box;
  }
  @media (max-width: 767px) {
    .hero__cta {
      padding: 16px 24px;
      gap: 10px;
    }
  }
  @media (max-width: 360px) {
    .hero__cta {
      font-size: 14px;
      padding: 14px 16px;
    }
  }

  /* FV内 フォーム */
  .hero__form {
    max-width: 560px;
    margin: 40px auto 0;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid #e5e0d5;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    box-sizing: border-box;
  }
  @media (max-width: 767px) {
    .hero__form {
      padding: 24px 16px;
      margin: 32px 16px 0;
      max-width: calc(100% - 32px);
    }
  }
  .hero__form .wpcf7,
  .hero__form .wpcf7-form,
  .hero__form form,
  .hero__form p {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero__form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
  }
  .hero__form input[type="text"],
  .hero__form input[type="email"],
  .hero__form input[type="tel"],
  .hero__form input[type="url"],
  .hero__form input[type="number"],
  .hero__form select,
  .hero__form textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-family: inherit;
    box-sizing: border-box;
  }
  .hero__form textarea {
    min-height: 100px;
    resize: vertical;
  }
  .hero__form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin: 16px 0 6px;
  }
  .hero__form .wpcf7-submit {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 24px auto 0;
    padding: 16px 32px;
    background: linear-gradient(0deg, #e6b800 0%, #ffd700 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(230, 184, 0, 0.3);
  }
  .hero__form .wpcf7-submit:hover {
    opacity: 0.9;
  }
  .hero__form .wpcf7-not-valid-tip {
    font-size: 13px;
    color: #d33;
    margin-top: 4px;
  }

  /* ロゴグリッド */
  .cf-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px 24px;
    align-items: center;
    justify-items: center;
  }
  @media (max-width: 767px) {
    .cf-logo-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 12px 12px;
    }
  }
  @media (max-width: 380px) {
    .cf-logo-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  </style>
