/* ==========================================================================
   free-start.html 専用 CSS
   ========================================================================== */

/* 共通設定・変数（style.cssを上書き/拡張） */
:root {
    --green-bg: #006e3a;
    --green-accent: #00a859;
    --light-peach: #fff7f0;
    --shadow-premium: 0 20px 40px rgba(122, 72, 42, 0.08);
    --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.04);
}

/* ヒーローセクション */
.fs-hero {
    padding: 130px 0 100px;
    background-color: #fffaf5;
    position: relative;
    overflow: hidden;
}

.fs-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.fs-hero-text {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fs-hero-title {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: #4a3c31;
    line-height: 1.3;
    margin-bottom: 24px;
}

.fs-hero-title span.orange {
    color: var(--primary-color);
}

.fs-hero-desc-box {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fs-hero-text-free {
    display: block;
    color: #ff6a00;
    font-weight: 900;
    font-size: 1.7rem;
    margin-bottom: 12px;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.fs-hero-desc {
    font-size: 1.15rem;
    color: #5a4b41;
    font-weight: 600;
    line-height: 1.7;
}

.fs-hero-actions {
    margin-bottom: 24px;
}

.fs-hero-btn {
    font-size: 1.4rem;
    padding: 18px 48px;
    border-radius: 99px;
    font-weight: 900;
    font-family: 'Zen Maru Gothic', sans-serif;
    background: linear-gradient(135deg, #ff7300 0%, #ff8c00 100%);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.fs-hero-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 140, 0, 0.5);
}

.fs-hero-btn:active {
    transform: scale(0.98);
}

.fs-hero-features {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
}

.fs-feature-tag {
    background: #fff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    box-shadow: var(--shadow-card);
}

.fs-hero-subtext {
    font-size: 1.3rem;
    font-weight: 900;
    color: #c47312;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fs-hero-image-wrap {
    flex: 0 0 380px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fs-hero-cat {
    width: 100%;
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 15px 20px rgba(122, 72, 42, 0.15));
    animation: cat-gentle-bounce 4s ease-in-out infinite alternate;
}

@keyframes cat-gentle-bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* 公開までの流れ（緑背景セクション） */
.fs-flow-section {
    background-color: var(--green-bg);
    padding: 90px 0;
    color: #fff;
    position: relative;
}

.fs-flow-section h2 {
    color: #fff !important;
    margin-bottom: 50px;
    font-size: 2.4rem;
}

.fs-flow-cards {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.fs-flow-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    flex: 1;
    color: #333;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease;
}

.fs-flow-card:hover {
    transform: translateY(-5px);
}

.fs-flow-num-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.fs-flow-num {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--green-accent);
    font-family: 'Zen Maru Gothic', sans-serif;
    line-height: 1;
}

.fs-flow-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a1a;
}

.fs-flow-card:nth-child(1) .fs-flow-num { color: #ff8c00; }
.fs-flow-card:nth-child(3) .fs-flow-num { color: #2bb977; }
.fs-flow-card:nth-child(5) .fs-flow-num { color: #00aa6e; }

.fs-flow-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    font-weight: 600;
}

.fs-flow-arrow {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.6);
    flex: 0 0 auto;
    animation: arrow-pulse-x 1.5s infinite;
}

@keyframes arrow-pulse-x {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* プランの違いセクション */
.fs-plan-diff {
    padding: 100px 0;
    background-color: #fdfcf8;
}

.fs-section-title {
    font-size: 2.2rem;
    color: #4a3c31;
    margin-bottom: 50px;
    text-align: center;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.fs-plan-diff-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: start;
}

/* 左側：プレビュー＆赤枠 */
.fs-preview-col {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fs-preview-device {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(122, 72, 42, 0.1);
    position: relative;
    max-width: 320px;
    width: 100%;
}

.fs-preview-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: block;
}

.fs-preview-img {
    width: 100%;
    height: auto;
    display: block;
}

/* プレビュー上のオーバーレイ赤枠と引き出し線 */
.fs-preview-overlay-box {
    position: absolute;
    top: 58.5%; /* Serviceエリア付近 */
    left: 4%;
    width: 92%;
    height: 26.5%; /* 画像の下の説明文も含めて赤枠に入れる */
    border: 3px solid #ff3300;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 51, 0, 0.5), inset 0 0 8px rgba(255, 51, 0, 0.3);
    animation: red-border-pulse 2s infinite alternate;
    pointer-events: none;
}

.fs-preview-tag-indicator {
    position: absolute;
    top: -24px;
    right: -10px;
    background: #ff3300;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    animation: indicator-bounce 0.5s ease infinite alternate;
}

@keyframes red-border-pulse {
    0% { border-color: #ff3300; box-shadow: 0 0 10px rgba(255, 51, 0, 0.4); }
    100% { border-color: #ff8800; box-shadow: 0 0 20px rgba(255, 136, 0, 0.7); }
}

@keyframes indicator-bounce {
    0% { transform: translateY(0) rotate(5deg); }
    100% { transform: translateY(-4px) rotate(5deg); }
}

.fs-preview-explain-bubble {
    margin-top: 24px;
    background: #fff8f2;
    border: 2px dashed #e69d62;
    border-radius: 12px;
    padding: 16px;
    max-width: 320px;
    position: relative;
    box-shadow: var(--shadow-card);
}

.fs-preview-explain-bubble p {
    font-size: 0.95rem;
    color: #4a3c31;
    font-weight: 700;
    line-height: 1.5;
}

.fs-preview-explain-bubble p i {
    color: #ff5500;
    margin-right: 6px;
}

.fs-preview-explain-sub {
    margin-top: 10px;
    font-size: 0.85rem !important;
    color: #7a6b60;
    font-weight: 500 !important;
}

/* 右側：プランカード */
.fs-plans-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.fs-plan-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(122, 72, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fs-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
}

.fs-plan-card-header {
    background: linear-gradient(135deg, #f7a048 0%, #ff8c00 100%);
    padding: 18px 24px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fs-plan-card.standard .fs-plan-card-header {
    background: linear-gradient(135deg, #e65c00 0%, #f12711 100%);
}

.fs-plan-name {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.fs-plan-price {
    font-size: 1.3rem;
    font-weight: 900;
}

.fs-plan-price span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.fs-plan-card-body {
    padding: 24px;
}

.fs-plan-limit {
    font-size: 1.1rem;
    font-weight: 800;
    color: #4a3c31;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fs-plan-limit i {
    color: var(--primary-color);
}

.fs-plan-card.standard .fs-plan-limit i {
    color: #e65c00;
}

/* 画像ギャラリー */
.fs-plan-img-single {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #efede8;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.fs-plan-img-single:hover {
    transform: scale(1.02);
}

.fs-plan-img-single img {
    width: 100%;
    height: auto;
    display: block;
}

.fs-plan-img-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 8px;
}

.fs-grid-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #efede8;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.fs-grid-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);
}

.fs-grid-item img {
    width: 100%;
    height: auto;
    display: block;
}

.fs-grid-caption {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #666;
    margin-top: 4px;
}

.fs-grid-item-wrap {
    display: flex;
    flex-direction: column;
}

.fs-plan-note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 12px;
    font-weight: 600;
}

/* 最初はライトプランで始めますセクション */
.fs-starting {
    padding: 80px 0 100px;
    background-color: #fffaf5;
}

.fs-starting-box {
    background: #fff;
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(122, 72, 42, 0.08);
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.fs-starting-title {
    font-size: 2.0rem;
    color: #4a3c31;
    margin-bottom: 32px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 900;
}

.fs-starting-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.fs-detail-badge {
    background: #ffebe5;
    padding: 16px 28px;
    border-radius: 16px;
    border: 1px solid #ffd0c2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fs-detail-badge.form {
    background: #f0f3ff;
    border-color: #d2daff;
}

.fs-badge-label {
    font-size: 0.9rem;
    color: #887265;
    font-weight: 700;
}

.fs-detail-badge.form .fs-badge-label {
    color: #657188;
}

.fs-badge-value {
    font-size: 1.4rem;
    font-weight: 900;
    color: #e65c00;
}

.fs-detail-badge.form .fs-badge-value {
    color: #e63c00;
}

.fs-badge-value.none {
    color: #555;
}

.fs-badge-sub {
    font-size: 0.8rem;
    color: #887265;
    display: block;
    margin-top: 2px;
    font-weight: 600;
}

.fs-starting-info {
    font-size: 1.1rem;
    color: #666;
    font-weight: 700;
    margin-bottom: 40px;
}

.fs-starting-info i {
    color: var(--primary-color);
    margin-right: 6px;
}

.fs-starting-btn-wrap {
    margin-bottom: 24px;
}

.fs-starting-btn {
    font-size: 1.5rem;
    padding: 20px 60px;
    border-radius: 99px;
    font-weight: 900;
    font-family: 'Zen Maru Gothic', sans-serif;
    background: linear-gradient(135deg, #ff6a00 0%, #ff9000 100%);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.fs-starting-btn:hover {
    transform: scale(1.04) translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 106, 0, 0.55);
}

.fs-starting-btn:active {
    transform: scale(0.98);
}

.fs-starting-note {
    font-size: 0.9rem;
    color: #887c75;
    font-weight: 600;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   レスポンシブデザイン（SP対応）
   ========================================================================== */
@media (max-width: 992px) {
    .fs-plan-diff-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .fs-preview-col {
        order: 2; /* スマホではプレビューを下に */
    }
    
    .fs-plans-col {
        order: 1;
    }
    
    .fs-preview-device {
        max-width: 280px;
    }
    
    .fs-preview-explain-bubble {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .fs-hero {
        padding: 50px 0 70px;
    }

    .fs-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .fs-hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .fs-hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .fs-hero-image-wrap {
        flex: 0 0 auto;
        width: 80%;
        max-width: 280px;
    }

    .fs-flow-cards {
        flex-direction: column;
        gap: 15px;
    }

    .fs-flow-card {
        width: 100%;
        min-height: auto;
    }

    .fs-flow-arrow {
        transform: rotate(90deg);
        animation: arrow-pulse-y 1.5s infinite;
        margin: 5px 0;
    }

    @keyframes arrow-pulse-y {
        0%, 100% { transform: rotate(90deg) translateX(0); }
        50% { transform: rotate(90deg) translateX(5px); }
    }

    .fs-starting-box {
        padding: 40px 20px;
    }

    .fs-starting-title {
        font-size: 1.6rem;
    }

    .fs-starting-details {
        gap: 15px;
    }

    .fs-detail-badge {
        width: 100%;
        justify-content: space-between;
        padding: 14px 20px;
    }

    .fs-starting-btn {
        width: 100%;
        padding: 18px 24px;
        font-size: 1.25rem;
        justify-content: center;
    }
}
