/* Index Page Styles - 2 Apps Introduction */

:root {
    --primary-color: #4CAF50;
    --secondary-color: #FF9800;
    --accent-color: #2196F3;
    --mana-color: #00BCD4;
    --pinch-color: #8b4513;
    --dark-color: #1F2937;
    --light-color: #F8FAFC;
    --gradient-primary: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
    --gradient-secondary: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
    --gradient-accent: linear-gradient(135deg, #2196F3 0%, #03A9F4 100%);
    --gradient-mana: linear-gradient(135deg, #00BCD4 0%, #4FC3F7 100%);
    --gradient-pinch: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    --gradient-soundcollision: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    --gradient-listr: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-accent);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: auto;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.3"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.3"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.3"/><circle cx="90" cy="90" r="1" fill="white" opacity="0.3"/><circle cx="10" cy="60" r="1" fill="white" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.5;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Animated Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: floatIcon 6s ease-in-out infinite;
}

.floating-icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon-2 {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.floating-icon-3 {
    top: 60%;
    left: 20%;
    animation-delay: 2s;
}

.floating-icon-4 {
    top: 70%;
    right: 10%;
    animation-delay: 3s;
}

.floating-icon-5 {
    top: 40%;
    left: 5%;
    animation-delay: 4s;
}

.floating-icon-6 {
    top: 50%;
    right: 5%;
    animation-delay: 5s;
}

.floating-icon-7 {
    top: 75%;
    left: 15%;
    animation-delay: 6s;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle-1 {
    top: 25%;
    left: 30%;
    animation-delay: 0.5s;
}

.sparkle-2 {
    top: 45%;
    right: 25%;
    animation-delay: 1.5s;
}

.sparkle-3 {
    top: 65%;
    left: 40%;
    animation-delay: 2.5s;
}

.sparkle-4 {
    top: 35%;
    right: 40%;
    animation-delay: 3.5s;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Title Container */
.hero-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.title-decoration {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.title-line-1 {
    font-size: 1em;
    font-weight: 800;
    opacity: 0.9;
}

.title-line-2 {
    font-size: 0.95em;
    font-weight: 800;
}

/* App Showcase */
.hero-apps-showcase {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.app-item-link {
    text-decoration: none;
    color: inherit;
}

.app-item-link * {
    text-decoration: none !important;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 100px;
}

.app-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.app-icon-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.app-icon-small.allowance-quest {
    background: var(--gradient-primary);
}

.app-icon-small.bug-camera {
    background: var(--gradient-secondary);
}

.app-icon-small.mana-log {
    background: var(--gradient-mana);
}

.app-icon-small.pinch-game {
    background: var(--gradient-pinch);
}

.app-icon-small.soundcollision {
    background: var(--gradient-soundcollision);
}

.app-icon-small.listr {
    background: white;
    border: 2px solid #000;
}

.app-icon-small.listr i {
    color: #000;
}

.app-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-align: center;
}

.app-desc {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Subtitle Container */
.hero-subtitle-container {
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.feature-badge i {
    font-size: 0.9rem;
}

/* CTA Section */
.hero-cta {
    margin-bottom: 2rem;
}

.btn-hero {
    background: white;
    color: var(--accent-color);
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-hero:hover .btn-glow {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: var(--accent-color);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.3rem;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Service Badge */
.service-badge-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.service-badge-link * {
    text-decoration: none !important;
}

.service-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 350px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.service-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.service-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.service-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.service-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.service-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Section Styles */
.cta-section {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.cta-title-icon {
    color: #2196F3;
}

.cta-app-btn {
    height: 60px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 12px;
}

.cta-app-btn-icon {
    font-size: 1rem;
}

.cta-app-btn-text {
    white-space: nowrap;
}

.cta-pinch-btn {
    background: var(--gradient-pinch);
    border: none;
    color: white;
}

.cta-soundcollision-btn {
    background: var(--gradient-soundcollision);
    border: none;
    color: white;
}

.cta-listr-btn {
    background: white;
    border: 2px solid #000;
    color: #000;
}

.cta-listr-btn:hover {
    background: #f8f9fa;
    border-color: #000;
    color: #000;
}

.cta-listr-btn .cta-app-btn-icon {
    color: #000;
}

/* FAQ Section Styles */
.faq-section {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.faq-title-icon {
    color: #2196F3;
}

.faq-icon {
    color: #2196F3;
}

/* App Development Section Styles */
.app-dev-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    color: white;
}

.app-dev-main-icon {
    font-size: 4rem;
    color: #fff;
}

.app-dev-title {
    color: white;
}

.app-dev-subtitle {
    color: rgba(255,255,255,0.9);
}

.app-dev-highlight {
    color: #fff;
    font-weight: 600;
}

.app-dev-service-icon {
    font-size: 2rem;
    color: #fff;
}

.app-dev-service-title {
    color: white;
}

.app-dev-service-desc {
    color: rgba(255,255,255,0.8);
}

.app-dev-btn {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Contact Section Styles */
.contact-section {
    padding: 100px 0;
}

.contact-main-icon {
    font-size: 3rem;
    color: #2196F3;
}

.contact-title {
    color: #333;
}

.contact-service-icon {
    font-size: 2rem;
}

.contact-service-icon.question {
    color: #4CAF50;
}

.contact-service-icon.bug {
    color: #f44336;
}

.contact-service-icon.feature {
    color: #ff9800;
}

.line-qr-image {
    max-width: 150px;
}

/* Footer Styles */
.footer-divider {
    border-color: #4B5563;
    opacity: 0.3;
}

/* PC用2段グリッドレイアウト */
.apps-grid-pc {
    padding: 20px 0;
}

/* 上段を確実に3個に制限 */
.apps-grid-pc .row:first-child {
    max-width: 1200px;
    margin: 0 auto;
}

/* 下段を2個に制限（横幅を上段と統一） */
.apps-grid-pc .row.justify-content-center {
    max-width: none;
    margin: 0 auto;
}

/* 下段のカードを上段と同じ幅に制限 */
.apps-grid-pc .row.justify-content-center .col-lg-4 {
    max-width: 33.333333%;
}

/* カードの基本スタイル（.app-cardと同じ） */
.app-card-scroll {
    background: white;
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    min-width: 0;
}

/* カードの高さを統一（グリッドレイアウト用） */
.apps-grid-pc .app-card-scroll {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
}

.app-card-grid {
    background: white;
    border-radius: 25px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
    border: 3px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 600px;
}

/* 上下の段のカードの高さを完全に統一 - より強力な指定 */
.apps-grid-pc .row:first-child .app-card-grid,
.apps-grid-pc .row:last-child .app-card-grid {
    height: 600px !important;
    min-height: 600px !important;
    max-height: 600px !important;
}

/* 下段のカードを特に強制 */
.apps-grid-pc .row.justify-content-center .app-card-grid {
    height: 600px !important;
    min-height: 600px !important;
    max-height: 600px !important;
}

.app-card-grid:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.app-card-grid.allowance-quest {
    border-color: var(--primary-color);
}

.app-card-grid.bug-camera {
    border-color: var(--secondary-color);
}

.app-card-grid.mana-log {
    border-color: var(--mana-color);
}

.app-card-grid.pinch-game {
    border-color: var(--pinch-color);
}

.app-card-grid.soundcollision {
    border-color: #9c27b0;
}

.app-card-grid.listr {
    border-color: #007AFF;
}

.app-card-carousel .app-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    aspect-ratio: 1;
}

.app-card-carousel .app-icon i {
    font-size: 2rem;
    color: white;
    line-height: 1;
    display: block;
    width: auto;
    height: auto;
}

.app-card-carousel .app-title {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 10;
    color: #333;
}

.app-card-carousel .app-subtitle {
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #6B7280;
    line-height: 1.3;
    position: relative;
    z-index: 10;
}

.app-card-carousel .app-features {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-card-carousel .app-features li {
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
    line-height: 1.2;
    color: #555;
}

.app-card-carousel .btn-app {
    position: relative;
    z-index: 10;
    display: inline-block;
    margin-top: auto;
}

/* Slick Carousel Custom Styling */
.apps-carousel .slick-slide {
    padding: 0 5px;
    height: 500px;
    display: flex;
    align-items: stretch;
}

.apps-carousel .slick-slide > div {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: stretch;
}

.apps-carousel .slick-track {
    display: flex;
    align-items: stretch;
}

.apps-carousel .slick-list {
    overflow: visible;
}

.apps-carousel .slick-prev,
.apps-carousel .slick-next {
    z-index: 10;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.apps-carousel .slick-prev:hover,
.apps-carousel .slick-next:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.apps-carousel .slick-prev:before,
.apps-carousel .slick-next:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
    color: white;
}

.apps-carousel .slick-prev:before {
    content: '\f053';
}

.apps-carousel .slick-next:before {
    content: '\f054';
}

.apps-carousel .slick-prev {
    left: -25px;
}

.apps-carousel .slick-next {
    right: -25px;
}

.apps-carousel .slick-dots {
    bottom: -40px;
}

.apps-carousel .slick-dots li button:before {
    font-size: 12px;
    color: var(--accent-color);
    opacity: 0.5;
}

.apps-carousel .slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--accent-color);
}

/* Apps Scroll Container */
.apps-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
    margin: 0 -15px;
}

.apps-scroll-wrapper {
    display: flex;
    gap: 20px;
    padding: 0 15px;
    min-width: max-content;
}

.app-card-carousel {
    background: white;
    border-radius: 25px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
}

/* Removed ::before pseudo-elements */

/* Removed ::before pseudo-elements */

.app-card-carousel:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.app-card-grid.allowance-quest {
    border-color: var(--primary-color);
}

.app-card-grid.bug-camera {
    border-color: var(--secondary-color);
}

.app-card-grid.mana-log {
    border-color: var(--mana-color);
}

.app-card-grid.pinch-game {
    border-color: var(--pinch-color);
}

.app-card-grid.soundcollision {
    border-color: #9c27b0;
}

.app-card-grid.listr {
    border-color: #007AFF;
}

/* Scrollbar Styling */
.apps-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.apps-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.apps-scroll-container::-webkit-scrollbar-thumb {
    background: var(--gradient-accent);
    border-radius: 4px;
}

.apps-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Apps Grid */
.apps-grid {
    padding: 60px 0;
    background: #f8f9fa;
}

.app-card {
    background: white;
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    min-width: 0;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.app-card.allowance-quest::before {
    background: var(--gradient-primary);
}

.app-card.bug-camera::before {
    background: var(--gradient-secondary);
}

.app-card.mana-log::before {
    background: var(--gradient-mana);
}

.app-card.pinch-game::before {
    background: var(--gradient-pinch);
}

.app-card.soundcollision::before {
    background: var(--gradient-soundcollision);
}

.app-card.listr::before {
    background: var(--gradient-listr);
}

.app-card:hover::before {
    transform: scaleX(1);
}

.app-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.app-card.allowance-quest {
    border-color: var(--primary-color);
}

.app-card.bug-camera {
    border-color: var(--secondary-color);
}

.app-card.mana-log {
    border-color: var(--mana-color);
}

.app-card.pinch-game {
    border-color: var(--pinch-color);
}

.app-card.soundcollision {
    border-color: #9c27b0;
}

.app-card.listr {
    border-color: #007AFF;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.app-icon.allowance-quest {
    background: var(--gradient-primary);
}

.app-icon.bug-camera {
    background: var(--gradient-secondary);
}

.app-icon.mana-log {
    background: var(--gradient-mana);
}

.app-icon.pinch-game {
    background: var(--gradient-pinch);
}

.app-icon.soundcollision {
    background: var(--gradient-soundcollision);
}

.app-icon.listr {
    background: white;
    border: 3px solid #000;
    color: #000;
}

.app-icon.listr i {
    color: #000;
}

.app-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.app-card:hover .app-icon::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.app-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-family: 'Noto Sans JP', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.app-subtitle {
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.app-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.app-features li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
}

.app-features li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.btn-app {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    height: 50px;
    white-space: nowrap;
}

.btn-app.bug-camera {
    background: var(--gradient-secondary);
}

.btn-app.mana-log {
    background: var(--gradient-mana);
}

.btn-app.pinch-game {
    background: var(--gradient-pinch);
}

.btn-app.soundcollision {
    background: var(--gradient-soundcollision);
}

.btn-app.listr {
    background: var(--gradient-listr);
}

/* Web版ボタンも同じスタイルを適用 */
.btn-app.mana-log.mt-2 {
    margin-top: 8px !important;
}

.btn-app::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-app:hover::before {
    left: 100%;
}

.btn-app:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--accent-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-text {
    color: #6B7280;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-accent);
    color: white;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer .text-muted {
    color: #9CA3AF !important;
}

.footer h5, .footer h6 {
    color: white;
}

.footer-link {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Floating Animation */
.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Bouncing Animation */
.bouncing {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

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

    .hero-title-container {
        gap: 1rem;
    }

    .hero-apps-showcase {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .app-item {
        min-width: 90px;
        padding: 0.6rem;
    }

    .app-icon-small {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .app-name {
        font-size: 0.75rem;
    }

    .app-desc {
        font-size: 0.65rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-features {
        gap: 1rem;
    }

    .feature-badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .btn-hero {
        padding: 14px 35px;
        font-size: 1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-stats .stat-number {
        font-size: 1.8rem;
    }

    .service-badge {
        padding: 0.8rem 1.2rem;
        gap: 0.6rem;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .service-title {
        font-size: 0.9rem;
    }

    .service-desc {
        font-size: 0.75rem;
    }

    .app-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .app-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

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

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

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

    .hero-title-container {
        gap: 0.8rem;
    }

    .hero-apps-showcase {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .app-item {
        min-width: 80px;
        padding: 0.5rem;
    }

    .app-icon-small {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .app-name {
        font-size: 0.7rem;
    }

    .app-desc {
        font-size: 0.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .hero-features {
        gap: 0.8rem;
        flex-direction: column;
        align-items: center;
    }

    .feature-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }

    .btn-hero {
        padding: 12px 30px;
        font-size: 0.95rem;
        gap: 0.6rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stats .stat-number {
        font-size: 1.6rem;
    }

    .hero-stats .stat-label {
        font-size: 0.8rem;
    }

    .service-badge {
        padding: 0.6rem 1rem;
        gap: 0.5rem;
        flex-direction: column;
        text-align: center;
    }

    .service-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .service-title {
        font-size: 0.8rem;
    }

    .service-desc {
        font-size: 0.7rem;
    }

    .app-card {
        padding: 1.5rem 1rem;
    }

    .app-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .btn-app {
        padding: 14px 28px;
        font-size: 0.95rem;
        min-width: 120px;
        height: 46px;
    }
}
