/* 合同会社AIstyle コーポレートサイト */

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* パステルグラデーションカラー */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --soft-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    
    /* テキストカラー */
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-light: #718096;
    
    /* 背景カラー */
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --bg-gray: #edf2f7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

/* ヘッダー */
header {
    background: var(--primary-gradient);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 0.5rem 1rem;
}

nav a:hover {
    opacity: 0.8;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

/* ヒーローセクション */
.hero {
    background: var(--soft-gradient);
    padding: 5rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* メインコンテンツ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-section {
    background: var(--bg-white);
    padding: 3rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid transparent;
    border-image: var(--primary-gradient);
    border-image-slice: 1;
}

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

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

/* グリッドレイアウト */
.grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid;
    border-image: var(--primary-gradient);
    border-image-slice: 1;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

/* 会社情報テーブル */
.company-info {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.company-info th,
.company-info td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--bg-gray);
}

.company-info th {
    background: var(--bg-light);
    font-weight: 600;
    width: 200px;
    color: var(--text-primary);
}

.company-info td {
    color: var(--text-secondary);
}

/* 特商法テーブル */
.tokushoho-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-white);
}

.tokushoho-table th,
.tokushoho-table td {
    padding: 1.25rem;
    text-align: left;
    border: 1px solid var(--bg-gray);
}

.tokushoho-table th {
    background: var(--bg-light);
    font-weight: 600;
    width: 250px;
    color: var(--text-primary);
}

.tokushoho-table td {
    color: var(--text-secondary);
}

/* 注意書き */
.notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.notice p {
    margin: 0.5rem 0;
    color: #856404;
}

/* フッター */
footer {
    background: var(--primary-gradient);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    line-height: 2;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 0.7;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .container {
        padding: 2rem 1rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .company-info th,
    .company-info td,
    .tokushoho-table th,
    .tokushoho-table td {
        display: block;
        width: 100%;
    }
    
    .company-info th,
    .tokushoho-table th {
        background: var(--primary-gradient);
        color: white;
        padding: 0.75rem;
    }
    
    .company-info td,
    .tokushoho-table td {
        padding: 0.75rem;
        border-bottom: 2px solid var(--bg-gray);
    }
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* アイコン */
.icon {
    margin-right: 0.5rem;
}
