/* ========================================
   リセット・基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.8;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

/* ========================================
   ヘッダー
======================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #1e5ba8, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.company-name {
    font-size: 12px;
    color: #666;
    border-left: 1px solid #ddd;
    padding-left: 15px;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cta-header {
    background: linear-gradient(135deg, #1e5ba8, #3b82f6);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(30, 91, 168, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-header:hover::before {
    width: 300px;
    height: 300px;
}

.cta-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(30, 91, 168, 0.3);
}

.line-button-header {
    background: #00C300;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 195, 0, 0.2);
    font-size: 14px;
}

.line-button-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 195, 0, 0.3);
    background: #00B300;
}

/* ========================================
   ファーストビュー
======================================== */
.hero {
    margin-top: 70px;
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2)), 
                url('images/hero2.jpg') center/cover;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    color: white;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.3;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero .highlight {
    position: relative;
    display: inline-block;
}

.hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    animation: slideIn 1s ease 0.8s both;
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-cta {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-cta-primary {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

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

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    fill: white;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   セクション共通
======================================== */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 25px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1e5ba8, #3b82f6);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    font-size: 17px;
}

/* 背景装飾 */
.bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -100px;
}

.bg-pattern::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 91, 168, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -300px;
    left: -100px;
}

/* ========================================
   共感セクション
======================================== */
.empathy-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.empathy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.empathy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.empathy-item {
    display: flex;
    gap: 25px;
    padding: 35px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.empathy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.empathy-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(30, 91, 168, 0.15);
}

.empathy-item:hover::before {
    opacity: 1;
}

.empathy-icon-wrapper {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e0f2fe, #bfdbfe);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.empathy-icon {
    width: 35px;
    height: 35px;
    stroke: #1e5ba8;
    stroke-width: 2;
    fill: none;
}

.empathy-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.empathy-item h3 {
    font-size: 20px;
    color: #1e5ba8;
    margin-bottom: 12px;
    font-weight: 600;
}

.empathy-item p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

/* ========================================
   地域密着セクション
======================================== */
.local-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.local-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.local-content {
    margin-top: 80px;
}

.local-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
    position: relative;
}

.local-item:nth-child(even) {
    flex-direction: row-reverse;
}

.local-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    height: 400px;
    background: linear-gradient(135deg, #e0f2fe, #bfdbfe);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.6s ease;
}

.local-item:nth-child(even) .local-image {
    transform: perspective(1000px) rotateY(5deg);
}

.local-item:hover .local-image {
    transform: perspective(1000px) rotateY(0deg);
}

.local-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.local-image-placeholder {
    font-size: 18px;
    color: #64748b;
    text-align: center;
    padding: 20px;
}

.local-text {
    flex: 1;
    position: relative;
}

.local-location {
    display: inline-block;
    background: linear-gradient(135deg, #1e5ba8, #3b82f6);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 600;
}

.local-title {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.local-description {
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.local-stats {
    display: flex;
    gap: 30px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

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

.stat-number {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #1e5ba8, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 5px;
}

/* ========================================
   診断セクション
======================================== */
.diagnosis-section {
    background: linear-gradient(135deg, #1e5ba8, #3b82f6);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.diagnosis-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%);
    }
    100% {
        transform: translate(0%, 0%);
    }
}

.diagnosis-section .section-title {
    color: white;
}

.diagnosis-section .section-title::after {
    background: white;
}

.diagnosis-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.diagnosis-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.diagnosis-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.diagnosis-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.diagnosis-card:hover::before {
    transform: scale(1);
}

.diagnosis-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.diagnosis-icon-svg {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.diagnosis-type {
    font-size: 22px;
    color: white;
    font-weight: 700;
    margin-bottom: 12px;
}

.diagnosis-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.diagnosis-benefit {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    font-size: 14px;
    color: white;
    line-height: 1.6;
}

/* ========================================
   お客様の声
======================================== */
.testimonials {
    background: #f8fafc;
    padding: 100px 0;
    position: relative;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-slider {
    margin-top: 60px;
    position: relative;
}

.testimonial-item {
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    margin-bottom: 40px;
}

.testimonial-quote {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e0f2fe, #bfdbfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-quote svg {
    width: 30px;
    height: 30px;
    fill: #1e5ba8;
}

.testimonial-content {
    padding-left: 80px;
    position: relative;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 30px;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e5ba8, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.author-info h4 {
    font-size: 18px;
    color: #1e40af;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: #94a3b8;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
}

.star {
    width: 20px;
    height: 20px;
    fill: #fbbf24;
}

/* ========================================
   サポート体制
======================================== */
.support-section {
    padding: 100px 0;
    background: white;
    position: relative;
}

.support-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 80px;
}

.support-item {
    text-align: center;
    position: relative;
}

.staff-photo {
    height: 320px;
    margin: 0 auto 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 91, 168, 0.2);
    background: linear-gradient(135deg, #e0f2fe, #bfdbfe);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 91, 168, 0.3);
}

.staff-photo-placeholder {
    font-size: 16px;
    color: #64748b;
    text-align: center;
    padding: 20px;
}

.support-item h3 {
    font-size: 20px;
    color: #1e40af;
    margin-bottom: 15px;
    font-weight: 700;
}

.support-item p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

/* ========================================
   戦略査定
======================================== */
.strategy-section {
    background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 100px 0;
    position: relative;
}

.strategy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.strategy-showcase {
    background: white;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.1);
    margin-top: 60px;
}

.price-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.price-tier {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: #f8fafc;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.price-tier.featured {
    background: linear-gradient(135deg, #1e5ba8, #3b82f6);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(30, 91, 168, 0.3);
}

.price-tier:hover:not(.featured) {
    background: white;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.price-tier-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(30, 91, 168, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-tier.featured .price-tier-icon {
    background: rgba(255, 255, 255, 0.2);
}

.price-tier-icon svg {
    width: 40px;
    height: 40px;
    stroke: #1e5ba8;
    stroke-width: 2;
    fill: none;
}

.price-tier.featured .price-tier-icon svg {
    stroke: white;
}

.price-tier h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.price-tier:not(.featured) h3 {
    color: #1e40af;
}

.price-tier p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

.price-tier:not(.featured) p {
    color: #64748b;
}

/* ========================================
   選べる仲介プラン
======================================== */
.plan-section {
    background: linear-gradient(180deg, #e0f2fe 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
}

.plan-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.plan-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
}

.plan-card.featured {
    background: linear-gradient(135deg, #1e5ba8, #3b82f6);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(30, 91, 168, 0.3);
    border: 2px solid #ffffff;
}

.plan-card:hover:not(.featured) {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(30, 91, 168, 0.15);
    border-color: #3b82f6;
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(251, 191, 36, 0.3);
}

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

.plan-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(30, 91, 168, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-card.featured .plan-icon {
    background: rgba(255, 255, 255, 0.2);
}

.plan-icon svg {
    width: 40px;
    height: 40px;
    stroke: #1e5ba8;
}

.plan-card.featured .plan-icon svg {
    stroke: white;
}

.plan-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.plan-card:not(.featured) h3 {
    color: #1e40af;
}

.plan-price {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.plan-card:not(.featured) .plan-price {
    background: linear-gradient(135deg, #1e5ba8, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.discount {
    font-size: 16px;
    display: block;
    opacity: 0.9;
    margin-top: 5px;
}

.plan-content p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.plan-card:not(.featured) .plan-content p {
    color: #64748b;
}

.plan-benefits {
    margin-top: 20px;
}

.benefit-item {
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 5px;
}

/* ========================================
   売却の流れ
======================================== */
.flow-section {
    padding: 100px 0;
    background: white;
    position: relative;
}

.flow-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flow-timeline {
    position: relative;
    margin-top: 80px;
    padding: 0 50px;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #3b82f6, #1e5ba8);
    transform: translateX(-50%);
}

.flow-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.flow-item:nth-child(even) {
    flex-direction: row-reverse;
}

.flow-content {
    flex: 1;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.flow-content:hover {
    box-shadow: 0 15px 50px rgba(30, 91, 168, 0.15);
    transform: translateY(-5px);
}

.flow-number {
    position: absolute;
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border: 4px solid #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #1e5ba8;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(30, 91, 168, 0.2);
}

.flow-content h3 {
    font-size: 22px;
    color: #1e40af;
    margin-bottom: 10px;
    font-weight: 700;
}

.flow-content p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

/* ========================================
   FAQ
======================================== */
.faq-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 100px 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-list {
    margin-top: 60px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 30px;
    font-size: 18px;
    font-weight: 600;
    color: #1e40af;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f0f9ff;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #e0f2fe, #bfdbfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-toggle svg {
    width: 16px;
    height: 16px;
    stroke: #1e5ba8;
    stroke-width: 3;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: linear-gradient(135deg, #1e5ba8, #3b82f6);
}

.faq-item.active .faq-toggle svg {
    stroke: white;
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
    line-height: 1.8;
    font-size: 15px;
}

.faq-item.active .faq-answer {
    padding: 0 30px 30px;
    max-height: 500px;
}

/* ========================================
   不動産用語集
======================================== */
.glossary-section {
    background: #f8fafc;
    padding: 100px 0;
    position: relative;
}

.glossary-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.glossary-item {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #3b82f6;
}

.glossary-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 91, 168, 0.15);
}

.glossary-item h3 {
    font-size: 20px;
    color: #1e40af;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.glossary-item h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    margin-right: 12px;
}

.glossary-item p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

/* ========================================
   CTA
======================================== */
.cta-section {
    background: linear-gradient(135deg, #1e5ba8, #3b82f6);
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 30s linear infinite;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    color: white;
    margin-bottom: 25px;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: white;
    color: #1e5ba8;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

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

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-3px);
}

.line-button {
    background: #00C300;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 195, 0, 0.2);
}

.line-button:hover {
    background: #00B300;
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 195, 0, 0.3);
}

/* ========================================
   フッター
======================================== */
footer {
    background: #0f172a;
    color: white;
    padding: 80px 20px 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-main h3 {
    font-size: 28px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-main p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #f1f5f9;
}

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

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #60a5fa;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #334155;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* ========================================
   レスポンシブ対応 - SP版修正
======================================== */
@media (max-width: 968px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .price-tiers {
        grid-template-columns: 1fr;
    }
    
    .plan-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* ヘッダー - SP版レイアウト */
    header {
        padding: 10px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 12px;
        padding: 0 15px;
    }
    
    .logo-area {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .company-name {
        font-size: 11px;
        padding-left: 10px;
    }
    
    .header-actions {
        width: 100%;
        flex-direction: row;
        gap: 8px;
        justify-content: space-between;
    }
    
    .cta-header {
        flex: 1;
        padding: 10px 15px;
        font-size: 13px;
        text-align: center;
        white-space: nowrap;
    }
    
    .line-button-header {
        flex: 1;
        padding: 10px 15px;
        font-size: 13px;
        text-align: center;
        white-space: nowrap;
    }
    
    /* ヒーローセクション - SP版 */
    .hero {
	height:70vh;
        min-height: 600px;
        margin-top: 90px;
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)), 
                    url('images/hero2-sp.jpg') center/cover;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 10px;
    }
    
    .hero-cta {
        flex: 1;
        padding: 14px 20px;
        font-size: 15px;
        text-align: center;
    }
    
    .hero-cta-secondary {
        background: #00C300;
        border: none;
    }
    
    .hero-cta-secondary:hover {
        background: #00B300;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .empathy-grid {
        grid-template-columns: 1fr;
    }
    
    .local-item,
    .local-item:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }
    
    .local-image,
    .local-item:nth-child(even) .local-image {
        transform: none;
        height: 250px;
    }
    
    .diagnosis-cards {
        grid-template-columns: 1fr;
    }
    
    /* お客様の声 - レイアウト改善 */
    .testimonial-item {
        padding: 30px 20px;
    }
    
    .testimonial-quote {
        position: static;
        margin: 0 auto 20px;
    }
    
    .testimonial-content {
        padding-left: 0;
    }
    
    .testimonial-text {
        font-size: 16px;
        line-height: 1.9;
        margin-bottom: 25px;
    }
    
    .testimonial-footer {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .testimonial-author {
        width: 100%;
    }
    
    .testimonial-rating {
        width: 100%;
        justify-content: flex-start;
    }
    
    /* サポート体制 - 写真の表示改善 */
    .staff-photo {
        width: 100%;
        max-width: 100%;
        height: 250px;
    }
    
    /* 選べる仲介プラン - featured優先表示 */
    .plan-cards {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .plan-card.featured {
        order: -1;
    }
    
    /* 売却の流れ - レイアウト改善 */
    .glossary-grid {
        grid-template-columns: 1fr;
    }
    
    .flow-timeline {
        padding: 0 20px 0 50px;
    }
    
    .flow-timeline::before {
        left: 20px;
    }
    
    .flow-number {
        left: 20px;
        top: 0;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-width: 3px;
    }
    
    .flow-content {
        margin-left: 40px;
        margin-top: 10px;
        padding: 20px;
    }
    
    .flow-content h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .flow-content p {
        font-size: 14px;
    }
    
    .flow-item {
        flex-direction: row;
        margin-bottom: 60px;
    }
    
    .flow-item:nth-child(even) {
        flex-direction: row;
    }
    
    /* FAQ - マージン調整 */
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-list {
        margin-top: 40px;
    }
    
    /* CTA - ボタンレイアウト */
    .cta-section {
        padding: 80px 20px;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 10px;
    }
    
    .cta-button {
        flex: 1;
        padding: 16px 20px;
        font-size: 15px;
    }
}