html, body {
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    font-size: 16px;
    overflow-x: hidden;
}
/*
body {
    margin-top: 20px;
} */

/* AI見積もり機能セクション*/
.ai-quote-content {
    padding: 80px 0;
    background: #F8F9FA;
  }
  
  .ai-quote_title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.5;
    color: #333;
  }
  
  .ai-quote_title-primary {
    color: #2B9AF3;
    font-size: 36px;
    font-weight: bold;
  }
  
  .ai-quote_subtitle {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
  }
  
  .ai-quote_max {
    color: #FF9800;
    font-size: 24px;
    font-weight: 700;
  }
  
  .ai-quote_percentage {
    color: #FF9800;
    font-size: 42px;
    font-weight: 900;
  }
  
  .ai-quote_description {
    font-size: 16px;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    line-height: 1.8;
  }
  
  .ai-quote_steps-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 12px;
    border-bottom: 3px solid #333;
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
  }
  
  .ai-quote_steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
  }
  
  .ai-quote_step {
    flex: 1;
    max-width: 320px;
    background: #FFFFFF;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  
  .step-arrow {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #0099d9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    z-index: 1;
  }
  
  .ai-quote_step:last-child .step-arrow {
    display: none;
  }
  
  .step-label {
    font-size: 16px;
    color: #2B9AF3;
    font-weight: 600;
    margin-bottom: 5px;
    border-bottom: 1px solid #DDD;
    padding-bottom: 8px;
  }
  
  .step-number {
    font-size: 24px;
    font-weight: 700;
    margin-left: 3px;
  }
  
  .step-title {
    font-size: 18px;
    font-weight: 700;
    margin: 15px 0 12px;
    color: #333;
  }
  
  .step-description {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
  }
  
  .step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: block;
    margin-top: auto;
  }
  
  .ocr-note {
    max-width: 1100px;
    margin: 20px auto 0;
    margin-bottom: 60px;
    padding: 0 20px;
    font-size: 12px;
    color: #666;
    line-height: 1.7;
    text-align: left;
  }
  
  .ai-quote_demo {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
  }

  .ai-quote_video-section {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .ai-quote_video-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  
  .ai-quote_demo-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
  }
  
  .ai-quote_demo-content {
    display: flex;
    gap: 30px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .ai-quote_video {
    flex: 1;
    box-sizing: border-box;
    background: #000000;
    border: 2px solid #CCC;
    border-radius: 10px;
    padding: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .video-placeholder {
    font-size: 22px;
    color: #333;
    font-weight: 600;
  }

  .demo-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
    display: block;
  }
  
  .ai-quote_benefits {
    flex: 1;
    background: #FDB933;
    border-radius: 20px;
    padding: 35px 30px;
  }
  
  .benefits-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: #333;
    margin-bottom: 25px;
  }
  
  .benefits-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  
  .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #FFFFFF;
    padding: 18px 20px;
    border-radius: 10px;
  }
  
  .benefit-icon {
    width: 28px;
    height: 28px;
    background: #FF9800;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
  }
  
  .benefit-content h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #333;
  }
  
  .benefit-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
  }
  
  /* スマホ対応 */
  @media screen and (max-width: 768px) {
    .ai-quote-content {
      padding: 50px 20px;
    }
    
    .ai-quote_title {
      font-size: 22px;
    }
    
    .ai-quote_title-primary {
      font-size: 26px;
    }
    
    .ai-quote_subtitle {
      font-size: 18px;
    }
    
    .ai-quote_percentage {
      font-size: 32px;
    }
    
    .ai-quote_steps {
      flex-direction: column;
      gap: 50px;
    }
    
    .ai-quote_step {
      max-width: 100%;
    }
    
    .step-arrow {
      content: '↓';
      right: auto;
      top: auto;
      bottom: -45px;
      left: 50%;
      transform: translateX(-50%) rotate(90deg);
    }
    
    .ai-quote_demo-content {
        flex-direction: column;
        gap: 25px;
      }
      
      .ai-quote_demo-title {
        text-align: center;
        margin-bottom: 15px;
      }
      
      .ai-quote_video {
        min-height: 250px;
        padding: 15px;
      }
      
      .video-placeholder {
        font-size: 18px;
      }
      
      .ai-quote_benefits {
        padding: 25px 20px;
      }
  }
  
  /* AI見積もり機能セクション*/


/* 共通 */
.content-wrap {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
}

.fade-in {
    opacity: 0;
    transition: .5s;
    position: relative;
    top: 50px;
}

.fade-in.active {
    opacity: 1;
    top: 0;
  }

img {
    max-width: 100%;
    height: auto;
}

a:hover {
    opacity: .7;
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}


/* footer */
footer {
    padding: 0px 0px 150px 40px;
    background-color: #ffffff;
    color: #070707;
}

footer .content-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1000px;
}

footer .company,
footer .tell {
    color: #070707;
    font-size: 24px;
    font-weight: 700;
    line-height: 160%;
    letter-spacing: 0.96px;
}

footer .address {
    font-size: 14px;
    line-height: 1.5;
}

footer .name {
    margin-top: 16px;
    color: #070707;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.56px;
}

footer .tell-time {
    font-size: 14px;
}

footer .mail {
    margin-top: 16px;
    color: #070707;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.56px;
}

footer .mail > a {
    color: #070707;
    text-decoration-line: underline;
}

footer small {
    width: 100%;
    margin-top: 100px;
    text-align: center;
    font-size: 12px;
}

@media screen and (max-width: 767px) {
    /* 共通 */
    /* body {
        margin-top: 15px;
    } */

    .content-wrap {
        width: 100%;
    }

    a:hover {
        opacity: 1;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }


    /* footer */
    footer {
        padding: 50px 20px 20px;
    }

    footer .content-wrap {
        justify-content: center;
        text-align: center;
    }

    footer .footer-left,
    footer .footer-right {
        width: 100%;
    }

    footer .company, footer .tell {
        font-size: 22px;
    }

    footer .address {
        margin-top: 15px;
        font-size: 13px;
    }

    footer .footer-right {
        margin-top: 35px;
        margin-bottom: 100px;
    }

    footer .tell-time {
        font-size: 13px;
    }

    footer .mail {
        margin-top: 15px;
        font-size: 13px;
        text-align: center;
    }

    footer small {
        margin-top: 40px;
    }
}