/* フォームアドミン専用スタイル */

/* ブランドテキスト */
.brand-text {
    color: #fff;
    font-weight: 600;
}

/* お申し込み用の赤いボタン */
.btn-apply {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
    color: white;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-apply:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.6);
    color: white;
}

.btn-apply:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

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

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

/* お申し込みセクションのスタイル */
.apply-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
}

.apply-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%2328a745" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%2328a745" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="%2328a745" opacity="0.1"/><circle cx="10" cy="60" r="1" fill="%2328a745" opacity="0.1"/><circle cx="90" cy="40" r="1" fill="%2328a745" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

/* 特徴カード */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.feature-icon {
    text-align: center;
    margin-bottom: 25px;
}

.feature-icon i {
    font-size: 3.5rem;
    color: #007bff;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.feature-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.feature-list li {
    padding: 8px 0;
    color: #333;
    font-weight: 500;
    position: relative;
    padding-left: 25px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
    font-size: 1.1rem;
}

/* 機能アイテム */
.function-item {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #333;
}

.function-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* デモカード */
.demo-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.demo-placeholder {
    padding: 40px 30px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    cursor: pointer;
}

.demo-placeholder:hover i {
    transform: scale(1.1);
    color: #0056b3;
}

.demo-placeholder i {
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.demo-placeholder h5 {
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.demo-placeholder p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 改善アイテム */
.improvement-item {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #333;
    text-align: left;
}

.improvement-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* 価格テーブル */
.pricing-table {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.pricing-table .table {
    margin-bottom: 0;
    font-size: 1rem;
}

.pricing-table .table th {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    font-weight: 600;
    border: none;
    padding: 20px;
}

.pricing-table .table td {
    padding: 20px;
    vertical-align: middle;
    border-color: #dee2e6;
}

.pricing-table .table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: rgba(0, 123, 255, 0.05);
}

/* ステップカード */
.step-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #28a745, #20c997);
}

.step-number {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 25px auto;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.step-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* 会社情報 */
.company-info {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.company-info .blockquote {
    border-left: 4px solid #007bff;
    padding-left: 20px;
    font-style: italic;
}

.company-info .blockquote-footer {
    color: #6c757d;
    font-size: 0.9rem;
}

/* アコーディオンのカスタマイズ */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.accordion-button {
    background: white;
    border: none;
    font-weight: 600;
    color: #333;
    padding: 20px 25px;
    font-size: 1rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 25px;
    background: #f8f9fa;
    color: #333;
    line-height: 1.7;
}

/* 動画埋め込みスタイル */
.custom-heading h3 {
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive-16by9 {
    padding-bottom: 56.25%;
}

.embed-responsive-item {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .feature-card,
    .step-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .feature-icon i {
        font-size: 3rem;
    }

    .feature-title,
    .step-title {
        font-size: 1.2rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }

    .pricing-table {
        padding: 20px;
    }

    .pricing-table .table th,
    .pricing-table .table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }

    .demo-placeholder {
        padding: 30px 20px;
    }

    .company-info {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .function-item,
    .improvement-item {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .accordion-button {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .accordion-body {
        padding: 20px;
    }
}

/* アニメーション追加 */
.feature-card,
.step-card,
.demo-card,
.function-item,
.improvement-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ヒーローセクションのオーバーライド */
.hero-section {
    background-image: url('../img/AI800-450.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.4);
}

/* ヒーローセクション内のテキストを白に戻す */
.hero-content .text-white {
    color: #fff !important;
}

.hero-content h1 {
    color: #fff !important;
}

.hero-content .lead {
    color: #fff !important;
}

.hero-subtitle {
    color: #fff !important;
}

/* ボタンスタイルの調整 */
.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
}

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

/* 法的ページのスタイル */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 200px);
}

.content-wrapper {
    margin-top: 40px;
    margin-bottom: 40px;
}

.policy-content {
    font-size: 1rem;
    line-height: 1.7;
}

.policy-content section {
    margin-bottom: 2.5rem;
}

.policy-content h2 {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.info-box {
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.table-responsive table {
    margin-bottom: 0;
}

.table th {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    font-weight: 600;
    border: none;
    vertical-align: middle;
}

.table td {
    vertical-align: middle;
    padding: 15px;
}

.table-bordered td,
.table-bordered th {
    border: 1px solid #dee2e6;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}
