@charset "UTF-8";

/* ==========================================================================
   リセット & グローバル設定
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --bg-base: #ffffff;
    --bg-gray: #f8f9fc;
    --bg-dark: #0a0f1a;
    --text-main: #1a1a1a;
    --text-sub: #555c66;
    --accent-blue: #0052cc;
    --accent-cyan: #00c6ff;
    --border-light: rgba(0, 0, 0, 0.06);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.8;
    /* 見切れを防ぐ安全な折り返し設定 */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.en-title {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.1em;
}

.text-blue {
    color: var(--accent-blue);
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ★PCでのみ改行し、スマホでは自然に折り返すためのクラス */
br.pc {
    display: block;
}

/* ==========================================================================
   セクション共通設定
   ========================================================================== */
section {
    padding: 100px 5% 100px 5%;
    position: relative;
}

.bg-gray {
    background-color: var(--bg-gray);
}

.sec-title {
    text-align: center;
    margin-bottom: 50px;
}

.sec-title .en {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-blue);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    font-weight: 500;
}

.sec-title .jp {
    font-size: 2.2rem;
    margin: 0;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

/* ==========================================================================
   スマートヘッダー & ナビゲーション
   ========================================================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-hidden {
    transform: translateY(-100%);
}

.logo {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.1em;
    font-family: 'Oswald', sans-serif;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 1px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

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

nav a:hover::after {
    width: 100%;
}

.header-install-btn {
    padding: 12px 30px;
    font-size: 0.85rem;
    border-radius: 50px;
}

/* 共通ボタン設定 */
.btn {
    background: linear-gradient(135deg, var(--accent-blue), #0077ff);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn:hover {
    box-shadow: 0 10px 20px rgba(0, 82, 204, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--bg-gray);
    transform: translateY(-2px);
}

/* ==========================================================================
   メインスライダー & HERO セクション
   ========================================================================== */
.slider-outer {
    padding: 100px 20px 0 20px;
    box-sizing: border-box;
}

.slider-container {
    position: relative;
    min-height: calc(100vh - 80px);
    overflow: hidden;
    border-radius: 20px;
}

.slider-track {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

.slide-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
}

.slide-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(10, 15, 26, 0.95) 0%, transparent 100%);
    z-index: 1;
}

.slide-gradient-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 15, 26, 0.98) 0%, transparent 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    z-index: 2;
}

.slide-content.bottom-left {
    bottom: 0;
    left: 0;
    padding: 80px 100px;
}

.slide-content.center-left {
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    padding: 0 100px;
}

.hero-label {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    color: var(--accent-cyan);
    margin-bottom: 25px;
    border-left: 3px solid var(--accent-blue);
    padding-left: 15px;
    font-weight: 500;
}

.hero-title {
    font-size: 5.2rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 25px 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.text-gradient {
    background: linear-gradient(to right, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    line-height: 1.8;
    max-width: 600px;
}

.btn-primary {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 16px 45px;
    font-weight: 500;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 82, 204, 0.4);
}

.vision-title {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 0 0 30px 0;
    text-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.vision-title .text-accent {
    background: linear-gradient(135deg, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vision-description {
    font-size: 1.05rem;
    line-height: 2.2;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: 25px;
    max-width: 600px;
}

/* ==========================================================================
   USE CASES (ミニマル・ホワイトレイアウト)
   ========================================================================== */
.square-grid-container {
    display: grid;
    /* ★4列から2列に変更し、1枚を大きく見せる */
    grid-template-columns: repeat(2, 1fr);
    /* ★余白（gap）を広げてゆとりを持たせる */
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.square-card {
    position: relative;
    /* ★四角い枠（aspect-ratio）を外し、高さ自由にする */
    height: auto;
    background: transparent; /* 背景は透明に */
    display: flex;
    flex-direction: column;
    align-items: center; /* 中央揃え */
    overflow: visible; /* 画像の影などが切れないようにする */
}

/* ★画像そのもののスタイリング */
.use-case-img {
    width: auto;
    max-width: 90%; /* 横幅は少し余裕を持たせる */
    height: auto;
    max-height: 350px; /* PCで美しいサイズ感に固定 */
    display: block;
    margin-bottom: 30px; /* 画像とテキストの距離 */
    border-radius: 8px; /* 好みで角を少し丸く */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s;
    /* ★白背景に溶け込むよう、影はごく薄く設定 */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

/* ホバーした時のアニメーション（ふわっと浮き上がる） */
.square-card:hover .use-case-img {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 82, 204, 0.08); /* 青みを帯びた薄い影 */
}

.square-content {
    /* ★ overlaid position (absoluteなど) を解除 */
    position: static;
    width: 100%;
    padding: 0;
    background: transparent;
    text-align: center;
    color: var(--text-main); /* 文字を黒に戻す */
}

.square-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.square-content p {
    font-size: 1rem;
    margin: 0;
    color: var(--text-sub);
    line-height: 1.8;
}

/* ==========================================================================
   AI FEATURES
   ========================================================================== */
#ai-features {
    position: relative;
    background-color: var(--bg-base);
    overflow: hidden;
}

.ai-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.08) 0%, transparent 65%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.ai-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ai-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-sub);
    margin-bottom: 60px;
}

.modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.ai-card {
    background: transparent;
    border-radius: 24px;
    padding: 2px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.ai-card-inner {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 22px;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ai-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-light);
}

.ai-card-body {
    padding: 30px;
    text-align: left;
    flex-grow: 1;
}

.ai-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--text-main);
}

.ai-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-sub);
    margin: 0;
}

.ai-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    box-shadow: 0 20px 40px rgba(0, 198, 255, 0.15);
}

.ai-card:hover .ai-card-body {
    background: linear-gradient(145deg, #ffffff, #f4f9ff);
}

/* ==========================================================================
   モダン・ダーク CTAバナー (文字の改行を最適化)
   ========================================================================== */
.cta-banner-wide-wrapper {
    margin-top: 120px;
    max-width: 1200px; /* 全体の枠を広げてゆとりを出す */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    text-align: left;
}

.cta-banner-split {
    display: flex;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.cta-banner-split:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.cta-banner-left {
    flex: 1.3;
    padding: 60px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #151d2d 100%);
}

.cta-content-inner {
    max-width: 650px;
}

.cta-badge {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--accent-cyan);
    background: rgba(0, 198, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 500;
}

.cta-banner-left h3 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.cta-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
    word-break: normal; /* 単語の途中で切れるのを防ぐ */
    overflow-wrap: normal;
}

.cta-banner-right {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.cta-split-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    opacity: 0.8;
}

.cta-banner-split:hover .cta-split-image {
    transform: scale(1.05);
}

.cta-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #151d2d 0%, transparent 30%);
}

.cta-banner-action-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.btn-premium-wide {
    background: #ffffff;
    color: var(--text-main);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-premium-wide:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    background: var(--bg-gray);
}

.btn-premium-wide .arrow {
    transition: transform 0.3s;
}

.btn-premium-wide:hover .arrow {
    transform: translateX(5px);
}

.cta-microcopy-light {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    padding-left: 10px;
}

/* ==========================================================================
   WORKFLOW (タブエリア)
   ========================================================================== */
.style-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.selector-btn {
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 25px 30px;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.4s ease;
    flex: 1;
    max-width: 220px;
}

.selector-btn:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.selector-btn.active {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 25px rgba(0, 82, 204, 0.1);
    background: linear-gradient(to bottom, #ffffff, #f0f5ff);
}

.selector-btn .icon {
    font-size: 2.5rem;
}

.selector-btn .label {
    font-weight: 500;
    color: var(--text-main);
    text-align: center;
}

.selector-btn .label small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 5px;
    opacity: 0.8;
}

.detail-block {
    display: none;
    padding: 20px 0;
    animation: fadeInTab 0.6s forwards;
}

.detail-block.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.detail-header .tag {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    color: var(--accent-blue);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.detail-header h3 {
    font-size: 1.6rem;
    margin: 0;
    font-weight: 500;
}

.step-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.step-box {
    flex: 1;
    background: #fff;
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.step-box h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-box p {
    font-size: 0.9rem;
    margin: 0 auto;
    line-height: 1.6;
    color: var(--text-sub);
}

/* ==========================================================================
   ECOSYSTEM (ASSETS)
   ========================================================================== */
.ecosystem-centered {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 50px auto;
}

.ecosystem-description {
    font-size: 1.05rem;
    color: var(--text-sub);
    line-height: 1.8;
    margin-bottom: 35px;
}

.ecosystem-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ecosystem-tags li {
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.ecosystem-tags li:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.08);
}

.marquee-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    display: flex;
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollMarquee 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track img {
    width: 300px;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease;
}

.marquee-track img:hover {
    transform: scale(1.03);
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); }
}

/* ==========================================================================
   PRICING & DOWNLOAD (1画面に美しく収まるコンパクト設計)
   ========================================================================== */
#pricing, #download {
    padding-top: 80px; /* 100pxから縮小して画面への収まりを改善 */
    padding-bottom: 80px;
    background: #ffffff;
    height: auto;
    min-height: auto;
}

.compact-grid {
    display: grid;
    gap: 0;
    margin: 0 auto;
    width: 100%;
    background: #fff;
    border-radius: 20px; /* 丸みを少しシャープに */
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 20, 50, 0.05); /* 影を少し控えめに */
    border: 1px solid var(--border-light);
}

/* ★全体の横幅を少し狭めて引き締める */
#pricing .compact-grid { grid-template-columns: repeat(3, 1fr); max-width: 880px; }
#download .compact-grid { grid-template-columns: repeat(2, 1fr); max-width: 780px; }

.pricing-card, .store-card-vertical {
    padding: 40px 25px; /* 上下左右の余白をダイエット (旧: 50px 35px) */
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

.pricing-card:first-child { border-radius: 20px 0 0 20px; }
.pricing-card:last-child { border-radius: 0 20px 20px 0; border-right: none; }
.store-card-vertical:first-child { border-radius: 20px 0 0 20px; }
.store-card-vertical:last-child { border-radius: 0 20px 20px 0; border-right: none; }

.featured-plan {
    background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
    box-shadow: inset 0 0 30px rgba(0, 82, 204, 0.02);
    z-index: 2;
}

.card-top .en-title, .store-card-vertical .en-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-sub);
    margin-bottom: 10px;
}

.featured-plan .en-title { color: var(--accent-blue); }

.price {
    font-size: 2.4rem; /* 2.8remから縮小し、圧迫感を減らす */
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.price-sub {
    font-size: 0.75rem;
    color: var(--text-sub);
    margin-bottom: 0;
}

.pricing-features {
    list-style: none;
    padding: 20px 0; /* 余白を削減 */
    margin: 0 0 20px 0;
    border-top: 1px solid var(--border-light);
    flex-grow: 1;
}

.pricing-features li {
    font-size: 0.8rem; /* リストの文字も少しスリムに */
    padding: 8px 0;
    color: var(--text-sub);
    border-bottom: 1px dashed rgba(0,0,0,0.05);
}

.pricing-features li:last-child { border-bottom: none; }

.price-badge-modern {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    padding: 4px 16px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 6px 12px rgba(0, 82, 204, 0.1);
    z-index: 10;
    letter-spacing: 0.1em;
}

.price-badge-modern.expansion {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #fff;
    border: none;
    box-shadow: 0 6px 16px rgba(0, 198, 255, 0.2);
}

.small-btn {
    padding: 12px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 12px;
    width: 100%;
}

/* インストール専用装飾 */
.store-device-icon {
    font-size: 2.8rem; /* アイコンを少し小さく */
    margin-bottom: 10px;
}

.store-desc {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-bottom: 25px;
    line-height: 1.6;
}

.store-btns-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 180px; /* ボタン幅をスリムに */
    margin: 0 auto;
}

.store-btn-img { width: 100%; }
.store-btn-img img { width: 100%; height: auto; transition: 0.3s; }
.store-btn-img:hover img { opacity: 0.8; }
.steam-btn, .win-btn { border-radius: 8px; padding: 10px; font-size: 0.8rem; color: #fff; text-decoration: none; width: 100%; display: inline-block; }
.steam-btn { background: #1b2838; }
.win-btn { background: #0078d4; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    padding: 50px;
    background: var(--bg-dark);
    color: #fff;
    text-align: center;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: 0.3s;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
}

/* ==========================================================================
   レスポンシブ対応（スマホ・タブレット完全対応）
   ========================================================================== */
@media (max-width: 992px) {
    .modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    /* スマホではPC用の意図的な改行を無効化し、自然に折り返す */
    br.pc {
        display: none;
    }
    
    section {
        padding: 60px 5% 80px 5%;
    }
    
    .hero-title {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    @media (max-width: 768px) {
    .square-grid-container {
        grid-template-columns: 1fr; /* スマホでは縦1列 */
        gap: 50px;
        padding: 0 15px;
    }
    .use-case-img {
        max-height: 250px; /* スマホでは少し小さく */
    }
    .square-content h3 {
        font-size: 1.4rem;
    }
}
    
    /* ダークバナーのスマホ対応 */
    .cta-banner-split {
        flex-direction: column;
    }
    .cta-banner-right {
        height: 250px;
        order: -1;
    }
    .cta-banner-left {
        padding: 40px 30px;
    }
    .cta-banner-left h3 {
        font-size: 2.2rem;
    }
    .cta-image-overlay {
        background: linear-gradient(to bottom, #151d2d 0%, transparent 40%);
    }
    .btn-premium-wide {
        width: 100%;
        justify-content: center;
    }

    /* ASSETSタグのスマホ対応 */
    .ecosystem-tags {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }
    .ecosystem-tags li {
        font-size: 0.85rem;
        padding: 10px 10px;
        text-align: center;
    }

    /* 料金表・インストールのスマホ対応 */
    .compact-grid {
        grid-template-columns: 1fr !important;
        max-width: 400px !important;
        gap: 25px;
        box-shadow: none;
        background: transparent;
        border: none;
    }
    
    .pricing-card, .store-card-vertical {
        border: 1px solid var(--border-light);
        border-radius: 20px !important;
        background: #fff;
        padding: 40px 25px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.04);
    }
}