* {
    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;
}

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

/* ヘッダー右側のコンテナ */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ハンバーガーボタン */
.hamburger {
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    transition: transform 0.3s;
    z-index: 1001;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s;
}

/* ハンバーガーメニューが開いている時のアニメーション */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* サイドメニュー */
.side-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 20px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    z-index: 999;
    padding-top: 100px;
    overflow-y: auto;
}

.side-menu.active {
    right: 0;
}

.side-menu nav {
    padding: 20px;
}

.side-menu nav a {
    display: block;
    padding: 16px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
}

.side-menu nav a:hover {
    background: #f0f7ff;
    color: #2b7de9;
    padding-left: 25px;
}

.side-menu nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: #2b7de9;
    border-radius: 2px;
    transition: height 0.3s;
}

.side-menu nav a:hover::before {
    height: 60%;
}

/* オーバーレイ */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 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;
}

.simple-hero img {
    width: 60%;
}

/* 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-img {
  width: 100%;
  text-align: center;
}

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

.howto-table-img
{
    width: 40px;
    background-color: black;
}

/* 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-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;
}

.development-grid a
{
    text-decoration: none;
    color: inherit;
}

.development-grid a:visited {
    color: inherit;
}

.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;
}

.footer-copyright a {
    color: #2b7de9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #4a9ff5;  /* ホバー時は少し明るく */
}

/* 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;
}

.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;
}

/* 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 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;
}

/* License */
.license-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.license-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.license-card.featured {
    border: 3px solid #2b7de9;
    transform: scale(1.05);
}

.license-card.featured:hover {
    transform: translateY(-5px) scale(1.05);
}

.license-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #2b7de9;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
}

.license-card-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.license-card h3 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 10px;
}

.license-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.license-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    flex-grow: 1;
}

.license-features li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.license-features li.positive::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 1.2rem;
}

.license-features li.negative::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #f44336;
    font-weight: bold;
    font-size: 1.2rem;
}

.license-features li.negative {
    color: #999;
}

.license-action {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.check-mark {
    color: #4caf50;
    font-weight: bold;
}

.cross-mark {
    color: #f44336;
    font-weight: bold;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.error {
    background: #ffebee;
    border-left: 4px solid #f44336;
    padding: 20px;
    margin: 20px auto;
    border-radius: 4px;
    max-width: 1000px;
    color: #c62828;
}

.price-section {
    background: #f0f7ff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.price-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2b7de9;
    margin-bottom: 15px;
}

.price-list {
    list-style: none;
    padding: 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.price-label {
    color: #555;
    font-size: 0.95rem;
}

.price-value {
    color: #2b7de9;
    font-weight: bold;
    font-size: 1.1rem;
}

.free-price {
    color: #4caf50;
}

/* tech guide */
.guide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Grid Section */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.guide-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.guide-card-header {
    background: linear-gradient(135deg, #2b7de9 0%, #4a9ff5 100%);
    color: white;
    padding: 30px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}


.guide-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.guide-card-icon img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.guide-card-title {
    font-size: 1.4rem;
    font-weight: bold;
}

.guide-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}

/* 画像がある場合 */
.guide-card-body img {
    flex: 0 0 50%;
    max-width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.guide-card-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

/* 画像がない場合は100%幅 */
.guide-card-body:not(:has(img)) .guide-card-desc {
    flex: 1 1 100%;
    max-width: 100%;
}

.guide-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    background: #f0f7ff;
    color: #2b7de9;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.guide-card-link {
    color: #2b7de9;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.guide-card:hover .guide-card-link {
    gap: 12px;
}

.guide-card-link::after {
    content: "→";
}

/* Category Section */
.category-section {
    background: white;
    padding: 50px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #2b7de9;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

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

.guide-grid a,
.category-grid a {
    text-decoration: none;
    color: inherit;
}

.guide-grid a:visited,
.category-grid a:visited {
    color: inherit;
}

.category-item:hover {
    transform: translateX(5px);
    background: #f0f7ff;
}

.category-item h4 {
    color: #2b7de9;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.category-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 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) {
    .side-menu {
        width: 280px;
        right: -280px;
    }
    
    .header-right {
        gap: 15px;
    }
    
    .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;
    }

    .simple-hero img {
        width: 80%;
    }
    .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;
    }

    .license-card.featured {
        transform: scale(1);
    }

    .license-card.featured:hover {
        transform: translateY(-5px) scale(1);
    }

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

    .guide-container {
        padding: 40px 20px;
    }

    .category-section {
        padding: 30px 20px;
    }

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

    .guide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .guide-card-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .guide-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .guide-card-title {
        font-size: 1.2rem;
    }

    /* guide-card-bodyをモバイルで縦並びに */
    .guide-card-body {
        flex-direction: column;
        padding: 20px;
    }

    .guide-card-body img {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        margin-bottom: 15px;
    }

    .guide-card-desc {
        margin-bottom: 15px;
    }

    .guide-card-tags {
        margin-bottom: 12px;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-item {
        padding: 15px;
    }
}    
