/* =========================================================
   Starter Plan Page Styles V2 (Blue Leaf Studio)
   ========================================================= */

/* 共通設定 */
.plan-main {
    padding-top: 80px; /* 固定ヘッダー分の余白 */
    overflow: hidden;
}

/* =========================================================
   1. ヒーローセクション
   ========================================================= */
.plan-hero-v2 {
    position: relative;
    padding: 150px 0 120px;
    background-color: var(--color-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-v2-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 抽象的なデジタルグリッド/奥行きのある背景 */
    background-image: 
        linear-gradient(rgba(253, 253, 253, 0.8), var(--color-base)),
        radial-gradient(circle at 80% 20%, rgba(50, 155, 167, 0.15) 0%, transparent 40%),
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(50, 155, 167, 0.03) 40px, rgba(50, 155, 167, 0.03) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(50, 155, 167, 0.03) 40px, rgba(50, 155, 167, 0.03) 41px);
    z-index: 1;
}

.hero-v2-content {
    position: relative;
    z-index: 2;
}

.hero-v2-sub {
    font-size: 1rem;
    color: var(--color-main);
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    font-weight: 500;
}

.hero-v2-main {
    font-size: 3rem;
    line-height: 1.4;
    color: var(--color-text-main);
    font-weight: 700;
}

.hero-v2-en {
    font-family: var(--font-heading);
    font-size: 4rem;
    display: block;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--color-main), #1d6168);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================================
   2. コンセプト（初期費用0円）
   ========================================================= */
.plan-concept {
    padding: 60px 0 100px;
    margin-top: -60px; /* ヒーローに少し食い込ませる */
    position: relative;
    z-index: 10;
}

.concept-inner {
    padding: 60px 80px !important;
    text-align: center;
    border-top: 4px solid var(--color-main);
}

.concept-title {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--color-text-main);
}

.concept-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto 40px;
}

.concept-price {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-main);
    color: var(--color-white);
    padding: 20px 60px;
    border-radius: 50px;
    box-shadow: var(--shadow-float);
}

.price-label {
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: -5px;
    opacity: 0.9;
}

.price-value {
    font-size: 4.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}

.price-value small {
    font-size: 1.5rem;
    font-weight: 500;
    margin-left: 5px;
}

/* =========================================================
   3. オールインワンの機能説明
   ========================================================= */
.plan-features-allinone {
    padding: 100px 0;
}

.allinone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.allinone-card {
    padding: 40px !important;
    text-align: center;
}

.allinone-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--color-main);
}

.allinone-card h3 {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--color-text-main);
    margin-bottom: 15px;
    line-height: 1.2;
}

.allinone-card h3 span {
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--color-sub);
    display: block;
    margin-top: 5px;
}

.allinone-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* =========================================================
   4. 費用シミュレーション
   ========================================================= */
.plan-simulation {
    padding: 100px 0;
}

.simulation-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.sim-card {
    flex: 1;
    max-width: 450px;
    padding: 50px 40px !important;
    text-align: center;
    position: relative;
    border: 2px solid transparent;
}

.sim-card-highlight {
    border-color: var(--color-main);
}

.sim-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-sub);
    color: #fff;
    padding: 5px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
}

.sim-badge.highlight {
    background: var(--color-main);
}

.sim-card h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--color-text-main);
}

.sim-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: var(--color-main);
}

.sim-price .currency {
    font-size: 1rem;
    margin-right: 5px;
    color: var(--color-text-main);
}

.sim-price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}

.sim-price .tax {
    font-size: 0.9rem;
    margin-left: 5px;
    color: var(--color-text-muted);
}

.sim-price .period {
    font-size: 1rem;
    margin-left: 10px;
    color: var(--color-text-main);
    font-weight: 600;
}

.sim-arrow {
    width: 40px;
    color: var(--color-sub);
}

/* =========================================================
   5. 品質と哲学
   ========================================================= */
.plan-quality {
    padding: 100px 0;
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quality-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.radius-img {
    border-radius: 20px;
}

.shadow-lg {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   6. ブランド体験
   ========================================================= */
.plan-brand-exp {
    padding: 100px 0;
}

.exp-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.exp-tile {
    padding: 0 !important;
    overflow: hidden;
}

.exp-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f4f6f5;
}

.exp-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.exp-tile:hover .exp-img-wrapper img {
    transform: scale(1.05);
}

.exp-content {
    padding: 30px;
    text-align: left;
}

.exp-content h4 {
    font-size: 1.2rem;
    color: var(--color-main);
    margin-bottom: 10px;
}

.exp-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* =========================================================
   7. サービス内容比較表
   ========================================================= */
.plan-table-sec {
    padding: 100px 0;
}

.table-wrapper {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 40px !important;
}

.service-table {
    width: 100%;
    border-collapse: collapse;
}

.service-table th,
.service-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-align: left;
}

.service-table tr:last-child th,
.service-table tr:last-child td {
    border-bottom: none;
}

.service-table th {
    width: 60%;
    font-weight: 500;
    color: var(--color-text-main);
}

.service-table td {
    width: 40%;
    color: var(--color-text-muted);
}

.check-icon {
    color: var(--color-main);
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 5px;
}

/* =========================================================
   8. ロードマップ
   ========================================================= */
.plan-roadmap {
    padding: 100px 0;
}

.roadmap-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.step-item {
    text-align: center;
    position: relative;
    flex: 1;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-sub);
    margin-bottom: 10px;
}

.step-item h4 {
    font-size: 1.1rem;
    color: var(--color-main);
}

.step-line {
    width: 40px;
    height: 2px;
    background-color: var(--color-sub);
    flex-shrink: 0;
    margin: 0 10px;
}

/* =========================================================
   9. クロージング (CTA)
   ========================================================= */
.plan-cta-v2 {
    position: relative;
    padding: 120px 0;
    color: var(--color-white);
    overflow: hidden;
}

.cta-v2-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-main), #1a5157);
    z-index: 1;
}

.plan-cta-v2 .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.cta-actions .btn {
    background: var(--color-white);
    color: var(--color-main);
}

.cta-actions .btn:hover {
    background: var(--color-base);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* =========================================================
   Responsive Design
   ========================================================= */
@media (max-width: 991px) {
    .allinone-grid, .exp-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quality-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-v2-main { font-size: 2.2rem; }
    .hero-v2-en { font-size: 3rem; }
    
    .concept-inner { padding: 40px 20px !important; }
    .price-value { font-size: 3rem; }
    
    .allinone-grid, .exp-tiles { grid-template-columns: 1fr; }
    
    .simulation-cards {
        flex-direction: column;
    }
    
    .sim-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .roadmap-steps {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20%;
    }
    
    .step-item {
        text-align: left;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .step-num { margin-bottom: 0; }
    
    .step-line {
        width: 2px;
        height: 30px;
        margin: 0 0 20px 15px;
    }
}
