@charset "utf-8";

/* ============================================================================
   Studio Una - About Section Enhanced Design
   カード型レイアウトで視覚的に整理された情報提示
   ============================================================================ */

/* --------------------------------------------------------------
   About Section Base
   -------------------------------------------------------------- */

#about.about-enhanced {
    background: linear-gradient(180deg,
        var(--cream-white, #fdfcfa) 0%,
        var(--light-gray, #f5f3f0) 100%);
    overflow: visible;
}

.about-enhanced .about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* --------------------------------------------------------------
   Section Header
   -------------------------------------------------------------- */

.about-enhanced .about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-enhanced .section-tag {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-primary, #c8b8a1);
    margin-bottom: 1rem;
    font-weight: 400;
    font-family: var(--font-body, "Noto Sans JP", sans-serif);
}

.about-enhanced .section-title {
    font-family: var(--font-display, "Noto Serif JP", serif);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--charcoal, #2a2522);
    margin-bottom: 1.5rem;
}

.about-enhanced .section-title.foj1 {
    font-family: 'Klee One', cursive;
}

.about-enhanced .section-lead {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    color: var(--warm-gray, #6b6360);
    max-width: 100%;
    margin: 0 auto;
}

/* --------------------------------------------------------------
   Hero Image
   -------------------------------------------------------------- */

.about-enhanced .about-hero {
    position: relative;
    width: 100%;
    height: clamp(300px, 40vw, 500px);
    border-radius: 0;
    overflow: visible;
    margin-bottom: 3rem;
}

/* 画像オフセットあしらい（ゴールド背景） - 右下にオフセット表示 */
.about-enhanced .about-hero::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    background: var(--muted-gold, #c8b8a1);
    z-index: 0;
}

.about-enhanced .about-hero img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.about-enhanced .about-hero:hover img {
    transform: scale(1.05);
}

/* --------------------------------------------------------------
   Feature Cards (3つの強み)
   -------------------------------------------------------------- */

.about-enhanced .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 3rem;
}

.about-enhanced .feature-card {
    background: var(--cream-white, #fdfcfa);
    border-radius: 12px;
    padding: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow:
        0 4px 16px rgba(200, 184, 161, 0.12),
        0 2px 6px rgba(107, 99, 96, 0.08);
    border: 1px solid rgba(200, 184, 161, 0.2);
    position: relative;
    overflow: hidden;
}

.about-enhanced .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--primary-beige, #c8b8a1) 0%,
        var(--accent-gold, #d4af37) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-enhanced .feature-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 12px 32px rgba(200, 184, 161, 0.25),
        0 6px 16px rgba(107, 99, 96, 0.15);
    border-color: var(--primary-beige, #c8b8a1);
}

.about-enhanced .feature-card:hover::before {
    transform: scaleX(1);
}

/* Feature Icon */
.about-enhanced .feature-icon {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-enhanced .feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Feature Title */
.about-enhanced .feature-title {
    font-family: var(--font-display, "Noto Serif JP", serif);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--charcoal, #2a2522);
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Feature Description */
.about-enhanced .feature-description {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.7;
    color: var(--warm-gray, #6b6360);
    margin: 0;
}

/* --------------------------------------------------------------
   CTA Button
   -------------------------------------------------------------- */

.about-enhanced .about-cta {
    text-align: center;
    margin-top: 2rem;
}

.about-enhanced .btn-about {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--primary-beige, #c8b8a1);
    color: var(--cream-white, #fdfcfa);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 16px rgba(200, 184, 161, 0.3);
    position: relative;
    overflow: hidden;
}

.about-enhanced .btn-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    transition: left 0.6s;
}

.about-enhanced .btn-about:hover {
    background: var(--accent-gold, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
    color: var(--cream-white, #fdfcfa);
}

.about-enhanced .btn-about:hover::before {
    left: 100%;
}

.about-enhanced .btn-about i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.about-enhanced .btn-about:hover i {
    transform: translateX(4px);
}

/* --------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------- */

/* モバイルのみ表示の改行 */
.about-enhanced .mobile-only {
    display: inline;
}

@media (min-width: 769px) {
    .about-enhanced .mobile-only {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-enhanced .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-enhanced .about-header {
        margin-bottom: 2rem;
    }

    .about-enhanced .about-hero {
        height: 250px;
        margin-bottom: 2rem;
    }

    .about-enhanced .feature-card {
        padding: 1.75rem;
    }
}

@media (max-width: 576px) {
    .about-enhanced .about-hero {
        height: 200px;
        border-radius: 12px;
    }

    .about-enhanced .section-tag {
        font-size: 0.75rem;
    }

    .about-enhanced .btn-about {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}

/* --------------------------------------------------------------
   Animation
   -------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .about-enhanced .feature-card,
    .about-enhanced .about-hero img,
    .about-enhanced .btn-about,
    .about-enhanced .feature-icon {
        transition: none;
    }

    .about-enhanced .feature-card:hover,
    .about-enhanced .feature-card:hover .feature-icon {
        transform: none;
    }
}

/* --------------------------------------------------------------
   Hero Slider Styles (Scoped to .about-hero only)
   カード型デザインのメインビジュアルスライダー専用スタイル
   -------------------------------------------------------------- */

/* スライダーコンテナ */
.about-enhanced .about-hero .swiper {
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: transparent;
}

.about-enhanced .about-hero .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-enhanced .about-hero .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ページネーション */
.about-enhanced .about-hero .about-card-hero-pagination {
    bottom: 20px;
}

.about-enhanced .about-hero .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    transition: all 0.3s ease;
}

.about-enhanced .about-hero .swiper-pagination-bullet-active {
    background: var(--primary-beige);
    width: 32px;
    border-radius: 6px;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .about-enhanced .about-hero .about-card-hero-pagination {
        bottom: 15px;
    }

    .about-enhanced .about-hero .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }

    .about-enhanced .about-hero .swiper-pagination-bullet-active {
        width: 24px;
    }
}

@media (max-width: 576px) {
    .about-enhanced .about-hero .about-card-hero-pagination {
        bottom: 10px;
    }

    .about-enhanced .about-hero .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .about-enhanced .about-hero .swiper-pagination-bullet-active {
        width: 20px;
    }
}

/* ============================================================================
   Studio Una - About Section Immersive Design (Proposal A)
   全画面ヒーロー画像 + テキストオーバーレイ + パララックス効果
   ============================================================================ */

/* --------------------------------------------------------------
   Full-Screen Hero with Parallax
   -------------------------------------------------------------- */

#about-immersive {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--charcoal, #2a2522);
}

.about-immersive-hero {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    z-index: 1;
    will-change: transform;

    /* visibility/opacity切り替え用のtransition */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.about-immersive-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 動画背景用スタイル（Hero セクションと完全に同等） */
.about-immersive-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center center;
    z-index: 1;

    /* パフォーマンス最適化 */
    backface-visibility: hidden;
    pointer-events: none;
    user-select: none;
}

/* Overlay Gradient */
.about-immersive-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(42, 37, 34, 0.7) 0%,
        rgba(42, 37, 34, 0.4) 50%,
        rgba(42, 37, 34, 0.8) 100%
    );
    z-index: 2;

    /* 描画最適化：スクロール時のずれを軽減 */
    will-change: transform;
    backface-visibility: hidden;
}

/* Content Container */
.about-immersive-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem);
    text-align: center;
    color: var(--cream-white, #fdfcfa);
}

.about-immersive-tag {
    display: inline-block;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-beige, #c8b8a1);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
    opacity: 0.9;
}

.about-immersive-title {
    font-family: var(--font-display, "Noto Serif JP", serif);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: 0.05em;
}

.about-immersive-title.foj1 {
    font-family: 'Klee One', cursive;
}

.about-immersive-lead {
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    line-height: 1.8;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    opacity: 0.95;
    font-weight: 300;
}

.about-immersive-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    margin-top: clamp(3rem, 5vw, 4rem);
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid rgba(200, 184, 161, 0.3);
}

.about-immersive-feature {
    text-align: center;
}

.about-immersive-feature-icon {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    display: block;
}

.about-immersive-feature-title {
    font-family: var(--font-display, "Noto Serif JP", serif);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--cream-white, #fdfcfa);
}

.about-immersive-feature-text {
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    line-height: 1.6;
    opacity: 0.85;
    margin: 0;
}

/* CTA Button */
.about-immersive-cta {
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.btn-immersive {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: rgba(200, 184, 161, 0.15);
    backdrop-filter: blur(10px);
    color: var(--cream-white, #fdfcfa);
    text-decoration: none;
    border: 2px solid var(--primary-beige, #c8b8a1);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn-immersive::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-beige, #c8b8a1);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-immersive:hover {
    color: var(--charcoal, #2a2522);
    border-color: var(--accent-gold, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 184, 161, 0.4);
}

.btn-immersive:hover::before {
    left: 0;
}

.btn-immersive i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-immersive:hover i {
    transform: translateX(4px);
}

/* Scroll Indicator */
.about-immersive-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--cream-white, #fdfcfa);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

.about-immersive-scroll i {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.5rem;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* --------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------- */

@media (max-width: 768px) {
    #about-immersive {
        min-height: 80vh;
    }

    .about-immersive-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .btn-immersive {
        padding: 1rem 2.5rem;
        font-size: 0.95rem;
    }

    .about-immersive-scroll {
        bottom: 2rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .about-immersive-content {
        padding: 2rem 1.5rem;
    }

    .about-immersive-tag {
        font-size: 0.7rem;
    }
}

/* --------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .about-immersive-hero img {
        will-change: auto;
    }

    .about-immersive-scroll {
        animation: none;
    }

    .btn-immersive,
    .btn-immersive::before,
    .btn-immersive i {
        transition: none;
    }
}

.btn-immersive:focus-visible {
    outline: 3px solid var(--accent-gold, #d4af37);
    outline-offset: 4px;
}

/* ============================================================================
   Studio Una - About Immersive Parallax Effect V2
   背景固定タイプのパララックス（CSS-only implementation）

   変更履歴:
   2025-11-04 (1): 差動スクロールタイプ → 背景固定タイプに変更
   2025-11-04 (2): セクション自体に背景を設定する正しい実装に修正
   2025-11-04 (3): 背景を動画に変更（画像に戻せる形で実装）
   2025-11-05 (4): モバイル非表示のメディアクエリをコメントアウト
   2025-11-05 (5): video要素の配置を改善（スクロール時のずれを修正）
   - transform: translate(-50%, -50%) で完全な中央配置
   - backface-visibility: hidden でGPU加速による描画最適化
   2025-11-05 (6): スクロール時のエッジギャップを解消
   - min-width/min-height を 100% → 105% に拡大
   - 動画がビューポートより常に5%大きく表示され、エッジが見えなくなる
   - JavaScriptは about-immersive-parallax-v2.js に残してあります（将来戻す可能性を考慮）
   - 現在はこのCSSのみで背景固定パララックスを実装
   ============================================================================ */

/* セクション自体の設定 */
#about-immersive {
    position: relative;
    overflow: hidden;
}

/* 背景タイポグラフィ装飾 */
#about-immersive::before {
    content: "STUDIO UNA";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display, "Noto Serif JP", serif);
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
    user-select: none;
}

/* 動画背景用のコンテナ（固定パララックス） */
#about-immersive .about-immersive-hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

#about-immersive .about-immersive-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 105%;
    min-height: 105%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center center;

    /* パフォーマンス最適化：スクロール時のずれを防止 */
    backface-visibility: hidden;
    pointer-events: none;
    user-select: none;
}

/* 画像背景に戻す場合は、以下のコメントを外して上記の動画設定をコメントアウト */
/*
#about-immersive {
    background: url(../img/pback.webp) center center / cover fixed;
}
#about-immersive .about-immersive-hero {
    display: none;
}
*/

/* パララックス無効化（アクセシビリティ） */
@media (prefers-reduced-motion: reduce) {
    #about-immersive .about-immersive-hero video {
        display: none;
    }
    #about-immersive {
        background: url(../img/pback.webp) center center / cover scroll !important;
    }
}

/* モバイル対応: モバイルでも動画を表示するため、コメントアウト */
/*
@media (max-width: 768px) {
    #about-immersive .about-immersive-hero video {
        display: none;
    }
    #about-immersive {
        background: url(../img/pback.webp) center center / cover scroll;
    }
}
*/


/* ============================================================================
   Studio Una - Services Proposal B: Tabs Layout
   カテゴリータブで簡単切り替え。詳細コンテンツと比較表で情報を整理

   更新履歴:
   2025-11-04: サイト全体のトンマナに統一、絵文字をBootstrap Iconsに変更
   ============================================================================ */

/* Container */
.services-tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Tab Navigation */
.services-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.services-tab-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: transparent;
    border: 1px solid rgba(200, 184, 161, 0.25);
    border-radius: 50px;
    color: var(--warm-gray);
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.services-tab-button:hover {
    background: rgba(200, 184, 161, 0.08);
    border-color: rgba(200, 184, 161, 0.4);
    color: var(--charcoal);
    transform: translateY(-1px);
}

.services-tab-button.active {
    background: rgba(200, 184, 161, 0.12);
    border-color: var(--primary-beige);
    color: var(--charcoal);
    font-weight: 400;
}

.services-tab-icon {
    font-size: 1.05rem;
    opacity: 0.7;
}

/* Tab Panels */
.services-tabs-panels {
    position: relative;
    min-height: 500px;
}

.services-tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.services-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tab Content */
.services-tab-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.services-tab-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.services-tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.5s ease;
}

.services-tab-image:hover img {
    transform: scale(1.05);
}

/* Tab Details */
.services-tab-details-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
    line-height: 1.4;
}

.services-tab-details-subtitle {
    font-size: 1rem;
    color: var(--primary-beige);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.services-tab-details-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: 2rem;
}

/* Price */
.services-tab-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-top: 1px solid var(--primary-beige);
    border-bottom: 1px solid var(--primary-beige);
}

.services-tab-price-label {
    font-size: 1.5rem;
    color: var(--charcoal);
    font-weight: 400;
}

.services-tab-price-amount {
    font-size: 3rem;
    font-weight: 300;
    color: var(--charcoal);
    font-family: var(--font-display);
}

.services-tab-price-suffix {
    font-size: 1.2rem;
    color: var(--warm-gray);
}

/* Features */
.services-tab-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0 2rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 1.5rem;
}

.services-tab-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--charcoal);
    border-bottom: 1px solid rgba(200, 184, 161, 0.2);
}

.services-tab-features li:nth-last-child(-n+2) {
    border-bottom: none;
}

.services-tab-features i {
    color: var(--primary-beige);
    font-size: 1.2rem;
}

/* CTA */
.services-tab-cta {

    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    background: var(--soft-brown);
    color: var(--cream-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.services-tab-cta:hover {
    background: var(--primary-beige);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.services-tab-cta i {
    transition: transform 0.3s ease;
}

.services-tab-cta:hover i {
    transform: translateX(4px);
}

/* Comparison Table */
.services-comparison {
    margin-top: 5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(200, 184, 161, 0.3);
}

.services-comparison-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--charcoal);
}

.services-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--cream-white);
    box-shadow: var(--shadow-soft);
    border-radius: 8px;
    overflow: hidden;
}

.services-comparison-table thead {
    background: var(--soft-brown);
    color: var(--cream-white);
}

.services-comparison-table th {
    padding: 1.25rem;
    text-align: left;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.services-comparison-table td {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(200, 184, 161, 0.2);
    font-size: 0.95rem;
    color: var(--charcoal);
}

.services-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.services-comparison-table tbody tr:hover {
    background: rgba(200, 184, 161, 0.05);
}

.services-comparison-table i.check {
    color: var(--primary-beige);
    font-size: 1.2rem;
}

.services-comparison-table i.cross {
    color: var(--warm-gray);
    font-size: 1.2rem;
    opacity: 0.4;
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-tab-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-tab-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .services-tabs-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .services-tab-button {
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .services-tab-icon {
        font-size: 1rem;
    }

    .services-tab-details-title {
        font-size: 1.75rem;
    }

    .services-tab-price-amount {
        font-size: 2.5rem;
    }

    .services-comparison {
        margin-top: 3rem;
    }

    .services-comparison-title {
        font-size: 1.5rem;
    }

    .services-comparison-table {
        font-size: 0.85rem;
    }

    .services-comparison-table th,
    .services-comparison-table td {
        padding: 0.875rem 0.5rem;
    }

    .services-tab-features {
        grid-template-columns: 1fr;
    }

    .services-tab-details {
        text-align: center;
    }

    .services-tab-features {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .services-tabs-container {
        padding: 0 1rem;
    }

    .services-tab-content {
        gap: 1.5rem;
    }

    .services-comparison-table {
        display: block;
        overflow-x: auto;
    }

    .services-tab-price {
        flex-wrap: wrap;
    }
}

/* ============================================================================
   Tab Slider Styles (Scoped to .services-tab-image only)
   タブ内スライダー専用スタイル（他のスライダーに影響しない）
   ============================================================================ */

/* スライダーコンテナ（既存の.services-tab-imageスタイルを継承） */
.services-tab-image .swiper {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.services-tab-image .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-tab-image .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* ナビゲーション矢印（タブ専用スタイル） */
.services-tab-image .services-tab-swiper-next,
.services-tab-image .services-tab-swiper-prev {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--soft-brown);
    transition: all 0.3s ease;
}

.services-tab-image .services-tab-swiper-next:after,
.services-tab-image .services-tab-swiper-prev:after {
    font-size: 16px;
    font-weight: bold;
}

.services-tab-image .services-tab-swiper-next:hover,
.services-tab-image .services-tab-swiper-prev:hover {
    background: var(--primary-beige);
    color: white;
    transform: scale(1.1);
}

/* ページネーション（タブ専用スタイル） */
.services-tab-image .services-tab-swiper-pagination {
    bottom: 10px;
}

.services-tab-image .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.services-tab-image .swiper-pagination-bullet-active {
    background: var(--primary-beige);
    width: 24px;
    border-radius: 5px;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .services-tab-image .services-tab-swiper-next,
    .services-tab-image .services-tab-swiper-prev {
        width: 32px;
        height: 32px;
    }

    .services-tab-image .services-tab-swiper-next:after,
    .services-tab-image .services-tab-swiper-prev:after {
        font-size: 14px;
    }
}

/* ============================================================================
   Accordion Styles for Comparison Table
   プラン比較表用アコーディオンスタイル（他に影響しない）
   ============================================================================ */

/* アコーディオンコンテナ */
.services-comparison-accordion {
    margin-top: 4rem;
}

/* トグルボタン */
.services-comparison-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem 2rem;
    background: var(--cream-white);
    border: 2px solid var(--primary-beige);
    border-radius: 50px;
    color: var(--soft-brown);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.services-comparison-toggle:hover {
    background: var(--primary-beige);
    color: var(--cream-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.services-comparison-toggle[aria-expanded="true"] {
    background: var(--soft-brown);
    border-color: var(--soft-brown);
    color: var(--cream-white);
    border-radius: 50px 50px 0 0;
    margin-bottom: 0;
}

/* トグルアイコンの回転 */
.services-comparison-toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.services-comparison-toggle[aria-expanded="true"] .services-comparison-toggle-icon {
    transform: rotate(180deg);
}

/* アコーディオンコンテンツ */
.services-comparison-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.services-comparison-content.active {
    max-height: 2000px; /* 十分大きな値 */
    transition: max-height 0.5s ease-in;
}

/* 比較表セクション（アコーディオン内） */
.services-comparison-content .services-comparison {
    margin-top: 0;
    padding: 2.5rem;
    border: 2px solid var(--primary-beige);
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: var(--cream-white);
}

.services-comparison-content .services-comparison-title {
    margin-top: 0;
    margin-bottom: 2rem;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .services-comparison-toggle {
        font-size: 0.95rem;
        padding: 1rem 1.5rem;
    }

    .services-comparison-content .services-comparison {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .services-comparison-toggle {
        font-size: 0.9rem;
        padding: 0.875rem 1rem;
    }
}
