@charset "UTF-8";
/* Google Fonts Import Removed - Enqueued via functions.php */

/* =========================================
   Dreseo Home Scoped Styles
   Wrapper ID: #dreseo-home
   Prefix: .dreseo-
   ========================================= */

#dreseo-home {
    /* Variables from index.css */
    --color-bg: #FFFFFF;
    --color-bg-light-blue: #EEF3F8;
    --color-bg-approach: #EEF3F8;
    --color-bg-company: #EEF3F8;
    --color-text-primary: #1A1A1A;
    --color-text-secondary: #595959;
    --color-accent: #000000;
    --color-border: #E5E5E5;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-english: 'Inter', sans-serif;
    --spacing-section: 100px;
    --spacing-container: 24px;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);

    /* Body Reset (Scoped) */
    font-family: var(--font-main);
    background-color: var(--color-bg);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 0, 0, 0.02) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 0, 0, 0.02) 0%, transparent 20%);
    color: var(--color-text-primary);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;

    /* Flex Layout for Sticky Footer */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Force override SWELL default content padding */
body.home #content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

#dreseo-home * {
    box-sizing: border-box;
}

#dreseo-home a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

#dreseo-home a:hover {
    opacity: 0.7;
}

#dreseo-home h1,
#dreseo-home h2,
#dreseo-home h3,
#dreseo-home h4,
#dreseo-home h5,
#dreseo-home h6 {
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0;
    padding: 0;
}

#dreseo-home p {
    font-size: 1.125rem;
    line-height: 2;
    color: #333;
    font-weight: 500;
    margin: 0 0 16px;
}

/* Container Rename: .dreseo-container */
#dreseo-home .dreseo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

/* Animations (Global Keyframes) */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes rotateRing {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#dreseo-home .dreseo-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

#dreseo-home .dreseo-fade-in-up {
    opacity: 1;
    transform: none;
}

/* =========================================
   App.css (Scoped)
   ========================================= */
#dreseo-home .dreseo-lead-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--color-text-primary);
    max-width: 800px;
}

/* =========================================
   Header.css (Scoped & Renamed)
   .header -> .dreseo-header
   ========================================= */
#dreseo-home .dreseo-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#dreseo-home .dreseo-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: unset;
    padding: 0 40px;
}

#dreseo-home .dreseo-nav-container-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

#dreseo-home .dreseo-logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
    margin-right: auto;
}

#dreseo-home .dreseo-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
    filter: contrast(1.1);
}

#dreseo-home .dreseo-nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

#dreseo-home .dreseo-cta-container {
    display: flex;
    gap: 16px;
    margin-left: 40px;
}

#dreseo-home .dreseo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.02em;
    position: relative;
    padding-right: 40px;
    border: none;
}

#dreseo-home .dreseo-btn-with-arrow::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
}

#dreseo-home .dreseo-btn-with-arrow:hover::after {
    transform: translateY(-50%) rotate(45deg) translateX(2px);
}

#dreseo-home .dreseo-btn-primary {
    background-color: #111;
    color: white;
}

#dreseo-home .dreseo-btn-primary:hover {
    background-color: #333;
    transform: translateY(-1px);
}

#dreseo-home .dreseo-btn-secondary {
    background-color: transparent;
    border: 1px solid #111;
    color: #111;
}

#dreseo-home .dreseo-btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    #dreseo-home .dreseo-header {
        height: 70px;
    }

    #dreseo-home .dreseo-logo {
        height: 40px;
    }

    #dreseo-home .dreseo-nav {
        display: none;
    }
}

/* =========================================
   Footer.css (Scoped & Renamed)
   .footer -> .dreseo-footer
   ========================================= */
#dreseo-home .dreseo-footer {
    padding: 100px 0;
    background-color: #DCE4ED;
    margin-top: auto;
}

#dreseo-home .dreseo-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

#dreseo-home .dreseo-footer-copyright {
    font-size: 13px;
    color: var(--color-text-secondary);
}

#dreseo-home .dreseo-footer-links {
    display: flex;
    gap: 32px;
}

#dreseo-home .dreseo-footer-links a {
    font-size: 13px;
    color: var(--color-text-secondary);
    position: relative;
}

#dreseo-home .dreseo-footer-links a:hover {
    color: var(--color-accent);
    opacity: 1;
}

@media (max-width: 768px) {
    #dreseo-home .dreseo-footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    #dreseo-home .dreseo-footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* =========================================
   Hero.css (Scoped & Renamed - FIXED)
   .hero -> .dreseo-hero
   .hero-container -> .dreseo-hero-container
   .hero-content -> .dreseo-hero-content
   .hero-bg-accent -> .dreseo-hero-bg-accent
   .hero-visual-symbol -> .dreseo-hero-visual-symbol
   .math-symbol -> .dreseo-math-symbol
   ========================================= */
#dreseo-home .dreseo-hero {
    min-height: auto;
    width: 100%;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: visible;
    padding-top: 0;
    /* Reduced to 0 as per user request */
    padding-bottom: 80px;
    background-color: #FFFFFF;
}

#dreseo-home .dreseo-hero-bg-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: -19px -19px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

#dreseo-home .dreseo-hero-bg-accent::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(200, 210, 230, 0.15), transparent 60%);
    pointer-events: none;
}

#dreseo-home .dreseo-hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    justify-items: start;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-container) + 12px);
}

#dreseo-home .dreseo-hero-visual-symbol {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    justify-self: center;
    overflow: visible;
    min-height: 320px;
}

#dreseo-home .dreseo-math-symbol {
    display: block;
    width: 100%;
    max-width: 720px;
    min-width: 420px;
    height: auto;
    object-fit: contain;
    transform: none;
    animation: rotateRing 36s linear infinite;
    opacity: 0.95;
}

/* =========================
   FV / Hero Title
========================= */
#dreseo-home .dreseo-hero-title {
    margin: 0;
    padding: 0;
    font-size: 4rem;
    line-height: 1.35;
    font-weight: 700;
    color: #111111;
    letter-spacing: 0.04em;
    text-align: left;
}

#dreseo-home .dreseo-hero-line {
    display: block;
}

#dreseo-home .hero-cta-group {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

#dreseo-home .dreseo-marker {
    display: inline;
    margin: 0;
    padding: 0;
    line-height: inherit;
    vertical-align: baseline;
    position: relative;
    background: transparent;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    border-radius: 2px;
    overflow: hidden;
}

#dreseo-home .dreseo-marker-underline {
    padding: 0;
    background: none;
}

#dreseo-home .dreseo-marker-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.02em;
    width: 100%;
    height: 0.45em;
    background: #F8A8B3;
    border: none;
    transform: scaleX(0);
    transform-origin: left center;
    animation: dreseo-marker-underline-draw 1.4s ease-out forwards;
    mix-blend-mode: normal;
    z-index: -1;
    border-radius: 2px;
}

#dreseo-home .dreseo-hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.9;
    margin: 0;
    color: #1A1A1A;
}

@keyframes dreseo-marker-underline-draw {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    #dreseo-home .dreseo-marker-underline::after {
        animation: none;
        transform: scaleX(1);
    }
}

#dreseo-home .dreseo-hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
    padding-right: 0;
    gap: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: 0;
}

#dreseo-home .dreseo-hero-content.dreseo-fade-in-up {
    opacity: 1;
    transform: none;
}

@media (max-width: 900px) {
    #dreseo-home .dreseo-hero-container {
        grid-template-columns: 1fr;
        row-gap: 12px;
        padding: 18px 18px;
        text-align: left;
        justify-items: center;
    }

    #dreseo-home .dreseo-hero-content {
        margin-left: 0;
        align-items: flex-start;
        max-width: 100%;
        grid-column: 1;
        grid-row: 2;
        width: 100%;
    }

    #dreseo-home .hero-cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    #dreseo-home .dreseo-btn {
        width: 100%;
        max-width: 340px;
        justify-content: center;
        height: 52px;
        font-size: 1rem;
        border-radius: 14px;
        padding: 12px 20px;
    }

    #dreseo-home .dreseo-btn-with-arrow::after {
        top: 50%;
        right: 16px;
    }

    #dreseo-home .dreseo-hero-visual-symbol {
        display: flex;
        justify-content: center;
        align-items: center;
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        width: 100%;
        min-height: 140px;
        margin: 0 auto;
    }

    #dreseo-home .dreseo-math-symbol {
        min-width: 0;
        width: 260px;
        max-width: 260px;
        height: auto;
        margin: 0 auto;
        display: block;
        animation: rotateRing 36s linear infinite;
        opacity: 0.95;
    }

    #dreseo-home .dreseo-hero-title {
        font-size: 2.4rem;
        line-height: 1.3;
    }

}

/* =========================================
   Section.css (Scoped & Renamed)
   ========================================= */
#dreseo-home .dreseo-content-section {
    padding: var(--spacing-section) 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

#dreseo-home .dreseo-content-section.dreseo-is-visible {
    opacity: 1;
    transform: none;
}

/* Policy pages - show content immediately without animation */
#dreseo-home.dreseo-policy-page .dreseo-content-section {
    opacity: 1;
    transform: none;
}

#dreseo-home .dreseo-section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 64px;
    position: relative;
    display: inline-block;
}

#dreseo-home .dreseo-section-title::after {
    display: none;
}

#dreseo-home .dreseo-section-content {
    /* No generic styles defined, just scoped placeholder */
}

@media (max-width: 768px) {
    /* SP: reduce vertical padding so H2上部余白を半分に */
    #dreseo-home .dreseo-content-section {
        padding: 50px 0;
    }
}

/* =========================================
   Home.css + ServiceCard.css (Scoped)
   Renaming classes for consistency
   ========================================= */
#dreseo-home .dreseo-section-approach {
    background-color: var(--color-bg-approach);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

#dreseo-home .dreseo-section-business {
    --section-bg: var(--color-bg-company);
    --card-bg: var(--color-bg);
    background-color: var(--section-bg);
}

#dreseo-home .dreseo-section-company {
    background-color: var(--color-bg-company);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

#dreseo-home .dreseo-approach-wrapper {
    max-width: 800px;
}

#dreseo-home .dreseo-mission-block {
    margin-bottom: 60px;
}

#dreseo-home .dreseo-mission-block:last-child {
    margin-bottom: 0;
}

#dreseo-home .dreseo-mission-block h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

#dreseo-home .dreseo-lead-text {
    font-size: 1.125rem !important;
    line-height: 2;
    color: #333;
}

#dreseo-home .dreseo-approach-declaration {
    margin-bottom: 60px;
    padding-left: 0;
}

#dreseo-home .dreseo-approach-intro {
    font-size: 1.125rem;
    line-height: 2;
    color: #333;
    font-weight: 500;
}

#dreseo-home .dreseo-approach-definition {
    border-left: none;
    padding-left: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

#dreseo-home .dreseo-approach-cta-wrapper {
    margin-top: 40px;
    /* Reduced margin to connect with text above */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
    /* Aligned with main content, not indented like definition */
}

#dreseo-home .dreseo-approach-post-text {
    margin-top: 48px;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 900px) {
    #dreseo-home .dreseo-approach-post-text {
        padding-left: 0;
        padding-right: 0;
    }
}

#dreseo-home .dreseo-approach-cta-btn {
    padding: 14px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFFFFF;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-radius: 4px;
    transition: all 0.25s ease;
    width: 240px;
    height: 48px;
    position: relative;
    overflow: hidden;
}

#dreseo-home .dreseo-approach-cta-btn:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#dreseo-home .dreseo-approach-cta-btn .dreseo-cta-arrow {
    font-size: 1.125rem;
    transition: transform 0.25s ease;
}

#dreseo-home .dreseo-approach-cta-btn:hover .dreseo-cta-arrow {
    transform: translateX(3px);
}

#dreseo-home .dreseo-section-intro {
    text-align: left;
    max-width: 800px;
    margin: 0 0 60px 0;
    font-size: 1.125rem !important;
    line-height: 2;
    color: #333;
}

#dreseo-home .dreseo-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

#dreseo-home .dreseo-card-title-ja {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-primary);
    line-height: 1.4;
    letter-spacing: 0.05em;
}

#dreseo-home .dreseo-service-card {
    background: var(--card-bg, #FFFFFF) !important;
    border: 1px solid #E0E0E0;
    padding: 48px 40px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 0 24px;
    transition: transform 0.3s ease;
}

#dreseo-home .dreseo-service-card h3 {
    grid-column: 1 / -1;
}

#dreseo-home .dreseo-service-card p {
    color: #4A4A4A;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0;
    grid-column: 1;
    grid-row: 2;
}

#dreseo-home .dreseo-service-card:hover {
    border-color: var(--color-text-primary);
}

/* Shared CTA Button Styles */
#dreseo-home .dreseo-card-cta,
#dreseo-home .dreseo-approach-cta-btn {
    padding: 14px 24px;
    padding-right: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFFFFF;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-radius: 4px;
    transition: all 0.25s ease;
    height: 48px;
    position: relative;
    overflow: hidden;
}

#dreseo-home .dreseo-card-cta {
    width: 360px;
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    white-space: nowrap;
}

#dreseo-home .dreseo-approach-cta-btn {
    width: 240px;
}

/* Arrow Implementation */
#dreseo-home .dreseo-card-cta::after,
#dreseo-home .dreseo-approach-cta-btn::after {
    content: '';
    position: absolute;
    right: 24px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.25s ease;
}

/* Hover Effects */
#dreseo-home .dreseo-service-card:hover .dreseo-card-cta,
#dreseo-home .dreseo-approach-cta-btn:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#dreseo-home .dreseo-service-card:hover .dreseo-card-cta::after,
#dreseo-home .dreseo-approach-cta-btn:hover::after {
    transform: translateY(-50%) rotate(45deg) translate(2px, -2px);
}

#dreseo-home .dreseo-card-cta-text,
#dreseo-home .dreseo-cta-text {
    letter-spacing: 0.03em;
}

@media (max-width: 768px) {

    /* Business cards: stack and constrain */
    #dreseo-home .dreseo-card-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    #dreseo-home .dreseo-service-card {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 24px 20px;
        box-sizing: border-box;
    }

    #dreseo-home .dreseo-service-card h3 {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    #dreseo-home .dreseo-service-card p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    #dreseo-home .dreseo-card-cta {
        width: 100%;
        max-width: 340px;
        display: inline-flex;
        padding: 12px 24px;
        height: 44px;
        white-space: normal;
        position: relative;
        justify-content: center;
    }

    #dreseo-home .dreseo-card-cta::after {
        right: 16px;
    }

    #dreseo-home .dreseo-approach-cta-wrapper {
        align-items: center;
    }

    #dreseo-home .dreseo-approach-cta-btn {
        width: 100%;
        max-width: 340px;
        justify-content: center;
    }
}

/* Shine Effect */
#dreseo-home .dreseo-card-cta::before,
#dreseo-home .dreseo-approach-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.3s ease;
}

#dreseo-home .dreseo-service-card:hover .dreseo-card-cta::before,
#dreseo-home .dreseo-approach-cta-btn:hover::before {
    left: 100%;
}

#dreseo-home .dreseo-section-market-context {
    background-color: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: 80px 0;
}

#dreseo-home .dreseo-context-wrapper {
    max-width: 800px;
}

#dreseo-home .dreseo-context-block {
    margin-bottom: 60px;
}

#dreseo-home .dreseo-context-block:last-child {
    margin-bottom: 0;
}

#dreseo-home .dreseo-context-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
    line-height: 1.4;
}

/* Unify h3 size across sections */
#dreseo-home .dreseo-content-section h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 700;
}

#dreseo-home .dreseo-context-body {
    font-size: 1.125rem !important;
    line-height: 2;
    color: #333;
}

@media (max-width: 768px) {
    #dreseo-home .dreseo-context-title {
        font-size: 1.25rem;
    }
}

/* =========================================
   Admin Bar Adjustment
   ========================================= */
body.admin-bar #dreseo-home .dreseo-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar #dreseo-home .dreseo-header {
        top: 46px;
    }
}
