/**
 * Dreseo Pages Styles
 * 固定ページ用共通スタイル（/about/, /business/, /contact/等）
 */

/* =========================
   Fixed Page Base
========================= */
#dreseo-page {
    --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);

    font-family: var(--font-main);
    background-color: rgba(187, 222, 251, 0.7);
    color: var(--color-text-primary);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    width: 100%;
}

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

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

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

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

#dreseo-page h3 + p {
    margin-top: 12px;
}

#dreseo-page h3 + div {
    margin-top: 12px;
}

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

#dreseo-page .dreseo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

#dreseo-page .dreseo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 1px solid transparent;
    text-decoration: none;
}

#dreseo-page .btn--pill {
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    min-width: 200px;
}

#dreseo-page .btn--rect {
    padding: 14px 24px;
    border-radius: 4px;
    font-size: 0.875rem;
    height: 48px;
}

#dreseo-page .is-primary {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #FFFFFF;
    border-color: #111;
}

#dreseo-page .btn--pill.is-primary {
    background: #111;
}

#dreseo-page .btn--pill.is-primary:hover {
    background: #333;
    transform: translateY(-1px);
}

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

#dreseo-page .is-outline {
    background: transparent;
    border-color: #111;
    color: #111;
}

#dreseo-page .is-outline:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

#dreseo-page .is-arrow {
    padding-right: 40px;
}

#dreseo-page .btn--rect.is-arrow {
    padding-right: 48px;
}

#dreseo-page .is-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.25s ease;
}

#dreseo-page .is-arrow:hover::after {
    transform: translateY(-50%) rotate(45deg) translate(2px, -2px);
}

/* =========================
   Universal Fixed Page Styles
========================= */

/* すべてのコンテナ・セクションをデフォルトで青背景（透明）に統一 */
.dreseo-about-page .dreseo-content-section,
.dreseo-about-page .dreseo-business-section,
.dreseo-about-page .dreseo-field-intro,
.dreseo-about-page .dreseo-field-services,
.dreseo-about-page .dreseo-bg-white:not(.dreseo-business-cta):not(.dreseo-field-cta):not(.dreseo-service-cta):not(.dreseo-about-profile),
.dreseo-about-page .dreseo-bg-blue:not(.dreseo-business-cta):not(.dreseo-field-cta):not(.dreseo-service-cta):not(.dreseo-about-profile) {
    background-color: transparent !important;
    /* 親の青背景を継承 */
    padding: 0 0 80px 0 !important;
    /* 余白をAboutページと統一 */
}

/* 例外: プロフィールセクション（Aboutページ）のみ白背景 */
.dreseo-about-page .dreseo-about-profile {
    background-color: #FFFFFF !important;
    padding: 60px 0 !important;
    margin-bottom: 0 !important;
}

/* 例外: CTAセクションのみ白背景（フッターと直結させるためmargin-bottom: 0） */
.dreseo-about-page .dreseo-business-cta,
.dreseo-about-page .dreseo-field-cta {
    background-color: #FFFFFF !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    /* 青い線の原因防止 */
    box-shadow: none !important;
}

/* Business CTA spacing - keep padding even if other rules override */
.dreseo-business-page .dreseo-business-cta {
    padding: 0 !important;
}

/* CTA inner spacing - avoid section padding conflicts */
.dreseo-business-cta .dreseo-container,
.dreseo-field-cta .dreseo-container,
.dreseo-service-cta .dreseo-container {
    padding-top: 88px !important;
    padding-bottom: 88px !important;
}

/* CTAボタン周辺の青い線対策 */
.dreseo-about-page .dreseo-business-cta .dreseo-btn-wrap,
.dreseo-about-page .dreseo-field-cta .dreseo-btn-wrap {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

/* Heroから最初のセクションまでの余白統一 */
.dreseo-about-hero+.dreseo-content-section {
    margin-top: 60px !important;
}

/* Contact: remove extra gap between hero and first section */
.dreseo-contact-page .dreseo-about-hero + .dreseo-content-section {
    margin-top: 0 !important;
}

/* CTA直前のセクション余白を60pxに調整（見出しからホワイトボックス開始まで） */
.dreseo-about-page .dreseo-business-section:last-of-type,
.dreseo-about-page.dreseo-business-page .dreseo-content-section:nth-last-of-type(2),
.dreseo-about-page.dreseo-business-field-page .dreseo-field-services,
.dreseo-about-page .dreseo-about-profile {
    padding-bottom: 60px !important;
    margin-bottom: 0 !important;
}

/* 固定ページ全体の最下部余白を削除してフッターと密着させる */
.dreseo-about-page {
    padding-bottom: 0 !important;
}

/* Override SWELL default content padding/margin to fix gap below header */
body,
#content,
.siteMain {
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.dreseo-about-page {
    padding-bottom: 0;
    /* フッターとの隙間をなくす */
    --about-bg-white: #FFFFFF;
    --about-bg-tint: #f8f9fa;
}

/* フッターとの隙間（白背景）をなくす */
#dreseo-page+#footer,
.dreseo-about-page+#footer {
    margin-top: 0 !important;
}

/* Font unification - SWELLの明朝体をゴシック体に上書き */
.dreseo-about-page,
.dreseo-about-page * {
    font-family: 'Noto Sans JP', sans-serif;
}

/* ハンバーガーメニュー（SPメニュー）にもゴシック体を適用 */
.p-spMenu,
.p-spMenu *,
.c-gnav,
.c-gnav * {
    font-family: 'Noto Sans JP', sans-serif !important;
}

/* Content Section - show immediately (no animation) */
.dreseo-about-page .dreseo-content-section {
    opacity: 1 !important;
    transform: none !important;
    margin: 0 0 80px 0;
    /* セクション間隔を80pxに設定 */
    padding: 0 !important;
    /* PC版での不要なpaddingを強制削除 */
}



/* =========================
   Hero Section
========================= */
.dreseo-about-hero {
    padding-top: 160px;
    /* 140px → 160px */
    padding-bottom: 40px;
    min-height: 480px;
    /* 240px → 480px（PC版の高さを大幅に確保） */
    margin-bottom: 60px;
    /* 40px → 60px（ユーザー要望） */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: #FFFFFF;
    background-image: url('../img/hero_bg_pentagon.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #333;
}

#dreseo-page.dreseo-contact-page .dreseo-about-hero {
    margin-bottom: 0;
}

#dreseo-page .dreseo-about-hero-label {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0 0 8px;
    opacity: 1;
}

.dreseo-about-hero-title {
    font-size: 2rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.05em;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

.dreseo-about-hero-title::before,
.dreseo-about-hero-title::after {
    content: 'ー';
    font-weight: 300;
    opacity: 0.8;
}

/* =========================
   Section Titles
========================= */
#dreseo-page.dreseo-about-page .dreseo-section-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 12px 24px;
    margin: 0 auto 40px;
    /* 16px → 40px に戻す（ユーザー要望：余白確保） */
    width: 100%;
    max-width: 100%;
    text-align: center;
}


#dreseo-page.dreseo-about-page .dreseo-section-title .dreseo-section-title-en {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #333;
    margin-bottom: 0;
    display: inline-block;
}

#dreseo-page.dreseo-about-page .dreseo-section-title .dreseo-section-title-ja {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    display: inline-block;
}

/* =========================
   Profile Section
========================= */
/* =========================
   Profile Section
========================= */
#dreseo-page.dreseo-about-page .dreseo-about-profile {
    padding: 60px 0 !important;
    /* ユーザー要望により100pxから60pxに変更 */
    margin-bottom: 0 !important;
    /* 下部の青い帯を削除 */
    background: #FFFFFF !important;
    /* 全体を白背景に */
}

/* プロフィールテーブル */
.dreseo-about-profile .dreseo-profile-table {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: 800px;
    /* 幅が広がりすぎないように制限 */
    margin: 0 auto;
}

.dreseo-profile-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #e5e7eb;
    /* 上にも線を入れて表形式を強調 */
}

.dreseo-profile-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.dreseo-profile-table th,
.dreseo-profile-table td {
    padding: 20px 0;
    text-align: left;
    vertical-align: top;
}

.dreseo-profile-table th {
    width: 160px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.dreseo-profile-table td {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
}

.dreseo-profile-table td ul {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

.dreseo-profile-table td li {
    margin-bottom: 4px;
}

.dreseo-profile-table td a {
    color: #333;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.dreseo-profile-table td a:hover {
    opacity: 0.7;
    text-decoration: none;
}

/* =========================
   Mission Section
========================= */
.dreseo-about-mission {
    padding: 0;
    margin-bottom: 80px;
    background: transparent !important;
}

.dreseo-mission-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    /* 白背景ボックス */
    background: #FFFFFF;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#dreseo-page .dreseo-mission-statement {
    font-size: 2.2rem;
    font-weight: 700;
    /* 800 → 700 に変更。統一感 */
    color: #333;
    line-height: 1.5;
    margin: 0 0 40px;
    text-align: center;
    white-space: nowrap;
}

#dreseo-page .dreseo-mission-description {
    font-size: 1.125rem;
    /* CAREERSと統一 (20.25px) */
    font-weight: 500;
    /* CAREERSと統一 */
    color: #333;
    /* CAREERSと統一 */
    line-height: 2;
    margin: 0;
    text-align: left;
}

/* =========================
   Sub-page Navigation Cards
========================= */
/* Navigation Cardsは個別に背景指定せず、親の背景に依存させるか、白にする */
.dreseo-about-nav {
    padding: 0;
    margin-bottom: 0;
    background: transparent !important;
    /* 青背景に戻す（白指定削除） */
}

.dreseo-about-nav-alt {
    background: transparent;
}

.dreseo-about-nav .dreseo-about-card,
.dreseo-about-nav-alt .dreseo-about-card {
    background: #FFFFFF;
    /* カードは白 */
}

.dreseo-about-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.dreseo-careers-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    /* ボタンを中央にするためcenterに変更 */
    /* 白背景ボックス */
    background: #FFFFFF;
    padding: 40px 48px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#dreseo-page .dreseo-careers-content .dreseo-approach-cta-wrapper {
    justify-content: center;
    align-items: center !important;
}

/* ボタン自体を中央寄せ（align-itemsが効かない場合の保険） */
#dreseo-page .dreseo-careers-content .dreseo-approach-cta-wrapper .dreseo-approach-cta-btn {
    margin: 0 auto !important;
    align-self: center !important;
    /* 親のalign-itemsを上書き */
}

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

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

#dreseo-page .dreseo-service-card:hover .dreseo-card-cta,
#dreseo-page .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-page .dreseo-service-card:hover .dreseo-card-cta::after,
#dreseo-page .dreseo-approach-cta-btn:hover::after {
    transform: translateY(-50%) rotate(45deg) translate(2px, -2px);
}

#dreseo-page .dreseo-card-cta.is-arrow::after,
#dreseo-page .dreseo-approach-cta-btn.is-arrow::after {
    right: 24px;
}

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

.dreseo-careers-text {
    font-size: 1rem;
    line-height: 2;
    color: #333;
    margin: 0 0 24px;
    text-align: left;
    /* テキストは左寄せに戻す */
}


.dreseo-about-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 40px;
    background: var(--about-card-bg, var(--about-bg-tint));
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    color: #333;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    min-height: 140px;
}

.dreseo-about-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-text-primary);
    box-shadow: var(--shadow-card);
    opacity: 1;
}

.dreseo-about-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.dreseo-about-card-subtitle {
    font-size: 0.875rem;
    color: #4A4A4A;
}

.dreseo-about-card-arrow {
    position: absolute;
    right: 24px;
    bottom: 24px;
    font-size: 1.25rem;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.dreseo-about-card:hover .dreseo-about-card-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
    .dreseo-about-hero {
        /* SP Header (70px) + visual padding (40px) */
        padding-top: 110px;
        padding-bottom: 40px;
        min-height: 160px;
    }

    .dreseo-about-hero-title {
        font-size: 1.6rem;
    }

    #dreseo-page.dreseo-about-page .dreseo-section-title .dreseo-section-title-en {
        font-size: 1.15rem;
    }

    #dreseo-page.dreseo-about-page .dreseo-section-title .dreseo-section-title-ja {
        font-size: 1.6rem;
    }

    #dreseo-page.dreseo-about-page .dreseo-section-title {
        padding: 12px 16px;
        gap: 12px;
        text-align: center;
    }

    .dreseo-about-profile,
    .dreseo-about-mission,
    .dreseo-about-nav {
        padding: 8px 0;
    }

    /* SP用: テーブルのレスポンシブ対応 */
    .dreseo-profile-table th,
    .dreseo-profile-table td {
        display: block;
        width: 100%;
        padding: 12px 0;
    }

    .dreseo-profile-table th {
        padding-bottom: 4px;
        border-bottom: none;
    }

    .dreseo-profile-table tr {
        padding: 8px 0;
    }

    #dreseo-page .dreseo-mission-statement {
        font-size: 1.5rem;
    }

    .dreseo-about-cards {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Message Page Styles
========================= */
.dreseo-message-intro {
    padding: 0;
    margin-bottom: 80px;
    background: transparent !important;
}

.dreseo-message-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    /* 白背景ボックス */
    background: #FFFFFF;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dreseo-message-heading {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 32px;
}

.dreseo-message-text p {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 24px;
    color: #333;
}

.dreseo-message-sign {
    margin-top: 40px;
    text-align: right;
    font-weight: 700;
}

.dreseo-message-philosophy {
    padding: 0;
    margin-bottom: 80px;
    background: transparent !important;
}

.dreseo-philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    /* 白背景ボックス */
    background: #FFFFFF;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dreseo-philosophy-text {
    margin-top: 40px;
    text-align: left;
}

.dreseo-philosophy-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 32px 0 16px;
}

/* =========================
   Mission Page (MVV) Styles
========================= */
.dreseo-mvv-mission,
.dreseo-mvv-value {
    padding: 100px 0;
    background: rgba(187, 222, 251, 0.7);
    /* 濃い青背景 */
}

.dreseo-mvv-vision {
    padding: 100px 0;
    background: rgba(187, 222, 251, 0.7);
    /* 濃い青背景 */
}

.dreseo-mvv-block {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    /* 白背景ボックス */
    background: #FFFFFF;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dreseo-mvv-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0;
    color: #333;
    /* font-family: var(--font-english) を削除 → Noto Sans JPを継承 */
}

.dreseo-mvv-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 8px 0 40px;
    font-weight: 500;
}

.dreseo-mvv-statement {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 24px;
}

.dreseo-mvv-desc {
    font-size: 1rem;
    line-height: 2;
    color: #333;
}

.dreseo-value-list {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    display: grid;
    gap: 32px;
}

.dreseo-value-item {
    text-align: left;
    padding: 32px;
    background: #f9f9f9;
    border-radius: 8px;
}

.dreseo-value-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.dreseo-value-item p {
    margin: 0;
    line-height: 1.8;
}

/* =========================
   Contact Page Styles
========================= */
.dreseo-contact-form-section {
    padding: 0;
    margin-bottom: 80px;
    background: transparent !important;
}

.dreseo-contact-card {
    max-width: 700px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dreseo-contact-intro,
.dreseo-contact-form,
.dreseo-contact-success {
    max-width: 700px;
    margin: 0 auto;
    /* 白背景ボックス */
    background: #FFFFFF;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dreseo-contact-intro {
    text-align: center;
    margin-bottom: 40px;
}

.dreseo-contact-form {
    margin-top: 0;
}

@media (max-width: 768px) {
    .dreseo-message-top {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 24px 20px;
        /* SP用パディング調整 */
    }

    .dreseo-message-heading {
        font-size: 1.5rem;
    }

    .dreseo-mvv-title {
        font-size: 2.5rem;
    }

    .dreseo-mvv-statement {
        font-size: 1.5rem;
    }

    /* SP用: 白ボックスのパディング調整 */
    .dreseo-philosophy-content,
    .dreseo-mvv-block,
    .dreseo-careers-content,
    .dreseo-mission-content,
    .dreseo-contact-intro,
    .dreseo-contact-form,
    .dreseo-contact-success {
        padding: 24px 20px;
    }

    #dreseo-page .dreseo-card-cta {
        width: 100%;
        max-width: 100%;
        padding: 12px 24px;
        height: 44px;
        white-space: normal;
        justify-content: center;
    }

    #dreseo-page .dreseo-approach-cta-btn {
        width: 100%;
        max-width: 100%;
        padding: 12px 24px;
        height: 44px;
        justify-content: center;
    }

    #dreseo-page .dreseo-card-cta.is-arrow::after,
    #dreseo-page .dreseo-approach-cta-btn.is-arrow::after {
        right: 16px;
    }

    .dreseo-about-profile .dreseo-profile-table {
        padding: 24px 16px;
    }
}

/* =========================
   Business Page Styles
========================= */
.dreseo-business-intro {
    padding: 60px 0;
    /* 白背景はpadding */
    background: #FFFFFF;
}

.dreseo-business-overview {
    max-width: 800px;
}

.dreseo-business-overview p {
    font-size: 1.125rem;
    line-height: 2;
    color: #333;
    margin-bottom: 24px;
}

.dreseo-business-fields {
    padding: 0;
    margin-bottom: 80px;
    background: transparent !important;
}

.dreseo-business-page .dreseo-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.dreseo-business-card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    padding: 48px 40px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0 24px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.dreseo-business-card:hover {
    transform: translateY(-4px);
    border-color: #333;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    opacity: 1;
}

.dreseo-business-card .dreseo-card-title-ja {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: #333;
    line-height: 1.4;
    letter-spacing: 0.05em;
    grid-column: 1 / -1;
}

.dreseo-business-card-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: #999;
    letter-spacing: 0.1em;
    margin-right: 8px;
}

.dreseo-business-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

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

.dreseo-business-card-arrow {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 48px;
    border-radius: 4px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.dreseo-business-cta,
.dreseo-field-cta {
    padding: 120px 0;
    /* 白背景はpadding */
    background: #FFFFFF;
}

.dreseo-cta-box {
    text-align: center;
    max-width: 100%;
    /* 600px → 100% に変更。テキストが1行で収まるように */
    margin: 0 auto;
}

.dreseo-cta-box-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dreseo-cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: #333;
}

.dreseo-cta-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 32px;
}

/* =========================
   Business Field Page Styles
========================= */
.dreseo-field-intro {
    padding: 8px 0;
    background: #FFFFFF;
}

.dreseo-field-overview {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.dreseo-field-lead {
    font-size: 1.25rem;
    line-height: 2;
    color: #333;
    margin: 0;
}

.dreseo-field-services {
    padding: 8px 0;
    background: rgba(187, 222, 251, 0.7);
}

.dreseo-service-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.dreseo-service-item {
    display: grid;
    grid-template-columns: 60px 1fr 40px;
    align-items: center;
    gap: 24px;
    padding: 32px 40px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.dreseo-service-item:hover {
    transform: translateY(-2px);
    border-color: #333;
    opacity: 1;
}

.dreseo-service-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #BBDEFB;
}

.dreseo-service-content {
    flex: 1;
}

.dreseo-service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #333;
}

.dreseo-service-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.dreseo-service-arrow {
    font-size: 1.25rem;
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.dreseo-service-item:hover .dreseo-service-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* =========================
   Service Detail Page Styles
========================= */
.dreseo-service-lead {
    padding: 8px 0;
    background: #FFFFFF;
}

.dreseo-service-lead-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #333;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
}

.dreseo-service-features {
    padding: 8px 0;
    background: rgba(187, 222, 251, 0.7);
}

.dreseo-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dreseo-feature-card {
    padding: 40px 32px;
    background: #FFFFFF;
    border-radius: 12px;
    text-align: center;
}

.dreseo-feature-number {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #BBDEFB;
    margin-bottom: 16px;
}

.dreseo-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: #333;
}

.dreseo-feature-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.dreseo-service-details {
    padding: 8px 0;
    background: #FFFFFF;
}

.dreseo-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.dreseo-details-block .dreseo-section-title {
    margin-bottom: 32px;
}

.dreseo-target-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dreseo-target-list li {
    padding: 16px 0;
    /* リストは16pxに戻す */
    border-bottom: 1px solid #E5E5E5;
    font-size: 1rem;
    color: #333;
    position: relative;
    padding-left: 24px;
}

.dreseo-target-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #BBDEFB;
    font-weight: 700;
}

.dreseo-flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: flow;
}

.dreseo-flow-list li {
    padding: 16px 0;
    /* リストは16pxに戻す */
    border-bottom: 1px solid #E5E5E5;
    font-size: 1rem;
    color: #333;
    position: relative;
    padding-left: 40px;
    counter-increment: flow;
}

.dreseo-flow-list li::before {
    content: counter(flow);
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    background: rgba(187, 222, 251, 0.7);
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    top: 50%;
    transform: translateY(-50%);
}

.dreseo-service-cta {
    padding: 8px 0;
    background: rgba(187, 222, 251, 0.7);
}

/* =========================
   Policy Page Styles
========================= */
.dreseo-policy-content {
    padding: 8px 0;
    background: #FFFFFF;
}

.dreseo-policy-body {
    max-width: 800px;
    margin: 0 auto;
}

.dreseo-policy-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #333;
    color: #333;
}

.dreseo-policy-body h2:first-child {
    margin-top: 0;
}

.dreseo-policy-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 32px 0 16px;
    color: #333;
}

.dreseo-policy-body p {
    font-size: 1rem;
    line-height: 2;
    color: #333;
    margin-bottom: 16px;
}

.dreseo-policy-body ul,
.dreseo-policy-body ol {
    margin: 16px 0 24px;
    padding-left: 24px;
}

.dreseo-policy-body li {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 8px;
}

.dreseo-policy-placeholder {
    text-align: center;
    padding: 8px 0;
    color: #999;
}

.dreseo-policy-nav {
    padding: 8px 0;
    background: rgba(187, 222, 251, 0.7);
}

.dreseo-nav-links {
    text-align: center;
}

.dreseo-back-link {
    display: inline-block;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    padding: 16px 32px;
    border: 1px solid #333;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease;
}

.dreseo-back-link:hover {
    background: #333;
    color: #FFFFFF;
    opacity: 1;
}

/* =========================
   Responsive - Business/Service/Policy
========================= */
@media (max-width: 768px) {

    .dreseo-business-overview p,
    .dreseo-field-lead {
        font-size: 1rem;
    }

    .dreseo-business-card {
        display: block;
        padding: 24px 20px;
    }

    .dreseo-business-card .dreseo-card-title-ja {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .dreseo-business-card-desc {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .dreseo-business-card-arrow {
        width: 100%;
        max-width: 340px;
        height: 44px;
        margin-top: 12px;
        justify-content: center;
    }

    .dreseo-service-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 24px;
    }

    .dreseo-service-number {
        font-size: 1rem;
    }

    .dreseo-feature-grid {
        grid-template-columns: 1fr;
    }

    .dreseo-service-lead-text {
        font-size: 1.25rem;
    }

    .dreseo-details-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .dreseo-cta-title {
        font-size: 1.25rem;
    }

    .dreseo-business-cta,
    .dreseo-field-cta {
        padding: 0;
    }

    .dreseo-business-cta .dreseo-container,
    .dreseo-field-cta .dreseo-container,
    .dreseo-service-cta .dreseo-container {
        padding-top: 72px !important;
        padding-bottom: 72px !important;
    }
}

/* =========================
   New Business Page Styles (2025)
========================= */

/* Background Alternation */
.dreseo-business-section {
    padding: 0;
    margin-bottom: 80px;
}

.dreseo-bg-white {
    background: #FFFFFF;
}

.dreseo-bg-blue {
    background: transparent !important;
    /* グローバル背景を使用 */
}

/* /business/ページ専用：ヒーローは白 */
#dreseo-page.dreseo-business-page .dreseo-about-hero {
    background-color: #FFFFFF;
    margin-bottom: 60px;
}

/* Section Title - Japanese Only */
.dreseo-business-section .dreseo-section-title .dreseo-section-title-ja {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
}

/* Text Content */
.dreseo-business-text-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    /* 案3: 白背景ボックス */
    background: #FFFFFF;
    padding: 40px 48px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dreseo-business-text-content p {
    font-size: 1.125rem;
    line-height: 2;
    color: #333;
    margin-bottom: 32px;
}

.dreseo-business-text-content p:last-child {
    margin-bottom: 0;
}

.dreseo-business-text-content strong {
    font-weight: 700;
}

/* Business Details (事業領域の詳細説明) */
.dreseo-business-details {
    margin-top: 80px;
}

.dreseo-business-detail-block {
    margin-bottom: 60px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    /* 案3: 白背景ボックス */
    background: #FFFFFF;
    padding: 40px 48px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dreseo-business-detail-block:last-child {
    margin-bottom: 0;
}

.dreseo-business-detail-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 40px;
    padding-bottom: 12px;
    border-bottom: 2px solid #333;
}

.dreseo-business-detail-text p {
    font-size: 1.125rem;
    line-height: 2;
    color: #333;
    margin-bottom: 24px;
}

.dreseo-business-detail-text p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .dreseo-business-section {
        padding: 50px 0;
        /* 60px → 50px に変更 */
    }

    .dreseo-business-section .dreseo-section-title .dreseo-section-title-ja {
        font-size: 1.6rem;
    }

    .dreseo-business-text-content p,
    .dreseo-business-detail-text p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .dreseo-business-detail-title {
        font-size: 1.35rem;
    }

    .dreseo-business-details {
        margin-top: 60px;
    }

    .dreseo-business-detail-block {
        margin-bottom: 48px;
        padding: 24px 20px;
        /* SP用パディング調整 */
    }

    .dreseo-business-text-content {
        padding: 24px 20px;
        /* SP用パディング調整 */
    }
}

/* =========================
   Business Page Text Marker (本文用マーカー)
   複数行折り返し完全対応版
========================= */

/* 
  【修正内容】
  - 従来のabsolute疑似要素方式では複数行に折り返した際、
    最後の行にしかマーカーが表示されない問題があった
  - background-image + box-decoration-break: clone方式に変更し、
    各行に正しくマーカーを表示
  - トップページと同一の色・アニメーション効果を維持
  
  トップページのマーカー仕様:
  - 色: #b7e3ff (青)
  - アニメーション: 左から右へ描画
  - 効果: 文字全体を覆うハイライト
*/

#dreseo-page.dreseo-business-page .dreseo-marker {
    display: inline;
    margin: 0;
    padding: 0;
    line-height: inherit;
    vertical-align: baseline;
    position: relative;
}

#dreseo-page.dreseo-business-page .dreseo-marker-underline {
    padding: 0;
    /* background-imageで実装（複数行対応） */
    background-image: linear-gradient(transparent 15%, #b7e3ff 15%, #b7e3ff 95%, transparent 95%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    /* 初期状態: 非表示 */
    background-position: 0 0;
    /* 重要: 各行ごとにbackgroundをクローン */
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    /* アニメーション初期状態: 停止（lazyload対応） */
    animation: none;
    /* border-radius適用（トップページと同様） */
    border-radius: 2px;
}

/* Businessページでは::afterを無効化（トップページ用と競合しないように） */
#dreseo-page.dreseo-business-page .dreseo-marker-underline::after {
    content: none;
    display: none;
}

/* Lazyload: 画面に入ったらアニメーション開始 */
#dreseo-page.dreseo-business-page .dreseo-marker-underline.is-visible {
    animation: dreseo-marker-bg-draw var(--marker-duration, 1.4s) ease-out forwards;
}

/* アニメーション定義 */
@keyframes dreseo-marker-bg-draw {
    from {
        background-size: 0% 100%;
    }

    to {
        background-size: 100% 100%;
    }
}

/* アニメーション無効設定を優先するユーザー向け */
@media (prefers-reduced-motion: reduce) {
    #dreseo-page.dreseo-business-page .dreseo-marker-underline {
        animation: none;
        background-size: 100% 100%;
    }
}

/* レスポンシブ: SP用微調整 */
@media (max-width: 768px) {
    #dreseo-page.dreseo-business-page .dreseo-marker-underline {
        /* SP版でも同じ位置を維持（PC版と統一） */
        background-image: linear-gradient(transparent 15%, #b7e3ff 15%, #b7e3ff 95%, transparent 95%);
    }
}

/* =========================
   Contact Page Styles (Moved from inline)
========================= */

/* Contact Section Container */
.dreseo-contact-page .dreseo-contact-form-section {
    background-color: rgba(187, 222, 251, 0.7) !important;
    padding: 80px 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    width: 100% !important;
    display: block !important;
    position: relative;
    z-index: 10;
}

.dreseo-contact-page .dreseo-contact-card {
    padding: 56px;
}

.dreseo-contact-page .dreseo-contact-intro,
.dreseo-contact-page .dreseo-contact-form,
.dreseo-contact-page .dreseo-contact-success {
    background: transparent;
    padding: 0;
    box-shadow: none;
    max-width: none;
}

.dreseo-contact-intro {
    text-align: center;
    margin-bottom: 48px;
}

.dreseo-contact-intro p {
    font-size: 1.125rem;
    line-height: 2;
    color: #333;
}

.dreseo-contact-form {
    max-width: 640px;
    margin: 0 auto;
}

.dreseo-form-group {
    margin-bottom: 24px;
}

.dreseo-form-row {
    display: flex;
    gap: 24px;
}

.dreseo-form-half {
    flex: 1;
}

.dreseo-form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.dreseo-form-required {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #fff;
    background: #E53935;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.dreseo-form-optional {
    font-size: 0.85rem;
    font-weight: 400;
    color: #888;
}

.dreseo-form-input,
.dreseo-form-textarea,
.dreseo-form-select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background: #FAFAFA;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dreseo-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 20px;
    cursor: pointer;
}

.dreseo-form-input:focus,
.dreseo-form-textarea:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
    background: #fff;
}

.dreseo-form-textarea {
    resize: vertical;
    min-height: 160px;
}

.dreseo-form-privacy {
    margin: 32px 0;
    text-align: center;
}

.dreseo-form-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
}

.dreseo-form-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.dreseo-form-checkbox-label a {
    color: #1a365d;
    text-decoration: underline;
}

.dreseo-form-submit {
    text-align: center;
    margin-top: 40px;
}

#dreseo-page .is-lg {
    padding: 18px 64px;
    font-size: 1.1rem;
}

/* Success Message */
.dreseo-contact-success {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.dreseo-contact-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: #4CAF50;
    color: #fff;
    font-size: 40px;
    line-height: 80px;
    border-radius: 50%;
}

.dreseo-contact-success-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.dreseo-contact-success-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 32px;
}

/* Error Message */
.dreseo-contact-error {
    background: #FFEBEE;
    color: #C62828;
    padding: 16px 24px;
    border-radius: 8px;
    margin-bottom: 32px;
    text-align: center;
    font-weight: 500;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .dreseo-contact-page .dreseo-contact-form-section {
        padding: 60px 0 !important;
    }

    .dreseo-contact-page .dreseo-contact-card {
        padding: 28px 20px;
    }

    .dreseo-form-row {
        flex-direction: column;
        gap: 0;
    }

    .dreseo-form-half {
        width: 100%;
    }

    #dreseo-page .is-lg {
        width: 100%;
        padding: 16px 32px;
    }
}

/* =========================
   Footer Gap Fix (Global for Business/About/Contact)
========================= */

/* Ensure Footer connects purely to the content above */
body.page-template-page-about #footer,
body.page-template-page-contact #footer,
body.page-template-tpl-business-index #footer,
body.page-template-tpl-business-field #footer,
.dreseo-about-page~#footer,
.dreseo-about-page+#footer,
#dreseo-page+#footer,
#dreseo-page~#footer {
    margin-top: 0 !important;
}

/* Force last section to have no bottom margin */
.dreseo-contact-page .dreseo-contact-form-section {
    margin-bottom: 0 !important;
    padding-bottom: 80px !important;
    background-color: rgba(187, 222, 251, 0.7) !important;
    display: block !important;
    width: 100% !important;
}

.dreseo-about-page .dreseo-about-profile {
    margin-bottom: 0 !important;
    padding-bottom: 80px !important;
    background-color: #FFFFFF !important;
    display: block !important;
    width: 100% !important;
}

/* Remove default Swell footer margins if any */
.l-footer {
    margin-top: 0 !important;
}

/* Force footer margin removal for pages with white bottom sections */
body .l-footer,
body #footer,
body .siteFooter {
    margin-top: 0 !important;
}

/* Ensure body background doesn't bleed */
.dreseo-contact-page {
    padding-bottom: 0 !important;
}
