@charset "UTF-8";

/* =========================================
   スマート業務パッケージ スタイル (完全版)
========================================= */

.sec__text {
    font-size: 1.1em;
}


@media(767px > width) {
    .sec__text {
        font-size: 16px;
    }
}

.lead__img {
    margin-top: 2em;
    margin-right: auto;
    margin-left: auto;
    width: 85%;
}

/* -----------------------------------------
   1. 大枠のコンテナ
----------------------------------------- */
.smart-package-wrap {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    max-width: 1040px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* -----------------------------------------
   2. ヒーローセクション（一番上の概要部分）
----------------------------------------- */
.smart-package-hero {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 2px dashed #e0e0e0;
}

.hero-header {
    margin-bottom: 30px;
}

.hero-title {
    font-size: 24px;
    color: #f17d3a;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* 2x2のグリッド */
.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* 概要カード */
.hero-card {
    background-color: #fff6ef;
    /* 薄いオレンジ背景 */
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(241, 125, 58, 0.1);
}

/* アイコンの背景（オレンジの丸） */
.hero-card__icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    margin-right: 20px;
    background-color: #f17d3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card__content {
    flex-grow: 1;
}

.hero-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.hero-card__header h3 {
    margin: 0;
    font-size: 18px;
    color: #f17d3a;
    font-weight: bold;
}

.hero-card__badge {
    background-color: #f17d3a;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 5px;
}

.hero-card__content p {
    margin: 0;
    font-size: 14px;
    color: #444;
    line-height: 1.4;
}

.new-contents {
    color: #f17d3a !important;
}

/* -----------------------------------------
   3. 大分類（各セクション）& 見出し
----------------------------------------- */
.package-group {
    margin-bottom: 60px;
}

.package-group-header {
    margin-bottom: 24px;
}

.package-group-header__main {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

/* 丸みのあるカラーバッジ */
.package-badge {
    display: inline-block;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 6px 20px;
    border-radius: 10px;
}

.package-badge--orange {
    background-color: #f17d3a;
}

.package-badge--green {
    background-color: #55a065;
}

/* 見出しキャッチフレーズ */
.package-catchphrase {
    font-size: 22px;
    font-weight: bold;
    color: #f17d3a;
    /* デフォルトはオレンジ */
    margin: 0;
}

.package-badge--green+.package-catchphrase {
    color: #55a065;
    /* グリーンの場合は合わせる */
}

/* 説明文と凡例のコンテナ */
.package-group-header__sub {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    align-items: flex-end;
    /* flex-wrap: wrap; */
    gap: 16px;
    /* border-bottom: 2px solid #eaeaea; */
    padding-bottom: 16px;
}

.package-description {
    font-size: 15px;
    color: #444;
    margin: 0;
    line-height: 1.5;
}

/* -----------------------------------------
   4. 中分類（サブカテゴリ）
----------------------------------------- */
.sub-category {
    margin-bottom: 40px;
}

.sub-category-header {
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid #ccc;
}

.sub-category-title {
    font-size: 18px;
    margin: 0 0 6px 0;
    font-weight: bold;
}

.sub-category-title--orange {
    color: #f17d3a;
    border-left-color: #f17d3a;
}

.sub-category-title--green {
    color: #55a065;
    border-left-color: #55a065;
}

.sub-category-desc {
    font-size: 13px;
    color: #555;
    margin: 0;
}

/* -----------------------------------------
   5. 利用の流れ
----------------------------------------- */

.flow__title {
    text-align: center;
    font-size: 24px;
    color: #f26b21;
    font-weight: 700;
}

.flow__lead {
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    color: #555;
}

.flow__list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-top: 60px;
}

.flow__item {
    width: 320px;
    min-height: 330px;
    background: #d9ecc7;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    box-sizing: border-box;
}

.flow__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #ff6a21;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow__icon i {
    color: #000;
    font-size: 40px;
}

.flow__step {
    color: #ff6a21;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 5px;
}

.flow__item h5 {
    color: #ff6a21;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
}

.flow__item p:last-child {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.flow__arrow {
    align-self: center;
    font-size: 52px;
    color: #000;
    flex-shrink: 0;
}

.flow__guide {
    margin-top: 60px;
    text-align: center;
}

.flow__guide-title {
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 700;
}

@media(max-width:767px) {
    .flow__list {
        flex-direction: column;
        gap: 10px;
    }

    .flow__arrow {
        transform: rotate(90deg);
    }

    .flow__item {
        width: 100%;
    }

    .flow__title {
        font-size: 28px;
    }

    .flow__item h5 {
        font-size: 20px;
    }
}


/* -----------------------------------------
   5. レイアウト（CSS Gridを用いた2カラム）
----------------------------------------- */
/* 直下にリストがある場合と、サブカテゴリ内のリストの両方をGrid化 */
.package-group>.package-content>.package-btn,
.package-list {
    gap: 20px;
}

/* 直下配置用（計画・設計などの場合） */
.package-group>.package-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* package-list がネストされている場合の相殺設定 */
.package-group>.package-content:has(.sub-category) {
    display: block;
}

/* -----------------------------------------
   6. カード（ボタン）のデザイン
----------------------------------------- */
.package-btn {
    display: flex;
    align-items: flex-start;
    background-color: #EBE6DF;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    width: 100%;
}

.package-btn:not(.no-hover):hover,
.package-btn:not(.no-hover):focus,
.hero-grid a:not(.no-hover):hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    outline: none;
}

/* サムネイル画像 */
.package-icon {
    width: 110px;
    flex-shrink: 0;
    margin-right: 16px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.package-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #eee;
}

/* テキストエリア */
.package-info {
    flex-grow: 1;
}

/* カードタイトル */
.package-info h3 {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: #333;
    font-weight: bold;
}

/* テーマカラー：カード内タイトル */
.package-group--orange .package-info h3 {
    color: #f17d3a;
}

.package-group--green .package-info h3 {
    color: #55a065;
}

/* 説明文 */
.package-info p {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* -----------------------------------------
   7. バージョンタグ (V6 / V7) & 凡例
----------------------------------------- */
.version {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    border-radius: 5px;
    padding: 2px 8px;
    line-height: 1;
    margin-left: 6px;
    vertical-align: middle;
}

.version-6 {
    background-color: #1a365d;
}

/* 紺色 */
.version-7 {
    background-color: #e56b25;
}

/* オレンジ */

/* バージョン凡例（右上の枠） */
.version-legend {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: #555;
    background: #f9f9f9;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 1em;
}

/* -----------------------------------------
   8. スマホ・タブレット用 レスポンシブ対応
----------------------------------------- */
@media screen and (max-width: 768px) {

    /* 大枠・全体 */
    .smart-package-wrap {
        padding: 20px 15px;
    }

    .package-group {
        margin-bottom: 40px;
    }

    /* ヒーローセクション */
    .smart-package-hero {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-card {
        padding: 16px;
    }

    .hero-card__icon {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }

    .hero-card__icon svg {
        width: 24px;
        height: 24px;
    }

    .hero-card__header h3 {
        font-size: 16px;
    }

    .hero-card__content p {
        font-size: 13px;
    }

    /* パッケージグループヘッダー */
    .package-group-header__main {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .package-catchphrase {
        font-size: 18px;
    }

    .package-group-header__sub {
        flex-direction: column;
        align-items: flex-start;
    }

    .version-legend {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .sub-category-title {
        font-size: 18px;
    }

    /* カードレイアウト */
    .package-group>.package-content,
    .package-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .package-icon {
        width: 80px;
        margin-right: 12px;
    }

    .package-info h3 {
        font-size: 15px;
    }

    .package-info p {
        font-size: 12px;
    }
}

.features__content_sub_category {
    background-color: #fff;
    border-bottom: 10px solid #ffda44;
    gap: 1em;
}

.features__content_sub_category p {
    font-size: 3rem !important;
}

.features__content {
    padding: 13.5rem 0 0;
}
