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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
}

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

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* メインビジュアル */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.cta-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* ブランドリンク */
.brand-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: nowrap;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.8rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.brand-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.brand-link:hover::before {
    left: 100%;
}

.brand-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.brand-link:hover .brand-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.brand-icon i {
    font-size: 1.5rem;
    color: white;
}

.brand-info {
    flex: 1;
    text-align: left;
}

.brand-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
    color: white;
}

.brand-info p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    color: white;
}

.brand-arrow {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.brand-link:hover .brand-arrow {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(45deg);
}

.brand-arrow i {
    font-size: 0.8rem;
    color: white;
}

/* Kanadel design専用スタイル */
.brand-link.kanadel {
    background: rgba(135, 206, 235, 0.2);
    border-color: rgba(135, 206, 235, 0.3);
}

.brand-link.kanadel:hover {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.4), rgba(70, 130, 180, 0.4));
    border-color: rgba(135, 206, 235, 0.6);
}

.brand-link.kanadel .brand-icon {
    background: rgba(135, 206, 235, 0.3);
}

.brand-link.kanadel:hover .brand-icon {
    background: rgba(135, 206, 235, 0.5);
}

.brand-link.kanadel .brand-arrow {
    background: rgba(135, 206, 235, 0.3);
}

.brand-link.kanadel:hover .brand-arrow {
    background: rgba(135, 206, 235, 0.5);
}

/* 奏制作所専用スタイル */
.brand-link.kanade {
    background: rgba(139, 69, 19, 0.2);
    border-color: rgba(139, 69, 19, 0.3);
}

.brand-link.kanade:hover {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.4), rgba(160, 82, 45, 0.4));
    border-color: rgba(139, 69, 19, 0.6);
}

.brand-link.kanade .brand-icon {
    background: rgba(139, 69, 19, 0.3);
}

.brand-link.kanade:hover .brand-icon {
    background: rgba(139, 69, 19, 0.5);
}

.brand-link.kanade .brand-arrow {
    background: rgba(139, 69, 19, 0.3);
}

.brand-link.kanade:hover .brand-arrow {
    background: rgba(139, 69, 19, 0.5);
}

/* セクション共通スタイル */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-weight: 400;
}

/* サービスセクション */
.service-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.service-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

.more-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: #3498db;
    text-decoration: none;
    border: 2px solid #3498db;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.more-button:hover {
    background: #3498db;
    color: white;
}

/* 理念セクション */
.philosophy-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.philosophy-main {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.philosophy-main h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
}

.philosophy-main h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 2px;
}

.philosophy-main p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

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

.philosophy-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.philosophy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.philosophy-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.philosophy-item:hover .philosophy-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

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

.philosophy-item h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.philosophy-item p {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 1rem;
}

/* 会社概要セクション */
.company-section {
    padding: 6rem 0;
    background: white;
}

.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.company-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 500;
}

/* 会社詳細情報テーブル */
.company-details {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

.company-info-table {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    min-width: 120px;
}

.info-value {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}



/* フッター */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .brand-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 2rem;
        max-width: 100%;
    }

    .brand-link {
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
    }

    .brand-info h3 {
        font-size: 1.1rem;
    }

    .brand-info p {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .philosophy-main {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }

    .philosophy-main h4 {
        font-size: 1.6rem;
    }

    .philosophy-main p {
        font-size: 1rem;
    }

    .philosophy-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .philosophy-item {
        padding: 2rem 1.5rem;
    }

    .company-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .company-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .info-label {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .info-value {
        font-size: 0.9rem;
    }



    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 2rem;
    }


}

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

.service-card,
.company-text,
.company-details,
.philosophy-main,
.philosophy-item {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.philosophy-item:nth-child(1) { animation-delay: 0.1s; }
.philosophy-item:nth-child(2) { animation-delay: 0.2s; }
.philosophy-item:nth-child(3) { animation-delay: 0.3s; }

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}
