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

:root {
    /* チラシのような華やかな配色 */
    --color-pink-light: #fce4ec;
    --color-pink: #f8bbd0;
    --color-pink-medium: #f48fb1;
    --color-pink-dark: #ec407a;
    
    --color-purple-light: #f3e5f5;
    --color-purple: #e1bee7;
    --color-purple-medium: #ba68c8;
    --color-purple-dark: #8e24aa;
    
    --color-lavender: #e8d5f2;
    --color-mauve: #d4a5d4;
    
    --color-burgundy: #a0526d;
    --color-burgundy-dark: #7d3c5a;
    
    --color-gold: #d4af37;
    --color-gold-light: #f4e4c1;
    
    --color-white: #ffffff;
    --color-gray-light: #f5f5f5;
    --color-gray: #e0e0e0;
    --color-gray-dark: #757575;
    --color-text: #333333;
    
    --color-red: #c62828;
    
    /* グラデーション */
    --gradient-main: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 50%, #e1bee7 100%);
    --gradient-hero: linear-gradient(135deg, rgba(252, 228, 236, 0.95) 0%, rgba(243, 229, 245, 0.95) 50%, rgba(225, 190, 231, 0.9) 100%);
    --gradient-accent: linear-gradient(135deg, #f48fb1 0%, #ba68c8 100%);
    --gradient-gold: linear-gradient(135deg, #f4e4c1 0%, #d4af37 100%);
    
    /* シャドウ */
    --shadow-soft: 0 4px 20px rgba(186, 104, 200, 0.15);
    --shadow-medium: 0 8px 30px rgba(186, 104, 200, 0.2);
    --shadow-strong: 0 12px 40px rgba(186, 104, 200, 0.25);
    
    /* フォント */
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
}

html {
    scroll-behavior: smooth;
}

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

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

/* ========================================
   ヘッダー
======================================== */
.header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #ffffff 0%, #fce4ec 50%, #f3e5f5 100%);
    box-shadow: var(--shadow-soft);
    z-index: 1000;
    border-bottom: 3px solid;
    border-image: var(--gradient-accent) 1;
}

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

.logo h1 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

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

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

.header-tel {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tel-info {
    display: flex;
    flex-direction: column;
}

.tel-label {
    font-size: 12px;
    color: var(--color-burgundy-dark);
    font-weight: 500;
    margin-bottom: 2px;
}

.tel-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-burgundy-dark);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.tel-number:hover {
    color: var(--color-pink-dark);
}

/* 電話アイコンリンク（PCでは非表示） */
.tel-icon-link {
    display: none;
}

/* お問い合わせフォームリンク */
.header-form-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
    height: 44px; /* 高さを固定 */
}

.header-form-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #ec407a 0%, #ab47bc 100%);
}

.header-form-link i {
    font-size: 16px;
    line-height: 1;
}

/* ========================================
   メインビジュアル
======================================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 背景動画 */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* 動画のフォールバック背景（動画が読み込めない場合） */
.hero-video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 50%, #e1bee7 100%);
    z-index: 0;
}

.hero-video-fallback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(244, 143, 177, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(186, 104, 200, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(225, 190, 231, 0.2) 0%, transparent 70%);
}

/* 動画の上にグラデーションオーバーレイ */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(252, 228, 236, 0.85) 0%,
        rgba(243, 229, 245, 0.8) 50%,
        rgba(225, 190, 231, 0.75) 100%
    );
    z-index: 2;
}

.hero-video-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(244, 143, 177, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(186, 104, 200, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(225, 190, 231, 0.15) 0%, transparent 70%);
}

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

.hero-text {
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 600;
    color: var(--color-burgundy-dark);
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 30px;
    line-height: 1.9;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 187, 208, 0.4) 100%);
    border: 2px solid var(--color-pink);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-burgundy-dark);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
}

.badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 187, 208, 0.6) 100%);
}

.badge i {
    color: var(--color-pink-medium);
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* 旧画像表示用（削除済み） */

/* ========================================
   ボタン
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--shadow-soft);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-burgundy-dark);
    border: 2px solid var(--color-pink-medium);
}

.btn-secondary:hover {
    background: var(--color-pink-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-accent {
    background: var(--gradient-gold);
    color: var(--color-burgundy-dark);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* ========================================
   緊急対応バナー
======================================== */
.emergency-banner {
    background: linear-gradient(135deg, #c62828 0%, #e53935 100%);
    padding: 20px 0;
    box-shadow: var(--shadow-medium);
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.emergency-content i {
    font-size: 32px;
    color: var(--color-white);
    animation: pulse 2s infinite;
}

.emergency-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 5px;
}

.emergency-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
}

.emergency-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--color-white);
    color: var(--color-red);
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.emergency-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   セクション共通
======================================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 600;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-burgundy);
    font-weight: 500;
}

/* ========================================
   事前相談（新デザイン）
======================================== */
.consultation {
    background: var(--gradient-main);
}

.consultation-content-new {
    max-width: 900px;
    margin: 0 auto;
}

.consultation-lead-new {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-burgundy-dark);
    line-height: 1.9;
    margin-bottom: 40px;
    text-align: center;
}

.consultation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.consultation-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 228, 193, 0.3) 100%);
    padding: 35px 25px;
    border-radius: 20px;
    border: 2px solid var(--color-gold-light);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: all 0.3s;
}

.consultation-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(244, 228, 193, 0.5) 100%);
}

.consultation-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-soft);
}

.consultation-card-icon i {
    font-size: 32px;
    color: var(--color-burgundy-dark);
}

.consultation-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-burgundy-dark);
    margin-bottom: 12px;
}

.consultation-card p {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.7;
}

.consultation-cta {
    text-align: center;
}

/* 旧デザイン（削除） */
.consultation-content,
.consultation-image,
.consultation-advisor-photo,
.consultation-lead,
.consultation-points,
.point-card,
.point-icon {
    display: none;
}

/* ========================================
   料金プラン
======================================== */
.plans {
    background: linear-gradient(135deg, #ffffff 0%, #fce4ec 50%, #f3e5f5 100%);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.plan-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s;
    border: 3px solid;
}

.plan-family {
    border-color: var(--color-pink-medium);
    background: linear-gradient(135deg, #ffffff 0%, rgba(248, 187, 208, 0.1) 100%);
}

.plan-simple {
    border-color: var(--color-purple-medium);
    background: linear-gradient(135deg, #ffffff 0%, rgba(186, 104, 200, 0.1) 100%);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

/* 料金プランの写真 */
.plan-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 0;
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.plan-card:hover .plan-image img {
    transform: scale(1.05);
}

.plan-header {
    text-align: center;
    padding: 30px 40px 25px;
    border-bottom: 2px solid;
    margin-bottom: 25px;
}

.plan-family .plan-header {
    border-color: var(--color-pink);
}

.plan-simple .plan-header {
    border-color: var(--color-purple);
}

.plan-name {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.plan-family .plan-name {
    color: var(--color-pink-dark);
}

.plan-simple .plan-name {
    color: var(--color-purple-dark);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
}

.plan-family .price-amount {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-simple .price-amount {
    background: linear-gradient(135deg, #ba68c8 0%, #8e24aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-unit {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-burgundy-dark);
}

.plan-note {
    font-size: 13px;
    color: var(--color-burgundy);
    font-weight: 500;
}

.plan-description {
    text-align: center;
    padding: 20px 30px;
    border-radius: 10px;
    margin: 0 40px 25px;
    font-weight: 500;
}

.plan-family .plan-description {
    background: linear-gradient(135deg, rgba(248, 187, 208, 0.2) 0%, rgba(244, 143, 177, 0.1) 100%);
    color: var(--color-burgundy-dark);
}

.plan-simple .plan-description {
    background: linear-gradient(135deg, rgba(186, 104, 200, 0.2) 0%, rgba(142, 36, 170, 0.1) 100%);
    color: var(--color-burgundy-dark);
}

.plan-features {
    display: grid;
    gap: 12px;
    padding: 0 40px 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--color-pink-medium);
    font-size: 16px;
}

.plans-note {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(186, 104, 200, 0.1) 0%, rgba(244, 143, 177, 0.1) 100%);
    border-radius: 15px;
    border: 2px solid var(--color-purple);
    box-shadow: var(--shadow-soft);
}

.plans-note p {
    font-size: 16px;
    color: var(--color-burgundy-dark);
    font-weight: 500;
}

/* ========================================
   選ばれる理由
======================================== */
.reasons {
    background: linear-gradient(135deg, #f3e5f5 0%, #fce4ec 50%, #ffffff 100%);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.reason-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 228, 193, 0.3) 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--color-gold-light);
    transition: all 0.3s;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(244, 228, 193, 0.5) 100%);
}

.reason-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.reason-icon i {
    font-size: 36px;
    color: var(--color-burgundy-dark);
}

.reason-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-burgundy-dark);
    margin-bottom: 15px;
    line-height: 1.6;
}

.reason-card p {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.8;
}

/* ========================================
   ご葬儀の流れ
======================================== */
.flow {
    background: var(--gradient-main);
}

.flow-steps {
    display: grid;
    gap: 50px;
}

.flow-step {
    display: grid;
    grid-template-columns: 80px 1fr 1.5fr;
    gap: 30px;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 187, 208, 0.2) 100%);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--color-pink);
    transition: all 0.3s;
}

.flow-step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 187, 208, 0.3) 100%);
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--color-white);
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.step-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.step-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s;
}

.flow-step:hover .step-image img {
    transform: scale(1.05);
}

.step-content h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-burgundy-dark);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.8;
}

/* ========================================
   対応エリア
======================================== */
.area {
    background: linear-gradient(135deg, #ffffff 0%, #f3e5f5 100%);
}

.area-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 45px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(186, 104, 200, 0.08) 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 3px solid var(--color-purple);
    text-align: center;
}

.area-icon {
    margin-bottom: 25px;
}

.area-icon i {
    font-size: 80px;
    color: var(--color-purple-medium);
    opacity: 0.8;
}

.area-info {
    max-width: 100%;
}

.area-main {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-burgundy-dark);
    margin-bottom: 12px;
}

.area-detail {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 25px;
}

.area-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 25px;
}

.area-city {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(186, 104, 200, 0.15) 0%, rgba(244, 143, 177, 0.15) 100%);
    border: 2px solid var(--color-purple);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-burgundy-dark);
    transition: all 0.3s;
}

.area-city:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(186, 104, 200, 0.25) 0%, rgba(244, 143, 177, 0.25) 100%);
    box-shadow: var(--shadow-soft);
}

.area-separator {
    font-size: 14px;
    color: var(--color-burgundy);
    font-weight: 500;
    padding: 8px 10px;
}

.area-note {
    font-size: 13px;
    color: var(--color-gray-dark);
    line-height: 1.7;
}

/* ========================================
   お問い合わせ
======================================== */
.contact {
    background: var(--gradient-main);
}

.contact-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 228, 193, 0.3) 100%);
    padding: 60px;
    border-radius: 25px;
    box-shadow: var(--shadow-strong);
    border: 3px solid var(--color-gold);
}

.contact-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--color-gold-light);
}

.contact-tel {
    text-align: center;
}

.contact-label {
    font-size: 16px;
    color: var(--color-burgundy-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.contact-number:hover {
    transform: scale(1.05);
}

.contact-note {
    font-size: 13px;
    color: var(--color-gray-dark);
    line-height: 1.7;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-burgundy-dark);
    margin-bottom: 20px;
}

.contact-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--color-text);
    margin-bottom: 15px;
    line-height: 1.7;
}

.contact-address i {
    color: var(--color-pink-medium);
    margin-top: 3px;
}

.contact-designation {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-gold);
    color: var(--color-burgundy-dark);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.contact-cta {
    text-align: center;
}

.contact-cta p {
    font-size: 18px;
    color: var(--color-burgundy-dark);
    font-weight: 500;
}

/* ========================================
   フッター
======================================== */
.footer {
    background: linear-gradient(135deg, #7d3c5a 0%, #a0526d 100%);
    color: var(--color-white);
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo h3 {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.9;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
}

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

.footer-copyright p {
    font-size: 13px;
    opacity: 0.8;
}

/* ========================================
   ページトップボタン
======================================== */
.page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s;
    z-index: 999;
}

.page-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.page-top i {
    font-size: 20px;
}

.page-top.show {
    display: flex;
}

/* ========================================
   アニメーション
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1024px) {
    /* 動画背景はそのまま表示 */
    
    .consultation-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto 40px;
    }
    
    .flow-step {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .step-image img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    /* ヘッダーのスマホ対応 - コンパクト化 */
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        padding: 8px 0;
    }
    
    .logo h1 {
        font-size: 20px;
        margin-bottom: 0;
    }
    
    .logo-sub {
        display: none; /* スマホでは非表示 */
    }
    
    /* 電話番号テキストを非表示 */
    .tel-info {
        display: none;
    }
    
    /* 電話アイコンのみ表示 */
    .header-tel {
        gap: 0;
        width: auto;
        height: auto;
        background: none;
        box-shadow: none;
    }
    
    /* ヘッダーアクション - スマホレイアウト */
    .header-actions {
        display: flex;
        align-items: flex-end; /* 下揃えに変更 */
        gap: 10px;
    }
    
    .header-tel {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    
    .tel-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .tel-label {
        font-size: 10px;
        color: var(--color-burgundy-dark);
        font-weight: 500;
        margin-bottom: 2px;
        text-align: center;
        white-space: nowrap;
        line-height: 1.2;
    }
    
    .tel-number {
        display: none;
    }
    
    .tel-icon-link {
        display: flex;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        background: var(--gradient-accent);
        border-radius: 50%;
        box-shadow: var(--shadow-soft);
        transition: all 0.3s;
        text-decoration: none;
        flex-shrink: 0; /* 縮小を防ぐ */
    }
    
    .tel-icon-link:hover,
    .tel-icon-link:active {
        transform: scale(1.05);
        box-shadow: var(--shadow-medium);
    }
    
    .tel-icon-link i {
        color: white;
        font-size: 18px;
        line-height: 1;
    }
    
    /* お問い合わせフォームリンク - スマホ */
    .header-form-link {
        padding: 8px 12px;
        font-size: 12px;
        gap: 6px;
        border-radius: 20px;
        height: 40px; /* 電話アイコンと同じ高さ */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0; /* 縮小を防ぐ */
    }
    
    .header-form-link i {
        font-size: 14px;
        line-height: 1;
    }
    
    .form-link-text {
        display: inline;
        line-height: 1;
    }
    
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    /* スマホでも動画背景を表示 */
    .hero-video-overlay {
        /* オーバーレイを少し濃くして文字を読みやすく */
        background: linear-gradient(
            135deg,
            rgba(252, 228, 236, 0.9) 0%,
            rgba(243, 229, 245, 0.88) 50%,
            rgba(225, 190, 231, 0.85) 100%
        );
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-badges {
        flex-direction: column;
    }
    
    .badge {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .badge i {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 28px;
        font-size: 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .consultation-lead-new {
        font-size: 15px;
    }
    
    .consultation-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 20px;
    }
    
    .consultation-card {
        padding: 28px 20px;
    }
    
    .consultation-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .consultation-card-icon i {
        font-size: 28px;
    }
    
    .consultation-card h4 {
        font-size: 18px;
    }
    
    .consultation-card p {
        font-size: 13px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-image {
        height: 200px;
    }
    
    .plan-header {
        padding: 25px 20px 20px;
    }
    
    .plan-name {
        font-size: 20px;
    }
    
    .plan-description {
        margin: 0 20px 20px;
        padding: 15px 20px;
    }
    
    .plan-features {
        padding: 0 20px 25px;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .reason-card {
        padding: 30px 25px;
    }
    
    .reason-icon {
        width: 70px;
        height: 70px;
    }
    
    .reason-icon i {
        font-size: 32px;
    }
    
    .reason-card h3 {
        font-size: 18px;
    }
    
    /* 対応エリアのスマホ対応 */
    .area-content {
        padding: 35px 25px;
    }
    
    .area-icon i {
        font-size: 70px;
    }
    
    .area-main {
        font-size: 19px;
    }
    
    .area-detail {
        font-size: 14px;
    }
    
    .area-cities {
        gap: 10px;
    }
    
    .area-city {
        padding: 7px 14px;
        font-size: 13px;
    }
    
    .area-separator {
        font-size: 13px;
    }
    
    .area-note {
        font-size: 12px;
    }
    
    .contact-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-number {
        font-size: 32px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .footer-info {
        text-align: left;
    }
}

@media (max-width: 480px) {
    /* ヘッダー - さらにコンパクト */
    .header-content {
        padding: 6px 0;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .tel-label {
        font-size: 9px;
        line-height: 1.2;
    }
    
    .tel-icon-link {
        width: 38px;
        height: 38px;
    }
    
    .tel-icon-link i {
        font-size: 16px;
        line-height: 1;
    }
    
    .header-form-link {
        padding: 7px 10px;
        font-size: 11px;
        height: 38px; /* 電話アイコンと同じ高さ */
    }
    
    .header-form-link i {
        font-size: 13px;
        line-height: 1;
    }
    
    .form-link-text {
        line-height: 1;
    }
    
    /* メインビジュアル */
    .hero-title {
        font-size: 24px;
        line-height: 1.5;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .badge {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .btn {
        padding: 11px 24px;
        font-size: 14px;
    }
    
    /* 緊急バナー */
    .emergency-banner {
        padding: 15px 0;
    }
    
    .emergency-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .emergency-content i {
        font-size: 28px;
    }
    
    .emergency-text h3 {
        font-size: 18px;
    }
    
    .emergency-text p {
        font-size: 13px;
    }
    
    .emergency-btn {
        font-size: 16px;
        padding: 10px 24px;
    }
    
    /* セクション */
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .section-subtitle {
        font-size: 13px;
    }
    
    /* 事前相談 */
    .consultation-lead-new {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .consultation-card {
        padding: 25px 18px;
    }
    
    .consultation-card-icon {
        width: 55px;
        height: 55px;
    }
    
    .consultation-card-icon i {
        font-size: 26px;
    }
    
    .consultation-card h4 {
        font-size: 17px;
    }
    
    .consultation-card p {
        font-size: 12px;
    }
    
    /* 料金プラン */
    .plan-card {
        padding: 0;
    }
    
    .plan-image {
        height: 180px;
    }
    
    .plan-header {
        padding: 20px 15px 18px;
    }
    
    .plan-name {
        font-size: 18px;
    }
    
    .price-amount {
        font-size: 32px;
    }
    
    .price-unit {
        font-size: 18px;
    }
    
    .plan-note {
        font-size: 12px;
    }
    
    .plan-description {
        margin: 0 15px 18px;
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .plan-features {
        padding: 0 15px 20px;
        gap: 10px;
    }
    
    .feature-item {
        padding: 8px;
        font-size: 13px;
    }
    
    .feature-item i {
        font-size: 14px;
    }
    
    /* 選ばれる理由 */
    .reason-card {
        padding: 28px 20px;
    }
    
    .reason-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 20px;
    }
    
    .reason-icon i {
        font-size: 30px;
    }
    
    .reason-card h3 {
        font-size: 17px;
        margin-bottom: 12px;
    }
    
    .reason-card p {
        font-size: 13px;
    }
    
    /* 葬儀の流れ */
    .flow-step {
        padding: 25px 20px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .step-image img {
        height: 200px;
    }
    
    .step-content h3 {
        font-size: 19px;
    }
    
    .step-content p {
        font-size: 13px;
    }
    
    /* 対応エリア */
    .area-content {
        padding: 28px 18px;
    }
    
    .area-icon {
        margin-bottom: 20px;
    }
    
    .area-icon i {
        font-size: 60px;
    }
    
    .area-main {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .area-detail {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .area-cities {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .area-city {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .area-separator {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .area-note {
        font-size: 11px;
    }
    
    /* お問い合わせ */
    .contact-content {
        padding: 30px 20px;
    }
    
    .contact-tel {
        padding: 0;
    }
    
    .contact-label {
        font-size: 14px;
    }
    
    .contact-number {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .contact-note {
        font-size: 12px;
    }
    
    .contact-info h3 {
        font-size: 24px;
    }
    
    .contact-address {
        font-size: 13px;
    }
    
    .contact-designation {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .contact-cta p {
        font-size: 15px;
    }
    
    /* フッター */
    .footer {
        padding: 40px 0 25px;
    }
    
    .footer-logo h3 {
        font-size: 22px;
    }
    
    .footer-logo p,
    .footer-info p {
        font-size: 13px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
}