@charset "UTF-8";

/* ==========================================================================
   業務委託ページ専用スタイル
   ========================================================================== */

/* ヒーローセクション
   ========================================================================== */
.business-page {
    background-color: #f9fafb;
    padding-bottom: 80px;
}

.business-hero {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, #50e2f0 0%, #45c9d6 100%);
    color: #fff;
    margin-bottom: 60px;
}

.business-hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.business-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* カテゴリセクション
   ========================================================================== */
.service-category {
    margin-bottom: 80px;
    padding: 0 20px;
}

.category-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: bold;
    position: relative;
}

.category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #50e2f0;
    margin: 15px auto 0;
}

/* サービスグリッド
   ========================================================================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* サービスカードリンク
   ========================================================================== */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: all 0.3s ease;
}

/* サービスカード
   ========================================================================== */
.service-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.service-card-link:hover .service-card {
    box-shadow: 0 8px 24px rgba(80, 226, 240, 0.2);
    transform: translateY(-5px);
}

/* カードヘッダー
   ========================================================================== */
.card-header {
    background: linear-gradient(135deg, #50e2f0 0%, #45c9d6 100%);
    padding: 25px 20px;
    color: #fff;
    position: relative;
}

.service-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: 0.03em;
}

.service-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: normal;
    opacity: 0.9;
    margin-top: 5px;
}

.service-price {
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.02em;
}

.price-unit {
    font-size: 0.9rem;
    font-weight: normal;
    opacity: 0.9;
    margin-left: 5px;
}

/* カード本体
   ========================================================================== */
.card-body {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    letter-spacing: 0.02em;
}

/* CTAセクション
   ========================================================================== */
.cta-section {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 60px auto 0;
}

.cta-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 35px;
}

.cta-button {
    display: inline-block;
}

.cta-button .btnlinestretches3 {
    display: inline-block;
    padding: 18px 60px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: #50e2f0;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button .btnlinestretches3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #45c9d6;
    transition: width 0.3s ease;
    z-index: 0;
}

.cta-button .btnlinestretches3:hover::before {
    width: 100%;
}

.cta-button .btnlinestretches3 span {
    position: relative;
    z-index: 1;
}

.cta-button .btnlinestretches3:hover {
    box-shadow: 0 8px 24px rgba(80, 226, 240, 0.3);
    transform: translateY(-2px);
}

/* タブレット対応
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* スマートフォン対応
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* ヒーローセクション */
    .business-hero {
        padding: 40px 15px 30px;
    }

    .business-hero h1 {
        font-size: 1.8rem;
    }

    .business-intro {
        font-size: 0.95rem;
    }

    /* カテゴリタイトル */
    .category-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    /* サービスグリッド */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* サービスカード */
    .service-card {
        border-radius: 6px;
    }

    .card-header {
        padding: 20px 15px;
    }

    .service-name {
        font-size: 1.15rem;
    }

    .service-price {
        font-size: 1.7rem;
    }

    .card-body {
        padding: 20px 15px;
    }

    .service-description {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    /* CTAセクション */
    .cta-section {
        padding: 40px 15px;
        margin: 40px 15px 0;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .cta-button .btnlinestretches3 {
        padding: 15px 40px;
        font-size: 1.1rem;
    }
}

/* 極小デバイス対応
   ========================================================================== */
@media screen and (max-width: 480px) {
    .business-hero h1 {
        font-size: 1.5rem;
    }

    .business-intro {
        font-size: 0.9rem;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .service-name {
        font-size: 1.05rem;
    }

    .service-price {
        font-size: 1.5rem;
    }

    .service-description {
        font-size: 0.85rem;
    }

    .cta-button .btnlinestretches3 {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* アニメーション用の初期状態
   ========================================================================== */
.fadeUpTrigger {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fadeUpTrigger.show {
    opacity: 1;
    transform: translateY(0);
}

/* 印刷時のスタイル調整
   ========================================================================== */
@media print {
    .business-hero {
        background: #50e2f0;
        color: #000;
    }

    .service-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .cta-section {
        display: none;
    }
}
