/* ===================================
   基本設定
=================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --primary-light: #42a5f5;
    --secondary-color: #0d47a1;
    --accent-color: #ff6f00;
    --success-color: #43a047;
    --text-dark: #212121;
    --text-gray: #757575;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo i {
    font-size: 28px;
}

.header-tel {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.header-tel:hover {
    background-color: #e65100;
    transform: scale(1.05);
}

.header-tel i {
    font-size: 20px;
    animation: ring 2s infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

/* ===================================
   ファーストビュー
=================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(30, 136, 229, 0.85) 0%, rgba(13, 71, 161, 0.9) 100%),
        url('../images/hero-bg.jpg') center/cover no-repeat;
    overflow: hidden;
    padding: 80px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    display: block;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 25px;
}

.hero-main {
    display: block;
}

.highlight {
    color: #ffd54f;
    font-size: 56px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-description strong {
    font-size: 22px;
    color: #ffd54f;
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 15px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.benefit-item i {
    font-size: 24px;
    color: #4caf50;
}

.benefit-item span {
    font-weight: 700;
    font-size: 16px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 50px;
    background-color: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(255, 111, 0, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #e65100;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 111, 0, 0.5);
}

.cta-button.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(255, 111, 0, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 111, 0, 0.7);
    }
}

.hero-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    opacity: 0.7;
    animation: bounce 2s infinite;
    z-index: 2;
}

.hero-scroll span {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.hero-scroll i {
    font-size: 20px;
}

@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: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-dark);
}

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

.section-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title.white .section-subtitle {
    color: #ffd54f;
}

/* ===================================
   お悩みセクション
=================================== */
.problems {
    background-color: var(--bg-light);
}

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

.problem-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 36px;
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.problem-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.problems-solution {
    text-align: center;
    margin-top: 50px;
}

.solution-text {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 25px 40px;
    background: linear-gradient(135deg, #ffd54f, #ffb300);
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    box-shadow: var(--shadow-lg);
}

.solution-text i {
    font-size: 30px;
}

/* ===================================
   サービス紹介
=================================== */
.service {
    background-color: var(--bg-white);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-heading {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
    line-height: 1.5;
}

.service-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

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

.service-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.service-point {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.service-point i {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: var(--success-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 3px;
}

.service-point strong {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

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

.service-note {
    font-size: 13px;
    color: var(--text-gray);
    padding: 15px;
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.service-image {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    color: var(--text-light);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.service-badge {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-percentage {
    font-size: 100px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 15px;
}

.service-percentage span {
    font-size: 60px;
}

.service-caption {
    font-size: 16px;
    opacity: 0.9;
}

/* ===================================
   3つの特徴
=================================== */
.features {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #ffd54f, #ffb300);
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 900;
    padding: 8px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(255, 213, 79, 0.4);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 48px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===================================
   実績セクション
=================================== */
.achievements {
    background-color: var(--bg-white);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.achievement-card {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--bg-light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 36px;
}

.achievement-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.achievement-number span {
    font-size: 36px;
}

.achievement-label {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

/* ===================================
   施工事例セクション
=================================== */
.case-studies {
    background-color: var(--bg-white);
}

.section-description {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
    color: var(--text-gray);
    line-height: 1.8;
}

.section-description strong {
    color: var(--accent-color);
    font-weight: 700;
}

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

.case-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.case-image {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: var(--bg-light);
    overflow: hidden;
}

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

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6f00, #e65100);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 111, 0, 0.4);
}

.case-content {
    padding: 25px;
}

.case-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.case-description {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.case-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.original-price {
    font-size: 14px;
    color: var(--text-gray);
    text-decoration: line-through;
}

.arrow {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

.final-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color);
}

.case-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 20px;
    background-color: #e3f2fd;
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.case-note i {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 2px;
    font-size: 18px;
}

.case-note p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

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

/* ===================================
   対応エリア
=================================== */
.area {
    background-color: var(--bg-light);
}

.area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.area-map {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

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

.area-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    color: var(--text-light);
    font-size: 18px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.area-item:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
}

.area-item i {
    font-size: 24px;
    color: #ffd54f;
}

.area-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.area-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.area-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    background-color: #e3f2fd;
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    font-size: 14px;
}

.area-note i {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 2px;
}

/* ===================================
   ご利用の流れ
=================================== */
.flow {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    gap: 20px;
}

.flow-step {
    flex: 1;
    min-width: 180px;
    background-color: var(--bg-white);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.flow-step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffd54f, #ffb300);
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 900;
    padding: 6px 15px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(255, 213, 79, 0.4);
}

.flow-step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 36px;
}

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

.flow-step p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.flow-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 24px;
    opacity: 0.7;
    margin-top: 50px;
}

.flow-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-light);
    font-size: 14px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* ===================================
   お客様の声
=================================== */
.testimonials {
    background-color: var(--bg-light);
}

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

.testimonial-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 28px;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.testimonial-stars {
    color: #ffd54f;
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
}

/* ===================================
   よくある質問
=================================== */
.faq {
    background-color: var(--bg-white);
}

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

.faq-item {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
    user-select: none;
    transition: all 0.3s ease;
}

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

.faq-question > i:first-child {
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 24px;
}

.faq-question > span {
    flex: 1;
}

.faq-question > i:last-child {
    flex-shrink: 0;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question > i:last-child {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

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

/* ===================================
   申込フォーム
=================================== */
.form-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.form-description {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.form-tel {
    margin-bottom: 20px;
}

.tel-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 20px 40px;
    background-color: var(--bg-white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.tel-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.tel-button i {
    font-size: 28px;
}

.tel-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.tel-number {
    display: block;
    font-size: 28px;
    font-weight: 900;
}

.tel-hours {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 10px;
    opacity: 0.9;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 15px;
}

.required {
    background-color: #e53935;
    color: var(--text-light);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
}

.form-input,
.form-textarea {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.form-input.error,
.form-textarea.error {
    border-color: #e53935;
}

.error-message {
    color: #e53935;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.form-input.error ~ .error-message,
.form-textarea.error ~ .error-message {
    display: block;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
}

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

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background-color: var(--accent-color);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #e65100;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 111, 0, 0.4);
}

.submit-button:disabled {
    background-color: var(--text-gray);
    cursor: not-allowed;
    transform: none;
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-note i {
    color: var(--success-color);
}

.form-success {
    text-align: center;
    padding: 60px 40px;
}

.form-success i {
    font-size: 80px;
    color: var(--success-color);
    margin-bottom: 25px;
}

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

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

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

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    justify-content: center;
}

.footer-logo .logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-logo i {
    font-size: 32px;
    color: var(--primary-light);
}

.footer-text {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-tel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.footer-tel:hover {
    background-color: #e65100;
    transform: scale(1.05);
}

.footer-hours {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 10px;
}

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

/* ===================================
   ページトップボタン
=================================== */
.page-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.page-top.show {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===================================
   固定CTAボタン（スマホ用）
=================================== */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    z-index: 998;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
}

.fixed-cta-tel,
.fixed-cta-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-light);
}

.fixed-cta-tel {
    flex: 1;
    background-color: var(--accent-color);
}

.fixed-cta-form {
    flex: 1;
    background-color: var(--primary-color);
}

/* ===================================
   レスポンシブ対応
=================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }
    
    .highlight {
        font-size: 48px;
    }
    
    .service-content,
    .area-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .flow-arrow {
        display: none;
    }
    
    .flow-steps {
        flex-direction: column;
    }
    
    .flow-step {
        width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .highlight {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-benefits {
        flex-direction: column;
        gap: 15px;
    }
    
    .benefit-item {
        width: 100%;
    }
    
    .cta-button {
        padding: 18px 40px;
        font-size: 18px;
    }
    
    .header-tel {
        padding: 10px 20px;
        font-size: 16px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .footer-logo .logo-image {
        height: 60px;
    }
    
    .problems-grid,
    .features-grid,
    .achievements-grid,
    .testimonials-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .tel-number {
        font-size: 22px;
    }
    
    .area-list {
        grid-template-columns: 1fr;
    }
    
    .fixed-cta {
        display: flex;
    }
    
    .page-top {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .sp-only {
        display: inline;
    }
}

@media (min-width: 769px) {
    .sp-only {
        display: none;
    }
}