/* 基本設定 */
:root {
    --primary-color: #1e73be;
    --secondary-color: #0056b3;
    --accent-color: #4CAF50;  
    --text-color: #333;
    --light-color: #f8f9fa;
    --border-color: #dee2e6;
    --shadow-color: rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

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

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

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

/* ヘッダー */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

header .tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ナビゲーション */
nav {
    background-color: white;
    box-shadow: 0 2px 5px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav li {
    margin: 0 15px;
}

nav a {
    display: block;
    padding: 15px 10px;
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* メインコンテンツ */
main {
    padding: 40px 0;
}

section {
    margin-bottom: 60px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

h4 {
    font-size: 1.2rem;
    margin: 15px 0 10px;
    color: var(--primary-color);
}

p {
    margin-bottom: 15px;
}

ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
}

/* 事例紹介セクション */
.example {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px var(--shadow-color);
    margin-bottom: 40px;
    overflow: hidden;
}

.example h3 {
    padding: 20px;
    margin: 0;
    background-color: var(--primary-color);
    color: white;
}

.example-content {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .example-content {
        flex-direction: row;
    }
}

.image-container {
    flex: 1;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-image {
    max-width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 2px 5px var(--shadow-color);
}

.description {
    flex: 2;
    padding: 20px;
}

.description.full-width {
    flex: 1;
}

.description a {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.description a:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
}

/* フッター */
footer {
    background-color: #333;
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    header .tagline {
        font-size: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
}
