/* Updated: 2026-04-17 */
/* servuces.html 専用スタイル */

.service-page {
    background: #0a0e27;
}

/* --- ヒ?ロー --- */
.service-hero {
    position: relative;
    min-height: 48vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    overflow: hidden;
    padding: 130px 20px 64px;
}

.service-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 48%, rgba(0, 212, 255, 0.18) 0%, transparent 52%),
        radial-gradient(circle at 82% 50%, rgba(168, 85, 226, 0.16) 0%, transparent 52%);
    animation: svc-hero-pulse 10s ease-in-out infinite;
}

@keyframes svc-hero-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.88;
    }
}

.service-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.service-hero-eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00d4ff;
    margin-bottom: 0.85rem;
}

.service-hero-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 42px rgba(0, 212, 255, 0.2);
}

.service-hero-title .gradient-accent {
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-hero-lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.85;
}

/* --- パネル上?サービスグリ?? --- */
.service-page .service-catalog {
    padding: 56px 0 88px;
    background: #0f1419;
}

.service-page .service-catalog-inner {
    max-width: 1120px;
    margin: 0 auto;
    background: #0A0E27;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    padding: 2.25rem 1.5rem 2.75rem;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

@media (min-width: 768px) {
    .service-page .service-catalog-inner {
        padding: 2.75rem 2.25rem 3.25rem;
    }
}

.service-page .service-catalog-intro {
    font-size: 0.95rem;
    color: #9CA3AF;
    margin-bottom: 1.75rem;
    line-height: 1.65;
}

.service-page .service-offer-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .service-page .service-offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .service-page .service-offer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-page .service-offer-card {
    display: block;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    padding: 1.35rem 1.2rem 1.45rem;
    position: relative;
    transition: all 0.25s ease;
    background: linear-gradient(145deg, #0F172A, #0A0E27);
    text-decoration: none;
    color: #E5E7EB;
    min-height: 100%;
}

.service-page .service-offer-card:hover {
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.25);
    transform: translateY(-4px);
}

.service-page .service-offer-card .svc-num {
    font-size: 0.78rem;
    font-weight: 800;
    color: #00D4FF;
    margin-bottom: 0.45rem;
    letter-spacing: 0.04em;
}

.service-page .service-offer-card h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
    color: #FFFFFF;
    line-height: 1.45;
}

.service-page .service-offer-card p {
    font-size: 0.86rem;
    color: #9CA3AF;
    line-height: 1.65;
}

.service-page .service-offer-card .svc-arrow {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    color: #00D4FF;
    font-size: 1.05rem;
    line-height: 1;
}
/* ================================================================================
   2026-04-17: service-detail-01?07 共?
   ================================================================================ */

/* 2026-04-17: service-detail-06 ヒ?ロー?CTA・Contact ブロ?ク */
.svc-detail-hero-cta {
    margin-top: 1.25rem;
}

.svc-detail-page {
    background: #0a0e27;
}

.svc-detail-main {
    padding-bottom: 0;
}


/* ヒ?ロー?フル?ダーク??01事業構想のヒ?ロー?参?サイト?アクセント? */
.svc-detail-hero {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    background: linear-gradient(140deg, #0f1419 0%, #1a1f35 55%, #12182a 100%);
    color: #fff;
    padding: 3rem 0 3.5rem;
    border-top: 1px solid rgba(0, 212, 255, 0.12);
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
    position: relative;
    overflow: hidden;
}

.svc-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 40%, rgba(0, 212, 255, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 88% 60%, rgba(168, 85, 247, 0.12) 0%, transparent 48%);
    pointer-events: none;
}

.svc-detail-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
}

.svc-detail-eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    color: #00d4ff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.svc-detail-hero .svc-detail-h2,
.svc-detail-hero h1 {
    font-size: clamp(1.45rem, 2.6vw, 2.35rem);
    line-height: 1.34;
    margin-bottom: 1rem;
    font-weight: 800;
    color: #fff;
}

.svc-detail-lead {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.75;
    max-width: 640px;
}

.svc-detail-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
}

.svc-detail-kpi-item {
    padding: 1.15rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.svc-detail-kpi-value {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.svc-detail-kpi-label {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
}

/* ライトセクション??01事業構想の bg-soft / bg-base?? */
.svc-detail-section {
    padding: 3rem 0;
}

.svc-detail-section--soft {
    background: #0A0E27;
}

.svc-detail-section--base {
    background: #0A0E27;
}

.svc-detail-section-inner {
    max-width: 1120px;
}

.svc-detail-section-label {
    color: #2563eb;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.svc-detail-h2 {
    font-size: clamp(1.45rem, 2.5vw, 2.1rem);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
    font-weight: 800;
}

.svc-detail-h3 {
    font-size: 1.02rem;
    line-height: 1.45;
    margin-bottom: 0.4rem;
    color: #E5E7EB;
    font-weight: 700;
}

.svc-detail-muted {
    color: #9CA3AF;
    margin-bottom: 1.25rem;
    line-height: 1.65;
    font-size: 0.95rem;
}

.svc-detail-grid {
    display: grid;
    gap: 1rem;
}

.svc-detail-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.svc-detail-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.svc-detail-card {
    background: linear-gradient(145deg, #0F172A, #0A0E27);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    padding: 1.1rem 1rem 1.15rem;
    transition: all 0.25s ease;
}

.svc-detail-card p {
    color: #9CA3AF;
}

.svc-detail-index {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, #00D4FF 0%, #A855F7 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    font-weight: 800;
    margin-bottom: 0.55rem;
}

.svc-detail-process-row {
    margin-top: 0.5rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.65rem;
}

.svc-detail-process-item {
    text-align: center;
    position: relative;
}

.svc-detail-process-circle {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, #00D4FF 0%, #A855F7 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
}

.svc-detail-process-item .svc-detail-h3 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.svc-detail-process-item p {
    font-size: 0.8rem;
    color: #9CA3AF;
    line-height: 1.5;
}

.svc-detail-process-item:not(:last-child)::after {
    content: "?";
    position: absolute;
    right: -0.32rem;
    top: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* FAQ??01事業構想.html と同挙動? */
.svc-detail-faq {
    margin: 0;
}

.svc-faq-line {
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    padding: 0.95rem 0.15rem;
    cursor: pointer;
}

.svc-faq-line dt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.94rem;
    font-weight: 700;
    color: #E5E7EB;
}

.svc-faq-line dt::after {
    content: "+";
    color: #00D4FF;
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}

.svc-faq-line.open dt::after {
    content: "?";
}

.svc-faq-line dd {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    font-size: 0.88rem;
    color: #9CA3AF;
    transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.svc-faq-line.open dd {
    max-height: 220px;
    opacity: 1;
    margin-top: 0.5rem;
}

.svc-detail-cta-wrap {
    padding: 72px 0 88px;
    background: #0A0E27;;
}

.svc-detail-cta-wrap .cta-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.14), rgba(168, 85, 247, 0.14));
    border: 1px solid rgba(168, 85, 247, 0.28);
    border-radius: 20px;
    padding: 44px 28px;
    text-align: center;
}

.svc-detail-cta-wrap .cta-text {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
    margin: 12px auto 24px;
    max-width: 700px;
}

@media (max-width: 980px) {
    .svc-detail-hero-grid {
        grid-template-columns: 1fr;
    }

    .svc-detail-grid--2,
    .svc-detail-grid--3 {
        grid-template-columns: 1fr;
    }

    .svc-detail-process-row {
        grid-template-columns: 1fr;
    }

    .svc-detail-process-item:not(:last-child)::after {
        content: none;
    }
}

/* ================================================================================
   2026-04-18: service-detail-01?07 ? services.html の AOS と同条件でスクロール演?を統一
   - services.html 直書? AOS.init: duration 800 / easing ease-in-out / once / offset 100
   - data-aos="fade-up" 相?: AOS 2.3.4 既定?縦移動量??translate3d(0,100px,0)?を再現
   - セクション背景に animation は付けな???飾の無限アニメは排除??
   - body.svc-detail-page のみ?一覧 services.html には未使用??
   ================================================================================ */
.svc-detail-page .svc-detail-section,
.svc-detail-page .svc-detail-hero,
.svc-detail-page .svc-detail-cta-wrap {
    animation: none !important;
}

.svc-detail-page .svc-detail-hero::before {
    animation: none !important;
}

.svc-detail-page .svc-detail-reveal > .container {
    opacity: 0;
    transform: translate3d(0, 100px, 0);
    transition: opacity 800ms ease-in-out, transform 800ms ease-in-out;
}

.svc-detail-page .svc-detail-reveal.is-inview > .container {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .svc-detail-page .svc-detail-reveal > .container {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
