﻿/* ==========================================================================
   Service Detail Page - Shared Styles (service-page.css)
   ========================================================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f4ffe8 100%);
    color: #222222;
    padding: 3rem 0 4rem;
    text-align: center;
    border-bottom: 5px solid var(--brand-color, #DFFF00);
}
.page-hero .breadcrumb {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
}
.page-hero .breadcrumb a {
    color: #0369a1;
    text-decoration: none;
}
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero .page-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}
.page-hero h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.page-hero .hero-desc {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
}
@media (min-width: 769px) {
    .page-hero h1 { font-size: 2.5rem; }
}

/* Service Description */
.service-intro {
    padding: 4rem 0;
}
.service-desc-box {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    box-shadow: 0 14px 26px rgba(183, 255, 42, 0.12);
    color: #475569;
    line-height: 2;
    font-size: 0.95rem;
    border-left: 6px solid var(--brand-color, #DFFF00);
}

/* ==========================================================================
   Before / After Section
   ========================================================================== */
.ba-section {
    padding: 4rem 0;
    background: #f8fafc;
}
.ba-section.bg-white {
    background: #ffffff;
}
.ba-block {
    margin-top: 3.5rem;
}
.ba-block:first-child {
    margin-top: 0;
}
.ba-block-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 4px solid var(--brand-color, #DFFF00);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* BA 繧ｰ繝ｪ繝・ラ・・蛻暦ｼ・/
.ba-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 600px) {
    .ba-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .ba-grid { grid-template-columns: repeat(3, 1fr); }
}

/* BA 繧ｫ繝ｼ繝・*/
.ba-card {
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ba-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Before/After 蜀咏悄繧ｨ繝ｪ繧｢ */
.ba-images {
    display: flex;
    width: 100%;
}
.ba-images-static {
    display: block;
    background: #ffffff;
}
.ba-static-image {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: #ffffff;
}
.ba-img-wrap {
    position: relative;
    flex: 1;
    border-right: 2px solid #ffffff;
    background-color: #f1f5f9;
}
.ba-img-wrap:last-child { border-right: none; }

.ba-img-wrap .label {
    position: absolute;
    top: 0; left: 0;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    z-index: 10;
    border-bottom-right-radius: 0.5rem;
}
.ba-img-wrap.before .label { background: #64748b; }
.ba-img-wrap.after  .label { background: var(--brand-color, #DFFF00); color: var(--brand-text, #0f172a); }

/* 蜀咏悄繝励Ξ繝ｼ繧ｹ繝帙Ν繝繝ｼ
   笘・・逵溘・霑ｽ蜉譁ｹ豕・
   photo-placeholder div 繧貞炎髯､縺励・   <img src="蜀咏悄繝輔ぃ繧､繝ｫ蜷・jpg" alt="隱ｬ譏・> 縺ｫ鄂ｮ縺肴鋤縺医※縺上□縺輔＞ */
.photo-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.75rem;
    background-color: #f1f5f9;
    gap: 0.4rem;
    text-align: center;
    padding: 0.5rem;
}
.ba-img-wrap.after .photo-placeholder {
    background-color: #e0f2fe;
    color: #38bdf8;
}
.photo-placeholder .ph-icon {
    font-size: 1.75rem;
    line-height: 1;
}

/* 螳滄圀縺ｮ蜀咏悄繧貞ｷｮ縺苓ｾｼ繧蝣ｴ蜷・*/
.ba-img-wrap img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

/* BA 繧ｫ繝ｼ繝芽ｪｬ譏・*/
.ba-card-info {
    padding: 1rem 1.25rem 1.25rem;
}
.ba-card-info h4 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
    color: #0f172a;
    font-weight: 700;
}
.ba-card-info p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
}

/* ==========================================================================
   Page CTA
   ========================================================================== */
.page-cta {
    background: linear-gradient(180deg, #f4ffe8 0%, #eaffc6 100%);
    padding: 4rem 0;
    text-align: center;
    color: #222222;
    border-top: 5px solid var(--brand-color, #DFFF00);
}
.page-cta h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 900;
}
.page-cta .cta-desc {
    color: #475569;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   Gallery / flexible blocks
   ========================================================================== */
.service-gallery-section {
    padding: 1.75rem 0 0;
    background: #ffffff;
}

.service-gallery {
    position: relative;
    min-height: clamp(260px, 42vw, 420px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    background: #e2e8f0;
}

.service-gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    margin: 0;
}

.service-gallery-slide.is-active {
    opacity: 1;
}

.service-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-detail-block {
    padding: 4rem 0;
    background: #ffffff;
}

.service-options-section {
    border-top: 1px solid #e2e8f0;
}

.service-detail-card {
    background: linear-gradient(180deg, #ffffff 0%, #f4ffe8 100%);
    border: 1px solid rgba(183, 255, 42, 0.5);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 14px 28px rgba(183, 255, 42, 0.12);
}

.service-detail-lead {
    color: #475569;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.service-option-list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.service-option-list li {
    position: relative;
    padding: 0.95rem 1rem 0.95rem 3rem;
    border-radius: 16px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    border: 1px solid #dbeafe;
}

.service-option-list li::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #dfff00 0%, #a3e635 100%);
    box-shadow: 0 0 0 6px rgba(223, 255, 0, 0.18);
}

@media (max-width: 768px) {
    .service-gallery-section {
        padding-top: 1rem;
    }

    .service-gallery {
        min-height: 240px;
        border-radius: 18px;
    }

    .service-detail-card {
        padding: 1.25rem;
        border-radius: 18px;
    }

    .service-option-list li {
        padding: 0.9rem 0.9rem 0.9rem 2.6rem;
        border-radius: 14px;
    }
}

/* ==========================================================================
   Ouchi Kaiteki Support
   ========================================================================== */
.support-lead-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

@media (min-width: 769px) {
    .support-lead-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.support-lead-card {
    background: #ffffff;
    border: 1px solid rgba(183, 255, 42, 0.5);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 14px 28px rgba(183, 255, 42, 0.12);
}

.support-lead-card h3 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 0.7rem;
}

.support-lead-card p {
    color: #475569;
    line-height: 1.8;
}

.support-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.support-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: #f4ffe8;
    border: 1px solid rgba(183, 255, 42, 0.8);
    color: #222222;
    font-size: 0.88rem;
    font-weight: 700;
}

.support-accordion-section {
    padding: 4rem 0;
    background: #f4ffe8;
}

.support-accordion {
    display: grid;
    gap: 1rem;
}

.support-accordion-item {
    background: #ffffff;
    border: 1px solid rgba(183, 255, 42, 0.55);
    border-radius: 22px;
    box-shadow: 0 14px 28px rgba(183, 255, 42, 0.12);
    overflow: hidden;
}

.support-accordion-button {
    width: 100%;
    background: linear-gradient(180deg, #f4ffe8 0%, #ffffff 100%);
    border: none;
    padding: 1.25rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
}

.support-accordion-button:hover {
    background: linear-gradient(180deg, #edfdd0 0%, #ffffff 100%);
}

.support-accordion-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
}

.support-accordion-title .icon {
    font-size: 1.4rem;
}

.support-accordion-meta {
    color: #64748b;
    font-size: 0.88rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.support-accordion-arrow {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: #dfff00;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.support-accordion-button[aria-expanded="true"] .support-accordion-arrow {
    transform: rotate(180deg);
}

.support-accordion-panel {
    padding: 0 1.35rem 1.35rem;
}

.support-price-list {
    list-style: none;
    border-top: 1px solid #e2e8f0;
}

.support-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px dashed #e2e8f0;
}

.support-price-row:last-child {
    border-bottom: none;
}

.support-price-name {
    font-weight: 700;
    color: #1e293b;
    line-height: 1.6;
}

.support-price-value {
    flex-shrink: 0;
    font-weight: 900;
    color: #0369a1;
    text-align: right;
    line-height: 1.5;
}

.support-price-value.is-unknown {
    color: #94a3b8;
}

.support-note {
    margin-top: 1rem;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 700;
}

.support-warning {
    background: #ffffff;
    border: 1px solid rgba(183, 255, 42, 0.7);
    border-left: 6px solid var(--brand-color, #B7FF2A);
    border-radius: 18px;
    padding: 1.25rem 1.4rem;
    color: #475569;
    line-height: 1.8;
    box-shadow: 0 14px 24px rgba(183, 255, 42, 0.12);
}

.support-warning strong {
    color: #0f172a;
}

@media (max-width: 768px) {
    .support-lead-card,
    .support-accordion-item {
        border-radius: 18px;
    }

    .support-accordion-button {
        padding: 1.1rem 1rem;
    }

    .support-accordion-panel {
        padding: 0 1rem 1rem;
    }

    .support-price-row {
        flex-direction: column;
        gap: 0.35rem;
    }

    .support-price-value {
        text-align: left;
    }
}

