/* ==========================================
   バイトビームス株式会社 統合CSS (common.css)
   全ページで使用する共通スタイル
   ========================================== */

/* ========================================
   1. リセット・基本設定
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #222;
    background: #fff;
    overflow-x: hidden;
    padding-top: 80px;  /* 固定ナビバーの高さ分 */
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ========================================
   2. ヘッダー・ナビゲーション
   ======================================== */

/* ナビゲーションスタイルはheader-footer-common.cssで定義 */

/* ========================================
   3. パンくずリスト
   ======================================== */

.breadcrumb {
    padding: 30px 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #000;
    text-decoration: underline;
}

/* ========================================
   4. カテゴリナビボタン（サービス・課題ページ用）
   ======================================== */

.category-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 30px;
}

.category-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-nav-item {
    flex: 0 0 auto;
}

.category-nav-link {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: #333;
    border: 2px solid #ddd;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-nav-link:hover {
    border-color: #e91e8c;
    color: #e91e8c;
}

.category-nav-link.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* ========================================
   5. ページヘッダー
   ======================================== */

.page-header {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
    border-bottom: 3px solid #000;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.page-subtitle,
.page-lead {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
    line-height: 1.8;
}

/* 20周年バッジ */
.anniversary-badge {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 8px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* ========================================
   6. メインコンテンツ
   ======================================== */

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

/* セクション共通 */
.section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 5px solid #000;
    color: #000;
}

.section-intro {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* ========================================
   7. カードコンポーネント
   ======================================== */

/* 問題カード */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.problem-card {
    background: #fff;
    padding: 30px;
    border: 2px solid #000;
    transition: all 0.3s ease;
}

.problem-card:hover {
    background: #f9f9f9;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.problem-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.problem-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ソリューションカード */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.solution-card {
    background: #fff;
    padding: 30px;
    border: 2px solid #000;
    transition: all 0.3s ease;
}

.solution-card:hover {
    background: #f9f9f9;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.solution-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ddd;
    margin-bottom: 15px;
}

.solution-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.solution-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* 解決策ボックス */
.solution-box {
    background: #f9f9f9;
    padding: 40px;
    border-left: 4px solid #000;
    margin-bottom: 40px;
}

.solution-box p {
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
}

/* 統計カード */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stat-card {
    background: #fff;
    border: 2px solid #000;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: #000;
    color: #fff;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1rem;
}

/* ========================================
   8. 会社情報テーブル
   ======================================== */

.info-table {
    border: 2px solid #000;
    background: #fff;
}

.info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid #ddd;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    background: #f5f5f5;
    padding: 20px 25px;
    font-weight: 600;
    color: #000;
    border-right: 2px solid #000;
}

.info-content {
    padding: 20px 25px;
    color: #333;
    line-height: 1.8;
}

.info-content .link {
    color: #000;
    text-decoration: underline;
}

.info-content .link:hover {
    text-decoration: none;
}

/* ========================================
   9. 代表者プロフィール
   ======================================== */

.profile-box {
    background: #fff;
    border: 2px solid #000;
    padding: 40px;
}

.profile-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #000;
    padding-bottom: 15px;
    border-bottom: 2px solid #000;
}

.profile-content p {
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
}

/* ========================================
   10. ビジョン・特徴グリッド
   ======================================== */

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

.vision-card {
    background: #fff;
    border: 2px solid #000;
    padding: 35px 30px;
}

.vision-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
}

.vision-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
}

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

.feature-card {
    background: #fff;
    border: 2px solid #000;
    padding: 30px 25px;
    transition: all 0.3s;
}

.feature-card:hover {
    background: #000;
    color: #fff;
}

.feature-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-content {
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ========================================
   11. 導入フロー
   ======================================== */

.flow-container {
    max-width: 1000px;
    margin: 40px auto 0;
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.flow-step {
    border: 2px solid #000;
    padding: 25px 20px;
    text-align: center;
    background: #f9f9f9;
    flex: 1;
    min-width: 180px;
}

.step-number {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border: 1px solid #000;
    display: inline-block;
    margin-bottom: 12px;
}

.flow-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.flow-step p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.flow-arrow {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    flex-shrink: 0;
}

/* ========================================
   12. アプローチカード
   ======================================== */

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

.approach-card {
    background: #fff;
    border: 2px solid #000;
    padding: 30px;
}

.approach-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ddd;
    margin-bottom: 15px;
}

.approach-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.approach-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
}

/* ========================================
   13. 導入事例
   ======================================== */

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

.case-card {
    border: 2px solid #000;
    padding: 30px;
    background: #f9f9f9;
}

.case-industry {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 12px;
    border: 1px solid #000;
    display: inline-block;
    margin-bottom: 15px;
}

.case-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.case-result {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    margin-top: 15px;
}

.case-result strong {
    color: #000;
    font-weight: 700;
}

/* ========================================
   14. ツールグリッド
   ======================================== */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.tool-card {
    background: #fff;
    border: 2px solid #000;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s;
}

.tool-card:hover {
    background: #000;
    color: #fff;
}

.tool-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    stroke: #000;
    transition: stroke 0.3s;
}

.tool-card:hover .tool-icon {
    stroke: #fff;
}

.tool-name {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ========================================
   15. 料金表
   ======================================== */

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

.pricing-card {
    border: 2px solid #000;
    padding: 30px;
    text-align: center;
    background: #fff;
}

.pricing-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.pricing-card p {
    font-size: 0.9rem;
    color: #666;
}

.pricing-note {
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    line-height: 1.8;
}

/* ========================================
   16. CTAセクション
   ======================================== */

.cta-section {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 80px 40px;
    margin-bottom: 80px;  /* フッターとの余白 */
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 18px 60px;
    border: 2px solid #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #000;
    color: #fff;
}

.btn {
    display: inline-block;
    padding: 18px 48px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid #000;
}

.btn-primary {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn-primary:hover {
    background: #000;
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
}

/* ========================================
   17. フォーム
   ======================================== */

.custom-form {
    background: #fff;
    padding: 50px;
    border: 2px solid #000;
    margin-top: 30px;
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #000;
}

.form-required {
    background: #000;
    color: #fff;
    padding: 2px 8px;
    font-size: 0.75rem;
    margin-left: 8px;
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #000;
    background: #f9f9f9;
}

.form-textarea {
    resize: vertical;
    min-height: 200px;
    line-height: 1.6;
}

.form-checkbox-group {
    margin-top: 40px;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95rem;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.form-submit-group {
    margin-top: 40px;
    text-align: center;
}

.form-submit-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #000;
    color: #fff;
    padding: 18px 48px;
    border: 2px solid #000;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.form-submit-button:hover {
    background: #fff;
    color: #000;
}

/* ========================================
   18. フッター
   ======================================== */

/* フッタースタイルは header-footer-common.css に集約 */

/* ========================================
   19. トップへ戻るボタン
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e91e8c 0%, #d50032 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(233, 30, 140, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998 !important;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 8px 28px rgba(233, 30, 140, 0.6);
}

/* ========================================
   20. タイムライン
   ======================================== */

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #000;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: #000;
    border-radius: 50%;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

/* ========================================
   21. プライバシーポリシー
   ======================================== */

.policy-intro {
    background: #f9f9f9;
    padding: 30px;
    border-left: 4px solid #000;
    margin-bottom: 60px;
}

.policy-section {
    margin-bottom: 50px;
}

.policy-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    text-align: right;
}

.policy-footer p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

/* ========================================
   22. ユーティリティクラス
   ======================================== */

.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

/* ========================================
   23. レスポンシブデザイン
   ======================================== */

@media (max-width: 968px) {
    /* ナビゲーションスタイルはheader-footer-common.cssで定義 */
    
    .breadcrumb {
        padding: 30px 20px 15px;
    }
    
    .category-nav {
        padding: 0 20px 20px;
    }
    
    .category-nav-list {
        gap: 8px;
    }
    
    .category-nav-link {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 20px;
    }

    .page-title {
        font-size: 2rem;
    }

    .content-wrapper,
    .content-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .info-row {
        grid-template-columns: 1fr;
    }

    .info-label {
        border-right: none;
        border-bottom: 1px solid #000;
    }

    .problems-grid,
    .solutions-grid,
    .cases-grid,
    .pricing-grid,
    .vision-grid,
    .feature-grid,
    .stats-grid,
    .approach-cards {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .flow-step {
        min-width: 100%;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn,
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .custom-form {
        padding: 30px 20px;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .footer-menu-grid {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .category-nav-link {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}

/* ========================================
   24. アニメーション
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ========================================
   25. アクセシビリティ
   ======================================== */

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* ========================================
   26. CSS変数（課題ページ用）
   ======================================== */

:root {
    --color-primary: #000;
    --color-secondary: #e91e8c;
    --color-text: #222;
    --color-text-light: #666;
    --color-bg: #fff;
    --color-bg-light: #f9f9f9;
}

/* ==========================================
   27. 会社概要ページ専用スタイル
   ========================================== */

/* 会社情報テーブル */
.info-table {
    border: 2px solid #000;
    background: #fff;
}

.info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid #ddd;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    background: #f5f5f5;
    padding: 20px 25px;
    font-weight: 600;
    color: #000;
    border-right: 2px solid #000;
}

.info-content {
    padding: 20px 25px;
    color: #333;
    line-height: 1.8;
}

.info-content .link {
    color: #000;
    text-decoration: underline;
}

.info-content .link:hover {
    text-decoration: none;
}

/* 代表者プロフィール */
.profile-box {
    background: #fff;
    border: 2px solid #000;
    padding: 40px;
}

.profile-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #000;
    padding-bottom: 15px;
    border-bottom: 2px solid #000;
}

.profile-content {
    margin-bottom: 30px;
}

.profile-content p {
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
}

.profile-interests {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.interest-label {
    font-weight: 600;
    color: #000;
    white-space: nowrap;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: #f0f0f0;
    color: #333;
    padding: 5px 15px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
}

/* ビジョングリッド */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vision-card {
    background: #fff;
    border: 2px solid #000;
    padding: 35px 30px;
}

.vision-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
}

.vision-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
}

/* 特徴グリッド */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    background: #fff;
    border: 2px solid #000;
    padding: 30px 25px;
    transition: all 0.3s;
}

.feature-card:hover {
    background: #000;
    color: #fff;
}

.feature-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: inherit;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: inherit;
}

.feature-content {
    font-size: 0.9rem;
    line-height: 1.8;
    color: inherit;
}

/* 今後の事業展開ボックス */
.future-box {
    background: #f9f9f9;
    padding: 40px;
    border-left: 4px solid #000;
}

.future-box p {
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
}

/* ==========================================
   28. お問い合わせページ専用スタイル
   ========================================== */

/* フォーム */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
}

.required {
    color: #e91e8c;
    margin-left: 5px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.form-textarea {
    min-height: 200px;
    resize: vertical;
}

.form-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    display: inline-block;
    padding: 18px 60px;
    background: #000;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid #000;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #fff;
    color: #000;
}

/* お問い合わせ情報ボックス */
.contact-info-box {
    background: #f9f9f9;
    padding: 40px;
    margin-bottom: 40px;
    border-left: 4px solid #000;
}

.contact-info-box p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

/* ==========================================
   29. プライバシーポリシーページ専用スタイル
   ========================================== */

.policy-intro {
    background: #f9f9f9;
    padding: 30px;
    margin-bottom: 40px;
    border-left: 4px solid #000;
}

.policy-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section .section-content {
    padding-left: 20px;
}

.policy-section .section-content p {
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 15px;
}

.policy-section .section-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.policy-section .section-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 8px;
}

/* ==========================================
   30. 会社概要・お問い合わせ レスポンシブ
   ========================================== */

@media (max-width: 768px) {
    /* 会社情報テーブル */
    .info-row {
        grid-template-columns: 1fr;
    }
    
    .info-label {
        border-right: none;
        border-bottom: 1px solid #000;
    }
    
    /* プロフィール */
    .profile-box {
        padding: 25px 20px;
    }
    
    .profile-interests {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    /* グリッド */
    .vision-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    /* ボックス */
    .future-box,
    .contact-info-box,
    .policy-intro {
        padding: 25px 20px;
    }
}
