:root {
    --primary: #0969da;
    --primary-hover: #0452ac;
    --secondary: #2ea043;
    --secondary-hover: #238636;
    --bg-dark: #0d1117;
    --bg-darker: #010409;
    --bg-light: #161b22;
    --bg-lighter: #21262d;
    --text: #c9d1d9;
    --text-light: #e6edf3;
    --text-muted: #8b949e;
    --border: #30363d;
    --border-light: #484f58;
    --gradient-start: #040d21;
    --gradient-end: #0c162d;
    --code-particle-color: rgba(137, 180, 249, 0.6);
    /* Code particle color */
    --terminal-bg: #1e293b;
    /* Terminal background */
    --terminal-text: #f8f8f2;
    /* Terminal text color */
    --terminal-prompt: #64ffda;
    /* Terminal prompt color */
}

/* 全般的なスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    /* スムーズスクロール */
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ヘッダー */
header {
    padding: 1rem 2rem;
    background: var(--bg-darker);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: fixed;
    /* スクロールしても固定 */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.75rem;
    color: var(--primary);
}

.logo-text {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
}

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

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

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

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.hamburger:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    /* 親要素の幅に収まるように調整 */
    height: auto;
    /* アスペクト比を維持 */
    display: block;
    /* 不要な余白を削除 */
    margin: 0 auto;
    /* 中央揃え（必要に応じて） */
    border: var(--bg-light) 1px solid;
    border-radius: 10px;
    /* 角を丸くする */
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #0c1e3e, #173d7a);
    padding: 8rem 2rem;
    /* パディングを大きく */
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    /* 最小の高さを調整 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(4, 13, 33, 0.8), rgba(12, 22, 45, 0.8));
    /* アニメーション用 */
    z-index: 1;
    animation: gradientAnimation 10s ease infinite alternate;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" fill="none" stroke="rgba(255,255,255,0.1)"><path d="M0 0h100v100H0zM100 0v100M0 100h100"/></svg>') repeat;
    opacity: 0.4;
    z-index: 2;
}

.code-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.code-particle {
    position: absolute;
    color: var(--code-particle-color);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    opacity: 0;
    animation: floatCode 4s ease-in-out infinite alternate, fadeInOut 2s ease-in-out infinite alternate;
}

@keyframes floatCode {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }

    100% {
        transform: translateY(-20px) translateX(20px) rotate(10deg);
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    /* フォントサイズを調整 */
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.hero p {
    font-size: 1.2rem;
    /* フォントサイズを調整 */
    color: var(--text);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.hero .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terminal-window {
    position: relative;
    background: var(--terminal-bg);
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: 3rem;
    overflow: hidden;
    width: 90%;
    max-width: 600px;
    z-index: 4;
}

.terminal-header {
    background: var(--bg-darker);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.terminal-dots {
    display: flex;
    gap: 0.5rem;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.terminal-title {
    color: var(--text-light);
    font-size: 0.9rem;
    flex-grow: 1;
    text-align: center;
}

.terminal-body {
    padding: 1rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--terminal-text);
    font-size: 0.9rem;
    white-space: pre-wrap;
    overflow-y: auto;
    max-height: 150px;
}

.terminal-line {
    display: block;
    margin-bottom: 0.5rem;
}

.terminal-prompt {
    color: var(--terminal-prompt);
    margin-right: 0.5rem;
}

.terminal-output {
    display: inline;
}

.typing-cursor {
    display: inline-block;
    width: 8px;
    height: 1em;
    background-color: var(--terminal-prompt);
    animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {

    from,
    to {
        background-color: transparent
    }

    50% {
        background-color: var(--terminal-prompt);
    }
}

/* 特徴セクション */
#features {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* カードの最小幅を調整 */
    gap: 3rem;
    /* ギャップを大きく */
    margin-top: 4rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-light);
    line-height: 1.6;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--text-light);
    font-weight: 700;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-card {
    display: flex;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-image {
    flex: 1;
    min-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: 600;
}

.feature-description {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
}

.feature-preview {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Project Structure Preview */
.project-structure {
    background-color: var(--terminal-bg);
    color: var(--terminal-text);
    padding: 15px;
    border: 1px solid var(--border);
}

.file-explorer {
    font-family: 'Fira Code', monospace;
    font-size: 14px;
}

.folder-item,
.file-item {
    padding: 3px 0;
}

.folder-item i {
    color: var(--primary);
}

.file-item i {
    color: var(--text-light);
}

.indent {
    margin-left: 20px;
}

.indent-2 {
    margin-left: 40px;
}

/* Code Intent Preview */
.code-window {
    background-color: var(--terminal-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.code-header {
    background-color: var(--bg-light);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.code-dots {
    display: flex;
    margin-right: 15px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.red {
    background-color: #f85149;
}

.yellow {
    background-color: #e3b341;
}

.green {
    background-color: var(--secondary);
}

.code-title {
    color: var(--text);
    font-family: 'Fira Code', monospace;
}

.code-body {
    padding: 15px;
}

.code-body pre {
    margin: 0;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    color: var(--terminal-text);
    white-space: pre-wrap;
}

.code-intent-overlay {
    background-color: rgba(13, 17, 23, 0.8);
    padding: 15px;
    border-top: 1px solid var(--border);
}

.intent-note {
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: bold;
}

.intent-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.intent-option {
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.correct {
    background-color: rgba(46, 160, 67, 0.2);
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

.wrong {
    background-color: rgba(248, 81, 73, 0.1);
    border: 1px solid #f85149;
    color: #f85149;
}

/* Test Feedback Preview */
.test-window {
    background-color: var(--terminal-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.test-header {
    background-color: var(--bg-light);
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
}

.test-title {
    font-weight: bold;
    color: var(--text-light);
}

.test-body {
    padding: 15px;
}

.test-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.test-item i {
    margin-right: 10px;
}

.success i {
    color: var(--secondary);
}

.fail i {
    color: #f85149;
}

.test-feedback-message {
    margin-top: 10px;
    padding: 10px;
    background-color: rgba(248, 81, 73, 0.1);
    border-left: 4px solid #f85149;
    color: #f85149;
}

/* Peer Review Preview */
.review-window {
    background-color: var(--terminal-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.review-header {
    background-color: var(--bg-light);
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
}

.review-title {
    font-weight: bold;
    color: var(--text-light);
}

.review-body {
    padding: 15px;
}

.reviewer {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
}

.review-code {
    background-color: var(--terminal-bg);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
}

.review-code pre {
    margin: 0;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    color: var(--terminal-text);
}

.comment {
    padding: 8px 0;
    border-top: 1px solid var(--border);
}

.commenter {
    font-weight: bold;
    color: var(--text);
}

/* Alternate the layout for odd and even cards */
.feature-card:nth-child(odd) {
    flex-direction: row;
}

.feature-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .feature-card:nth-child(odd),
    .feature-card:nth-child(even) {
        flex-direction: column;
    }

    .feature-image {
        min-width: 100%;
    }
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.7s;
}


/* コードデモセクション */
.code-demo {
    margin: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    perspective: 1200px;
    /* パースペクティブを大きく */
}

.code-editor {
    background: var(--bg-lighter);
    border-radius: 12px;
    overflow: hidden;
    max-width: 700px;
    /* 最大幅を調整 */
    width: 100%;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
    transform: rotateY(10deg);
    /* 少し回転 */
    transition: transform 0.4s ease-in-out;
}

.code-editor:hover {
    transform: rotateY(0);
}

.editor-header {
    background: var(--bg-darker);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.editor-tabs {
    display: flex;
    gap: 1.2rem;
}

.editor-tab {
    padding: 0.5rem 1rem;
    border-radius: 6px 6px 0 0;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.editor-tab.active {
    background: var(--bg-lighter);
    color: var(--text-light);
}

.editor-content {
    padding: 1.5rem;
    overflow-x: auto;
    max-height: 400px;
    /* 最大高さを設定 */
}

pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.6;
}

code {
    display: block;
}

.code-comment {
    color: var(--text-muted);
}

.code-keyword {
    color: #c792ea;
}

.code-string {
    color: #f08d49;
}

.code-function {
    color: #addb67;
}

/* 料金プランセクション */
#pricing {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.pricing-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.popular-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.pricing-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.pricing-type {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.pricing-price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features i {
    color: var(--secondary);
    font-size: 1rem;
}

.pricing-action {
    margin-top: auto;
    text-align: center;
}

.pricing-action .btn {
    width: 100%;
}

.highlight-card {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(9, 105, 218, 0.2);
    transform: scale(1.05);
}

.highlight-card:hover {
    transform: scale(1.07) translateY(-10px);
    box-shadow: 0 15px 45px rgba(9, 105, 218, 0.3);
}

/* サービス比較セクション */

.comparison {
    margin-top: 8rem;
    padding: 0 2rem;
    /* 左右の余白を追加 */
}

.comparison .section-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    text-align: center;
}

.comparison-table-container {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 4rem;
    /* 下の余白を追加 */
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    color: var(--text);
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem 1.5rem;
    /* パディングを調整 */
    text-align: center;
    /* テキストを中央揃え */
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    background: var(--bg-lighter);
    font-weight: 700;
    color: var(--text-light);
}

.comparison-table thead th:first-child {
    text-align: left;
    /* 最初のヘッダーは左寄せ */
    border-top-left-radius: 8px;
}

.comparison-table thead th:last-child {
    border-top-right-radius: 8px;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody td:first-child {
    text-align: left;
    /* 最初のデータセルは左寄せ */
    font-weight: 500;
}

.check {
    color: var(--secondary);
    font-size: 1.2rem;
    /* アイコンサイズを調整 */
}

.cross {
    color: #e57373;
    /* 赤色に変更 */
    font-size: 1.2rem;
    /* アイコンサイズを調整 */
}

.pricing-row td {
    font-weight: bold;
    /* 月額費用を目立たせる */
}

.comparison-card {
    display: none;
    /* テーブルは非表示 */
}

/* サービス比較セクションのレスポンシブ対応 */
@media (max-width: 768px) {
    .comparison-table-container {
        display: block;
    }

    .comparison-card {
        display: block;
        /* カードを表示 */
    }

    .comparison-table {
        display: none;
        /* テーブルは非表示 */
    }

    .comparison-cards {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .comparison-card {
        border: 1px solid var(--border);
        border-radius: 8px;
        margin-top: 16px;
        padding: 1.5rem;
        background: var(--bg-light);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .comparison-card-header {
        font-size: 1.3rem;
        font-weight: bold;
        margin-bottom: 1rem;
        color: var(--text-light);
    }

    .comparison-card-body {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .comparison-card-item {
        display: flex;
        justify-content: space-between;
        font-size: 0.9rem;
        color: var(--text);
    }

    .comparison-card-item .label {
        font-weight: bold;
    }
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5%;
    height: 3px;
    background-color: var(--primary);
}

@media (max-width: 600px) {
    .section-title {
        font-size: 2rem;
    }
}


.check-icon {
    color: var(--secondary);
}

.cross-icon {
    color: #e57373;
}

/* ユーザーの声セクション */
#testimonials {
    margin-top: 8rem;
    padding-top: 4rem;
    padding-bottom: 8rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.testimonials-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 3rem;
    text-align: center;
}

.testimonial-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 10;
}

.slider-arrow {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.5);
}

.slider-dots {
    text-align: center;
    margin-top: 1.5rem;
}

.slider-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
    margin: 0 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background: var(--primary);
}

/* CTAセクション */
.cta {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.cta h2 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* フッター */
footer {
    background: var(--bg-darker);
    color: var(--text-muted);
    padding: 4rem 2rem;
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo .logo {
    margin-bottom: 0.5rem;
}

.footer-logo p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom .copyright {
    font-size: 0.8rem;
}

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

.social-links a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

/* レスポンシブデザイン */
@media (max-width: 960px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-darker);
        flex-direction: column;
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border);
    }

    nav ul.open {
        display: flex;
    }

    nav li {
        margin-bottom: 1rem;
    }

    .hamburger {
        display: block;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

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

    .code-demo {
        flex-direction: column;
        align-items: stretch;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

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

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

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-content {
        font-size: 1rem;
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease-in-out;
    /* border: none;  この行を削除 */
    cursor: pointer;
    text-align: center;
    /* テキストを中央揃え */
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
}

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

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-light);
}

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


.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid #fff;
    /* 白色のボーダー */
}

.btn-outline:hover {
    background-color: var(--bg-lighter);
    color: var(--text-light);
}

/* 料金プランセクションのレスポンシブ対応 */
@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        /* カードを1列に並べる */
        gap: 1.5rem;
        /* カード間のスペースを調整 */
    }

    .pricing-card {
        padding: 1.5rem;
        /* カード内の余白を調整 */
    }

    .pricing-header {
        margin-bottom: 1.5rem;
        /* ヘッダーの余白を調整 */
    }

    .pricing-price {
        font-size: 2rem;
        /* 価格のフォントサイズを調整 */
    }

    .pricing-features li {
        font-size: 0.9rem;
        /* 特徴リストのフォントサイズを調整 */
    }
}

@media (max-width: 480px) {
    .pricing-cards {
        gap: 1rem;
        /* さらに狭い画面でのカード間のスペースを調整 */
    }

    .pricing-card {
        padding: 1rem;
        /* カード内の余白をさらに調整 */
    }

    .pricing-price {
        font-size: 1.8rem;
        /* 価格のフォントサイズをさらに調整 */
    }

    .pricing-features li {
        font-size: 0.8rem;
        /* 特徴リストのフォントサイズをさらに調整 */
    }
}

/* ユーザーの声セクションのレスポンシブ対応 */
@media (max-width: 768px) {
    #testimonials {
        padding: 4rem 1rem;
    }

    .testimonial-card {
        padding: 2rem 1rem;
    }

    .testimonial-content {
        font-size: 1rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    .author-info h4 {
        font-size: 1rem;
    }

    .author-info p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 1.5rem 0.5rem;
    }

    .testimonial-content {
        font-size: 0.9rem;
    }

    .author-avatar {
        width: 35px;
        height: 35px;
    }

    .author-info h4 {
        font-size: 0.9rem;
    }

    .author-info p {
        font-size: 0.75rem;
    }
}

/* 料金プランセクションのレスポンシブ対応 */
@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-header {
        margin-bottom: 1.5rem;
    }

    .pricing-price {
        font-size: 2rem;
    }

    .pricing-features li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pricing-cards {
        gap: 1rem;
    }

    .pricing-card {
        padding: 1rem;
    }

    .pricing-price {
        font-size: 1.8rem;
    }

    .pricing-features li {
        font-size: 0.8rem;
    }
}