:root {
    /* PDFパンフレット準拠の色設定（赤みがかった深い紫） */
    --color-primary: #7B2B6E; /* メイン紫色（赤紫） */
    --color-primary-light: #9B4B8E; /* 明るい赤紫 */
    --color-primary-dark: #5B1B4E; /* 濃い赤紫 */
    --color-accent: #FF8C42; /* オレンジ（アクセント） */
    --color-accent-light: #FFB27D; /* 明るいオレンジ */
    
    /* 基本色 */
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    --color-gray-100: #F7F7F7;
    --color-gray-200: #E8E8E8;
    --color-gray-300: #D0D0D0;
    --color-gray-500: #808080;
    --color-gray-700: #404040;
    
    /* テキスト色 */
    --color-text: #2D2D2D;
    --color-text-light: #666666;
    
    /* 成功色（LINE用） */
    --color-success: #06C755;
    
    /* グラデーション */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(123, 43, 110, 0.95) 0%, rgba(155, 75, 142, 0.90) 50%, rgba(255, 140, 66, 0.85) 100%);
    
    /* フォント */
    --font-base: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
    
    /* 行間 */
    --line-height-tight: 1.4;
    --line-height-normal: 1.8;
    --line-height-relaxed: 2.0;
    
    /* スペーシング */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;
    
    /* ブレークポイント */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: var(--line-height-normal);
    overflow-x: hidden;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクション */
.section {
    padding: var(--spacing-2xl) 0;
}

.section:nth-child(even) {
    background-color: var(--color-gray-100);
}

/* セクションヘッダー */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-label-wrapper {
    position: relative;
    display: inline-block;
    border: 2px solid var(--color-white);
    border-radius: 80px;
    padding: 1.2rem 8rem 1.2rem 2rem;
    margin-bottom: var(--spacing-md);
    background: transparent;
    min-width: 350px;
}

.section-label {
    display: inline-block;
    color: var(--color-white);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
}

.section-label-emphasis {
    position: absolute;
    top: -25px;
    right: -40px;
    transform: rotate(15deg);
    background: var(--color-primary);
    color: var(--color-accent);
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 0.7rem 2.5rem;
    border-radius: 80px;
    border: 2px solid var(--color-white);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.section-label-orange {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    display: inline-block;
}

.section-label-purple {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    display: inline-block;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary-dark);
}

.section-check .section-title {
    white-space: nowrap;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

.support-plan-title {
    white-space: nowrap;
    font-size: clamp(1.4rem, 4.5vw, 2.3rem);
}

.solution-title-single {
    text-align: left;
    line-height: 1.8;
    width: 100%;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.section-description {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--color-text-light);
    line-height: var(--line-height-normal);
    max-width: 800px;
    margin: 0 auto;
}

.support-plan-description {
    text-align: left;
    line-height: 1.8;
}

.support-plan-description .indent-right {
    display: inline-block;
    padding-left: 4em;
}

.section-header .timeline-description {
    text-align: left !important;
    line-height: 1.8;
}

.timeline-description .indent-right {
    display: inline-block;
    padding-left: 1.5em;
}

.flow-title {
    text-align: left;
    line-height: 1.6;
}

.flow-title .indent-large {
    display: inline-block;
    padding-left: 5em;
}

.flow-description {
    text-align: left;
    line-height: 1.8;
}

.flow-description .indent-small {
    display: inline-block;
    padding-left: 1em;
}

.flow-description .indent-medium {
    display: inline-block;
    padding-left: 2em;
}

/* ヘッダー */
.header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.logo-icon {
    width: clamp(40px, 6vw, 60px);
    height: clamp(40px, 6vw, 60px);
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-company {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    letter-spacing: 0.05em;
}

.logo-sub {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
    text-align: center;
}

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.header-logo-main {
    width: calc(100% + 4rem);
    max-width: none;
    margin-left: -2rem;
    margin-right: -2rem;
    height: 100px;
    object-fit: cover;
    object-position: center center;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 0.8rem 2rem;
    border-radius: 10px;
    overflow: visible;
    box-sizing: content-box;
}

.header-phone {
    text-align: center;
}

.phone-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.phone-number {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
    display: block;
    letter-spacing: 0.05em;
}

.phone-hours {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

/* ヒーロー背景画像（家族写真） */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.genspark.ai/api/files/s/gmUCjDAs');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15; /* 薄く透過 */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--color-white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.1em;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title-line {
    display: block;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--color-accent-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    text-align: center;
    line-height: 1.5;
}

.hero-description {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: var(--line-height-normal);
    margin-bottom: calc(var(--spacing-lg) / 3);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.hero-trust {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-white);
}

.trust-icon {
    font-size: 1.25rem;
}

/* 課題提起セクション */
.section-problem {
    background: linear-gradient(135deg, #F5F2F9 0%, #FFF5F0 100%);
}

.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.problem-text {
    order: 1;
}

.problem-list {
    display: grid;
    gap: var(--spacing-md);
    margin-top: calc(var(--spacing-lg) / 9);
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(91, 74, 143, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(91, 74, 143, 0.15);
}

.problem-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.problem-item p {
    font-size: 1rem;
    line-height: var(--line-height-normal);
    color: var(--color-text);
}

.problem-item small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* 課題セクションの画像（悩む女性） */
.problem-image {
    order: 2;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.problem-image-text {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
}

.problem-image-line {
    position: absolute;
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 
        0 0 4px #fff,
        0 0 8px #fff;
}

.problem-image-line.top-left {
    top: 1rem;
    left: 1rem;
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.problem-image-line.top-right {
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    font-size: clamp(3rem, 7vw, 5rem);
}

.problem-image-line.bottom-left {
    bottom: 1.5rem;
    left: 1rem;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.problem-image-line.bottom-left .line-1 {
    display: block;
}

.problem-image-line.bottom-left .line-2 {
    display: block;
    padding-left: 3rem;
}

/* ソリューションセクション */
.section-solution {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: calc(var(--spacing-2xl) / 8) 0 calc(var(--spacing-2xl) / 2) 0;
}

.section-solution .section-header {
    margin-bottom: calc(var(--spacing-xl) / 4);
}

.section-solution .section-label-wrapper {
    background: var(--color-primary);
    border-color: var(--color-white);
}

.section-solution .section-label {
    color: var(--color-white);
}

.section-solution .section-title {
    color: var(--color-white);
}

.text-primary {
    color: var(--color-accent-light);
    font-weight: 800;
}

.text-accent {
    color: var(--color-accent-light);
    font-weight: 800;
}

/* ソリューション図解 */
.solution-diagram {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.diagram-top {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-top: 0.25rem;
}

/* 矢印と解決バッジ */
.diagram-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin: -20px 0 -40px 0;
    position: relative;
    z-index: 5;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.connector-arrow {
    flex-shrink: 0;
    width: 50px;
    height: 180px;
}

.connector-arrow-left {
    margin-right: 2px;
}

.connector-arrow-right {
    margin-left: 2px;
}

.connector-badge {
    background: linear-gradient(135deg, #FFE66D 0%, #FFF4A3 100%);
    border: 3px solid var(--color-accent);
    border-radius: 60px;
    padding: 0.7rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
    min-width: 160px;
    white-space: nowrap;
}

.badge-text {
    font-weight: 900;
    color: var(--color-primary);
    text-align: center;
    line-height: 1.4;
    display: block;
}

.badge-text-line1 {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    display: block;
    white-space: nowrap;
}

.badge-text-line2 {
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    display: block;
    margin-top: 0.2rem;
    white-space: nowrap;
}

.diagram-client {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.3);
    background: white;
    margin: 0 auto;
}

.diagram-client-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.diagram-center {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.diagram-circle {
    display: inline-block;
    width: 250px;
    height: 250px;
    border-radius: 30px;
    overflow: visible;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 12px solid var(--color-primary);
    background: var(--color-primary);
    padding: 0;
}

.diagram-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.diagram-description {
    margin-top: var(--spacing-sm);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.counselor-description {
    margin-top: 1rem;
    font-size: clamp(0.7rem, 1.8vw, 0.85rem);
    color: var(--color-white);
    line-height: 1.5;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.diagram-connections {
    display: none; /* シンプル化のため非表示 */
}

.diagram-partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.partner-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.25);
}

.partner-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.partner-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.partner-card p {
    font-size: 0.875rem;
    line-height: var(--line-height-normal);
    color: rgba(255, 255, 255, 0.9);
}

/* 士業・提携企業セクション */
.partners-section {
    margin-top: calc(var(--spacing-2xl) / 2);
}

/* パートナーグループ全体を囲むオレンジの枠 */
.partners-group-container {
    background-color: rgba(255, 140, 66, 0.08);
    border: 3px solid rgba(255, 140, 66, 0.4);
    border-radius: 20px;
    padding: 2rem 1rem;
    margin: -20px auto var(--spacing-xl) auto;
    max-width: 95%;
}

.diagram-main-title {
    font-size: clamp(1.3rem, 4.5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: visible;
}

.partners-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    text-align: center;
    color: var(--color-white);
    margin-top: calc(var(--spacing-lg) / 2);
    margin-bottom: calc(var(--spacing-lg) / 2);
}

.partners-section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

/* 士業グリッド */
.shigyou-container {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 90%;
    margin: 0 auto var(--spacing-xl);
}

.shigyou-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-items: center;
}

.shigyou-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.shigyou-card-content {
    text-align: center;
    padding: 0.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shigyou-card:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.25);
}

.shigyou-card-single {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
}

.shigyou-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.shigyou-image {
    width: 100%;
    max-width: 140px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.shigyou-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.shigyou-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

/* 提携企業グリッド */
.teikei-container {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 90%;
    margin: 0 auto var(--spacing-md);
}

.teikei-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-items: center;
}

.teikei-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.teikei-card-content {
    text-align: center;
    padding: 0.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.teikei-card:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.25);
}

.teikei-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.teikei-image {
    width: 100%;
    max-width: 140px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.teikei-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.teikei-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.teikei-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 100%;
    margin: 1rem auto 0;
    line-height: 1.6;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.solution-note {
    background-color: rgba(255, 140, 66, 0.15);
    border: 2px solid rgba(255, 140, 66, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: var(--spacing-xl);
    text-align: center;
}

.note-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-accent-light);
}

.solution-note p {
    font-size: 0.95rem;
    line-height: var(--line-height-normal);
    color: rgba(255, 255, 255, 0.95);
}

/* チェックセクション */
.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.check-card {
    background-color: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 0.3rem 1.5rem 0.375rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.check-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(91, 74, 143, 0.15);
}

.check-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.check-icon-image {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.25rem;
}

.check-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 期限が不安カード専用の余白調整 */
.check-card:first-child {
    padding: 0.5rem 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 320px !important;
}

.check-card:first-child .check-icon-image {
    margin: 0 auto 0.3rem !important;
}

.check-card:first-child h3 {
    margin: 0.3rem 0 0.5rem !important;
}

.check-card:first-child p {
    margin: 0 !important;
}

.check-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}

.check-card p {
    font-size: 0.95rem;
    line-height: var(--line-height-normal);
    color: var(--color-text-light);
    text-align: left;
}

.check-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.check-cta-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

/* タイムライン */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    text-align: left;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: 1rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    flex-shrink: 0;
    width: 120px;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 12px rgba(91, 74, 143, 0.3);
}

.timeline-item.highlight .timeline-badge {
    background: var(--gradient-accent);
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
}

.timeline-content {
    flex: 1;
    background-color: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.timeline-item.highlight .timeline-content {
    border-color: var(--color-accent);
    background: linear-gradient(135deg, #FFF5F0 0%, #FFFFFF 100%);
}

.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    margin-left: 0.5rem;
}

.timeline-item.highlight .timeline-content h3 {
    margin-top: 1rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-left: 0.5rem;
}

/* バッジなしのタイムライン項目 */
.timeline-item:not(:has(.timeline-badge)) .timeline-content {
    margin-left: 136px;
}

/* ステップ */
.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    max-width: 1400px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    min-width: 200px;
    max-width: 220px;
    background-color: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(91, 74, 143, 0.2);
}

.step-free-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.step-number {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.875rem;
    line-height: var(--line-height-normal);
    color: var(--color-text-light);
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* パッケージ */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.package-card {
    background-color: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card.course-a::before {
    content: 'A';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    font-weight: 900;
    color: rgba(123, 43, 110, 0.08);
    z-index: 0;
    pointer-events: none;
    font-family: 'Georgia', serif;
}

.package-card > * {
    position: relative;
    z-index: 1;
}

.package-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(91, 74, 143, 0.15);
}

.package-card.featured {
    border-color: var(--color-accent);
    background: linear-gradient(135deg, #FFF5F0 0%, #FFFFFF 100%);
}

.package-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-accent);
    color: var(--color-white);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 140, 66, 0.3);
}

.package-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.package-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.package-subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
}

.package-subtitle-highlight {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 0.5rem;
}

.package-content {
    flex: 1;
    margin-bottom: var(--spacing-md);
}

.package-features {
    list-style: none;
    padding: 0;
}

.package-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-gray-200);
    font-size: 0.95rem;
    line-height: var(--line-height-normal);
    color: var(--color-text);
}

.package-features li::before {
    content: '✓ ';
    color: var(--color-primary);
    font-weight: 700;
    margin-right: 0.5rem;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-footer {
    text-align: center;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.package-price-note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    text-align: left;
}

/* Bコース背景の「B」透かし */
.package-card.course-b::before {
    content: 'B';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    font-weight: 700;
    color: rgba(123,43,110,0.08);
    z-index: 0;
    pointer-events: none;
    font-family: Georgia, serif;
}

/* エリア */
.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.area-card {
    background-color: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.area-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary);
}

.area-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.area-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.area-card p {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.area-card-gunma {
    position: relative;
    background-image: url('../images/gunma.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-white);
}

.area-card-gunma h3,
.area-card-gunma p {
    position: relative;
    z-index: 1;
}

.area-card-aichi {
    position: relative;
    background-image: url('../images/aichi.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-white);
}

.area-card-aichi h3,
.area-card-aichi p {
    position: relative;
    z-index: 1;
}

.area-card-gifu {
    position: relative;
    background-image: url('../images/gifu.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-white);
}

.area-card-gifu h3,
.area-card-gifu p {
    position: relative;
    z-index: 1;
}

.area-card-osaka {
    position: relative;
    background-image: url('../images/osaka.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-white);
}

.area-card-osaka h3,
.area-card-osaka p {
    position: relative;
    z-index: 1;
}

.area-card-hyogo {
    position: relative;
    background-image: url('../images/hyogo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-white);
}

.area-card-hyogo h3,
.area-card-hyogo p {
    position: relative;
    z-index: 1;
}

.area-card-kagawa {
    position: relative;
    background-image: url('../images/kagawa.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-white);
}

.area-card-kagawa h3,
.area-card-kagawa p {
    position: relative;
    z-index: 1;
}

.area-card-ehime {
    position: relative;
    background-image: url('../images/ehime.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-white);
}

.area-card-ehime h3,
.area-card-ehime p {
    position: relative;
    z-index: 1;
}

.area-card-fukuoka {
    position: relative;
    background-image: url('../images/fukuoka.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-white);
}

.area-card-fukuoka h3,
.area-card-fukuoka p {
    position: relative;
    z-index: 1;
}

.area-note {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding: 1.5rem;
    background-color: rgba(91, 74, 143, 0.05);
    border-radius: 12px;
}

.area-note p {
    font-size: 1rem;
    color: var(--color-text);
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: var(--spacing-md);
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: var(--spacing-sm);
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: var(--line-height-tight);
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.faq-answer .faq-icon {
    background: var(--gradient-accent);
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: var(--line-height-normal);
    color: var(--color-text);
}

/* コンタクト */
.section-contact {
    background: linear-gradient(135deg, #F5F2F9 0%, #FFF5F0 100%);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.contact-card {
    background-color: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(91, 74, 143, 0.15);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.contact-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.contact-hours,
.contact-description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

/* フォーム */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.required {
    color: var(--color-accent);
    font-size: 0.875rem;
    margin-left: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-gray-200);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-base);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.form-check input[type="checkbox"] {
    width: auto;
}

.form-check label {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.form-submit {
    text-align: center;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-base);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--color-white);
    backdrop-filter: blur(10px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-success {
    background-color: var(--color-success);
    color: var(--color-white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-icon {
    margin-right: 0.5rem;
}

/* フッター */
.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-company h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent-light);
}

.footer-company p {
    font-size: 0.95rem;
    line-height: var(--line-height-normal);
    margin-bottom: 0.5rem;
}

.footer-company a {
    color: var(--color-accent-light);
    text-decoration: none;
}

.footer-info h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent-light);
}

.footer-info p {
    font-size: 0.95rem;
    line-height: var(--line-height-normal);
    margin-bottom: 0.5rem;
}

.footer-note {
    background-color: rgba(255, 140, 66, 0.1);
    border: 2px solid rgba(255, 140, 66, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.footer-note .note-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-accent-light);
}

.footer-note ul {
    list-style: none;
    padding: 0;
}

.footer-note li {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    line-height: var(--line-height-normal);
    color: rgba(255, 255, 255, 0.9);
}

.footer-note li::before {
    content: '• ';
    color: var(--color-accent-light);
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* 固定フッター（スマホ用） */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 0.75rem;
    z-index: 1000;
}

.fixed-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.fixed-btn:hover {
    transform: scale(1.05);
}

.fixed-btn-phone {
    color: var(--color-accent);
}

.fixed-btn-phone:hover {
    background-color: rgba(255, 140, 66, 0.1);
}

.fixed-btn-line {
    color: var(--color-success);
}

.fixed-btn-line:hover {
    background-color: rgba(6, 199, 85, 0.1);
}

.fixed-btn-form {
    color: var(--color-primary);
}

.fixed-btn-form:hover {
    background-color: rgba(91, 74, 143, 0.1);
}

.fixed-btn-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.fixed-btn-text {
    font-size: 0.75rem;
    font-weight: 600;
}

/* ノート */
.note {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: var(--spacing-sm);
}

/* レスポンシブ */
@media (max-width: 768px) {
    /* セクション */
    .section {
        padding: var(--spacing-xl) 0;
    }

    /* ヘッダー */
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-phone {
        text-align: center;
    }

    /* ヒーロー */
    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }

    .hero-title-line br {
        display: none;
    }

    .hero-description br {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-trust {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    /* 課題セクション */
    .problem-content {
        grid-template-columns: 1fr;
    }

    .problem-image {
        order: 1;
        height: 350px;
    }

    .problem-text {
        order: 2;
    }
    
    /* パートナーグループコンテナ */
    .partners-group-container {
        padding: 1.5rem 0.75rem;
        max-width: 98%;
    }
    
    .diagram-main-title {
        font-size: clamp(1.1rem, 5.5vw, 2rem);
        margin-bottom: 1rem;
        white-space: nowrap;
    }
    
    /* 士業・提携企業グリッド */
    .shigyou-container,
    .teikei-container {
        padding: 1rem;
        max-width: 95%;
    }
    
    .shigyou-grid,
    .teikei-grid {
        gap: 0.75rem;
    }
    
    .shigyou-image,
    .teikei-image {
        max-width: 120px;
    }
    
    .shigyou-grid,
    .teikei-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .shigyou-card-single {
        grid-column: 1 / -1 !important;
    }
    
    /* セクションタイトル調整 */
    .section-check .section-title {
        font-size: clamp(1.2rem, 5.5vw, 2rem);
    }
    
    .support-plan-title {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }
    
    .support-plan-description .indent-right {
        padding-left: 2.5em;
    }
    
    .timeline-description .indent-right {
        padding-left: 1em;
    }
    
    .flow-title .indent-large {
        padding-left: 3em;
    }
    
    .flow-description .indent-small {
        padding-left: 0.8em;
    }
    
    .flow-description .indent-medium {
        padding-left: 1.5em;
    }

    /* タイムライン */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }

    .timeline-badge {
        position: absolute;
        left: 0;
        width: auto;
    }

    .timeline-item:not(:has(.timeline-badge)) .timeline-content {
        margin-left: 0;
        padding-left: 0;
    }

    /* ステップ */
    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    /* フォーム */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* 固定フッターのためのパディング */
    body {
        padding-bottom: 80px;
    }
}

@media (min-width: 769px) {
    /* 固定フッターを非表示（PC） */
    .fixed-footer {
        display: none;
    }

    /* 課題セクション：デスクトップで横並び */
    .problem-content {
        grid-template-columns: 1fr 1fr;
    }

    .problem-text {
        order: 1;
    }

    .problem-image {
        order: 2;
    }
    
    /* 士業・提携企業グリッド：デスクトップで2列 */
    .shigyou-grid,
    .teikei-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .shigyou-card-single {
        grid-column: 1 / -1 !important;
    }
}

/* スマホ用の改行調整 */
.sp-only {
    display: none;
}

@media (max-width: 576px) {
    .sp-only {
        display: inline;
    }

    .hero-title-line {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
}