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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
.header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-switcher a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.language-switcher a:hover {
    color: #2b7de9;
}

.language-switcher span {
    color: #ccc;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, #2b7de9 0%, #4a9ff5 50%, #ffffff 100%);
    color: white;
    padding: 80px 20px 120px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 500px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 30px;
}

.hero-text p {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    opacity: 0.95;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
}

.btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: bold;
    max-width: 100%;
    box-sizing: border-box;
}

.btn-primary {
    background: white;
    color: #2b7de9;
}

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

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}

/* App Store Buttons */
.app-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.app-store-badge {
    display: inline-block;
    transition: all 0.3s ease;
}

.app-store-badge:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.google-play-badge-ja img {
    height: 55px;
    width: auto;
}

.google-play-badge-en img {
    height: 70px;
    width: auto;
}

.apple-store-badge-ja img {
    height: 60px;
    width: auto;
}

.apple-store-badge-en img {
    height: 50px;
    width: auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}


/* Simple Hero */
.simple-hero {
    background: linear-gradient(135deg, #2b7de9 0%, #4a9ff5 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.simple-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.simple-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.simple-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* description Section */
.description {
  padding: 80px 20px;
  background: white;
}

.description-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* モバイルで縦並び */
  align-items: center;
  gap: 2rem;
}

.description-text {
  width: 100%;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.description-text p {
  margin-bottom: 1.2rem;
}

.description-text strong {
  color: #0077cc;
  font-weight: 600;
}

.description-img {
  width: 100%;
  text-align: center;
}

.description-img img {
  width: 100%;
  max-width: 900px; /* 同じ幅に制限 */
  height: auto;
  display: block;
  margin: 0 auto;
}

/* PC画面では横並びに */
@media (min-width: 992px) {
  .description-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .description-text, .description-img {
    flex: 1;
    max-width: 50%; /* 半分ずつの幅に揃える */
  }

  .description-text {
    padding-right: 2rem;
  }
}
/* Features Section */
.features {
    padding: 80px 20px;
    background: #f8f9fa;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card-link:hover .feature-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2b7de9 0%, #4a9ff5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* Steps Section */
.steps {
    padding: 80px 20px;
    background: white;
}

.steps-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
}

.step-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.step-card-link:hover .step-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
}

.step-card {
    text-align: center;
    padding: 30px;
}

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

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2b7de9 0%, #4a9ff5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.step-card p {
    color: #666;
    line-height: 1.8;
}

/* AICAP Startup Section */
.aicap-startup {
  background: #f0f7ff;
  padding: 80px 20px;
}

.startup-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.startup-text {
  flex: 1;
  min-width: 300px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.startup-text strong {
  color: #2b7de9;
}

.startup-image {
  flex: 1;
  text-align: center;
}

.startup-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Development Section */
.development {
    padding: 80px 20px;
    background: #f8f9fa;
}

.development-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.development-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.step-development-link:hover .development-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
}

.development-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.development-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2b7de9 0%, #4a9ff5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.development-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.development-card p {
    color: #666;
    line-height: 1.8;
}

.sub-button-guide {
    text-align: center;
    margin: 40px 0;
}

.sub-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #2b7de9;
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}

.sub-btn:hover {
    background-color: #1a5fb8;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

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

.footer-links a:hover {
    color: #2b7de9;
}

.footer-copyright {
    color: #999;
    font-size: 0.9rem;
}

/* Download Section */
.download-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.download-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.download-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.download-card.featured {
    border: 3px solid #2b7de9;
}

.version-badge {
    position: absolute;
    top: -15px;
    right: 40px;
    background: #2b7de9;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.download-card h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.release-date {
    color: #666;
    margin-bottom: 30px;
}

.download-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.info-item {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #333;
    margin-right: 10px;
}

.hash-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hash-value {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    background: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    word-break: break-all;
    flex: 1;
    min-width: 200px;
    color: #666;
}

.copy-btn {
    background: #2b7de9;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.copy-btn:hover {
    background: #1a5fc7;
}

.copy-btn.copied {
    background: #4caf50;
}

.copy-btn svg {
    flex-shrink: 0;
}

.features-list {
    margin-bottom: 30px;
}

.features-list h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2b7de9;
    font-weight: bold;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-right: 15px;
    margin-top: 10px;
}

.download-btn.primary {
    background: #2b7de9;
    color: white;
}

.download-btn.primary:hover {
    background: #1a5fc7;
    transform: translateY(-2px);
}

.download-btn.secondary {
    background: white;
    color: #2b7de9;
    border: 2px solid #2b7de9;
}

.download-btn.secondary:hover {
    background: #f0f7ff;
}
.burn-guide-section {
    text-align: center;
    margin: 40px 0;
}

.burn-guide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #2b7de9;
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}

.burn-guide-btn:hover {
    background-color: #1a5fb8;
}

/* How to Install */

.toc-section {
    background: #f8f9fa;
    padding: 40px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.toc-container {
    max-width: 1000px;
    margin: 0 auto;
}

.toc-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.toc-item {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #2b7de9;
    transition: all 0.3s ease;
}

.toc-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.toc-item a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.toc-number {
    background: #2b7de9;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Content Section */
.content-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.step-section {
    margin-bottom: 80px;
    scroll-margin-top: 80px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2b7de9;
}

.step-number-large {
    background: linear-gradient(135deg, #2b7de9 0%, #4a9ff5 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-title {
    font-size: 2rem;
    color: #333;
}

.step-content {
    padding-left: 80px;
}

.step-content h3 {
    font-size: 1.3rem;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.step-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.step-content ul, .step-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.step-content li {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #555;
}

.step-content li strong {
    color: #333;
}

/* Info Boxes */
.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.info-box.warning {
    background: #fff3e0;
    border-left-color: #ff9800;
}

.info-box.success {
    background: #e8f5e9;
    border-left-color: #4caf50;
}

.info-box.danger {
    background: #ffebee;
    border-left-color: #f44336;
}

.info-box-title {
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box-title svg {
    width: 20px;
    height: 20px;
}

/* Code Block */
.code-block {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #333;
    display: block;
    white-space: pre;
}

.code-label {
    position: absolute;
    top: 8px;
    right: 15px;
    background: #2b7de9;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Image Placeholder */
.image-placeholder {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
    color: #999;
    margin: 30px 0;
}

.image-placeholder svg {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    fill: #ccc;
}

/* Download Link */
.download-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2b7de9;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 20px 0;
}

.download-link:hover {
    background: #1a5fc7;
    transform: translateY(-2px);
}

.download-link svg {
    width: 20px;
    height: 20px;
}

/* Sub-steps */
.sub-step {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.sub-step:first-child {
    margin-top: 20px;
}

.sub-step h3 {
    font-size: 1.4rem;
    color: #2b7de9;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sub-step-number {
    background: #e3f2fd;
    color: #2b7de9;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
}

.sub-step h4 {
    font-size: 1.1rem;
    color: #333;
    margin-top: 25px;
    margin-bottom: 12px;
}

.sub-step ul {
    margin-left: 20px;
}

.sub-step p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.sub-step ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.sub-step li {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #555;
}

.sub-step li strong {
    color: #333;
}

/* Sub-step Layout */
.sub-step-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.sub-step-text {
    flex: 1;
    min-width: 0;
}

.sub-step-image {
    flex: 0 0 350px;
    text-align: center;
}

.sub-step-image img {
    width: 100%;
    height: auto;
}

/* コマンド説明ページ */
/* コマンドカード型 */
.command-card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}
.command-card {
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}
.command-card-title {
    background-color: #4a90e2;
    color: white;
    font-size: 1.5em;
    padding: 15px 20px;
    font-weight: bold;
}
.command-card-content {
    padding: 20px;
}
.command-card-content h4 {
    margin-top: 15px;
    color: #333;
}
/* テーブルスタイル */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}
th {
    background-color: #f0f0f0;
}
tr:nth-child(even) {
    background-color: #fafafa;
}
/* シェル風コード */
pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 14px;
}
pre code {
    color: inherit;
}
/* ページタイトルセクション */
.page-title {
    margin: 20px 0;
    text-align: center;
}

/* PC画面では横並びに */
@media (min-width: 992px) {
  .description-content {
    flex-direction: row;
    align-items: center; /* 画像とテキストを縦中央揃え */
    justify-content: center;
    gap: 2rem;
  }

  .description-text {
    flex: 1 1 45%;
    max-width: 600px;
    padding-right: 2rem;
  }

  .description-img {
    flex: 0 0 auto;
    min-width: 400px; /* ← これがポイント！画像を小さくしすぎない */
    max-width: 50%;
    text-align: center;
  }

  .description-img img {
    width: 100%;
    height: auto;
    max-width: 500px; /* 画像の自然な最大幅 */
  }
}
/* Responsive */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

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

    .hero-content {
        gap: 30px;
    }

    .hero-text {
        min-width: auto; /* min-widthを無効化 */
        width: 100%;
    }

    .btn {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100%; /* ボタンを横幅いっぱいに */
        text-align: center;
        white-space: normal; /* テキストを折り返し可能に */
        line-height: 1.4;
    }

    .cta-buttons {
        gap: 15px;
    }
    
    .simple-hero h1 {
        font-size: 2rem;
    }

    .startup-content {
        flex-direction: column;
    }


    .download-card {
        padding: 30px 20px;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }

    /* How to Install*/
    .step-content {
        padding-left: 0;
    }

    .step-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .step-title {
        font-size: 1.5rem;
    }

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

    .sub-step h3 {
        font-size: 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }    

    .sub-step-layout {
        flex-direction: column;
    }
    
    .sub-step-image {
        flex: 1;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }    

    .language-switcher {
        font-size: 0.85rem;
    }
    
    .language-switcher a {
        font-size: 0.85rem;
    }
}    
