/**
 * Sola Blocks — Frontend Styles
 *
 * Minimal, design-token-driven styling for all 15 Phase 1 blocks.
 * Uses CSS custom properties defined by the Design module.
 */

/* Accessibility: visible focus for keyboard users (Lighthouse) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 2px solid var(--sola-color-primary, #2d5c4c);
    outline-offset: 2px;
}

/* ========================================================================
   Heading
   ======================================================================== */
.wp-block-sola-heading {
    margin: 0 0 1.5rem;
    font-family: var(--sola-font-heading, system-ui);
    font-weight: var(--sola-font-heading-weight, 700);
    line-height: 1.25;
    letter-spacing: 0.03em;
}

.sola-heading--underline {
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--sola-color-primary, #2d5c4c);
    display: inline-block;
}

.sola-heading--accent-left {
    padding-left: 1.25rem;
    border-left: 4px solid var(--sola-color-primary, #2d5c4c);
}

.sola-heading--accent-center {
    text-align: center;
    font-family: var(--wp--preset--font-family--premium-serif, var(--sola-font-heading, system-ui));
    font-weight: 300;
    font-size: var(--sola-fs-hero, clamp(2.5rem, 2rem + 4vw, 5.625rem));
    letter-spacing: -0.02em;
    line-height: 1.08;
}
.sola-heading--accent-center::after {
    content: '';
    display: block;
    width: 4rem;
    height: 1px;
    background: var(--sola-color-primary, #2d5c4c);
    margin: 1.5rem auto 0;
    opacity: 0.4;
}

/* Ensure headings inside dark sections properly inherit the white text color */
.sola-theme--dark .wp-block-sola-heading {
    color: #ffffff !important;
}

.sola-theme--dark .sola-heading--accent-center::after {
    background: #ffffff !important;
    opacity: 0.3;
}

/* ========================================================================
   Rich Text
   ======================================================================== */
.wp-block-sola-rich-text {
    margin: 0 0 1rem;
    font-family: var(--sola-font-body, system-ui);
    font-weight: var(--sola-font-body-weight, 400);
    line-height: var(--sola-body-line-height, 1.8);
    letter-spacing: var(--sola-body-tracking, 0.02em);
}

.wp-block-sola-rich-text.has-drop-cap::first-letter {
    float: left;
    font-size: 3.5em;
    line-height: 0.7;
    margin: 0.1em 0.15em 0 0;
    font-weight: 700;
    color: var(--sola-color-primary, #2d5c4c);
}

/* ========================================================================
   Image
   ======================================================================== */
.wp-block-sola-image {
    margin: 0 0 1.5rem;
    text-align: center;
}

.wp-block-sola-image img {
    max-width: 100%;
    height: auto;
}

.sola-image--shadow img {
    /* 洗練モード: shadows disabled */
    box-shadow: none;
}

.sola-image__caption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--sola-color-neutral-500, #6b9a7d);
    text-align: center;
}

/* ========================================================================
   Gallery
   ======================================================================== */
.wp-block-sola-gallery {
    margin: 0 0 1.5rem;
}

.sola-gallery__item {
    margin: 0;
    overflow: hidden;
}

.sola-gallery__item img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}

.sola-gallery__caption {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    text-align: center;
    color: var(--sola-color-neutral-500, #6b9a7d);
}

/* ========================================================================
   Button
   ======================================================================== */
.wp-block-sola-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: var(--sola-btn-font-weight, 600);
    font-size: var(--sola-btn-font-size, inherit);
    cursor: pointer;
    transition: var(--sola-btn-transition, all 0.3s cubic-bezier(0.4, 0, 0.2, 1));
    border: 2px solid transparent;
    letter-spacing: 0.04em;
    line-height: 1;
    box-shadow: var(--sola-btn-shadow, none);
}

.wp-block-sola-button:hover {
    /* 洗練モード: opacity change only, no transform/shadow */
    opacity: 0.85;
}

.wp-block-sola-button:active {
    opacity: 0.75;
}

/* Reset <button> element defaults when using Sola button classes (forms etc.) */
button.wp-block-sola-button {
    -webkit-appearance: none;
    appearance: none;
    background: none;
    font-family: inherit;
}

/* Sizes */
.sola-button--sm { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
.sola-button--md { padding: 0.875rem 2rem; font-size: 0.9375rem; min-width: 160px; }
.sola-button--lg { padding: 1.125rem 2.5rem; font-size: 1.0625rem; min-width: 200px; }

/* Variants */
.sola-button--primary {
    background: var(--sola-color-primary, #2d5c4c);
    color: #fff;
    border-radius: var(--sola-btn-radius, 9999px);
}
.sola-button--primary:hover {
    background: var(--sola-color-primary-dark, #1e4035);
    box-shadow: var(--sola-btn-shadow-hover, none);
}

.sola-button--secondary {
    background: var(--sola-color-secondary, #4a7c59);
    color: #fff;
    border-radius: var(--sola-btn-radius, 9999px);
}

.sola-button--outline {
    background: transparent;
    color: var(--sola-color-primary, #2d5c4c);
    border-color: var(--sola-color-primary, #2d5c4c);
    border-radius: var(--sola-btn-radius, 9999px);
}
.sola-button--outline:hover {
    background: var(--sola-color-primary, #2d5c4c);
    color: #fff;
    box-shadow: var(--sola-btn-shadow-hover, none);
}

/* Outline on dark backgrounds — auto-detect via parent */
.wp-block-sola-cta .sola-button--outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}
.wp-block-sola-cta .sola-button--outline:hover {
    background: #fff;
    color: var(--sola-color-primary, #2d5c4c);
    border-color: #fff;
}

/* Ghost button on dark (hero) backgrounds */
.wp-block-sola-cta .sola-button--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
.wp-block-sola-cta .sola-button--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
}

/* All CTA blocks: prefer ghost style for primary buttons (dark bg) */
.wp-block-sola-cta .sola-button--primary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 400;
}
.wp-block-sola-cta .sola-button--primary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: none;
}

/* Split hero (light bg): ghost buttons use dark text */
.sola-hero-split .sola-button--primary {
    color: var(--sola-color-primary, #2d5c4c);
    border-color: var(--sola-color-primary, #2d5c4c);
}
.sola-hero-split .sola-button--primary:hover {
    background: var(--sola-color-primary, #2d5c4c);
    color: #fff;
    border-color: var(--sola-color-primary, #2d5c4c);
}
.sola-hero-split .sola-button--outline {
    color: var(--sola-color-primary, #2d5c4c);
    border-color: var(--sola-color-primary, #2d5c4c);
    border-radius: 0;
}
.sola-hero-split .sola-button--outline:hover {
    background: var(--sola-color-primary, #2d5c4c);
    color: #fff;
}

.sola-button--ghost {
    background: transparent;
    color: var(--sola-color-primary, #2d5c4c);
    border: 1px solid currentColor;
    border-radius: 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 400;
    padding: 1.125rem 2rem;
}
.sola-button--ghost:hover {
    background: var(--sola-color-primary, #2d5c4c);
    color: #fff;
    border-color: var(--sola-color-primary, #2d5c4c);
}

.sola-button--full {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* ========================================================================
   Button Group
   ======================================================================== */
.wp-block-sola-button-group {
    margin: 0 0 1.5rem;
}

/* ========================================================================
   CTA
   ======================================================================== */
.wp-block-sola-cta {
    margin: 0;
}

.sola-cta__heading {
    font-family: var(--sola-font-heading, system-ui);
    font-weight: var(--sola-font-heading-weight, 700);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin: 0 0 1.25rem;
    letter-spacing: 0.04em;
    line-height: 1.3;
    color: inherit;
}


.sola-cta__description {
    font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
    margin: 0 auto 2rem;
    opacity: 0.85;
    line-height: 1.8;
    max-width: 600px;
}

/* Center description when text-align is center */
.wp-block-sola-cta[style*="text-align:center"] .sola-cta__description,
.wp-block-sola-cta[style*="text-align: center"] .sola-cta__description {
    margin-left: auto;
    margin-right: auto;
}

.sola-cta__buttons {
    margin-top: 0.5rem;
}

/* --- Hero (CTA full-height variant) --- */
.wp-block-sola-cta.sola-hero {
    position: relative;
}

.wp-block-sola-cta.sola-hero .sola-cta__heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 0.06em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.wp-block-sola-cta.sola-hero .sola-cta__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

/* --- Scroll indicator --- */
a.sola-hero__scroll-indicator,
.sola-hero__scroll-indicator {
    position: absolute;
    bottom: 2.5rem;  /* 40px — safely above viewport edge */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
    text-decoration: none;
    color: #2d5c4c !important;  /* Override theme.json link color — must be visible */
    opacity: 0.75;
    transition: opacity 0.3s ease;
    animation: sola-scroll-bounce 2s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.sola-hero__scroll-indicator:hover {
    opacity: 1;
}

.sola-hero__scroll-indicator:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Dark-background heroes: white scroll indicator */
.sola-hero[style*="background-color:#1"] .sola-hero__scroll-indicator,
.sola-hero[style*="background-color:#2"] .sola-hero__scroll-indicator,
.sola-hero[style*="background-color:#3"] .sola-hero__scroll-indicator,
.sola-hero[style*="background:linear-gradient"] .sola-hero__scroll-indicator {
    color: rgba(255, 255, 255, 0.8) !important;
}

.sola-hero__scroll-label {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.sola-hero__scroll-indicator svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

/* Scroll-driven fade-out (progressive enhancement) */
@supports (animation-timeline: scroll()) {
    .sola-hero__scroll-indicator {
        animation:
            sola-scroll-bounce 2s ease-in-out infinite,
            sola-scroll-fade linear;
        animation-timeline: auto, scroll();
        animation-range: normal, 0 200px;
    }
    @keyframes sola-scroll-fade {
        from { opacity: 1; }
        to   { opacity: 0; pointer-events: none; }
    }
}

/* --- Parallax background (subtle depth effect via CSS) --- */
.sola-parallax {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    /* Disable parallax on mobile (iOS doesn't support background-attachment: fixed) */
    .sola-parallax {
        background-attachment: scroll;
    }
    .sola-hero__scroll-indicator {
        bottom: 1.5rem;
    }
    .sola-hero__scroll-indicator svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* --- Hero Split Layout (text + image 2-column) --- */
.sola-hero.sola-hero-split {
    box-sizing: border-box;
    text-align: left;
    min-height: max(50vh, 400px) !important; /* 60vhからさらに縮小し、強制適用 */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: clamp(3rem, 4vw, 4rem) clamp(2rem, 5vw, 4rem);
    padding-bottom: clamp(5rem, 6vw, 7rem);  /* Extra room for scroll indicator */
}

.sola-hero-split__inner {
    display: flex;
    align-items: flex-start;
    gap: clamp(3rem, 6vw, 6rem);  /* 48-96px: extra breathing room for clip-path shapes */
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Text column */
.sola-hero-split__text {
    flex: 1 1 45%;
    min-width: 0;
    text-align: left;
    padding-top: clamp(1.5rem, 3vw, 3rem);
}

.sola-hero.sola-hero-split .sola-cta__heading {
    font-family: var(--sola-font-heading, system-ui);
    font-weight: var(--sola-font-heading-weight, 700);
    font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 2rem;
    text-wrap: balance;
    text-shadow: none;
}

.sola-hero.sola-hero-split .sola-cta__description {
    font-size: clamp(1rem, 0.5vw + 0.875rem, 1.125rem);
    font-weight: 400;
    line-height: 1.8;
    margin: 0 0 2.5rem;
    max-width: 55ch;
    text-shadow: none;
}

.sola-hero-split__text .sola-cta__buttons {
    justify-content: flex-start !important;
}

/* Media column */
.sola-hero-split__media {
    flex: 1 1 50%;
    min-width: 0;
    display: flex;
    align-items: flex-start;
}

.sola-hero-split__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    max-height: 600px;
}

/* Image shapes */
.sola-hero-split--rounded .sola-hero-split__img,
.sola-hero-split--rounded .sola-hero-splide {
    border-radius: var(--sola-radius-lg, 12px);
    overflow: hidden;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 12px 24px rgba(0, 0, 0, 0.08);
}

.sola-hero-split--circle .sola-hero-split__img,
.sola-hero-split--circle .sola-hero-splide {
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1;
    object-fit: cover;
}

.sola-hero-split--square .sola-hero-split__img,
.sola-hero-split--square .sola-hero-splide {
    border-radius: 0;
}

/* Diamond shape — Angelica-inspired clip-path + rotation */
.sola-hero-split--diamond .sola-hero-split__media {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sola-hero-split--diamond .sola-hero-split__img,
.sola-hero-split--diamond .sola-hero-splide {
    clip-path: inset(0 round 40%);
    transform: rotate(6deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0;
    box-shadow: none;
}
.sola-hero-split--diamond:hover .sola-hero-split__img,
.sola-hero-split--diamond:hover .sola-hero-splide {
    transform: rotate(0deg);
}

/* Arch shape — soft top arch */
.sola-hero-split--arch .sola-hero-split__img,
.sola-hero-split--arch .sola-hero-splide {
    clip-path: inset(0 round 50% 50% 4px 4px);
    border-radius: 0;
    box-shadow: none;
}

/* Diagonal cut — angular modern effect */
.sola-hero-split--diagonal .sola-hero-split__img,
.sola-hero-split--diagonal .sola-hero-splide {
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    border-radius: 0;
    box-shadow: none;
}

/* Hero top visual — always square for main split hero */
.sola-hero.sola-hero-split .sola-hero-split__img,
.sola-hero.sola-hero-split .sola-hero-splide {
    border-radius: 0 !important;
    box-shadow: none !important;
    clip-path: none !important;
}

/* Image position: left — reverse flex order */
.sola-hero-split--img-left .sola-hero-split__inner {
    flex-direction: row;
}

/* Splide inside hero — theme overrides */
.sola-hero-splide {
    position: relative;
    border-radius: 0; /* 縦長写真は角丸なしでフラットに */
    overflow: visible; /* 下に出すナビゲーションを見せる */
}

/* Hero専用: splitレイアウト内のスライダーも角丸・影なしで縦長写真に寄せる */
.sola-hero.sola-hero-split .sola-hero-splide {
    max-height: 100vh;
    aspect-ratio: 3 / 4; /* 縦長寄り */
    box-shadow: none;
}

.sola-hero-splide img {
    width: 100%;
    height: 100%;
    max-height: 640px;
    display: block;
    object-fit: cover;
    border-radius: 0 !important;
}

/* Hero slider pagination — slim rectangular nav at bottom-left (outside image) */
.sola-hero-splide .splide__pagination {
    position: absolute;
    left: 0;
    bottom: -1.25rem; /* 画像の外・下側に出す */
    transform: none;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.sola-hero-splide .splide__pagination__page {
    width: 32px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
    opacity: 0.9;
    transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.sola-hero-splide .splide__pagination__page.is-active {
    background: #ffffff;
    transform: scaleX(1.4);
    opacity: 1;
}

/* Scroll indicator position for split layout
   Hero overflows viewport by ~47px, so we need extra bottom offset.
   Use clamp to keep it reasonable across viewport sizes. */
.sola-hero.sola-hero-split > .sola-hero__scroll-indicator {
    position: absolute;
    bottom: clamp(6rem, 10vh, 9rem);  /* 96px min — hero overflows viewport, needs generous offset */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    z-index: 2;
    animation: sola-scroll-bounce 2s ease-in-out infinite;
    color: #2d5c4c !important;  /* Primary green — visible on light backgrounds */
    opacity: 0.7;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .sola-hero-split__inner {
        flex-direction: column;
        text-align: center;
    }
    .sola-hero-split__text {
        flex-basis: auto;
    }
    .sola-hero-split__media {
        flex-basis: auto;
        width: 100%;
    }
    .sola-hero-split__text .sola-cta__buttons {
        justify-content: center !important;
    }
    /* On mobile, image always comes after text regardless of heroImagePosition */
    .sola-hero-split--img-left .sola-hero-split__inner {
        flex-direction: column;
    }
    .sola-hero-split > .sola-hero__scroll-indicator {
        bottom: 1.5rem;
    }
}

/* ========================================================================
   Card
   ======================================================================== */
.sola-card {
    border-radius: var(--sola-radius-lg, 8px);
    border-top: 3px solid transparent;
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.sola-card:hover {
    /* 洗練モード: border accent only, no transform */
    border-top-color: var(--sola-color-primary, #2d5c4c);
}

/* 洗練モード: all shadow variants disabled — flat clean aesthetic */
.sola-card--shadow-sm,
.sola-card--shadow-md,
.sola-card--shadow-lg,
.sola-card--shadow-none { box-shadow: none; }
.sola-card--shadow-sm:hover,
.sola-card--shadow-md:hover,
.sola-card--shadow-lg:hover { box-shadow: none; }

.sola-card__image img {
    transition: opacity 0.3s ease;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.sola-card:hover .sola-card__image img {
    /* 洗練モード: subtle opacity change only */
    opacity: 0.9;
}
.sola-card__image {
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.sola-card__body {
    text-align: center;
}

.sola-card__heading {
    font-family: var(--sola-font-heading, system-ui);
    font-weight: 600;
    font-size: 1.125rem;
    margin: 0 0 0.75rem;
    letter-spacing: 0.03em;
    color: var(--sola-color-neutral-900, #1a2f28);
}

.sola-card__description {
    font-size: 0.9375rem;
    color: var(--sola-color-neutral-600, #4a7c59);
    margin: 0 0 1.25rem;
    line-height: 1.75;
}

.sola-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--sola-color-primary, #2d5c4c);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap 0.2s ease;
}
.sola-card__link::after {
    content: '→';
    transition: transform 0.2s ease;
}
.sola-card__link:hover::after {
    transform: translateX(3px);
}

/* ========================================================================
   Columns
   ======================================================================== */
.wp-block-sola-columns {
    margin: 0 0 2rem;
}

.sola-columns__item {
    min-width: 0; /* Prevent grid blowout */
}

@media (max-width: 768px) {
    .sola-columns--stack-mobile {
        display: flex !important;
        flex-direction: column !important;
    }
    .sola-columns--stack-mobile .sola-columns__item {
        max-width: 100% !important;
    }
}

/* ========================================================================
   Spacer
   ======================================================================== */
.wp-block-sola-spacer {
    width: 100%;
}

/* ========================================================================
   FAQ
   ======================================================================== */
.wp-block-sola-faq {
    margin: 0 0 1.5rem;
}

.sola-faq__heading {
    font-family: var(--sola-font-heading, system-ui);
    margin: 0 0 1rem;
}

.sola-faq__item {
    border-bottom: 1px solid var(--sola-color-neutral-200, #d4e5d9);
    transition: background-color 0.2s ease;
}

.sola-faq__item:hover {
    background-color: var(--sola-color-neutral-50, #f5f8f6);
}

.sola-faq__question {
    cursor: pointer;
    padding: 1.25rem 0.5rem;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.0625rem;
    transition: color 0.2s ease;
}

.sola-faq__question:hover {
    color: var(--sola-color-primary, #2d5c4c);
}

.sola-faq__question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--sola-color-primary, #2d5c4c);
    flex-shrink: 0;
    margin-left: 1rem;
}

details[open] > .sola-faq__question::after {
    content: '−';
}

.sola-faq__question::-webkit-details-marker {
    display: none;
}

.sola-faq__answer {
    padding: 0 0.5rem 1.25rem;
    color: var(--sola-color-neutral-600, #4a7c59);
    line-height: 1.8;
    font-size: 0.9375rem;
}

/* ========================================================================
   Table
   ======================================================================== */
.sola-table {
    width: 100%;
    border-collapse: collapse;
}

.sola-table th,
.sola-table td {
    padding: 0.75rem 1rem;
    text-align: left;
}

.sola-table--compact th,
.sola-table--compact td {
    padding: 0.375rem 0.75rem;
}

.sola-table th {
    font-weight: 600;
    background: var(--sola-color-neutral-100, #eef4f0);
}

.sola-table--bordered th,
.sola-table--bordered td {
    border: 1px solid var(--sola-color-neutral-200, #d4e5d9);
}

.sola-table--striped tbody tr:nth-child(even) {
    background: var(--sola-color-neutral-50, #f5f8f6);
}

/* ========================================================================
   List
   ======================================================================== */
.wp-block-sola-list {
    margin: 0 0 1.5rem;
}

.sola-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.sola-list--check,
.sola-list--arrow {
    list-style: none;
    padding-left: 0;
}

.sola-list__icon {
    flex-shrink: 0;
}

/* ========================================================================
   Separator
   ======================================================================== */
.wp-block-sola-separator {
    margin: 0;
}

/* ========================================================================
   Alert
   ======================================================================== */
.wp-block-sola-alert {
    margin: 0 0 1.5rem;
    position: relative;
}

.sola-alert__title {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.sola-alert__body {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.sola-alert__dismiss {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.6;
    line-height: 1;
}
.sola-alert__dismiss:hover {
    opacity: 1;
}

/* ========================================================================
   Phase 2 Blocks
   ======================================================================== */

/* ========================================================================
   Testimonial
   ======================================================================== */
.wp-block-sola-testimonial {
    margin: 0 0 1.5rem;
    padding: 2.5rem !important;
    background: #fff !important;
    border-radius: 0 !important;
    border: none !important;
    border-left: 3px solid var(--sola-color-primary, #2d5c4c) !important;
    border-bottom: 1px solid var(--sola-color-neutral-100, #d4e5d9) !important;
    position: relative;
    transition: border-color 0.3s ease;
    box-shadow: none !important;
}
.wp-block-sola-testimonial:hover {
    /* 洗練モード: accent border only */
    border-left-color: var(--sola-color-accent, #6b9a7d);
}

.wp-block-sola-testimonial::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--sola-color-primary, #2d5c4c);
    opacity: 0.15;
    font-family: Georgia, 'Times New Roman', serif;
}

.sola-testimonial__quote {
    font-size: 1.0625rem;
    line-height: 1.8;
    font-style: italic;
    margin: 0 0 1.5rem;
    position: relative;
    color: var(--sola-color-neutral-700, #1a2f28);
}

.sola-testimonial__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sola-testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.sola-testimonial__name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.sola-testimonial__role {
    font-size: 0.8125rem;
    color: var(--sola-color-neutral-500, #6b9a7d);
}

/* ========================================================================
   Pricing Table
   ======================================================================== */
.wp-block-sola-pricing-table {
    margin: 0 0 2rem;
    padding: 2.5rem 2rem 3rem; /* 下部のパディングを増やしてボタンを収める */
    border: none;
    border-radius: var(--sola-radius-xl, 1.5rem);
    text-align: center;
    background-color: #ffffff;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wp-block-sola-pricing-table:hover {
    transform: translateY(-8px);
    z-index: 2;
}

/* Base Shadows */
.sola-pricing-table--shadow-none { box-shadow: none; }
.sola-pricing-table--shadow-sm { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }
.sola-pricing-table--shadow-md { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06); }
.sola-pricing-table--shadow-lg { box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08); }

/* Hover Shadows */
.wp-block-sola-pricing-table:hover.sola-pricing-table--shadow-md {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.wp-block-sola-pricing-table:hover.sola-pricing-table--shadow-lg {
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12);
}

.sola-pricing-table--featured {
    border: 2px solid var(--sola-color-primary, #2d5c4c);
}

.sola-pricing-table__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.35rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    white-space: nowrap;
    color: #ffffff !important;
    background-color: var(--sola-color-primary, #2d5c4c) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sola-pricing-table__title {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--sola-color-neutral-900, #1a2f28);
    letter-spacing: 0.02em;
}

.sola-pricing-table__price {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--sola-color-primary, #2d5c4c);
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.sola-pricing-table__currency {
    font-size: 1.5rem;
    font-weight: 500;
}

.sola-pricing-table__amount {
    color: inherit;
}

.sola-pricing-table__period {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--sola-color-neutral-500, #6b9a7d);
    margin-left: 0.25rem;
}

.sola-pricing-table__description {
    font-size: 0.9375rem;
    color: var(--sola-color-neutral-600, #4a7c59);
    margin: 0 0 2rem;
    line-height: 1.6;
}

.sola-pricing-table__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
    flex-grow: 1;
}

.sola-pricing-table__feature {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--sola-color-neutral-100, #eef4f0);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--sola-color-neutral-800, #2c4238);
    line-height: 1.5;
}
.sola-pricing-table__feature:last-child {
    border-bottom: none;
}

.sola-pricing-table__feature-icon {
    color: var(--sola-color-primary, #2d5c4c);
    font-size: 1.125rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.sola-pricing-table__feature--disabled {
    color: var(--sola-color-neutral-400, #95b3a1);
}
.sola-pricing-table__feature--disabled .sola-pricing-table__feature-icon {
    color: var(--sola-color-neutral-300, #b8d0c2);
    opacity: 0.5;
}

.sola-pricing-table__cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    background-color: var(--sola-color-neutral-100, #eef4f0);
    color: var(--sola-color-primary, #2d5c4c);
    transition: all 0.3s ease;
    margin-top: auto;
}

.sola-pricing-table__cta:hover {
    background-color: var(--sola-color-primary, #2d5c4c);
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(45, 92, 76, 0.2);
    opacity: 1;
}

.sola-pricing-table--featured .sola-pricing-table__cta {
    background-color: var(--sola-color-primary, #2d5c4c);
    color: #ffffff;
}

.sola-pricing-table--featured .sola-pricing-table__cta:hover {
    background-color: var(--sola-color-primary, #2d5c4c);
    filter: brightness(0.9);
    box-shadow: 0 8px 16px rgba(45, 92, 76, 0.3);
}

/* ========================================================================
   Team Member
   ======================================================================== */
.wp-block-sola-team-member {
    margin: 0 0 1.5rem;
    text-align: center;
    padding: 1.5rem;
}

.sola-team-member__photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    border-radius: 50%;
    border: 2px solid var(--sola-color-neutral-100, #d4e5d9);
}

.sola-team-member__photo--circle { border-radius: 50%; }
.sola-team-member__photo--rounded { border-radius: 0.75rem; }

.sola-team-member__name {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.sola-team-member__role {
    font-size: 0.875rem;
    color: var(--sola-color-neutral-500, #6b9a7d);
    margin: 0 0 0.75rem;
}

.sola-team-member__bio {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--sola-color-neutral-600, #4a7c59);
    margin: 0 0 1rem;
}

.sola-team-member__socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.sola-team-member__social-link {
    color: var(--sola-color-neutral-400, #9ca3af);
    transition: color 0.2s;
}

.sola-team-member__social-link:hover {
    color: var(--sola-color-primary, #2d5c4c);
}

/* ========================================================================
   Timeline
   ======================================================================== */
.wp-block-sola-timeline {
    margin: 0 0 2rem;
    position: relative;
    padding-left: 2rem;
}

.wp-block-sola-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--sola-timeline-line, var(--sola-color-neutral-200, #d4e5d9));
}

.sola-timeline__item {
    position: relative;
    padding: 0 0 2rem 1.5rem;
}

.sola-timeline__dot {
    position: absolute;
    left: -1.75rem;
    top: 0.25rem;
    width: var(--sola-timeline-dot-size, 12px);
    height: var(--sola-timeline-dot-size, 12px);
    border-radius: 50%;
    background: var(--sola-timeline-dot, var(--sola-color-primary, #2d5c4c));
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--sola-timeline-dot, var(--sola-color-primary, #2d5c4c));
}

.sola-timeline__date {
    font-size: 0.8125rem;
    color: var(--sola-color-neutral-500, #6b9a7d);
    margin: 0 0 0.25rem;
}

.sola-timeline__title {
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.sola-timeline__description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--sola-color-neutral-600, #4a7c59);
}

/* ========================================================================
   Counter
   ======================================================================== */
.wp-block-sola-counter {
    margin: 0 0 1.5rem;
}

.sola-counter__grid {
    display: grid;
    gap: 2rem;
}

.sola-counter__item {
    text-align: center;
}

.sola-counter__value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--sola-font-heading, system-ui);
    color: var(--sola-color-primary, #2d5c4c);
}

.sola-counter__label {
    font-size: 0.875rem;
    color: var(--sola-color-neutral-500, #6b9a7d);
    margin-top: 0.25rem;
}

/* ========================================================================
   Icon Box
   ======================================================================== */
.wp-block-sola-icon-box {
    margin: 0 0 1.5rem;
    padding: 1.5rem;
}

.sola-icon-box__icon {
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.sola-icon-box--layout-left,
.sola-icon-box--layout-right {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.sola-icon-box--layout-right {
    flex-direction: row-reverse;
}

.sola-icon-box__heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.sola-icon-box__description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--sola-color-neutral-600, #4a7c59);
}

.sola-icon-box__link {
    color: var(--sola-color-primary, #2d5c4c);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 0.75rem;
    display: inline-block;
}

.sola-icon-box__link:hover {
    text-decoration: underline;
}

/* ========================================================================
   Logo Grid
   ======================================================================== */
.wp-block-sola-logo-grid {
    margin: 0 0 1.5rem;
}

.sola-logo-grid__heading {
    text-align: center;
    margin: 0 0 1.5rem;
}

.sola-logo-grid__grid {
    display: grid;
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.sola-logo-grid__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.sola-logo-grid__image {
    max-height: 60px;
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    transition: filter 0.3s, opacity 0.3s;
}

.sola-logo-grid--grayscale .sola-logo-grid__image {
    filter: grayscale(1);
    opacity: 0.6;
}

.sola-logo-grid--grayscale .sola-logo-grid__item:hover .sola-logo-grid__image {
    filter: grayscale(0);
    opacity: 1;
}

/* ========================================================================
   Map
   ======================================================================== */
.wp-block-sola-map {
    margin: 0 0 1.5rem;
}

.sola-map__iframe {
    width: 100%;
    border: 0;
    display: block;
}

.sola-map__caption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--sola-color-neutral-500, #6b9a7d);
    text-align: center;
}

/* ========================================================================
   Video
   ======================================================================== */
.wp-block-sola-video {
    margin: 0 0 1.5rem;
}

.sola-video__container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.sola-video__container--16-9 { aspect-ratio: 16/9; }
.sola-video__container--4-3 { aspect-ratio: 4/3; }
.sola-video__container--1-1 { aspect-ratio: 1/1; }

.sola-video__iframe,
.sola-video__player {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
}

.sola-video__caption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--sola-color-neutral-500, #6b9a7d);
    text-align: center;
}

/* ========================================================================
   Tabs
   ======================================================================== */
.wp-block-sola-tabs {
    margin: 0 0 1.5rem;
}

.sola-tabs__nav {
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    border-bottom: 2px solid var(--sola-color-neutral-200, #d4e5d9);
}

.sola-tabs__nav li {
    margin: 0;
    padding: 0;
}

.sola-tabs__nav--stretch .sola-tabs__button {
    flex: 1;
    text-align: center;
}

.sola-tabs__button {
    padding: 0.75rem 1.25rem;
    border: none;
    background: none;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--sola-color-neutral-500, #6b9a7d);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.sola-tabs__button:hover {
    color: var(--sola-color-neutral-700, #1a2f28);
}

.sola-tabs__button--active {
    color: var(--sola-tabs-active, var(--sola-color-primary, #2d5c4c));
    font-weight: 600;
    border-bottom-color: var(--sola-tabs-active, var(--sola-color-primary, #2d5c4c));
}

.sola-tabs__panel {
    display: none;
    padding: 1.5rem;
}

.sola-tabs__panel--active {
    display: block;
}

.sola-tabs__content {
    line-height: 1.6;
}

/* Pills style */
.sola-tabs--pills .sola-tabs__nav {
    border-bottom: none;
    gap: 0.5rem;
}

.sola-tabs--pills .sola-tabs__button {
    border-radius: 2rem;
    border-bottom: none;
    margin-bottom: 0;
}

.sola-tabs--pills .sola-tabs__button--active {
    background: var(--sola-tabs-active, var(--sola-color-primary, #2d5c4c));
    color: #fff;
}

/* Boxed style */
.sola-tabs--boxed .sola-tabs__button {
    border: 1px solid var(--sola-color-neutral-200, #d4e5d9);
    border-bottom: none;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-bottom: -1px;
}

.sola-tabs--boxed .sola-tabs__button--active {
    background: #fff;
    border-bottom-color: #fff;
}

/* ========================================================================
   Accordion
   ======================================================================== */
.wp-block-sola-accordion {
    margin: 0 0 1.5rem;
}

.sola-accordion__item {
    border: 1px solid var(--sola-color-neutral-200, #d4e5d9);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.sola-accordion__trigger {
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sola-accordion__trigger::-webkit-details-marker {
    display: none;
}

.sola-accordion__trigger::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    transition: transform 0.2s;
}

details[open] > .sola-accordion__trigger::after {
    content: '−';
}

.sola-accordion--icon-left .sola-accordion__trigger {
    flex-direction: row-reverse;
}

.sola-accordion--separated {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sola-accordion__content {
    padding: 0 1.25rem 1rem;
    line-height: 1.6;
    color: var(--sola-color-neutral-600, #4a7c59);
}

/* ========================================================================
   Modal
   ======================================================================== */
.wp-block-sola-modal {
    margin: 0 0 1.5rem;
}

.sola-modal__trigger {
    cursor: pointer;
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
}

.sola-modal__dialog {
    border: none;
    border-radius: 0.75rem;
    padding: 0;
    max-width: 90vw;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.sola-modal__dialog--sm { width: 400px; }
.sola-modal__dialog--md { width: 600px; }
.sola-modal__dialog--lg { width: 800px; }
.sola-modal__dialog--full { width: 95vw; max-height: 95vh; }

.sola-modal__dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.sola-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--sola-color-neutral-200, #d4e5d9);
}

.sola-modal__title {
    font-weight: 600;
    font-size: 1.125rem;
    margin: 0;
}

.sola-modal__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.6;
    line-height: 1;
}

.sola-modal__close:hover {
    opacity: 1;
}

.sola-modal__body {
    padding: 1.5rem;
    line-height: 1.6;
}

/* ========================================================================
   Progress Bar
   ======================================================================== */
.wp-block-sola-progress-bar {
    margin: 0 0 1.5rem;
}

.sola-progress-bar__item {
    margin-bottom: 1rem;
}

.sola-progress-bar__label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.sola-progress-bar__track {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
}

.sola-progress-bar__fill {
    height: 100%;
    border-radius: 1rem;
    transition: width 1.5s ease-out;
}

.sola-progress-bar--animated .sola-progress-bar__fill {
    background-image: linear-gradient(
        -45deg,
        rgba(255,255,255,0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0.15) 75%,
        transparent 75%
    );
    background-size: 1rem 1rem;
    animation: sola-progress-stripe 1s linear infinite;
}

@keyframes sola-progress-stripe {
    from { background-position: 1rem 0; }
    to { background-position: 0 0; }
}

/* ========================================================================
   Social Links
   ======================================================================== */
.wp-block-sola-social-links {
    margin: 0 0 1.5rem;
}

.sola-social-links__list {
    display: flex;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.sola-social-links__link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, transform 0.2s;
    text-decoration: none;
}

.sola-social-links__link:hover {
    /* 洗練モード: opacity only, no scale */
    opacity: 0.7;
}

.sola-social-links--circle .sola-social-links__link {
    border-radius: 50%;
    padding: 0.5rem;
}

.sola-social-links--rounded .sola-social-links__link {
    border-radius: 0.5rem;
    padding: 0.5rem;
}

/* ========================================================================
   Breadcrumb Block
   ======================================================================== */
.wp-block-sola-breadcrumb {
    margin: 0 0 1.5rem;
}

.sola-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sola-breadcrumb__link {
    text-decoration: none;
    transition: opacity 0.2s;
}

.sola-breadcrumb__link:hover {
    opacity: 0.7;
}

.sola-breadcrumb__separator {
    opacity: 0.5;
}

.sola-breadcrumb__current {
    font-weight: 500;
}

/* ========================================================================
   Post Grid
   ======================================================================== */
.wp-block-sola-post-grid {
    margin: 0 0 2rem;
}

.sola-post-grid__article {
    overflow: hidden;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--sola-color-neutral-200, #d4e5d9);
    transition: border-color 0.3s ease;
}

.sola-post-grid__article:hover {
    /* 洗練モード: border accent only */
    border-bottom-color: var(--sola-color-primary, #2d5c4c);
}

.sola-post-grid__thumbnail {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}

.sola-post-grid__content {
    padding: 1rem;
}

.sola-post-grid__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.sola-post-grid__title a {
    text-decoration: none;
    color: inherit;
}

.sola-post-grid__title a:hover {
    color: var(--sola-color-primary, #2d5c4c);
}

.sola-post-grid__date {
    font-size: 0.8125rem;
    color: var(--sola-color-neutral-500, #6b9a7d);
    margin-bottom: 0.5rem;
}

.sola-post-grid__excerpt {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--sola-color-neutral-600, #4a7c59);
}

/* ========================================================================
   Post Carousel
   ======================================================================== */
.wp-block-sola-post-carousel {
    margin: 0 0 2rem;
    position: relative;
}

.sola-post-carousel__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sola-post-carousel__track::-webkit-scrollbar {
    display: none;
}

.sola-post-carousel__slide {
    flex: 0 0 auto;
    scroll-snap-align: start;
    border-radius: 0.5rem;
    border: 1px solid var(--sola-color-neutral-200, #d4e5d9);
    overflow: hidden;
}

.sola-post-carousel__thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.sola-post-carousel__content {
    padding: 1rem;
}

.sola-post-carousel__title {
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.sola-post-carousel__title a {
    text-decoration: none;
    color: inherit;
}

.sola-post-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid var(--sola-color-neutral-200, #d4e5d9);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.sola-post-carousel__nav--prev { left: -18px; }
.sola-post-carousel__nav--next { right: -18px; }

/* ========================================================================
   Category List
   ======================================================================== */
.wp-block-sola-category-list {
    margin: 0 0 1.5rem;
}

.sola-category-list__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sola-category-list__item {
    padding: 0.375rem 0;
}

.sola-category-list__link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.sola-category-list__link:hover {
    color: var(--sola-color-primary, #2d5c4c);
}

.sola-category-list__count {
    color: var(--sola-color-neutral-400, #9ca3af);
    font-size: 0.875rem;
}

.sola-category-list--inline .sola-category-list__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sola-category-list__children {
    padding-left: 1.25rem;
    margin-top: 0.25rem;
}

/* ========================================================================
   Search
   ======================================================================== */
.wp-block-sola-search {
    margin: 0 0 1.5rem;
}

.sola-search__form {
    display: flex;
    gap: 0;
    max-width: 100%;
}

.sola-search__input-wrap {
    position: relative;
    flex: 1;
}

.sola-search__icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.4;
}

.sola-search__input {
    width: 100%;
    padding: 0.625rem 1rem;
    border: 1px solid var(--sola-color-neutral-300, #d1d5db);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.sola-search__input:focus {
    border-color: var(--sola-color-primary, #2d5c4c);
}

.sola-search__button {
    padding: 0.625rem 1.25rem;
    border: none;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.sola-search__button:hover {
    opacity: 0.9;
}

/* ========================================================================
   Table of Contents
   ======================================================================== */
.wp-block-sola-toc {
    margin: 0 0 1.5rem;
    padding: 1.25rem;
    border: 1px solid var(--sola-color-neutral-200, #d4e5d9);
    border-radius: 0.5rem;
}

.sola-toc__title {
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 0.75rem;
}

.sola-toc__list,
.sola-toc__list ul,
.sola-toc__list ol {
    margin: 0;
    padding-left: 1.25rem;
}

.sola-toc__list li {
    padding: 0.25rem 0;
}

.sola-toc__list a {
    text-decoration: none;
    color: var(--sola-color-primary, #2d5c4c);
    font-size: 0.9375rem;
}

.sola-toc__list a:hover {
    text-decoration: underline;
}

.sola-toc__title--toggle {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sola-toc__title--toggle::-webkit-details-marker {
    display: none;
}

.sola-toc__title--toggle::after {
    content: '▾';
    font-size: 0.75rem;
    transition: transform 0.2s;
}

details[open] > .sola-toc__title--toggle::after {
    transform: rotate(180deg);
}

.sola-toc__loading {
    color: var(--sola-color-neutral-400, #9ca3af);
}

/* ========================================================================
   Author Box
   ======================================================================== */
.wp-block-sola-author-box {
    margin: 0 0 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--sola-color-neutral-200, #d4e5d9);
    border-radius: 0.5rem;
}

.sola-author-box--horizontal {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.sola-author-box__avatar {
    border-radius: 50%;
    flex-shrink: 0;
}

.sola-author-box__name {
    font-weight: 600;
    font-size: 1.125rem;
    margin: 0 0 0.5rem;
}

.sola-author-box__name a {
    text-decoration: none;
    color: inherit;
}

.sola-author-box__name a:hover {
    color: var(--sola-color-primary, #2d5c4c);
}

.sola-author-box__bio {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--sola-color-neutral-600, #4a7c59);
    margin: 0 0 0.75rem;
}

.sola-author-box__links {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
}

.sola-author-box__link {
    color: var(--sola-color-primary, #2d5c4c);
    text-decoration: none;
}

.sola-author-box__link:hover {
    text-decoration: underline;
}

/* ========================================================================
   Related Posts
   ======================================================================== */
.wp-block-sola-related-posts {
    margin: 0 0 2rem;
}

.sola-related-posts__heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.sola-related-posts__grid {
    display: grid;
    gap: 1.5rem;
}

.sola-related-posts__item {
    border: none;
    border-bottom: 1px solid var(--sola-color-neutral-200, #d4e5d9);
    border-radius: 0;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.sola-related-posts__item:hover {
    border-bottom-color: var(--sola-color-primary, #2d5c4c);
}

.sola-related-posts__thumbnail {
    width: 100%;
    display: block;
    object-fit: cover;
}

.sola-related-posts__content {
    padding: 1rem;
}

.sola-related-posts__title {
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.sola-related-posts__title a {
    text-decoration: none;
    color: inherit;
}

.sola-related-posts__title a:hover {
    color: var(--sola-color-primary, #2d5c4c);
}

.sola-related-posts__meta {
    font-size: 0.8125rem;
    color: var(--sola-color-neutral-500, #6b9a7d);
}

/* ========================================================================
   Newsletter
   ======================================================================== */
.wp-block-sola-newsletter {
    margin: 0 0 1.5rem;
    padding: 2rem;
    text-align: center;
}

.sola-newsletter__heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.sola-newsletter__description {
    margin: 0 0 1.5rem;
    color: var(--sola-color-neutral-600, #4a7c59);
}

.sola-newsletter__form {
    display: flex;
    gap: 0.5rem;
    max-width: 480px;
    margin: 0 auto;
}

.sola-newsletter__form--stacked {
    flex-direction: column;
}

.sola-newsletter__input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--sola-color-neutral-300, #d1d5db);
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
}

.sola-newsletter__input:focus {
    border-color: var(--sola-color-primary, #2d5c4c);
}

.sola-newsletter__submit {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.sola-newsletter__submit:hover {
    opacity: 0.9;
}

.sola-newsletter__success {
    display: none;
    padding: 1rem;
    color: var(--sola-color-success, #10b981);
    font-weight: 500;
}

/* ========================================================================
   Countdown
   ======================================================================== */
.wp-block-sola-countdown {
    margin: 0 0 1.5rem;
    text-align: center;
}

.sola-countdown__heading {
    margin: 0 0 1rem;
}

.sola-countdown__grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sola-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sola-countdown__number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--sola-font-heading, system-ui);
    line-height: 1.2;
}

.sola-countdown__number--sm { font-size: 1.75rem; }
.sola-countdown__number--lg { font-size: 3.5rem; }

.sola-countdown__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sola-color-neutral-500, #6b9a7d);
    margin-top: 0.25rem;
}

.sola-countdown__separator {
    font-size: 2.5rem;
    font-weight: 300;
    opacity: 0.3;
    align-self: flex-start;
    line-height: 1.2;
}

.sola-countdown__expired {
    font-size: 1.125rem;
    color: var(--sola-color-neutral-500, #6b9a7d);
    padding: 2rem;
}

/* ========================================================================
   Before/After
   ======================================================================== */
.wp-block-sola-before-after {
    margin: 0 0 1.5rem;
}

.sola-before-after__container {
    position: relative;
    overflow: hidden;
    user-select: none;
}

.sola-before-after__image {
    width: 100%;
    height: auto;
    display: block;
}

.sola-before-after__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: col-resize;
    z-index: 3;
    margin: 0;
}

.sola-before-after__divider {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #fff;
    z-index: 2;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.sola-before-after__label {
    position: absolute;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.25rem;
    z-index: 2;
}

.sola-before-after__label--before {
    top: 0.75rem;
    left: 0.75rem;
}

.sola-before-after__label--after {
    top: 0.75rem;
    right: 0.75rem;
}

/* ========================================================================
   Star Rating
   ======================================================================== */
.wp-block-sola-star-rating {
    margin: 0 0 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.sola-star-rating__stars {
    display: flex;
    gap: 2px;
}

.sola-star-rating__value {
    font-weight: 600;
    font-size: 0.9375rem;
}

.sola-star-rating__label {
    color: var(--sola-color-neutral-500, #6b9a7d);
    font-size: 0.875rem;
}

/* ========================================================================
   Notice / Callout
   ======================================================================== */
.wp-block-sola-notice {
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    position: relative;
}

.sola-notice--border-left { border-left: 4px solid; }
.sola-notice--border-top { border-top: 4px solid; }
.sola-notice--border-outline { border: 1px solid; }
.sola-notice--border-accent { border-left: 4px solid; border-top: 1px solid; border-right: 1px solid; border-bottom: 1px solid; }

.sola-notice--info { background: #eff6ff; border-color: #3b82f6; color: #1e40af; }
.sola-notice--success { background: #f0fdf4; border-color: #22c55e; color: #166534; }
.sola-notice--warning { background: #fffbeb; border-color: #f59e0b; color: #92400e; }
.sola-notice--danger { background: #fef2f2; border-color: #ef4444; color: #991b1b; }

.sola-notice__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.sola-notice__icon {
    flex-shrink: 0;
}

.sola-notice__title {
    font-weight: 600;
    font-size: 0.9375rem;
}

.sola-notice__content {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.sola-notice__dismiss {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.125rem;
    cursor: pointer;
    opacity: 0.5;
    line-height: 1;
}

.sola-notice__dismiss:hover {
    opacity: 1;
}

/* ========================================================================
   Step / Process
   ======================================================================== */
.wp-block-sola-step {
    margin: 0 0 2rem;
}

.sola-steps__heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
}

.sola-steps__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sola-steps__list--vertical .sola-steps__item {
    display: flex;
    gap: 1.25rem;
    padding-bottom: 2rem;
    position: relative;
}

.sola-steps__list--horizontal {
    display: flex;
    gap: 1rem;
}

.sola-steps__list--horizontal .sola-steps__item {
    flex: 1;
    text-align: center;
}

.sola-steps__number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.sola-steps__list--horizontal .sola-steps__number {
    margin: 0 auto 0.75rem;
}

.sola-steps__title {
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.sola-steps__desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--sola-color-neutral-600, #4a7c59);
}

/* Connector lines — color overridable via --sola-steps-connector-color on .sola-steps__list */
.sola-steps__list--vertical .sola-steps__item:not(:last-child) .sola-steps__number::after {
    content: '';
    position: absolute;
    left: 1.1875rem;
    top: 2.75rem;
    bottom: 0;
    width: 2px;
    background: var(--sola-steps-connector-color, var(--sola-color-neutral-200, #d4e5d9));
}

.sola-steps__list--vertical.sola-steps__connector--dots .sola-steps__item:not(:last-child) .sola-steps__number::after {
    background: repeating-linear-gradient(
        to bottom,
        var(--sola-color-neutral-300, #d1d5db) 0,
        var(--sola-color-neutral-300, #d1d5db) 3px,
        transparent 3px,
        transparent 8px
    );
}

/* Steps responsive — horizontal → vertical on mobile */
@media (max-width: 640px) {
    .sola-steps__list--horizontal {
        flex-direction: column;
        gap: 1.5rem;
    }
    .sola-steps__list--horizontal .sola-steps__item {
        text-align: left;
        display: flex;
        gap: 1rem;
    }
    .sola-steps__list--horizontal .sola-steps__number {
        margin: 0;
    }
}

/* ========================================================================
   Divider
   ======================================================================== */
.wp-block-sola-divider {
    margin: 1.5rem 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sola-divider__line {
    display: block;
}

.sola-divider--has-icon .sola-divider__line {
    flex: 1;
}

.sola-divider__icon {
    padding: 0 1rem;
    display: flex;
    align-items: center;
}

.sola-divider--wave {
    border: none;
}

.sola-divider--wave svg {
    width: 100%;
    display: block;
}

/* ========================================================================
   Slider (Splide.js)
   ======================================================================== */

.wp-block-sola-slider {
    max-width: 100%;
}

.sola-slider .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sola-slider__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.4;
}

.sola-slider .splide__slide {
    position: relative;
}

.sola-slider__content-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 2rem;
}

.sola-slider__content-inner {
    text-align: center;
    max-width: 640px;
}

.sola-slider__heading {
    font-family: var(--sola-font-heading, system-ui);
    font-weight: var(--sola-font-heading-weight, 700);
    font-size: 1.75rem;
    margin: 0 0 0.75rem;
    color: var(--sola-color-foreground, #1a1a1a);
}

.sola-slider__text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--sola-color-muted, #666);
    margin: 0;
}

/* Splide theme overrides for Sola design tokens */
.sola-slider .splide__arrow {
    background: var(--sola-color-primary, #2d5c4c);
    opacity: 0.9;
}

.sola-slider .splide__arrow:hover {
    opacity: 1;
}

.sola-slider .splide__arrow svg {
    fill: #fff;
}

.sola-slider .splide__pagination__page {
    background: var(--sola-color-neutral-300, #d1d5db);
}

.sola-slider .splide__pagination__page.is-active {
    background: var(--sola-color-primary, #2d5c4c);
}

/* Post Slide Mode */
.sola-slider__post-slide {
    background: var(--sola-color-background, #fff);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sola-slider__post-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}

.sola-slider__post-link:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.sola-slider__post-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.sola-slider__post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.sola-slider__post-link:hover .sola-slider__post-img img {
    transform: scale(1.03);
}

.sola-slider__post-body {
    padding: 1rem 1.25rem;
}

.sola-slider__post-date {
    display: block;
    font-size: 0.75rem;
    color: var(--sola-color-muted, #999);
    margin-bottom: 0.25rem;
}

.sola-slider__post-title {
    font-family: var(--sola-font-heading, system-ui);
    font-weight: var(--sola-font-heading-weight, 700);
    font-size: 1rem;
    line-height: 1.4;
    margin: 0 0 0.5rem;
    color: var(--sola-color-foreground, #1a1a1a);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sola-slider__post-excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--sola-color-muted, #666);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 640px) {
    .sola-slider__content-slide {
        min-height: 200px;
        padding: 1.5rem;
    }

    .sola-slider__heading {
        font-size: 1.25rem;
    }

    .sola-slider__post-body {
        padding: 0.75rem 1rem;
    }
}

/* ========================================================================
   Refined Mode — Angelica Michelle / WOM Clinic inspired styles
   ======================================================================== */

/* Eyebrow labels — small uppercase text above section headings */
.sola-eyebrow,
.has-text-align-center[style*="letter-spacing:0.2em"] {
    font-family: var(--sola-font-body, 'Noto Sans JP', sans-serif);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sola-color-accent, #6b9a7d);
    margin-bottom: 0.75rem;
}

/* Headings on dark backgrounds — white text override */
[style*="color:#ffffff"] .wp-block-sola-heading {
    color: #ffffff;
}
/* Accent line on dark backgrounds — semi-transparent white */
[style*="color:#ffffff"] .sola-heading--accent-center::after {
    background: rgba(255, 255, 255, 0.3);
}

/* Eyebrow on dark background — lighter color */
[style*="color:#ffffff"] .has-text-align-center[style*="letter-spacing:0.2em"] {
    color: rgba(255, 255, 255, 0.6);
}

/* Card image img — merged into main rule (L340) */

/* Testimonial — refined quote style */
.wp-block-sola-testimonial {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid var(--sola-color-accent, #6b9a7d);
}
.wp-block-sola-testimonial::before {
    content: '\201C';
    position: absolute;
    top: -0.5rem;
    left: -0.25rem;
    font-size: 3rem;
    line-height: 1;
    color: var(--sola-color-accent, #6b9a7d);
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* Section heading — larger Serif for refined presets */
.wp-block-sola-heading[data-level="2"] {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ========================================================================
   Dark Section Overrides — text on dark backgrounds
   Uses [style*="color:#ffffff"] on wp-block-group to target sections
   that PageBuilder generates with dark backgrounds + white text.
   Also scoped to .wp-block-sola-cta for CTA blocks.
   ======================================================================== */
.sola-dark-section,
.wp-block-sola-cta,
.wp-block-group[style*="color:#ffffff"] {
    /* Generic dark section base */
}

.sola-dark-section .sola-card__heading,
.sola-dark-section .sola-card__description,
.wp-block-sola-cta .sola-card__heading,
.wp-block-sola-cta .sola-card__description,
.wp-block-group[style*="color:#ffffff"] .sola-card__heading,
.wp-block-group[style*="color:#ffffff"] .sola-card__description,
.wp-block-sola-cta .sola-counter__label,
.wp-block-sola-cta .sola-steps__desc,
.wp-block-sola-cta .sola-faq__answer {
    color: rgba(255, 255, 255, 0.85);
}

.sola-dark-section .sola-card,
.wp-block-sola-cta .sola-card,
.wp-block-group[style*="color:#ffffff"] .sola-card {
    background: rgba(255, 255, 255, 0.05);
    border-top-color: rgba(255, 255, 255, 0.15);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
.sola-dark-section .sola-card:hover,
.wp-block-sola-cta .sola-card:hover,
.wp-block-group[style*="color:#ffffff"] .sola-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-top-color: var(--sola-color-accent, #6b9a7d);
}

/* Testimonials on dark sections — transparent bg, white borders */
.sola-dark-section .wp-block-sola-testimonial,
.wp-block-sola-cta .wp-block-sola-testimonial,
.wp-block-group[style*="color:#ffffff"] .wp-block-sola-testimonial {
    background: transparent !important;
    border-left-color: rgba(255, 255, 255, 0.3) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}
.sola-dark-section .wp-block-sola-testimonial::before,
.wp-block-sola-cta .wp-block-sola-testimonial::before,
.wp-block-group[style*="color:#ffffff"] .wp-block-sola-testimonial::before {
    color: rgba(255, 255, 255, 0.2);
}
.sola-dark-section .sola-testimonial__quote,
.wp-block-sola-cta .sola-testimonial__quote,
.wp-block-group[style*="color:#ffffff"] .sola-testimonial__quote {
    color: rgba(255, 255, 255, 0.9) !important;
}
.sola-dark-section .sola-testimonial__name,
.wp-block-sola-cta .sola-testimonial__name,
.wp-block-group[style*="color:#ffffff"] .sola-testimonial__name {
    color: #ffffff;
}
.sola-dark-section .sola-testimonial__role,
.wp-block-sola-cta .sola-testimonial__role,
.wp-block-group[style*="color:#ffffff"] .sola-testimonial__role {
    color: rgba(255, 255, 255, 0.6);
}
.sola-dark-section .sola-testimonial__star,
.wp-block-group[style*="color:#ffffff"] .sola-testimonial__star {
    color: rgba(255, 255, 255, 0.3);
}
.sola-dark-section .sola-testimonial__star--filled,
.wp-block-group[style*="color:#ffffff"] .sola-testimonial__star--filled {
    color: #d4a853;
}

/* FAQ on dark sections */
.sola-dark-section .sola-faq__item,
.wp-block-sola-cta .sola-faq__item,
.wp-block-group[style*="color:#ffffff"] .sola-faq__item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
.sola-dark-section .sola-faq__item:hover,
.wp-block-sola-cta .sola-faq__item:hover,
.wp-block-group[style*="color:#ffffff"] .sola-faq__item:hover {
    background: rgba(255, 255, 255, 0.05);
}
.sola-dark-section .sola-faq__question,
.wp-block-sola-cta .sola-faq__question,
.wp-block-group[style*="color:#ffffff"] .sola-faq__question {
    color: #ffffff;
}
.sola-dark-section .sola-faq__question::after,
.wp-block-sola-cta .sola-faq__question::after,
.wp-block-group[style*="color:#ffffff"] .sola-faq__question::after {
    color: rgba(255, 255, 255, 0.6);
}

/* Eyebrow on dark sections */
.sola-dark-section [style*="text-transform:uppercase"],
.wp-block-sola-cta [style*="text-transform:uppercase"],
.wp-block-group[style*="color:#ffffff"] [style*="text-transform:uppercase"] {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Heading decoration on dark sections */
.sola-dark-section .sola-heading--accent-center::after,
.wp-block-sola-cta .sola-heading--accent-center::after,
.wp-block-group[style*="color:#ffffff"] .sola-heading--accent-center::after {
    background: rgba(255, 255, 255, 0.3);
}
/* Heading text on dark sections */
.sola-dark-section .wp-block-sola-heading,
.wp-block-group[style*="color:#ffffff"] .wp-block-sola-heading {
    color: #ffffff;
}

/* Numbered items on dark sections (text-based cards from PageBuilder) */
.sola-dark-section .wp-block-group [style*="letter-spacing:0.1em"],
.wp-block-sola-cta .wp-block-group [style*="letter-spacing:0.1em"],
.wp-block-group[style*="color:#ffffff"] .wp-block-group [style*="letter-spacing:0.1em"] {
    color: rgba(255, 255, 255, 0.5) !important;
}
.sola-dark-section .wp-block-group h3,
.wp-block-sola-cta .wp-block-group h3,
.wp-block-group[style*="color:#ffffff"] .wp-block-group h3 {
    color: #ffffff;
}
.sola-dark-section .wp-block-group p,
.wp-block-group[style*="color:#ffffff"] .wp-block-group p:not([style*="text-transform"]) {
    color: rgba(255, 255, 255, 0.75);
}

/* ========================================================================
   Eyebrow Label — typography helper for AutoBuild generated eyebrows
   ======================================================================== */
.sola-eyebrow {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sola-color-accent, #6b9a7d);
    margin-bottom: 0.75rem;
}

/* Team Member refinement — border-radius/border merged into main rule (L738) */

/* ========================================================================
   Scroll Reveal — fade-in animation (driven by sola-front.js)
   ======================================================================== */
.sola-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sola-reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .sola-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .sola-hero__scroll-indicator {
        animation: none;
    }
}

/* ========================================================================
   Header Scroll State — compact header on scroll
   ======================================================================== */
.sola-header--scrolled {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* ========================================================================
   Global Responsive — mobile adjustments (< 640px)
   ======================================================================== */
@media (max-width: 640px) {

    /* Countdown — smaller numbers, tighter gap */
    .sola-countdown__grid {
        gap: 0.75rem;
    }
    .sola-countdown__number {
        font-size: 1.75rem;
    }
    .sola-countdown__label {
        font-size: 0.625rem;
    }

    /* Newsletter — stack inline form */
    .sola-newsletter__form {
        flex-direction: column;
    }

    /* Tabs — horizontal scroll for many tabs */
    .sola-tabs__nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    .sola-tabs__button {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Counter grid — 2 columns on mobile */
    .sola-counter__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }

    /* Timeline — single-column, no alternation */
    .sola-timeline--alternating .sola-timeline__item:nth-child(even) {
        flex-direction: row;
        text-align: left;
    }

    /* Progress Bar — smaller text */
    .sola-progress-bar__label {
        font-size: 0.75rem;
    }
}

/* Tablet adjustments (< 768px) */
@media (max-width: 768px) {
    /* Counter grid — 2 columns on tablet */
    .sola-counter__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ========================================================================
   Custom Overrides for CTA and Dividers
   ======================================================================== */
.wp-block-sola-cta .sola-button--primary, 
.wp-block-sola-cta .sola-button--ghost {
    background: #ffffff !important;
    color: var(--sola-color-primary, #2d5c4c) !important;
    border: none !important;
    border-radius: 9999px !important;
    letter-spacing: 0.1em !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    padding: 1.25rem 3rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
}
.wp-block-sola-cta .sola-button--primary:hover,
.wp-block-sola-cta .sola-button--ghost:hover {
    background: var(--sola-color-primary, #2d5c4c) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

/* Hide wave dividers everywhere */
.sola-shape-divider,
.sola-divider--wave,
.sola-section-wave,
.sola-section-divider,
[class*="sola-divider-"],
svg[viewBox="0 0 1200 120"] {
    display: none !important;
}

/* ============================================================
   CTA heading color on dark backgrounds
   ============================================================ */
.sola-theme--dark .sola-cta__heading,
.sola-theme--dark .sola-cta__description,
[style*="background-color:#2c1810"] .sola-cta__heading,
[style*="background-color:#2c1810"] .sola-cta__description,
[style*="background-color:#2d5c4c"] .sola-cta__heading,
[style*="background-color:#2d5c4c"] .sola-cta__description,
[style*="background-color: #2c1810"] .sola-cta__heading,
[style*="background-color: #2c1810"] .sola-cta__description {
    color: #ffffff !important;
}

/* ============================================================
   Sub-page breadcrumb hero (generated by Sola theme for inner pages)
   ============================================================ */
.sola-page-header,
.wp-block-sola-page-header,
.entry-header.sola-entry-header {
    min-height: 0 !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* .sola-page-hero は実際の下層ページヒーロー要素（wp:group ベース） */
.sola-page-hero,
.wp-block-group.sola-page-hero {
    padding-top: var(--sola-inner-hero-pt, 2rem) !important;
    padding-bottom: var(--sola-inner-hero-pb, 1rem) !important;
    min-height: 0 !important;
}

/* ヒーロー内タイトルの余白も最小化 */
.sola-page-hero .wp-block-heading,
.sola-page-hero h1,
.sola-page-hero h2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
}

/* パンくず部分の余白を削除 */
.sola-page-hero .wp-block-navigation,
.sola-page-hero nav {
    margin-bottom: 0 !important;
}



