/* ========================================
   どこでもバスガイド - Webサイト スタイルシート
   ======================================== */

/* CSS変数 */
:root {
    /* ベースカラー */
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-text: #000000;
    --color-text-light: #6c757d;
    --color-border: #e9ecef;

    /* アクセントカラー */
    --color-primary: #3B82F6;
    --color-primary-dark: #2563EB;
    --color-primary-light: #60A5FA;
    --color-secondary: #8B5CF6;
    --color-accent: #F59E0B;
    --color-success: #10B981;

    /* グラデーション（保持） */
    --gradient-primary: linear-gradient(135deg, #000000 0%, #2a2a2a 100%);
    --gradient-text: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);

    /* シャドウ */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* その他 */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* リセットと基本スタイル */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

/* コンテナ */
.container {

    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   ナビゲーション
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(19, 2, 38, 0.804);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 900;
    font-size: 1.2rem;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--color-primary);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    color: white !important;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-bg);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.hero-bg.fade-out {
    opacity: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(90deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: white;
    color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.hero-image {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-mockup {
    position: relative;
    animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.phone-frame {
    position: relative;
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 45px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

/* 横スクロールコンテナ */
.phone-screen-inner {
    display: flex;
    width: fit-content;
    height: 100%;
    animation: horizontal-scroll 40s linear infinite;
}

.phone-screen img {
    width: 276px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.phone-screen img.carousel-slide {
    opacity: 1;
    z-index: 1;
}

/* グラデーションマスクでつなぎ目をぼかす */
.phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to right, #fff, transparent);
    z-index: 10;
    pointer-events: none;
}

.phone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to left, #fff, transparent);
    z-index: 10;
    pointer-events: none;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.5);
    }
}

/* 横スクロール無限アニメーション */
@keyframes horizontal-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   セクション共通スタイル
   ======================================== */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   機能セクション
   ======================================== */
/* ========================================
   機能セクション
   ======================================== */
.features {
    background: var(--color-bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 0;
    /* Reset padding as we'll use flex layout */
    border-radius: var(--radius-xl);
    /* box-shadow: var(--shadow-md); Remove shadow for a cleaner look or keep it subtle */
    /* border: 1px solid var(--color-border); */
    transition: var(--transition-normal);
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    overflow: hidden;
    /* To clip content if needed */
    min-height: 200px;
    border: none;
    background: transparent;
    /* Assume transparent if we want clean look */

}

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

/* Text Content Area */
.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 1rem 1rem 0;
}

.feature-card h3 {
    font-size: 2rem;
    font-weight: 500;
    /* Lighter weight for large text */
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--color-text);
}

.feature-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: auto;
}

.feature-date,
.feature-category {
    font-weight: 500;
}




/* Visual/Image Area */
.feature-visual {
    width: 200px;
    height: 200px;
    background: #111;
    /* Dark background */
    border-radius: 30px;
    /* Large radius */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2rem;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.feature-emoji {
    font-size: 5rem;
    z-index: 2;
}

/* Gradient overlay for visual */
.feature-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.167), transparent 90%);
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        flex-direction: column-reverse;
        /* Image top on mobile? Or keep side by side but smaller? */
        align-items: center;
        text-align: center;
        background: white;
        padding: 2rem;
        border: 1px solid var(--color-border);
    }

    .feature-content {
        padding: 0;
        align-items: center;
    }

    .feature-visual {
        margin-left: 0;
        margin-bottom: 1.5rem;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .feature-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ========================================
   ペルソナセクション
   ======================================== */
.personas {
    background: white;
    /* 右側をはみ出させるためにoverflow-xを許可、ただし全体レイアウトが崩れないように注意 */
    overflow-x: clip;
    padding: 80px 0;
}

.personas-carousel-container {
    position: relative;
    width: 100%;
    /* max-width制限を解除して左端基準にする、あるいはマージン調整 */
    max-width: none;
    padding: 0 0 0 5vw;
    /* 左側に少し余白 */
    margin: 0;
}

.personas-carousel {
    position: relative;
    width: 100%;
    overflow: visible;
    display: flex;
    gap: 40px;
    /* カード間の隙間 */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    /* 中央揃えなどを解除 */
    align-items: flex-start;
    justify-content: flex-start;
    width: 120%;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

/* カードスタイル - 通常は少し小さく表示 */
.persona-card {
    position: relative;
    border-radius: 32px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    /* 全てのカードを同じサイズに */
    width: 600px;
    opacity: 0.7;
    /* 非アクティブは少し薄く */
    transform: scale(0.2);
    /* デフォルトは縮小 */
    transform-origin: center center;
    z-index: 1;
}

/* 中央のアクティブカード */
.persona-card.active {
    width: 600px;
    opacity: 1;
    transform: scale(0.9);
    /* アクティブ時もサイズは変えない */
    z-index: 10;
    /* 浮き出し効果は画像のみに適用するためここでは削除 */
}

/* アクティブカードの画像のみに強調シャドウを適用 */
.persona-card.active .persona-image-container {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* 左右の非アクティブカード */
.persona-card.prev,
.persona-card.next {
    width: 600px;
    opacity: 1;
    z-index: 5;
    pointer-events: auto;
}

/* 非表示カード */
.persona-card.hidden {
    display: flex;
    /* flexに戻す */
    opacity: 1;
}

/* 画像コンテナ */
.persona-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 32px;
    background: #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.persona-card-image {
    width: 100%;
    height: 100%;
    transform: scale(1.2);
    object-fit: cover;
    object-position: center top;
    /* バストショット */
    display: block;
    transition: transform 0.6s ease;
}

.persona-card.active:hover .persona-card-image {
    transform: scale(1.25);
}

/* 画像上のオーバーレイ - クリアな見た目に */
.persona-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 2rem 2rem;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.05);
    /* ほんの少しだけ暗くして文字の視認性を確保 */
    transition: background 0.3s;
}

/* 非アクティブなカードは少し暗くしてアクティブを目立たせる（オプション）*/
.persona-card:not(.active) .persona-card-overlay {
    background: rgba(0, 0, 0, 0.2);
}

/* キャッチコピー - 名前の上 */
.persona-overlay-catch {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: center;
}

/* ペルソナ名 - 画像中央 */
.persona-overlay-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    /* デフォルト非表示 */
    transition: opacity 0.3s;
}

.persona-card.active .persona-overlay-name {
    opacity: 1;
}

/* タイプライターカーソル */
.persona-overlay-name .typewriter-cursor {
    display: inline-block;
    width: 4px;
    height: 3.5rem;
    background: #3B82F6;
    margin-left: 8px;
    animation: cursor-blink 1s step-end infinite;
    vertical-align: sub;
}

@keyframes cursor-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* 本名は非表示 */
.persona-overlay-realname {
    display: none;
}

/* 再生ボタン - 右下 */
.persona-play-button {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    opacity: 0;
    transform: scale(0.8);
}

.persona-card.active .persona-play-button {
    opacity: 1;
    transform: scale(1);
}

.persona-play-button:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.persona-play-button svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    margin-left: 4px;
}

/* 画像下の情報エリア */
.persona-card-info {
    padding: 2rem 0.5rem 0;
    text-align: left;
    height: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.persona-card.active .persona-card-info {
    opacity: 1;
    transform: translateY(0);
}

.persona-card:not(.active) .persona-card-info {
    display: none;
    /* 非アクティブ時は隠す */
}

.persona-info-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.persona-info-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-light);
    max-width: 90%;
}

.persona-info-specialty {
    font-size: 0.875rem;
    color: var(--color-primary);
    margin-top: 0.75rem;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

/* カルーセルナビゲーション - 表示 */
/* カルーセルナビゲーション - 表示 */
.carousel-nav-bottom {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 24px;
    pointer-events: auto;
    z-index: 20;
    margin: 1rem auto 0;
    gap: 40px;
    background-color: #f3f4f6;
    width: fit-content;
    border-radius: 100px;
}

.carousel-nav {
    position: relative;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    pointer-events: auto;
    color: #333;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: none;
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-text);
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .persona-card.active {
        width: 500px;
    }

    .persona-card {
        width: 500px;
    }

    .persona-card.next {
        width: 240px;
    }

    .persona-overlay-name {
        font-size: 2.5rem;
    }
}

@media (max-width: 900px) {
    .personas-carousel {
        padding: 4rem 0 2rem;
        gap: 1rem;
    }

    .persona-card.active {
        width: 85vw;
    }

    .persona-card {
        width: 85vw;
    }

    .persona-card.prev,
    .persona-card.next {
        opacity: 0;
        width: 20px;
        pointer-events: none;
    }

    .persona-overlay-name {
        font-size: 2rem;
    }

    /* モバイルでは情報エリアのパディングを減らす */
    .persona-card-info {
        padding-top: 1.5rem;
    }


}

/* ========================================
   モーダル (ペルソナ詳細)
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    display: flex;
    overflow: hidden;
    transform: scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.modal-image-col {
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    width: 380px;
    flex-shrink: 0;
}

.modal-full-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: none;
    transition: transform 0.5s ease;
}

.modal-content:hover .modal-full-image {
    transform: scale(1.02);
}

.modal-info-col {
    padding: 60px 60px 60px 60px;
    overflow-y: auto;
    flex: 1;
    background: #fff;
    scroll-behavior: smooth;
}

/* Custom Scrollbar for modal info */
.modal-info-col::-webkit-scrollbar {
    width: 6px;
}

.modal-info-col::-webkit-scrollbar-track {
    background: transparent;
}

.modal-info-col::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.modal-header {
    margin-bottom: 3rem;
    padding-bottom: 0;
    border-bottom: none;
    text-align: left;
    position: relative;
}

/* Accent line under header */
.modal-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 40px;
    height: 4px;
    background: #000;
}

.modal-role {
    display: inline-block;
    padding: 0;
    background: none !important;
    color: #666 !important;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.modal-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #000;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: none;
    -webkit-text-fill-color: initial;
}

.modal-real-name {
    font-size: 1rem;
    color: #999;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-top: 5px;
}

.modal-section {
    margin-bottom: 35px;
}

.modal-section h4 {
    font-size: 0.7rem;
    color: #aaa;
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
}

.modal-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

/* Interview Section Styling */
/* Cool Interview Section */
.modal-speech-bubble {
    background: transparent;
    border: none;
    padding: 0;
    margin-top: 20px;
    position: relative;
}

/* Remove side borders, keep it clean */
.modal-speech-text {
    font-size: 1rem;
    line-height: 2;
    color: #333;
    text-align: left;
    font-family: var(--font-family);
}

/* Question styling - Minimal and Cool */
.modal-speech-text strong {
    display: block;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #000;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    border-left: none;
    /* Removed border */
    padding-left: 0;
}

.modal-speech-text strong::before {
    content: 'Q.';
    display: inline-block;
    margin-right: 8px;
    font-size: 0.9em;
    color: #000;
    /* Black accent */
    font-weight: 900;
}

.modal-speech-text strong:first-child {
    margin-top: 0;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .modal-content {
        flex-direction: column;
        max-height: 90vh;
        width: 92vw;
        border-radius: 12px;
    }

    .modal-image-col {
        height: 300px;
        width: 100%;
    }

    .modal-full-image {
        object-position: center 20%;
    }

    .modal-info-col {
        padding: 30px;
    }

    .modal-name {
        font-size: 2rem;
    }

    .modal-speech-text strong {
        font-size: 1rem;
        margin-top: 2rem;
    }
}

/* ========================================
   スクリーンショットセクション
   ======================================== */
.screenshots {
    background: var(--color-bg-alt);
}

.screenshots-carousel {
    display: flex;
    gap: 3rem;
    overflow-x: auto;
    padding: 2rem;
    scroll-snap-type: x mandatory;
}

.screenshots-carousel::-webkit-scrollbar {
    height: 8px;
}

.screenshots-carousel::-webkit-scrollbar-track {
    background: var(--color-border);
}

.screenshots-carousel::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

.screenshot-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.screenshot-frame {
    width: 260px;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.screenshot-frame img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.2);
}

.screenshot-caption {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ========================================
   使い方セクション
   ======================================== */
.how-to-use {
    background: white;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 1.5rem;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--color-text-light);
}

.step-connector {
    flex: 0 0 100px;
    height: 4px;
    background: var(--color-border);
    margin-top: 40px;
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    animation: connector-flow 2s linear infinite;
}

@keyframes connector-flow {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ========================================
   ダウンロードセクション
   ======================================== */
.download {
    background: var(--gradient-primary);
    color: white;
    padding: 150px 0;
}

.download-content {
    text-align: center;
}

.download-text h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.download-text p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

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

.store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.store-icon {
    width: 36px;
    height: 36px;
}

.store-text {
    text-align: left;
}

.store-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.store-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background: var(--color-bg-alt);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--color-text-light);
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.footer-column a {
    color: var(--color-text-light);
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.credits {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.footer-large-brand {
    text-align: center;
    padding: 00px 0px;
    margin-top: 0px;
}

.footer-large-title {
    font-size: clamp(2rem, 10vw, 8rem);
    font-feature-settings: "palt";
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: 0.04em;
}

/* 文字ごとの波打つアニメーション */
.footer-large-title span {
    display: inline-block;
    animation: waveFloat 3s ease-in-out infinite;
}

@keyframes waveFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    25% {
        transform: translateY(-10px) scale(1.1);
    }

    50% {
        transform: translateY(0) scale(1);
    }

    75% {
        transform: translateY(-5px) scale(1.05);
    }
}

.footer-large-description {
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    color: var(--color-text-light);
}

/* レスポンシブ調整 */
@media (max-width: 1000px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links.active a {
        color: var(--color-text);
    }

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

    .mobile-menu-btn {
        display: flex;
    }

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

    .step-connector {
        width: 4px;
        height: 50px;
        margin: 0;
    }
}