/* kanakoluコンサルティングオフィス - メインスタイルシート */

/* ========================================
   共通設定
======================================== */
:root {
    --color-primary: #1a1a1a;
    --color-secondary: #4a4a4a;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-light: #f8f8f8;
    --color-accent-orange: #ff6b35;
    --color-accent-green: #4caf50;
    --color-accent-purple: #9c27b0;
    --font-main: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.8;
    background-color: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    background-color: var(--color-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.logo span {
    color: var(--color-accent-orange);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-orange);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

/* ========================================
   メインコンテンツ
======================================== */
main {
    margin-top: var(--header-height);
}

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

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), 
                url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1600') center/cover;
    color: white;
    text-align: center;
}

.hero-content {
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
}

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

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-orange), var(--color-accent-green), var(--color-accent-purple));
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 60px;
    line-height: 1.8;
}

/* ========================================
   カードグリッド
======================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background-color: var(--color-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.card-text {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 10px;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
}

.card-icon.orange { color: var(--color-accent-orange); }
.card-icon.green { color: var(--color-accent-green); }
.card-icon.purple { color: var(--color-accent-purple); }

/* ========================================
   ボタン
======================================== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: #e55a28;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

.btn-center {
    display: block;
    margin: 0 auto;
    width: fit-content;
}

/* ========================================
   フッター
======================================== */
.footer {
    background-color: var(--color-primary);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--color-accent-orange);
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section a:hover {
    color: var(--color-accent-orange);
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color-accent-orange);
    transform: translateY(-3px);
}

/* ========================================
   ページ固有スタイル
======================================== */
.page-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), 
                url('https://images.unsplash.com/photo-1557804506-669a67965ba0?w=1600') center/cover;
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

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

.content-box {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.content-box h2 {
    font-size: 28px;
    color: var(--color-primary);
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--color-accent-orange);
}

.content-box h3 {
    font-size: 22px;
    color: var(--color-secondary);
    margin: 30px 0 15px;
}

.content-box ul {
    list-style: disc;
    margin-left: 30px;
    color: var(--color-text-light);
}

.content-box ul li {
    margin-bottom: 10px;
}

/* フォーム */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-orange);
}

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

.contact-info {
    background-color: var(--color-bg-light);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-item i {
    font-size: 24px;
    color: var(--color-accent-orange);
    width: 30px;
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 768px) {
    /* ロゴのモバイル対応 */
    .logo a img {
        height: 40px !important;
    }
    
    .logo a span {
        font-size: 18px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: white;
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        height: 500px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .content-box {
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ユーティリティクラス
======================================== */
.text-center {
    text-align: center;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mt-30 {
    margin-top: 30px;
}

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