/* ===================================
   同前嘉浩 - 上下水道コンサルタントサイト
   メインスタイルシート
   =================================== */

/* ===================================
   カラーパレット
   =================================== */
:root {
    /* Primary Colors */
    --primary-color: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #3385D6;
    
    /* Secondary Colors */
    --secondary-color: #00A8CC;
    --secondary-dark: #007A99;
    
    /* Accent Colors */
    --accent-color: #FF6B35;
    --accent-light: #FF8C5A;
    
    /* Neutral Colors */
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-lighter: #FAFBFC;
    --border-color: #E1E4E8;
    
    /* Status Colors */
    --success-color: #28A745;
    --warning-color: #FFC107;
    --error-color: #DC3545;
    --info-color: #17A2B8;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===================================
   リセット & ベーススタイル
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* ===================================
   タイポグラフィ
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

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

/* ===================================
   ナビゲーションバー
   =================================== */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    flex-direction: column;
    font-weight: 700;
}

.logo-text {
    font-size: 1.5rem;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-medium);
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.btn-contact-nav {
    background-color: var(--primary-color);
    color: var(--bg-white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    border: none !important;
}

.btn-contact-nav:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ===================================
   ユーティリティクラス
   =================================== */
.mobile-only {
    display: none;
}

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

/* ===================================
   ヒーローセクション
   =================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(0, 102, 204, 0.92) 0%, rgba(0, 168, 204, 0.92) 100%),
        url('https://sspark.genspark.ai/cfimages?u1=D3TFtA%2F4Ab%2FUhbwr%2Fhxi07Kw0fHTtND14uMeMw57PhDRvxgF%2FgzOJpPAX1LdqtzhlhEz2s6H7R%2Fw3rtQ7aZDr%2FCc8TgR2rqYXh6g8jm0aGp5xrZw%2Bc%2Bn3d16IBKxlHFZb%2FSSOUZ8pDgFxnOmj5f5X5EmOeupzuGSolxTRiwGHwC724sQQoxH4qoSJVYKO7tofEDKjog%2FS7uTn35myoBcshWdqh9HNvsVvf1H&u2=%2BoFtCcYLy0cY7YN4&width=2560') center/cover no-repeat;
    margin-top: 70px;
    overflow: hidden;
}

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

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 20s infinite ease-in-out;
}

.hero-circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.hero-circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.hero-circle-3 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 15%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-50px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.5;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--bg-white);
    padding: 2rem 0;
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-title-sub {
    display: block;
    font-size: 1.75rem;
    font-weight: 400;
    opacity: 0.95;
}

.hero-motto {
    font-size: 2rem;
    font-weight: 700;
    color: #FFB800;
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 184, 0, 0.3);
    display: inline-block;
    animation: mottoGlow 3s ease-in-out infinite;
    white-space: nowrap;
}

.hero-motto i {
    font-size: 1.2rem;
    opacity: 0.7;
    margin: 0 0.5rem;
}

@keyframes mottoGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 184, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 184, 0, 0.6);
    }
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--bg-white);
    font-size: 2rem;
    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); }
}

/* ===================================
   ボタン
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--bg-lighter);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--bg-white);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
}

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

/* ===================================
   統計セクション
   =================================== */
.stats-section {
    background-color: var(--bg-white);
    padding: 4rem 0;
    margin-top: -50px;
    position: relative;
    z-index: 20;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0, 102, 204, 0.01) 10px, rgba(0, 102, 204, 0.01) 20px);
    pointer-events: none;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

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

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stat-card:hover .stat-icon {
    animation: iconPulse 1s ease-in-out;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-medium);
    font-weight: 600;
}

/* ===================================
   セクション共通スタイル
   =================================== */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

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

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===================================
   自己紹介セクション
   =================================== */
.about-intro {
    background-color: var(--bg-light);
    position: relative;
}

.about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.about-intro-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-intro-image {
    text-align: center;
}

.image-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.image-placeholder i {
    font-size: 8rem;
    color: var(--bg-white);
}

/* プロフィール写真 */
.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.about-intro-image img.profile-photo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--bg-white);
    display: block;
    margin: 0 auto;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.about-intro-image img.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about-intro-image {
    position: relative;
}

.achievement-badge {
    position: absolute;
    bottom: 10px;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, #FFB800, #FF8C00);
    color: var(--bg-white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
    animation: badgePulse 2s infinite;
}

.achievement-badge i {
    font-size: 1.2rem;
}

@keyframes badgePulse {
    0%, 100% {
        transform: translateX(50%) scale(1);
        box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
    }
    50% {
        transform: translateX(50%) scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 184, 0, 0.6);
    }
}

.about-intro-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ===================================
   サービス概要
   =================================== */
.services-overview {
    background-color: var(--bg-white);
    position: relative;
}

.services-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    z-index: 0;
}

.services-overview .container {
    position: relative;
    z-index: 1;
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

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

.service-card.featured {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(0, 168, 204, 0.05));
}

.service-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-features li i {
    color: var(--success-color);
    font-size: 1rem;
}

/* ===================================
   実績紹介プレビュー
   =================================== */
.achievements-preview {
    background-color: var(--bg-light);
    position: relative;
}

.achievements-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 102, 204, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 168, 204, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

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

.achievement-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.achievement-card:hover::before {
    opacity: 1;
}

.achievement-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.achievement-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.achievement-description {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: var(--bg-light);
    color: var(--text-medium);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* ===================================
   お客様の声
   =================================== */
.testimonials {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
        url('https://sspark.genspark.ai/cfimages?u1=kxzcNqJ%2FORJsrMGiaNNQ6zBW%2B%2FtaUyqjqcHjb%2BiReLz0bnQmJsbtCLxpHLXTnYEwcluCnzWhyBvEpnvfY4fUSR28ius0rG18kCckYF%2FiGqYpggWM9rY7U5GEJ%2FqAGvpDwQciFGhv2jO5b9HKfVjoUtEdhnm0ZmQgTGBlbeBIAg%3D%3D&u2=Ve%2FZvLyDUh1bznx6&width=2560') center/cover no-repeat;
    position: relative;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, var(--bg-light) 100%);
    z-index: 0;
    pointer-events: none;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

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

.testimonial-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    background-color: var(--bg-white);
}

.testimonial-rating {
    color: #FFB800;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* ===================================
   CTAセクション
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::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%);
    animation: ctaRotate 30s linear infinite;
}

@keyframes ctaRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.cta-highlight {
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.cta-highlight i {
    font-size: 2rem;
    color: #FFB800;
}

/* ===================================
   フッター
   =================================== */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 4rem 0 2rem;
}

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

.footer-title {
    font-size: 1.5rem;
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--bg-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.1rem;
    color: var(--bg-white);
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: var(--bg-light);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--bg-light);
}

/* ===================================
   トップに戻るボタン
   =================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   ページヘッダー（サブページ用）
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    text-align: center;
    padding: 8rem 0 4rem;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

/* 実績ページ専用のヘッダー背景 */
.page-header-achievements {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9), rgba(0, 168, 204, 0.9));
}

.page-header-achievements .page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://sspark.genspark.ai/cfimages?u1=jExrQyvyIYQ%2BiB%2FQJZ%2B0%2B7J12pG8pV5Kq9tZwKd8vFoW6TnY9%2BWFsloDjLQ%2F3VWtzG%2BHcumNfUsjknTFUzCdskMwxYvahZ9MuNKKPKO%2F1%2FTFaZ%2F5w%2Fs%2B4kygkKVAAry4CE51f%2Fm2kQI%3D&u2=cEdQoP7%2BrcX66SOf&width=2560');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.page-header-achievements .container {
    position: relative;
    z-index: 1;
}

/* プロフィールページ専用のヘッダー背景 */
.page-header-profile {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9), rgba(0, 168, 204, 0.9));
}

.page-header-profile .page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://sspark.genspark.ai/cfimages?u1=lhZwEwRwSGNsROX2%2BowZ6BOyWtGvJWvtS1otHAEQR3s0DQd13cjkGPtLYBcgdDqT9d7LN1W6d7%2BukF96JG0oefdBYyZLuWZnyyoE%2FIId8o4pX%2BWYzO8Sw3yTktF%2FQpcW00IUuf1Umegp6zT%2FHRLowDtN%2BrRLJVfEqdBPcJVXSn0JWEKt2ZxGyxzCg2A4mClNf6tjAt3Hb7hDfmggwA%2F9WlEFcuWBXVCDW4pw500J9Q%3D%3D&u2=nB7nua4BHuzw%2Bm3B&width=2560');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.page-header-profile .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ===================================
   プロフィールページ
   =================================== */
.profile-detail {
    padding: 4rem 0;
}

.profile-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.profile-image-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-image {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.profile-image i {
    font-size: 10rem;
    color: var(--bg-white);
}

.profile-image img.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform var(--transition-normal);
}

.profile-image:hover img.profile-photo {
    transform: scale(1.05);
}

.profile-image:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.profile-credentials {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
}

.profile-credentials h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.profile-credentials ul {
    list-style: none;
}

.profile-credentials li {
    padding: 0.7rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.profile-credentials i {
    color: var(--primary-color);
}

.profile-name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.profile-title-jp {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.profile-intro h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: var(--primary-color);
}

.profile-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.profile-notice {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
}

.profile-notice i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.profile-notice strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.profile-notice p {
    margin-bottom: 0;
    color: var(--text-medium);
}

/* 経歴タイムライン */
.career-section {
    background-color: var(--bg-light);
}

.career-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.career-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 10px;
    top: 5px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid var(--bg-light);
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.timeline-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--text-medium);
    line-height: 1.8;
}

.highlight-text {
    color: var(--accent-color);
    font-size: 1.15em;
    position: relative;
    padding: 0 0.3rem;
}

.highlight-text::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.2), rgba(255, 140, 90, 0.2));
    z-index: -1;
}

/* 強み・専門分野 */
.expertise-section {
    background-color: var(--bg-white);
}

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

.expertise-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-normal);
}

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

.expertise-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.expertise-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.expertise-description {
    color: var(--text-medium);
    line-height: 1.8;
    word-break: keep-all;
    overflow-wrap: break-word;
    font-size: 0.95rem;
}

/* 受賞歴 */
.awards-section {
    background-color: var(--bg-light);
}

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

.award-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.award-icon {
    font-size: 4rem;
    color: #FFB800;
    margin-bottom: 1rem;
}

.award-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.award-description {
    color: var(--text-medium);
    line-height: 1.8;
    word-break: keep-all;
    overflow-wrap: break-word;
    font-size: 0.95rem;
}

/* 講演実績 */
.lecture-stats {
    background-color: var(--bg-white);
}

.lecture-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 15px;
}

.stat-box .stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.lecture-themes h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 3rem;
}

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

.theme-tag {
    background-color: var(--bg-light);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-fast);
}

.theme-tag:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateX(5px);
}

.theme-tag i {
    color: var(--success-color);
}

.theme-tag:hover i {
    color: var(--bg-white);
}

/* ===================================
   サービスページ
   =================================== */
.services-intro {
    padding: 3rem 0;
    background-color: var(--bg-white);
}

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

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.services-notice-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.notice-item {
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.notice-primary {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    border-left: 5px solid var(--primary-color);
}

.notice-secondary {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border-left: 5px solid var(--accent-color);
}

.notice-item i {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.notice-primary i {
    color: var(--primary-color);
}

.notice-secondary i {
    color: var(--accent-color);
}

.notice-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.notice-item p {
    margin: 0;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.service-detail {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.service-detail.alt {
    background-color: var(--bg-light);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-detail-icon {
    font-size: 4rem;
    color: var(--primary-color);
}

.service-detail-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-detail-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    font-weight: 400;
}

.service-detail-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 3rem;
}

.service-features-detailed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 2rem;
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
}

.service-detail.alt .feature-item {
    background-color: var(--bg-white);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    min-width: 80px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.feature-content ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.7rem;
}

.feature-content li {
    color: var(--text-dark);
    padding: 0.5rem 0;
}

/* 講演統計 */
.lecture-stats-inline {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 15px;
}

.stat-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.stat-inline i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* 講演テーマ */
.lecture-themes-section {
    margin-top: 3rem;
}

.lecture-themes-section > h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.theme-category {
    margin-bottom: 3rem;
}

.theme-category h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-list {
    display: grid;
    gap: 1.5rem;
}

.theme-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    transition: var(--transition-normal);
}

.theme-card:hover {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.theme-card h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.theme-card p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.theme-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.theme-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 講演形式 */
.lecture-format {
    margin-top: 4rem;
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: 15px;
}

.lecture-format h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.format-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: 15px;
    transition: var(--transition-normal);
}

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

.format-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.format-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.format-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* サービスの流れ */
.service-flow {
    background-color: var(--bg-light);
}

.flow-steps {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.flow-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.flow-number {
    min-width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: var(--shadow-md);
}

.flow-content {
    flex: 1;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.flow-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.flow-content p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* FAQ */
.faq-section {
    background-color: var(--bg-white);
    padding: 5rem 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-question i {
    color: var(--primary-color);
}

.faq-answer {
    color: var(--text-medium);
    line-height: 1.8;
}

/* FAQ Accordion */
.faq-accordion .faq-item {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
}

.faq-question-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.faq-question-btn:hover {
    color: var(--primary-color);
}

.faq-icon {
    transition: transform var(--transition-fast);
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    padding: 0 1.5rem;
}

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

/* ===================================
   実績紹介ページ
   =================================== */
.achievements-summary {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.summary-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.summary-card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-normal);
}

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

.summary-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.summary-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.summary-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.summary-description {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 主要実績 */
.major-achievements {
    background-color: var(--bg-light);
}

.achievement-detail {
    max-width: 1000px;
    margin: 0 auto 4rem;
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.achievement-detail-header {
    margin-bottom: 2rem;
}

.achievement-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.achievement-badge.cost-reduction {
    background-color: var(--success-color);
}

.achievement-badge.dx {
    background-color: var(--primary-color);
}

.achievement-badge.lecture {
    background-color: var(--accent-color);
}

.achievement-detail-title {
    font-size: 2rem;
    color: var(--text-dark);
}

.achievement-detail-text h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.achievement-detail-text p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.detail-list {
    list-style: none;
    margin-bottom: 2rem;
}

.detail-list li {
    padding: 0.7rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-dark);
}

.detail-list i {
    color: var(--success-color);
    margin-top: 0.3rem;
}

.achievement-results {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 15px;
}

.result-item {
    text-align: center;
    flex: 1;
}

.result-item strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.result-item span {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.testimonials-small {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.testimonials-small blockquote {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    font-style: italic;
    color: var(--text-dark);
}

/* 受賞歴・メディア */
.awards-media {
    background-color: var(--bg-white);
}

.awards-grid .award-item {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-normal);
}

.awards-grid .award-item:hover {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.awards-grid .award-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.awards-grid .award-item p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ケーススタディ */
.case-studies {
    background-color: var(--bg-light);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-study-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.case-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.case-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.case-section h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

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

.case-section li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.case-section li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* クライアントの声（詳細版） */
.client-testimonials {
    background-color: var(--bg-white);
}

.testimonials-detailed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-detailed {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.8rem;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.testimonial-info p {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.testimonial-rating-stars {
    color: #FFB800;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text-detailed {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
}

/* ===================================
   お問い合わせページ
   =================================== */
.contact-section {
    background-color: var(--bg-light);
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

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

.form-input,
.form-select,
.form-textarea {
    padding: 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: var(--transition-fast);
}

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

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-error {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
    border-color: var(--error-color);
}

.form-group.error .form-error {
    display: block;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

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

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

.form-submit {
    margin-top: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    justify-content: center;
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    display: none;
    text-align: center;
}

.form-message.success {
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
    display: block;
}

.form-message.error {
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
    display: block;
}

/* お問い合わせ情報 */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-box {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.info-box h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-box h3 i {
    color: var(--primary-color);
}

.info-box p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* プライバシーポリシー */
.privacy-policy {
    background-color: var(--bg-white);
    padding: 4rem 0;
}

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

.privacy-content h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.privacy-content h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.privacy-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-content li {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* ===================================
   ブログページ
   =================================== */
.blog-section {
    background-color: var(--bg-light);
}

.blog-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-intro-text {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.blog-image {
    height: 200px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image-placeholder {
    font-size: 4rem;
    color: var(--primary-color);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-category {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 0.3rem 0.9rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-excerpt {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.blog-read-more:hover {
    gap: 1rem;
}

/* Coming Soon */
.blog-coming-soon {
    background-color: var(--bg-white);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.coming-soon-content i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.coming-soon-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.coming-soon-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ニュースレター */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    padding: 5rem 0;
}

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

.newsletter-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.newsletter-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}