/* Reset & Base Styles - Updated with Inter and Noto Sans JP fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Noto Sans JP", sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ボタンスタイル */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn i {
    font-size: 0.9rem;
}

.btn-primary {
    background: #D62A1C;
    color: white;
}

.btn-primary:hover {
    background: #B8241A;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #D62A1C;
    border: 2px solid #D62A1C;
}

.btn-secondary:hover {
    background: #D62A1C;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #333;
    border: 2px solid #ddd;
}

.btn-outline:hover {
    background: #333;
    color: white;
}

/* ヘッダー */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #D62A1C;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.header-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .header-btn {
        display: none;
    }
}

/* ヒーローセクション */
.hero {
    padding: 160px 0 60px;
    background: url('images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 20px;
    color: #000;
    margin-bottom: 10px;
    font-weight: 400;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
    max-width: 800px;
}

.highlight {
    color: #D62A1C;
}

.hero-description {
    font-size: 24px;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    max-width: 600px;
}

.hero-buttons .btn {
    flex: 1;
    max-width: 300px;
    padding: 20px 40px;
    font-size: 20px;
}

.hero-image-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    min-height: 400px;
}

.hero-image-container {
    width: 100%;
    max-width: none;
    height: auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #999;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
}

.image-placeholder p {
    font-size: 1.2rem;
    margin: 0;
}


/* サービス紹介 */
.service-intro {
    padding: 80px 0;
    background: white;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon {
    background: #D62A1C;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

/* 課題解決セクション */
.problems-solving {
    padding: 60px 0 15px 0;
    background: #f8f9fa;
}

.problems-solving h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 700;
    line-height: 1.3;
}

.problems-illustration {
    text-align: center;
    margin-top: 40px;
    padding-top: 60px;
}

.problems-image {
    height: 300px;
    width: auto;
    border-radius: 15px;
    object-fit: contain;
}


.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 60px;
    padding-bottom: 40px;
}

.problem-item {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 150px;
}


.problem-icon {
    color: #ffc107;
    font-size: 4rem;
    margin-bottom: 25px;
}

.problem-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* モバイル表示では改行を無効化 */
@media (max-width: 767px) {
    .problem-item h3 br {
        display: none;
    }
}

/* PC表示では改行を有効化 */
@media (min-width: 768px) {
    .problem-item h3 br {
        display: inline;
    }
    
    /* デスクトップ用の改行表示 */
    .hero-description br.desktop-br {
        display: inline;
    }
    
    /* モバイル用の改行を無効化 */
    br.mobile-br {
        display: none;
    }
}

/* モバイル表示では特定の改行を無効化 */
@media (max-width: 767px) {
    .hero-description br.desktop-br {
        display: none;
    }
    
    /* モバイル用の改行を有効化 */
    br.mobile-br {
        display: inline;
    }
}

.problem-item p {
    color: #666;
    line-height: 1.6;
}

/* 機能セクション */
/* 機能セクション - 階層化アプローチ */
.features {
    padding: 40px 0 80px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-top: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.features-hierarchical {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.main-feature-category {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.feature-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #D62A1C;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.category-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.category-content p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.category-description {
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
    line-height: 1.6;
}

.sub-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.sub-feature {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    height: 100%;
}

.sub-feature-image {
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 250px;
}

.sub-feature-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.sub-feature-content h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.sub-feature-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.feature-item li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: #666;
}

.feature-item li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #D62A1C;
    font-weight: bold;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 導入効果セクション */
.benefits {
    padding: 80px 0;
    background: #D62A1C;
    color: white;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
    padding: 40px 20px;
}

.benefit-stat {
    display: block;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
}

.benefit-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* デモセクション */
.demo {
    padding: 80px 0;
    background: #f8f9fa;
}

.demo-container {
    max-width: 900px;
    margin: 0 auto;
}

.demo-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #ddd;
}

.demo-tab {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.demo-tab.active {
    color: #D62A1C;
    border-bottom-color: #D62A1C;
}

.demo-tab:hover {
    color: #D62A1C;
}

.demo-content {
    position: relative;
    min-height: 500px;
}

.demo-panel {
    display: none;
    text-align: center;
}

.demo-panel.active {
    display: block;
}

.demo-panel img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 30px;
}

.demo-description h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.demo-description p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* お客様の声 */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.company-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.logo-image {
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
}

.company-info {
    flex-grow: 1;
}

.company-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}


.industry {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.case-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D62A1C, #ff6b7a);
    border-radius: 15px 15px 0 0;
}

/* 料金プラン */
.pricing {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-plan {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-plan:hover {
    transform: translateY(-5px);
}

.pricing-plan.featured {
    border: 3px solid #D62A1C;
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #D62A1C;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-plan h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.price {
    margin-bottom: 30px;
}

.currency {
    font-size: 1.2rem;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #D62A1C;
}

.period {
    font-size: 1rem;
    color: #666;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.plan-features li:last-child {
    border-bottom: none;
}

/* お問い合わせセクション */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    /* display: block; */
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.required {
    color: #D62A1C;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D62A1C;
}

.btn-submit {
    width: auto;
    padding: 15px 30px;
    font-size: 1.1rem;
    display: block;
    margin: 0 auto;
}

/* フッター */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #D62A1C;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero {
        padding: 150px 0 40px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        padding: 14px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .problems-solving h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .problem-item h3 {
        font-size: 18px;
        line-height: 1.4;
    }
    
    
    .feature-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-reverse {
        direction: ltr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .demo-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .demo-tab {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .pricing-plan.featured {
        transform: none;
    }
    
    /* 機能セクションのモバイル対応 */
    .sub-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .main-feature-category {
        padding: 30px 20px;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .category-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    
    .service-grid,
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 0 auto;
        margin-bottom: 60px;
        padding-bottom: 40px;
    }
    
    .benefits-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        font-size: 13px;
        padding: 12px 20px;
    }
    
    .btn {
        width: 100%;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* スクロール時のアニメーション用 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* フォームエラーメッセージ */
.error-message {
    color: #D62A1C;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #D62A1C;
}

.form-group.error .error-message {
    display: block;
}

/* 成功メッセージ */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    display: none;
}

.success-message.show {
    display: block;
}

/* FAQセクション */
.faq {
    padding: 80px 0;
    background-color: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 50px auto 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.faq-question {
    padding: 20px 50px 20px 0;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #D62A1C;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #D62A1C;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 0 20px 0;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* チェックボックスカスタムスタイル */
.form-group.checkbox {
    margin-bottom: 25px;
}

.form-group.checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.form-group.checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s;
}

.form-group.checkbox input[type="checkbox"]:checked + .checkmark {
    background: #D62A1C;
    border-color: #D62A1C;
}

.form-group.checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-group.checkbox .required {
    color: #D62A1C;
}

.form-group.privacy-notice {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #D62A1C;
}

.form-group.privacy-notice p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #888;
}

.form-group.privacy-notice a {
    color: #D62A1C;
    text-decoration: none;
}

.form-group.privacy-notice a:hover {
    text-decoration: underline;
}

/* CTAセクション */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #D62A1C, #B8241A);
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.4;
}

.btn-large {
    padding: 20px 60px;
    font-size: 1.4rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #53c8d3, #45a8b5) !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transform: translateY(0);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 700;
}

.btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-large:hover::before {
    left: 100%;
}

.btn-large:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #5dd3db, #53c8d3) !important;
    box-shadow: 0 12px 35px rgba(83, 200, 211, 0.4);
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 25px;
    }
    
    .btn-large {
        padding: 16px 32px;
        font-size: 1.2rem;
    }
    
    /* 機能セクションのモバイル最適化 */
    .category-content h3 {
        font-size: 1.4rem;
        line-height: 1.4;
    }
    
    .sub-feature-content h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .sub-feature-content p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* 機能セクションの画像最適化 */
    .sub-feature {
        padding: 20px;
    }
    
    .sub-feature-image {
        height: 180px;
        margin-bottom: 15px;
    }
    
    /* スマホ表示で課題を3つに絞る */
    .hide-on-mobile {
        display: none;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 課題解決セクション - 悩んでいる男性の画像 */
    .problems-illustration {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .problems-image {
        height: 150px;
    }
    
    /* お客様の声セクション */
    .testimonials h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .case-title {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .testimonial-content p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* FAQセクション */
    .faq-question {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .faq-answer p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* お問い合わせフォーム */
    .contact-form label {
        font-size: 14px;
    }
    
    .contact-form input,
    .contact-form select {
        font-size: 14px;
        padding: 12px;
    }
    
    .privacy-notice p {
        font-size: 12px;
        line-height: 1.4;
    }
}



/* モーダルのスタイル */
