/* ベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #ef4444;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-gray: #e5e7eb;
    --success-color: #10b981;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    background-color: var(--bg-white);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    position: sticky;
    top: 0;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
}

.logo-sub {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 480px) {
    .nav {
        gap: 12px;
    }

    .tel-number {
        font-size: 16px;
    }

    .tel-hours {
        font-size: 9px;
    }
}

.tel-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.tel-link:hover {
    color: var(--primary-color);
}

/* 電話番号リンク */
.tel-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.3s;
}

.tel-link:hover {
    opacity: 0.8;
}

.tel-link svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
    width: 20px;
    height: 20px;
}

.tel-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.tel-number {
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
    display: block;
    color: var(--primary-color);
}

.tel-hours {
    font-size: 10px;
    font-weight: 400;
    color: #666;
    line-height: 1;
    display: block;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

/* ヒーローセクション */
.hero {
    padding: 80px 0 100px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(254,242,242,0.5) 100%),
        url('./images/hero-bg.jpg') center center/cover no-repeat;
    overflow: hidden;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--primary-color);
    background: linear-gradient(transparent 60%, rgba(220, 38, 38, 0.2) 60%);
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.hero-subtitle strong {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 900;
}

.hero-point {
    display: inline-block;
    background: rgba(220, 38, 38, 0.1);
    padding: 2px 10px;
    border-radius: 4px;
    color: var(--primary-color);
    font-weight: 700;
}

.hero-actions {
    margin-bottom: 40px;
}

.cta-primary {
    font-size: 18px;
    padding: 16px 40px;
    margin-bottom: 10px;
}

.hero-note {
    font-size: 14px;
    color: var(--text-gray);
    text-align: left;
    margin-top: 10px;
}

.hero-visual {
    margin-top: 60px;
}

.hero-image-placeholder {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

/* 採用課題セクション */
.problems {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 50%, #ffffff 100%);
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.4;
}

.text-accent {
    color: var(--primary-color);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.problem-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.problem-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.problem-item p {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.problems-message {
    text-align: center;
    font-size: 18px;
    padding: 40px;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.1);
    margin-top: 50px;
}

.problems-message p {
    font-weight: 500;
    line-height: 1.8;
}

/* サービスセクション */
.service {
    padding: 80px 0;
    background: white;
}

.section-lead {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 16px;
    background: var(--bg-light);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-text {
    color: var(--text-gray);
    line-height: 1.6;
}

.service-flow {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
}

.flow-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
}

.flow-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.flow-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.flow-number {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 10px;
}

.flow-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.flow-item p {
    font-size: 14px;
    color: var(--text-gray);
}

.flow-arrow {
    color: var(--primary-color);
    font-size: 24px;
}

/* 料金プラン */
.pricing {
    padding: 80px 0;
    background: var(--bg-light);
}

.plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.plan-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    border: 2px solid var(--border-gray);
    transition: transform 0.3s;
}

.plan-card.recommended {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-card.recommended:hover {
    transform: scale(1.05) translateY(-5px);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.plan-desc {
    font-size: 14px;
    color: var(--text-gray);
}

.plan-price {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
}

.price-label {
    font-size: 14px;
    color: var(--text-gray);
}

.price-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
}

.price-unit {
    font-size: 18px;
    color: var(--text-dark);
}

.price-tax {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 5px;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 15px;
}

.plan-features svg {
    color: var(--success-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-features strong {
    color: var(--primary-color);
}

.plan-button {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.plan-button.primary,
.plan-button:hover {
    background: var(--primary-color);
    color: white;
}

/* 比較表 */
.comparison-table {
    background: white;
    border-radius: 16px;
    padding: 40px;
    overflow-x: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.table-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.comparison-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-gray);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table th {
    background: var(--bg-light);
    font-weight: 700;
    font-size: 15px;
    border-bottom: 2px solid var(--border-gray);
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table th.highlighted {
    background: var(--primary-color);
    color: white;
    position: relative;
}

.comparison-table th.highlighted::after {
    content: "おすすめ";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #fef2f2;
    color: var(--primary-color);
    padding: 2px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid var(--primary-color);
}

.comparison-table tbody tr:hover {
    background: rgba(220, 38, 38, 0.02);
}

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

.comparison-table td {
    color: var(--text-gray);
}

.comparison-table td:nth-child(3) {
    font-weight: 600;
    color: var(--primary-color);
}

/* オプション */
.options {
    padding: 80px 0;
    background: white;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.option-item {
    background: white;
    border: 2px solid var(--border-gray);
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.option-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.option-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.option-pricing {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 15px;
}

.option-price {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 5px;
    line-height: 1.2;
}

.option-price .price-unit {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    margin-left: 2px;
}

.option-price-sub {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    background: rgba(220, 38, 38, 0.08);
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 5px;
}

.option-desc {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-top: auto;
}

.options-note {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

/* CareSite */
.caresite {
    padding: 80px 0;
    background: var(--bg-light);
}

.caresite-intro {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-radius: 24px;
    padding: 50px 40px;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.intro-content h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.intro-content h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.stats-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 40px 0 25px;
}

.stat {
    padding: 35px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.15);
    border-color: var(--primary-color);
}

.stat-icon {
    display: none;
}

.stat-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.5;
}

.highlight-number {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 900;
    display: inline-block;
    margin: 0 4px;
    line-height: 1;
    position: relative;
    text-shadow: 2px 2px 4px rgba(220, 38, 38, 0.1);
}

.highlight-number::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.stat-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

.intro-text {
    padding: 40px;
    background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.1);
    border: 2px solid rgba(220, 38, 38, 0.2);
}

.intro-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
}

.intro-text::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.intro-icon {
    display: none;
}

.intro-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.intro-text p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}

.sub-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.caresite-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.cs-feature {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.cs-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.cs-feature h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cs-feature p {
    color: var(--text-gray);
    font-size: 14px;
}

.caresite-sample {
    background: white;
    border-radius: 16px;
    padding: 40px;
}

.caresite-sample h3 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.sample-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.sample-item {
    text-align: center;
}

.sample-img {
    background: var(--bg-light);
    height: 150px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 10px;
    border: 2px solid var(--border-gray);
}

.sample-item p {
    font-size: 14px;
    color: var(--text-gray);
}

/* SNSセクション */
.sns {
    padding: 80px 0;
    background: white;
}

.sns-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.sns-stats h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.sns-stats h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.age-stats {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--border-gray);
}

.age-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

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

.age-range {
    font-weight: 700;
    width: 50px;
    color: var(--text-dark);
    font-size: 15px;
}

.bar-container {
    flex: 1;
    position: relative;
    height: 32px;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.percentage {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
    background: white;
    padding: 2px 8px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stats-caption {
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-gray);
    text-align: center;
}

.sns-services {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.sns-service {
    background: white;
    padding: 18px 25px;
    border-radius: 16px;
    border: 1px solid var(--border-gray);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.sns-service::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.sns-service:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.sns-service:hover::before {
    transform: scaleX(1);
}

.sns-service h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-gray);
    padding-bottom: 8px;
}

.sns-service ul {
    list-style: none;
}

.sns-service li {
    margin-bottom: 8px;
    padding-left: 22px;
    position: relative;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-gray);
}

.sns-service li:last-child {
    margin-bottom: 0;
}

.sns-service li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
}

/* Before/After */
.before-after {
    padding: 80px 0;
    background: var(--bg-light);
}

.ba-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.ba-item {
    background: white;
    border-radius: 20px;
    padding: 45px 40px;
    flex: 1;
    min-width: 300px;
    max-width: 420px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.ba-item.before {
    border: 2px solid #e5e7eb;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.ba-item.after {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
    transform: scale(1.03);
    box-shadow: 0 10px 35px rgba(220, 38, 38, 0.15);
}

.ba-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 35px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-gray);
}

.ba-item.before .ba-title {
    color: #6b7280;
}

.ba-item.after .ba-title {
    color: var(--primary-color);
    border-bottom-color: rgba(220, 38, 38, 0.2);
}

.ba-list {
    list-style: none;
}

.ba-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-gray);
}

.ba-list li:last-child {
    border-bottom: none;
}

.ba-label {
    font-weight: 700;
    font-size: 14px;
}

.ba-value {
    font-weight: 700;
    font-size: 16px;
}

.ba-value.bad {
    color: var(--text-gray);
}

.ba-value.good {
    color: var(--primary-color);
}

.ba-arrow {
    color: var(--primary-color);
}

.case-studies {
    background: white;
    border-radius: 16px;
    padding: 40px;
}

.case-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.case-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.case-type {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.case-result {
    font-size: 18px;
    font-weight: 700;
}

.case-result span {
    color: var(--primary-color);
    font-size: 24px;
}

/* 仕組みセクション */
.mechanism {
    padding: 80px 0;
    background: white;
}

.mechanism-flow {
    max-width: 800px;
    margin: 0 auto;
}

.flow-step {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
}

.flow-step::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: var(--primary-color);
}

.flow-step:last-child::after {
    display: none;
}

.step-number {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.flow-step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-content {
    color: var(--text-gray);
}

.channels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.channel {
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.step-content ul {
    list-style: none;
    padding-left: 0;
}

.step-content li {
    margin-bottom: 10px;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    list-style: none;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question svg {
    transition: transform 0.3s;
}

.faq-item[open] .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px 25px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* 最終CTA */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-title .text-accent {
    color: white;
    background: rgba(255,255,255,0.2);
    padding: 0 10px;
    border-radius: 4px;
}

.cta-text {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.benefit svg {
    color: white;
}

/* フォーム */
.contact-form {
    background: white;
    border-radius: 16px;
    padding: 40px;
    color: var(--text-dark);
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
    text-align: left;
}

.required {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: inherit;
}

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

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

.submit-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* 送信完了メッセージ */
.form-success-message {
    background: white;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: var(--text-dark);
}

.success-icon {
    margin-bottom: 30px;
    display: inline-block;
    padding: 20px;
    background: #f0fdf4;
    border-radius: 50%;
}

.form-success-message h3 {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.form-success-message p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

.contact-alternative {
    margin-top: 40px;
    text-align: center;
    color: white;
}

.contact-alternative p {
    margin-bottom: 15px;
}

.tel-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 32px;
    font-weight: 900;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
}

.tel-large:hover {
    transform: scale(1.05);
}

.tel-hours {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
    color: white;
}

/* コスト比較セクション */
.cost-comparison {
    padding: 80px 0;
    background: #f9fafb;
}

.comparison-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 60px 0;
}

.comparison-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
}

.comparison-card.agency-model {
    border: 2px solid #e5e7eb;
}

.comparison-card.carescout-model {
    border: 2px solid var(--primary-color);
    position: relative;
}

.comparison-card.carescout-model::before {
    content: 'おすすめ';
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.card-header h3 {
    font-size: 24px;
    color: #111827;
    margin: 0;
}

.card-cost {
    background: #f9fafb;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.cost-calculation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #6b7280;
}

.cost-calculation .multiply {
    color: #9ca3af;
    font-size: 14px;
}

.cost-result {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.cost-label {
    color: #9ca3af;
    font-size: 24px;
}

.cost-amount {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
}

.cost-amount small {
    font-size: 16px;
    font-weight: 400;
    color: #6b7280;
}

.card-description {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.card-description strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* 比較チャート */
.comparison-chart {
    background: white;
    padding: 40px;
    border-radius: 20px;
    margin: 60px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.chart-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 40px;
    color: #111827;
}

.chart-container {
    padding: 20px;
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    min-height: 320px;
    gap: 40px;
}

.chart-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.chart-label {
    font-weight: 700;
    color: #111827;
    margin-top: 15px;
    font-size: 16px;
}

.chart-bar-wrapper {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    width: 100%;
    justify-content: center;
}

.chart-bar {
    width: 60px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s;
}

.chart-bar.agency {
    background: linear-gradient(180deg, #9ca3af, #6b7280);
}

.chart-bar.carescout {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
}

.bar-value {
    position: absolute;
    top: -25px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.chart-bar.agency .bar-value {
    color: #6b7280;
}

.chart-bar.carescout .bar-value {
    color: var(--primary-color);
}

.chart-legend-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.legend-agency,
.legend-carescout {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6b7280;
}

.legend-agency::before,
.legend-carescout::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border-radius: 3px;
}

.legend-agency::before {
    background: #6b7280;
}

.legend-carescout::before {
    background: var(--primary-color);
}

.chart-summary {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.chart-summary p {
    font-size: 18px;
    color: #111827;
    margin: 0;
}

.savings {
    font-weight: 900;
    color: var(--primary-color);
    font-size: 24px;
    margin-left: 10px;
}

.comparison-cta {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .comparison-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .chart-bars {
        flex-direction: column;
        min-height: auto;
        gap: 40px;
    }

    .chart-bar-wrapper {
        min-height: 200px;
    }

    .chart-legend-container {
        justify-content: center;
    }
}

/* フッター */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: block;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: white;
    display: block;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
}

.footer-logo .logo-sub {
    color: rgba(255,255,255,0.7);
    display: block;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.footer-text {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: white;
}

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

.copyright {
    font-size: 14px;
    opacity: 0.6;
}

/* 固定CTA（SP用） */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 15px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 999;
    display: none;
}

.fixed-cta-button {
    width: 100%;
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.fixed-cta-button:hover {
    transform: scale(0.98);
}

/* SPのみの改行 */
.sp-only {
    display: none;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .tel-link span {
        display: none;
    }

    .hero-content {
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-number {
        font-size: 32px;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

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

    .flow-items {
        flex-direction: column;
    }

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

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

    .plan-card.recommended {
        transform: scale(1);
    }

    .comparison-table {
        padding: 20px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 5px;
        font-size: 14px;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .sns-content {
        grid-template-columns: 1fr;
    }

    .ba-comparison {
        flex-direction: column;
    }

    .ba-item.after {
        transform: scale(1);
    }

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

    .fixed-cta {
        display: block;
    }

    .sp-only {
        display: inline;
    }

    body {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .plan-price .price-number {
        font-size: 36px;
    }

    .tel-large {
        font-size: 24px;
    }
}