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

:root {
    /* カラーパレット */
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --border-color: #e2e8f0;
    
    /* タイポグラフィ */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* スペーシング */
    --section-padding: 5rem 0;
    --container-padding: 2rem;
    
    /* トランジション */
    --transition: all 0.3s ease;
    
    /* シャドウ */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
}

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

/* ===========================
   ヘッダー & ナビゲーション（削除済み）
   =========================== */
/* ヘッダーは削除されました */

/* ===========================
   ヒーローセクション
   =========================== */
.hero {
    margin-top: 0;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 8rem 0 6rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 0;
}

/* お問い合わせボタン（右上固定） */
.hero-contact-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
}

.btn-contact-fixed {
    display: inline-block;
    padding: 0.5rem 0;
    background-color: transparent;
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    position: relative;
}

.btn-contact-fixed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.btn-contact-fixed:hover {
    color: rgba(255, 255, 255, 0.9);
}

.btn-contact-fixed:hover::after {
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

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

/* ===========================
   ボタンスタイル
   =========================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* ヒーローセクションのCTAボタン */
.btn-hero-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 4px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-hero-cta:hover::before {
    left: 0;
}

.btn-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-full {
    width: 100%;
}

/* ===========================
   セクション共通スタイル
   =========================== */
.section {
    padding: var(--section-padding);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    white-space: nowrap;
}

/* ===========================
   自己紹介セクション
   =========================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    position: sticky;
    top: 120px;
}

.profile-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.profile-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.8);
}

.profile-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.about-text h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.about-text .role {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 12px;
}

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

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

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

.certifications {
    margin-top: 2rem;
}

.certifications h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.certifications ul {
    list-style: none;
}

.certifications li {
    padding: 0.75rem 0;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.certifications li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.clients {
    margin-top: 2.5rem;
}

.clients h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.clients-list {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-medium);
    line-height: 1.9;
    font-size: 0.95rem;
}

/* ===========================
   専門知識セクション
   =========================== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

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

.expertise-card > p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.expertise-list {
    list-style: none;
    padding-left: 0;
}

.expertise-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-medium);
    position: relative;
}

.expertise-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* ===========================
   サービスセクション
   =========================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

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

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

.service-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(14, 165, 233, 0.03));
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

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

.service-card > p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.service-lead {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-detail {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    margin-bottom: 2rem;
    padding-left: 0;
}

.service-list li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    color: var(--text-medium);
    position: relative;
    font-size: 0.95rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-medium);
    position: relative;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.service-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    margin-bottom: 0.5rem;
}

.service-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

/* ===========================
   お問い合わせセクション
   =========================== */
.contact-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.contact-info {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.contact-info h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.info-item h4 {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.info-item p {
    color: var(--text-medium);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: translateY(-3px);
}

/* フォームスタイル */
.contact-form-wrapper {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    max-width: 700px;
    width: 100%;
}

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

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

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

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    background-color: white;
}

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

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

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

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

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

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
}

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

.form-message {
    text-align: center;
    padding: 2rem;
}

.success-message {
    background-color: #f0fdf4;
    border: 2px solid #86efac;
    border-radius: 12px;
}

.success-message i {
    font-size: 3rem;
    color: #22c55e;
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===========================
   レスポンシブデザイン
   =========================== */

/* タブレット */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        position: relative;
        top: 0;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .contact-content {
        padding: 0 1rem;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* スマートフォン */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
        --container-padding: 1.5rem;
    }
    
    /* お問い合わせボタン */
    .hero-contact-btn {
        top: 1rem;
        right: 1rem;
    }
    
    .btn-contact-fixed {
        padding: 0.7rem 1.5rem;
        font-size: 0.75rem;
        border-radius: 0;
    }
    
    /* ヒーロー */
    .hero {
        padding: 4rem 0;
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
        margin-top: 0;
        transition: opacity 0.3s ease;
    }
    
    .hero-buttons.hidden {
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .btn-hero-cta {
        width: auto;
        padding: 1rem 1.5rem;
        white-space: nowrap;
        font-size: 0.95rem;
    }
    
    /* セクション */
    .section-title {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    /* 統計 */
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 専門知識 */
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-card {
        padding: 2rem;
    }
    
    /* サービス */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* フッター */
    .footer {
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .card-icon,
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon i,
    .service-icon i {
        font-size: 1.5rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* スムーススクロール調整 */
section {
    scroll-margin-top: 100px;
}
