/* Chosen Palette: Warm Neutrals */
body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: #f4f4f5; /* Zinc 100 */
    color: #18181b; /* Zinc 900 */
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Main Container */
.app-container {
    max-width: 1024px; /* 最大幅を設定 */
    margin: 0 auto; /* 中央寄せ */
    padding: 1rem; /* パディング */
}
@media (min-width: 768px) {
    .app-container {
        padding: 2rem; /* デスクトップ表示でのパディング */
    }
}

/* Section Spacing */
section {
    margin-bottom: 3rem; /* セクション間の余白 */
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 2rem;
}
.hero-title-wrapper {
    margin-bottom: 2rem; /* タイトルとサブタイトルの下の余白 */
}
.hero-title {
    font-size: 2.25rem; /* テキストサイズ */
    line-height: 2.5rem;
    font-weight: 700; /* 太字 */
    color: #18181b;
    margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem; /* デスクトップ表示でのテキストサイズ */
        line-height: 1;
    }
}
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0d9488;
}
.hero-grid {
    display: grid;
    gap: 2rem; /* グリッドアイテム間のギャップ */
    align-items: center; /* 垂直方向中央揃え */
}
@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2列レイアウト */
    }
}
.hero-image-wrapper {
    width: 100%;
    align-content: center;
}
.hero-image {
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* 影 */
    width: 100%;
    height: auto;
    object-fit: cover;
    /* aspect-ratio: 1 / 1; 正方形 */
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1); /* ホバーアニメーション用 */
}
.hero-content-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.hero-description {
    color: #52525b;
    margin-bottom: 1.5rem;
}
.hero-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* リストアイテム間の余白 */
    color: #3f3f46;
}
.hero-feature-item {
    display: flex;
    align-items: center;
}
.hero-feature-icon {
    width: 1.25rem;
    height: 1.25rem;
    background-color: #0d9488;
    border-radius: 9999px; /* 円形 */
    margin-right: 0.75rem;
    display: inline-block;
}
.hero-cta-button {
    width: 100%;
    display: inline-block;
    text-align: center;
    background-color: #0d9488;
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}
.hero-cta-button:hover {
    background-color: #0f766e;
}

/* Image Gallery */
.image-gallery {
    margin-bottom: 3rem; /* セクション間の余白 */
}
.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4列グリッド */
    gap: 0.5rem;
}
@media (min-width: 640px) {
    .thumbnails-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr)); /* モバイルでの7列グリッド */
    }
}
.thumbnail-item {
    cursor: pointer;
    border-radius: 0.375rem;
    border: 2px solid transparent;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.thumbnail-item:hover {
    border-color: #14b8a6;
}
.thumbnail-item.active-thumbnail {
    border-color: #14b8a6; /* アクティブなサムネイルの枠線 */
}


/* Spec Table */
.spec-table-section {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    margin-bottom: 3rem; /* セクション間の余白 */
}
.spec-table-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}
.spec-table-wrapper {
    overflow-x: auto; /* テーブルがはみ出す場合にスクロール */
}
.spec-table {
    width: 100%;
    min-width: 640px; /* テーブルの最小幅 */
    text-align: left;
    border-collapse: collapse; /* 罫線の重複を防ぐ */
}
.spec-table-row {
    border-bottom: 1px solid #e4e4e7;
}
.spec-table-row:last-child {
    border-bottom: none; /* 最後の行には下線なし */
}
.spec-table-item-header {
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #52525b;
}
.spec-table-item-value {
    padding: 0.75rem 1rem;
}
.spec-notes-badge {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    background-color: #fde68a;
    color: #b45309;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    display: inline-block; /* インライン要素として表示 */
}

/* Features Section */
.features-section {
    margin-bottom: 3rem; /* セクション間の余白 */
}
.features-section-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}
.features-tabs-nav-wrapper {
    border-bottom: 1px solid #d4d4d8;
    margin-bottom: 1rem;
}
.features-tabs-nav {
    display: flex;
    flex-wrap: wrap; /* ボタンが収まらない場合に折り返す */
}
.tab-button {
    padding: 0.75rem 1rem;
    font-weight: 500;
    font-size: 1.125rem;
    border-bottom: 4px solid transparent; /* 初期状態のアンダーライン */
    color: #71717a;
    text-decoration: none;
    transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap; /* ボタンのテキストが折り返されないようにする */
}
.tab-button:hover {
    color: #0f766e;
    border-color: #99f6e4;
}
.tab-button.active-tab {
    border-color: #0d9488;
    color: #0d9488;
    background-color: #f0fdfa;
}
.feature-content-panel {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    min-height: 300px;
    line-height: 1.75;
}

/* Performance Chart Section */
.performance-chart-section {
    margin-bottom: 3rem; /* セクション間の余白 */
}
.performance-chart-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}
.performance-chart-container-wrapper {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
.performance-chart-description {
    text-align: center;
    color: #52525b;
    margin-bottom: 1rem;
}
.chart-canvas-container {
    position: relative;
    width: 100%;
    max-width: 500px; /* チャートの最大幅 */
    margin-left: auto;
    margin-right: auto; /* 中央寄せ */
    height: 350px; /* 基本の高さ */
    max-height: 400px; /* 最大高さ */
}
@media (min-width: 768px) {
    .chart-canvas-container {
        height: 400px; /* デスクトップ表示での高さ */
    }
}


/* Final CTA Section */
.cta-section {
    text-align: center;
    background-color: #27272a;
    color: #fff;
    padding: 2rem;
    margin-bottom: 0rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.cta-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.cta-description {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}
.cta-button {
    display: inline-block;
    background-color: #14b8a6;
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 2.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.125rem;
}
.cta-button:hover {
    background-color: #0f766e;
}
img {
    max-width: 100%; /* 画像の最大幅を100%に設定 */
    height: auto; /* 高さは自動調整 */
}

/* GPU section */
.gpu-detail-title {
    font-size: 1.837rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

/* --- レイアウト --- */


/* --- カードスタイル --- */
.card {
    background-color: #ffffff;
    padding: 1.5rem; /* p-6 */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    margin-bottom: 2rem; /* mb-8 */
}

/* --- テキストスタイル --- */
.gpu-name-display {
    font-size: 1.5rem; /* text-2xl */
    line-height: 2rem;
    font-weight: 700; /* font-bold */
    text-align: center;
    margin-bottom: 0.5rem; /* mb-2 */
}

.gpu-maker-display {
    text-align: center;
    color: #6b7280; /* text-gray-500 */
    margin-bottom: 1.5rem; /* mb-6 */
}

.score-container {
    text-align: center;
    margin-bottom: 1.5rem; /* mb-6 */
}

.score-label {
    font-size: 1.125rem; /* text-lg */
    line-height: 1.75rem;
    font-weight: 500; /* font-medium */
    color: #4b5563; /* text-gray-600 */
}

.score-value {
    font-size: 3rem; /* text-5xl */
    line-height: 1;
    font-weight: 700; /* font-bold */
    color: #4f46e5; /* text-indigo-600 */
}

.gpu-description {
    color: #374151; /* text-gray-700 */
    line-height: 1.625; /* leading-relaxed */
}

.section-title {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem; /* mb-6 */
}

/* --- グラフ --- */
.chart-container {
    position: relative;
    height: 24rem; /* h-96 */
}

/* --- レスポンシブ対応 --- */
@media (min-width: 640px) {
    body {
        padding: 2rem;
    }
    .card {
        padding: 2rem; /* sm:p-8 */
    }
    .gpu-name-display {
        font-size: 1.875rem; /* sm:text-3xl */
        line-height: 2.25rem;
    }
}