/* =================================
   モバイル専用スタイル（800px以下）
   ================================= */

@media (max-width: 800px) {
  /* =================================
     基本設定
     ================================= */
  
  .pc-only {
    display: none !important;
  }
  
  .section-label-mobile {
    background: var(--primary-color);
    color: white;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 4px;
    position: relative;
    margin-bottom: 16px;
    font-weight: bold;
    display: inline-block;
  }
  
  .section-label-mobile::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
  }
  
  .section-title-mobile {
    font-size: 24px;
    font-weight: bold;
    margin: 12px 0 0;
    color: var(--text-color);
    display: block;
  }
  
  /* =================================
     ヘッダー
     ================================= */
  
  header {
    padding: 16px 20px;
    position: relative;
  }
  
  .logo {
    gap: 8px;
  }
  
  .logo img {
    height: 20px;
  }
  
  .logo span {
    font-size: 14px;
    display: none;
  }
  
  .nav-buttons {
    display: none;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* =================================
     ヒーローセクション（モバイル）
     ================================= */
  
  .hero-pc {
    display: none;
  }
  
  .hero-mobile {
    display: block;
    padding: 20px 0 40px;
    position: relative;
  }
  
  .hero-bg-mobile {
    background: var(--light-bg);
    border-radius: 20px;
    margin: 0 auto;
    width: calc(100vw - 40px);
    height: 320px;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
  }
  
  .hero-intro-mobile {
    text-align: center;
    font-size: clamp(7px, 4.5vw, 12px);
    margin: 0 0 20px 0;
    line-height: 1.5;
    white-space: nowrap;
    position: relative;
    top: -30px;
    font-weight: bold;
  }
  
  .highlight-mobile {
    color: var(--primary-color);
    font-weight: bold;
    font-size: clamp(12px, 5.5vw, 22px);
  }
  
  .hero-main-content {
    position: relative;
    height: 240px;
    width: 100%;
  }
  
  .model-mobile {
    position: absolute;
    bottom: -17px;
    left: -10px;
    height: 300px;
    width: 300px;
    object-fit: cover;
    object-position: -60px center;
    border-bottom-left-radius: 20px;
    z-index: 1;
  }
  
  .chishiki-mobile {
    position: absolute;
    top: 50px;
    left: 110px;
    width: 64px;
    height: 45px;
    z-index: 2;
    display: block;
    transform: scale(0.8);
  }
  
  .hero-text-content {
    position: absolute;
    top: 0;
    right: 8%;
    width: 220px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 3;
  }
  
  .hero-text-content h1 {
    font-size: 36px;
    margin: -36px 0 0 0;
    line-height: 1.2;
    text-align: right;
  }
  
  .hero-points-mobile {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-end;
    width: 220px;
    flex-shrink: 0;
    transform: translateY(20px);
  }
  
  .point-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  
  .point-mobile img {
    height: 30px;
    order: 1;
  }
  
  .bubble-mobile {
    width: 62px;
    height: 62px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 1.1;
    font-weight: bold;
    text-align: center;
    order: 2;
  }
  
  .hero-price-mobile {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 26px;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  .hero-price-mobile span {
    font-size: 12px;
    font-weight: normal;
  }
  
  .price-label-mobile {
    display: inline-block;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-size: 12px;
    padding: 2px 6px;
    margin-right: 6px;
    font-weight: bold;
    vertical-align: middle;
  }
  
  /* =================================
     プログラムフローセクション
     ================================= */
  
  .program-flow {
    padding: 0px 20px 20px;
  }
  
  .program-flow .container {
    max-width: calc(100vw - 40px);
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
  }
  
  .step-card {
    width: calc(100vw - 80px);
    max-width: 320px;
    height: 140px;
  }
  
  .step-background {
    width: 100%;
    height: 100px;
  }
  
  .step-number {
    top: 20px;
    left: 20px;
    font-size: 19px;
  }
  
  .caption-img {
    top: 10px;
    right: 20px;
    height: 40px;
  }
  
  .step-illustration {
    top: 0px;
  }
  
  .step-card:nth-child(1) .step-illustration img.icon {
    width: 80px;
    height: auto;
  }
  
  .step-card:nth-child(2) .step-illustration img.icon {
    width: 50px;
    height: auto;
  }
  
  .step-card:nth-child(3) .step-illustration img.icon {
    width: 80px;
    height: auto;
  }
  
  .step-background {
    height: 100px;
    border-radius: 16px;
  }
  
  .step-description {
    bottom: 20px;
    text-align: center;
  }
  
  .step-description p {
    font-size: 14px;
    line-height: 1.4;
    padding: 0 20px;
  }
  
  .summary-section {
    margin-top: 30px;
    padding: 0 20px;
  }
  
  .summary-container {
    max-width: 280px;
    padding: 0 10px;
    min-height: 50px;
    gap: 10px;
  }
  
  .left-decoration, .right-decoration {
    width: 30px;
    justify-content: center;
  }
  
  .horizontal-line {
    width: 25px;
  }
  
  .vertical-line {
    height: 15px;
  }
  
  .summary-text {
    font-size: 14px;
    line-height: 1.5;
    max-width: 200px;
    padding:0px;
  }
  
  .pc-text {
    display: none;
  }
  
  .sp-text {
    display: block;
  }
  
  /* =================================
     フィーチャーセクション
     ================================= */
  
  .features-section {
    padding: 0px 20px 40px !important;
  }
  
  .features-container {
    max-width: calc(100vw - 40px);
    display: block;
    gap: 0;
  }
  
  .target-box {
    width: 100%;
    height: auto;
    padding: 0px 20px 80px;
    margin-bottom: 40px;
    margin-top: 70px;
  }
  
  .target-box h3 {
    font-size: 18px;
    line-height: 1.6;
    top: -70px;
    left: 10px;
    right: 0;
    text-align: left;
    background: transparent;
  }
  
  .target-box h3 .emphasis {
    font-size: 22px;
    display: inline;
  }
  
  .check-list {
    padding-top: 32px;
  }
  
  .check-list li {
    padding: 12px 16px;
    margin-bottom: 8px;
    font-size: 14px;
    text-align: left;
  }
  
  .balloon-box {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    justify-content: center;
    white-space: nowrap;
  }
  
  .balloon-text {
    border-radius: 10px;
    white-space: nowrap;
  }
  
  .point-box {
    width: 100%;
    text-align: center;
  }
  
  .point-box h3 {
    font-size: 20px !important;
    margin: 12px 0 30px !important;
  }
  
  .point-card {
    display: block;
    padding: 20px;
    min-height: 120px;
  }
  
  .point-card img {
    height: 80px;
    right: -20px;
    bottom: 0px;
  }
  
  .point-text {
    padding-right: 90px;
    max-width: 300px !important;
    width: 300px !important;
  }
  
  .point-text h4 {
    font-size: 18px !important;
    max-width: 250px !important;
  }
  
  .point-text p {
    font-size: 14px;
  }
  
  /* =================================
     カリキュラムセクション
     ================================= */
  
  .curriculum-section {
    padding: 0px 20px 40px !important;
    min-width: auto;
  }
  
  .curriculum-title {
    font-size: 24px;
    margin: 12px 0 20px;
  }
  
  .curriculum-desc {
    font-size: 14px;
    margin: 0 !important;
    line-height: 1.6;
  }
  
  .curriculum-wrapper {
    max-width: calc(100vw - 40px);
    padding: 0;
    min-width: auto;
    display: flex;
    flex-direction: column;
  }
  
  .curriculum-box {
    padding: 0;
    overflow: visible;
    margin-top: 0px;
  }
  
  .curriculum-slides-container {
    width: 500%;
  }
  
  .curriculum-slide {
    width: 20%;
  }
  
  .curriculum-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 10px 15px 10px;
    margin: 0; 
  }
  
  .curriculum-card {
    height: 81px;
    width: 266px;
    max-width: 266px;
    padding: 15px;
    gap: 12px;
  }
  
  .curriculum-num {
    font-size: 28px;
    font-family: 'Noto Sans JP', sans-serif;
    min-width: 40px;
  }
  
  .curriculum-text h4 {
    font-size: 14px;
  }
  
  .curriculum-text p {
    font-size: 10px;
    line-height: 1.3;
  }
  
  .curriculum-illust {
    display: block;
    position: static;
    text-align: center;
    margin: 0;
    padding:0;
    order: -1;
  }
  
  .curriculum-illust img {
    width: 130px;
  }
  
  .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .nav-arrow.prev {
    left: -13px;
  }
  
  .nav-arrow.next {
    right: -13px;
  }
  
  /* =================================
     アウトカムセクション  
     ================================= */
  
  .outcomes-section {
    padding: 0px 20px 40px 20px;
  }
  
  .outcomes-title {
    font-size: 24px;
  }
  
  .outcomes-desc {
    font-size: 14px;
    margin-bottom: 30px;
    padding: 0 20px;
  }
  
  .outcomes-grid {
    max-width: calc(100vw - 40px);
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .outcome-item {
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    gap: 8px;
    line-height: 1.4;
  }
  
  .outcome-item::before {
    font-size: 14px;
    flex-shrink: 0;
  }
  
  .outcome-item.strong::before {
    font-size: 14px;
    flex-shrink: 0;
  }
  
  /* =================================
     ボイスセクション
     ================================= */
  
  .voices-section {
    padding: 40px 20px 60px 20px;
  }
  
  .voices-section h2 {
    font-size: 24px;
  }
  
  .voices-section .desc {
    font-size: 14px;
    margin-bottom: 40px;
    padding: 0 20px;
  }
  
  .voices-container {
    max-width: calc(100vw - 40px);
  }
  
  .voices-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 6px;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .voice-card {
    padding: 10px 8px 8px 10px;
    height: 130px;
    width: 157px;
    max-width: 157px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
   justify-content: flex-start;
  }
  
  .voice-card .voice-icon {
    top: -45px;
    right: 15px;
    width: 80px;
    height: 80px;
  }
  
  .voice-card .voice-icon img {
    width: 100px;
  }
  
  .voice-card .top-label {
    font-size: 8px;
    margin-bottom: 0px;
    text-align: left;
    padding-top: 8px;
    line-height: 1.2;
    padding-right: 85px;
  }
  
  .voice-card h4 {
    font-size: 11px;
    line-height: 1.3;
    text-align: left;
    padding-right: 0px;
    margin: 2px 0 4px; 
  }
  
  .voice-card p {
    font-size: 9px;
    line-height: 1.5;
    text-align: left;

  }
  
  /* =================================
     FAQセクション
     ================================= */
  
  .faq-section {
    padding: 40px 20px;
  }
  
  .faq-section h2 {
    font-size: 24px;
  }
  
  .faq-list {
    max-width: calc(100vw - 40px);
  }
  
  .faq-question .text {
    font-size: 14px;
  }
  
  .faq-answer {
    font-size: 12px;
  }
  
  .faq-footer {
    font-size: 14px;
    padding: 0 20px;
  }
  
  /* =================================
     価格セクション
     ================================= */
  
  .price-section {
    padding: 10px 20px 100px;
  }
  
  .price-wrapper {
    max-width: calc(100vw - 40px);
  }
  
  .price-wrapper h2 {
    font-size: 24px;
  }
  
  .price-box {
    padding: 30px 20px 30px;
    margin-top: 0px; 
  }
  
  .ribbon {
    font-size: 16px;
    top: -15px;
    width: 250px;
    height: 35px;
  }
  
  .deadline {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  .price-content {
    flex-direction: column;
    gap: 15px;
    margin: 0;
  }
  
  .original-price-label {
    padding: 6px 12px;
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  .original-price-value {
    font-size: 20px;
  }
  
  .current-price {
    font-size: 48px;
  }
  
  .price-unit {
    font-size: 16px;
    margin-left: 6px;
  }
  
  .price-table {
    font-size: 16px;
  }
  
  .price-table .row {
    padding: 15px 0;
  }
  
  .circle {
    width: 18px;
    height: 18px;
  }
  
  /* =================================
     固定バナー
     ================================= */
  
  .fixed-banner {
    padding: 15px 20px;
  }
  
  .hero-note {
    font-size: 12px;
    margin-bottom: 8px;
    line-height: 1.4;
  }
  
  .cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100%;
    max-width: calc(100vw - 80px);
    height: 48px;
    border-radius: 8px;
    box-shadow: 2px 2px 0 #CC143E;
  }

  .fixed-banner-legal-link {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.5;
  }
  
  /* =================================
     その他の調整
     ================================= */
  
  .features-section .point-box h3 {
    font-size: 20px !important;
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .features-section .point-text h4 {
    font-size: 18px !important;
    margin: 0 0 12px !important;
    max-width: none !important;
    width: auto !important;
  }
  
  .features-section .point-text {
    text-align: left !important;
    padding-right: 90px !important;
  }
  
  .features-section .point-text h4 {
    max-width: 300px !important;
    width: 300px !important;
  }
  
  .features-section .point-text p {
    max-width: 300px !important;
    width: 300px !important;
    font-size: 10px !important;
    line-height: 1.6 !important;
  }
}