/* ========================================
   ホームページ制作ページ用スタイル（ライトテーマ版）
   ======================================== */

/* -- GSAP未発火時のフォールバック -- */
.page-web-design .gsap-stagger-item,
.page-web-design .gsap-reveal-up {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
}
.page-web-design .section-title {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
}

/* -- 背景要素をcontent-visibility:hiddenから保護 -- */
.page-web-design .wd-hero__bg,
.page-web-design .wd-cta-bg,
.page-web-design .wd-plans-bg {
    content-visibility: visible !important;
    contain: none !important;
    pointer-events: none;
}

/* アイコン要素をcontent-visibility:hiddenから保護 */
.wd-problem-card__icon,
.wd-strength-card__icon,
.wd-plan-card__icon,
.wd-flow-item__icon,
.wd-option-item__icon {
    content-visibility: visible !important;
    contain: none !important;
}

/* -- ヒーロー -- */
.wd-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #fff;
}
.wd-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    z-index: 0;
}
.wd-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(78, 205, 196, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(78, 205, 196, .05) 1px, transparent 1px);
    background-size: 60px 60px;
}
.wd-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .3;
    animation: wdOrbFloat 12s ease-in-out infinite alternate;
}
.wd-hero__orb--1 { width: 400px; height: 400px; background: rgba(78, 205, 196, .5); top: -10%; right: -5%; }
.wd-hero__orb--2 { width: 300px; height: 300px; background: rgba(255, 107, 107, .35); bottom: -5%; left: -3%; animation-delay: -4s; }
.wd-hero__orb--3 { width: 250px; height: 250px; background: rgba(78, 205, 196, .3); top: 40%; left: 30%; animation-delay: -8s; }
@keyframes wdOrbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.1); }
}
.wd-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}
.wd-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    opacity: .8;
    margin-bottom: 24px;
}
.wd-hero__eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ECDC4;
    display: inline-block;
    animation: wdDotPulse 2s ease-in-out infinite;
}
@keyframes wdDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.3); }
}
.wd-hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 24px;
}
.wd-hero__title--accent {
    background: linear-gradient(90deg, #4ECDC4, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.wd-hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.9;
    opacity: .85;
    margin-bottom: 36px;
    color: #fff;
}
.wd-hero__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* -- お悩みセクション -- */
.wd-problems-section {
    padding: 100px 0;
    background: #f8fafc;
}
.wd-problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.wd-problem-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
    transition: all .3s ease;
}
.wd-problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(78, 205, 196, .08);
    border-color: rgba(78, 205, 196, .3);
}
.wd-problem-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: #4ECDC4;
}
.wd-problem-card__icon svg { width: 100%; height: 100%; }
.wd-problem-card__text {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.7;
    margin: 0;
}

/* -- AIO/LLMO/GEO ハイライトバナー -- */
.wd-aio-highlight {
    position: relative;
    background: #fff !important;
    border-radius: 24px;
    padding: 48px 40px;
    margin-bottom: 48px;
    overflow: hidden;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    border: 2px solid #4ECDC4;
    box-shadow: 0 8px 40px rgba(78, 205, 196, .12);
}
.wd-aio-highlight::before {
    display: none !important;
}
.wd-aio-highlight::after {
    display: none !important;
}
.wd-aio-highlight__badge {
    position: absolute;
    top: 20px;
    right: 24px;
    background: linear-gradient(135deg, #FF6B6B, #e85d5d);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: .75rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 100px;
    letter-spacing: .08em;
    z-index: 1;
}
.wd-aio-highlight__content {
    position: relative;
    z-index: 1;
}
.wd-aio-highlight__title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 800;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    margin-bottom: 16px;
}
.wd-aio-highlight__icon {
    flex-shrink: 0;
    color: #4ECDC4 !important;
    -webkit-text-fill-color: #4ECDC4 !important;
}
.wd-aio-highlight__desc {
    font-size: 1rem;
    line-height: 1.9;
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    margin-bottom: 28px;
    max-width: 800px;
}
.wd-aio-highlight__desc strong {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-weight: 700;
}
.wd-aio-highlight__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.wd-aio-highlight__feature {
    background: #f0fdfa !important;
    border: 1px solid rgba(78, 205, 196, .3);
    border-radius: 14px;
    padding: 20px;
}
.wd-aio-highlight__feature strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0d9488 !important;
    -webkit-text-fill-color: #0d9488 !important;
    margin-bottom: 6px;
    letter-spacing: .04em;
}
.wd-aio-highlight__feature span {
    font-size: .88rem;
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    line-height: 1.7;
}
.wd-aio-highlight__note {
    font-size: .85rem;
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    margin: 0;
}
@media (max-width: 768px) {
    .wd-aio-highlight {
        padding: 32px 24px;
    }
    .wd-aio-highlight__features {
        grid-template-columns: 1fr;
    }
    .wd-aio-highlight__title {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* -- 強み -- */
.wd-strengths-section {
    padding: 100px 0;
    background: #fff;
}
.wd-strengths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.wd-strength-card {
    padding: 40px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.wd-strength-card:hover {
    box-shadow: 0 12px 32px rgba(78, 205, 196, .08);
    border-color: rgba(78, 205, 196, .3);
    transform: translateY(-4px);
}
.wd-strength-card__num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(78, 205, 196, .1);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}
.wd-strength-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.wd-strength-card__desc {
    font-size: .95rem;
    color: #64748b;
    line-height: 1.8;
    margin: 0;
}

/* -- 料金プラン -- */
.wd-plans-section {
    padding: 100px 0;
    position: relative;
    background: #f8fafc;
}
.wd-plans-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(78, 205, 196, .04) 0%, transparent 70%);
    z-index: 0;
}
.wd-plans-section .container { position: relative; z-index: 1; }
.wd-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
    align-items: stretch;
}
.wd-plan-card {
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 2px 16px rgba(0, 0, 0, .04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .3s ease;
    position: relative;
}
.wd-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(78, 205, 196, .10);
    border-color: rgba(78, 205, 196, .25);
}
.wd-plan-card--recommended {
    border-color: rgba(78, 205, 196, .4);
    box-shadow: 0 8px 30px rgba(78, 205, 196, .12);
    transform: scale(1.03);
}
.wd-plan-card--recommended:hover {
    transform: scale(1.03) translateY(-6px);
}
.wd-plan-card__badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #4ECDC4, #38b2ac);
    color: #fff;
    text-align: center;
    font-size: .85rem;
    font-weight: 700;
    padding: 8px;
    letter-spacing: .05em;
}
.wd-plan-card--recommended .wd-plan-card__header {
    padding-top: 56px;
}
.wd-plan-card__header {
    padding: 36px 28px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.wd-plan-card__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    color: #4ECDC4;
}
.wd-plan-card__icon svg { width: 100%; height: 100%; }
.wd-plan-card__name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.wd-plan-card__target {
    font-size: .85rem;
    color: #64748b;
    margin-bottom: 20px;
}
.wd-plan-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}
.wd-plan-card__price-num {
    font-size: 3rem;
    font-weight: 800;
    color: #4ECDC4;
    line-height: 1;
}
.wd-plan-card__price-unit {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
}
.wd-plan-card__price-tax {
    font-size: .75rem;
    color: #64748b;
    margin-left: 4px;
}
.wd-plan-card__body {
    padding: 24px 28px;
    flex: 1;
}
.wd-plan-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.wd-plan-card__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: .92rem;
    color: #4a5568;
    border-bottom: 1px solid rgba(0, 0, 0, .04);
}
.wd-plan-card__feature-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    font-weight: 700;
}
.wd-plan-card__feature--included .wd-plan-card__feature-icon {
    color: #4ECDC4;
}
.wd-plan-card__feature--excluded {
    color: #94a3b8;
}
.wd-plan-card__feature--excluded .wd-plan-card__feature-icon {
    color: #cbd5e1;
}
.wd-plan-card__note {
    font-size: .85rem;
    color: #64748b;
    margin-bottom: 16px;
    text-align: center;
}
.wd-plan-card__best-for {
    font-size: .85rem;
    color: #64748b;
    background: rgba(78, 205, 196, .06);
    padding: 14px 16px;
    border-radius: 10px;
    line-height: 1.7;
}
.wd-plan-card__footer {
    padding: 0 28px 28px;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 1.5px solid rgba(78, 205, 196, .5);
    border-radius: 10px;
    color: #4ECDC4;
    font-weight: 600;
    font-size: .95rem;
    background: transparent;
    transition: all .3s ease;
    text-decoration: none;
    cursor: pointer;
}
.btn-outline:hover {
    background: rgba(78, 205, 196, .08);
    color: #38b2ac;
    box-shadow: 0 4px 16px rgba(78, 205, 196, .12);
    transform: translateY(-2px);
}
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}
.wd-plans-note {
    margin-top: 40px;
    text-align: center;
    color: #94a3b8;
    font-size: .85rem;
    line-height: 1.8;
}
.wd-plans-note p { margin-bottom: 4px; }

/* -- オプション -- */
.wd-options-section {
    padding: 100px 0;
    background: #fff;
}
.wd-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.wd-option-item {
    padding: 28px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
    transition: all .3s ease;
}
.wd-option-item:hover {
    border-color: rgba(78, 205, 196, .3);
    box-shadow: 0 8px 24px rgba(78, 205, 196, .08);
    transform: translateY(-4px);
}
.wd-option-item__price {
    font-size: .85rem;
    font-weight: 700;
    color: #4ECDC4;
    background: rgba(78, 205, 196, .08);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}
.wd-option-item__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.wd-option-item__desc {
    font-size: .88rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* -- 制作の流れ -- */
.wd-flow-section {
    padding: 100px 0;
    background: #f8fafc;
}
.wd-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 48px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.wd-flow-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.wd-flow-item__step {
    flex-shrink: 0;
    width: 80px;
    font-size: .75rem;
    font-weight: 700;
    color: #4ECDC4;
    letter-spacing: .05em;
    padding-top: 4px;
}
.wd-flow-item__body {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
    flex: 1;
    transition: all .3s ease;
}
.wd-flow-item__body:hover {
    box-shadow: 0 8px 24px rgba(78, 205, 196, .08);
    border-color: rgba(78, 205, 196, .3);
}
.wd-flow-item__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: #4ECDC4;
}
.wd-flow-item__icon svg { width: 100%; height: 100%; }
.wd-flow-item__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.wd-flow-item__desc {
    font-size: .9rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}
.wd-flow-connector {
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, #4ECDC4, #e2e8f0);
    margin-left: 39px;
    flex-shrink: 0;
}

/* -- 実績数値 -- */
.wd-stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: #fff;
}
.wd-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.wd-stat__value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.wd-stat__unit {
    font-size: 1rem;
    font-weight: 600;
    opacity: .8;
}
.wd-stat__label {
    font-size: .9rem;
    opacity: .7;
}

/* -- FAQ -- */
.wd-faq-section {
    padding: 100px 0;
    background: #fff;
}
.wd-faq-list {
    max-width: 760px;
    margin: 48px auto 0;
}
.wd-faq-item {
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all .3s ease;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .02);
}
.wd-faq-item[open] {
    border-color: rgba(78, 205, 196, .3);
    box-shadow: 0 4px 16px rgba(78, 205, 196, .06);
}
.wd-faq-item__q {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    color: #1a1a2e;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
}
.wd-faq-item__q::before {
    content: "Q";
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ECDC4, #38b2ac);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
}
.wd-faq-item__q::-webkit-details-marker { display: none; }
.wd-faq-item__a {
    padding: 0 24px 20px 64px;
    font-size: .95rem;
    color: #64748b;
    line-height: 1.9;
}

/* -- CTA -- */
.wd-cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    color: #fff;
}
.wd-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    z-index: 0;
}
.wd-cta-bg__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(78, 205, 196, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(78, 205, 196, .05) 1px, transparent 1px);
    background-size: 60px 60px;
}
.wd-cta-bg__orb {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(78, 205, 196, .25);
    filter: blur(120px);
    opacity: .2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.wd-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.wd-cta-badge {
    display: inline-block;
    background: rgba(78, 205, 196, .2);
    color: #4ECDC4;
    font-size: .85rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: .05em;
}
.wd-cta-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 20px;
}
.wd-cta-title--accent {
    color: #4ECDC4;
}
.wd-cta-desc {
    font-size: 1rem;
    opacity: .85;
    line-height: 1.9;
    margin-bottom: 36px;
    color: #fff;
}
.wd-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.wd-cta-note {
    margin-top: 20px;
    font-size: .85rem;
    opacity: .6;
    color: #fff;
}

/* -- セクションタイトル色のオーバーライド -- */
.wd-problems-section .section-title,
.wd-strengths-section .section-title,
.wd-plans-section .section-title,
.wd-options-section .section-title,
.wd-flow-section .section-title,
.wd-faq-section .section-title {
    color: #1a1a2e !important;
}
.wd-stats-section .section-title {
    color: #fff !important;
}

/* -- セクションタイトルアンダーラインをカラフルに -- */
.wd-problems-section .section-title::after,
.wd-strengths-section .section-title::after,
.wd-plans-section .section-title::after,
.wd-options-section .section-title::after,
.wd-flow-section .section-title::after,
.wd-faq-section .section-title::after {
    background: linear-gradient(90deg, #4ECDC4, #FF6B6B) !important;
}

/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 1024px) {
    .wd-plans-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .wd-plan-card--recommended { transform: none; }
    .wd-plan-card--recommended:hover { transform: translateY(-6px); }
    .wd-problems-grid { grid-template-columns: repeat(2, 1fr); }
    .wd-options-grid { grid-template-columns: repeat(2, 1fr); }
    .wd-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 768px) {
    .wd-hero { min-height: 70vh; }
    .wd-hero__inner { padding: 90px 0 60px; }
    .wd-problems-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
    .wd-strengths-grid { grid-template-columns: 1fr; }
    .wd-options-grid { grid-template-columns: 1fr; }
    .wd-flow-item { flex-direction: column; gap: 8px; }
    .wd-flow-item__step { width: auto; }
    .wd-flow-connector { margin-left: 20px; }
    .wd-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .wd-hero__buttons,
    .wd-cta-buttons { flex-direction: column; align-items: center; }
}
