/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00BFFF;
    --accent-color: #FFA500;
    --dark-blue: #001B2E;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --black: #000000;
    --gradient-primary: linear-gradient(135deg, #00BFFF, #0080FF);
    --gradient-accent: linear-gradient(135deg, #FFA500, #FF8C00);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--dark-blue);
    overflow-x: hidden;
    /* スマホでのタッチ操作を最適化 */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    /* モバイルでの横スクロール防止 */
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

/* スマホでのテキスト選択を許可 */
p, h1, h2, h3, h4, h5, h6, span, div {
    -webkit-user-select: text;
    user-select: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

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

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu.active {
    left: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    /* タッチ操作の最適化 */
    padding: 0.5rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
}

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

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    /* タッチ操作の最適化 */
    padding: 0.5rem;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    align-items: center;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-blue);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* ハンバーガーメニューのアニメーション */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

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

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    gap: 1rem;
    /* スマホでのスクロール対応 */
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        /* タッチ操作の最適化 */
        min-height: 50px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .nav-container {
        padding: 0 1rem;
        height: 70px;
    }
}

/* スマホでのナビゲーション改善 */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
        height: 60px;
    }
    
    .nav-menu {
        top: 60px;
        max-height: calc(100vh - 60px);
    }
    
    .nav-link {
        padding: 1.2rem 1rem;
        font-size: 1rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: visible;
    padding-top: 4rem;
    padding-left: 15rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 90% center;
    background-repeat: no-repeat;
    filter: brightness(1);
    object-fit: cover;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

/* .shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
} */

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-text {
    position: relative;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--black);
    max-width: 1400px !important;
    width: 100% !important;
    min-width: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding-top: 4rem;
}

.title-line {
    display: block;
    opacity: 0;
    animation: titleSlide 1s ease-out forwards;
    width: 100% !important;
    max-width: 1400px !important;
    white-space: normal;
    overflow: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.title-line .text-sky-400,
.text-sky-400 {
    font-size: 6rem !important;
    color: #38bdf8 !important;
    display: inline !important;
    line-height: 1.2 !important;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.concept-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.concept-title {
    line-height: 1.4;
}

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

.hero-highlight {
    margin-bottom: 1.5rem;
    text-align: left;
}

.highlight-text {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 0.8rem 2rem;
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    display: inline-block;
    animation: highlightPulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.highlight-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

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

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-subtitle {
    font-size: 1.6rem;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    font-weight: 400;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--black);
    display: inline-block;
}

.main-service {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.accent-text {
    color: var(--primary-color);
    font-weight: 600;
}

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

.btn {
    padding: 2rem 4rem; /* さらにボタンを大きく */
    border: none;
    border-radius: 50px;
    font-size: 1.8rem; /* フォントをさらに大きく */
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* スマホでのタッチ操作最適化 */
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.btn-primary {
    background: linear-gradient(90deg, #ff9800 0%, #ff5e62 100%); /* より目立つグラデーション */
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
}

.btn-secondary {
    background: #fff200; /* 明るい黄色で目立たせる */
    color: #1a237e; /* 濃い青で可読性UP */
    border: none;
    font-weight: 700;
}

.btn-secondary:hover {
    background: #ffe082;
    color: #d84315;
    transform: scale(1.05);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { }
    70% { }
    100% { }
}

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

.pulse-badge {
    animation: pulseBadge 2s ease-in-out infinite;
    background: linear-gradient(135deg, #FFA500, #FF8C00) !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.pulse-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.ribbon-badge {
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    z-index: 1000;
    transform: rotate(-15deg);
}

.ribbon-text {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 1rem 2rem;
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    display: block;
    position: relative;
    animation: ribbonPulse 2s ease-in-out infinite;
}

.ribbon-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 20px 0;
    border-color: transparent #FF6B6B transparent transparent;
}

.ribbon-text::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 20px 10px;
    border-color: transparent transparent #FF8E53 transparent;
}

@keyframes ribbonPulse {
    0%, 100% { 
        transform: rotate(-15deg) scale(1); 
    }
    50% { 
        transform: rotate(-15deg) scale(1.1); 
    }
}

@media (max-width: 768px) {
    .hero {
        padding-left: 12rem;
    }
    
    .ribbon-badge {
        top: -0.3rem;
        left: -0.3rem;
        transform: rotate(-10deg);
        z-index: 1000;
    }
    
    .ribbon-text {
        font-size: 1.8rem;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-left: 10rem;
    }
    
    .ribbon-badge {
        top: -0.2rem;
        left: -0.2rem;
        transform: rotate(-8deg);
        z-index: 1000;
    }
    
    .ribbon-text {
        font-size: 1.5rem;
        padding: 0.6rem 1.2rem;
    }
}

.hero-image-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
    margin-top: 3rem;
}

.hero-img-item {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    transition: var(--transition);
}

.hero-img-item:first-child {
    transform: translateY(-20px);
}

.hero-img-item:last-child {
    transform: translateY(20px);
}

.hero-img-item:hover {
    transform: translateY(-10px);
}

.hero-img-item:last-child:hover {
    transform: translateY(10px);
}

.hero-img-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

.hero-img-item:first-child img {
    height: 400px;
}

/* Hero image grid responsive */
@media (max-width: 1024px) {
    .hero-image-grid {
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .hero-img-item img {
        height: 300px;
    }
    
    .hero-img-item:first-child img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-image-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .hero-img-item {
        transform: none !important;
        margin: 0 auto;
        max-width: 350px;
    }
    
    .hero-img-item:hover {
        transform: translateY(-5px) !important;
    }
    
    .hero-img-item img {
        height: 250px;
    }
    
    .hero-img-item:first-child img {
        height: 280px;
    }
    
    /* Ensure highlight class maintains its size on mobile */
    .title-line .highlight,
    .highlight {
        font-size: 4rem !important; /* Slightly smaller for mobile but still prominent */
    }
}

/* Performance optimizations for images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Remove complex transitions for better performance */
    transition: transform 0.2s ease;
}

/* Optimize will-change for better performance */
.hero-img-item img,
.visual-item img,
.advantage-image,
.stack-img {
    will-change: transform;
}

/* Reduce complex animations */
.visual-item:hover img {
    transform: scale(1.02) !important;
}

.hero-img-item:hover img {
    transform: scale(1.03) !important;
}

.hero-img-item:hover img {
    transform: scale(1.03) !important;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark-blue);
    position: relative;
}

.section-title.center {
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Concept Section */
.concept {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.concept-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.concept-content {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
}

.concept-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-blue);
}

.concept-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(0, 191, 255, 0.1);
    transition: var(--transition);
}

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

.card-content {
    flex: 2.5;
}

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

.card-image img {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    transition: var(--transition);
}

.card-image img:hover {
    transform: scale(1.05);
}

/* 背景透過画像用のスタイル */
.card-image.transparent-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    margin: -2rem -2rem -2rem 0;
    padding: 2rem 2rem 0 0;
}

/* 透過画像のあるカードのテキスト部分 */
.transparent-card .card-content {
    flex: 3;
}

/* 大きい画像用のスタイル */
.card-image.large-image {
    flex: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image.large-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    transition: var(--transition);
}

.card-image.large-image img:hover {
    transform: scale(1.08);
}

/* 大きい画像のあるカードのテキスト部分 */
.large-image-card .card-content {
    flex: 2.5;
}

.card-image.transparent-image img {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    border: none;
    align-self: flex-end;
}

.card-image.transparent-image img:hover {
    transform: scale(1.08);
}

.concept-description p {
    margin-bottom: 1rem;
}

.concept-description strong {
    color: var(--primary-color);
}

.concept-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 191, 255, 0.1);
}

.highlight-item {
    text-align: center;
    padding: 2rem;
    min-width: 200px;
}

.highlight-number {
    display: block;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.highlight-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 1000;
    color: var(--primary-color);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .concept-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .concept-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .card-content {
        flex: none;
    }
    
    .card-image {
        flex: none;
    }
    
    .card-image img {
        max-width: 150px;
        height: 120px;
    }
    
    .card-image.transparent-image {
        margin: -1.5rem -1.5rem -1.5rem 0;
        padding: 1.5rem 1.5rem 0 0;
        align-items: flex-end;
    }
    
    .card-image.transparent-image img {
        max-width: 160px;
        height: auto;
        align-self: flex-end;
    }
    
    .card-image.large-image img {
        max-width: 220px;
        height: auto;
    }
    
    .concept-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .highlight-item {
        padding: 1.5rem;
        min-width: 250px;
        margin: 0 auto;
    }
    
    .highlight-value {
        font-size: 1.8rem;
    }
    
    .highlight-number {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .concept-highlights {
        gap: 2rem;
        padding: 2rem;
    }
    
    .highlight-item {
        padding: 1.5rem;
        min-width: 180px;
    }
    
    .highlight-value {
        font-size: 1.8rem;
    }
    
    .highlight-number {
        font-size: 1rem;
    }
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.visual-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: var(--transition);
}

.visual-item:nth-child(3) {
    grid-column: 1 / -1;
}

.visual-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.visual-item:hover {
    transform: translateY(-10px);
}

.visual-item:hover img {
    transform: scale(1.1);
}

.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    padding: 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.visual-item:hover .visual-overlay {
    transform: translateY(0);
}

.concept-bg-element {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.05;
    transform: translate(50%, -50%);
}

/* Model Section */
.model {
    padding: 8rem 0;
    position: relative;
    background: #ffffff;
}

.model-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.model-description {
    text-align: center;
    margin-bottom: 3rem;
}

.model-description p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
}

.model-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 191, 255, 0.1);
}

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

.feature-box h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.feature-box p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .model-features {
        grid-template-columns: 1fr;
    }
    
    .feature-box {
        background: transparent;
        border: none;
        padding: 1rem 0;
    }
    
    .feature-box:hover {
        transform: none;
    }
}

.model-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.model-group {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 191, 255, 0.5);
    transition: var(--transition);
}

.model-group:hover {
    transform: translateY(-5px);
}

.group-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 191, 255, 0.2);
}

.group-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0 0 0;
    color: var(--dark-blue);
}

.group-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.group-main {
    text-align: center;
}

.group-main p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.group-main img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.group-feature {
    background: rgba(0, 191, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.group-feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.group-feature p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.flow-step {
    flex: 1;
    text-align: center;
    position: relative;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 191, 255, 0.1);
    transition: var(--transition);
}

.flow-step:hover {
    transform: translateY(-5px);
}

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

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

.step-content p {
    color: #666;
    margin-bottom: 1rem;
}

.step-content img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Mobile Model Groups */
@media (max-width: 768px) {
    .model-groups {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .model-group {
        background: transparent;
        padding: 0;
        border: none;
        border-radius: 0;
    }
    
    .model-group:hover {
        transform: none;
    }
    
    .group-header {
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
    }
    
    .group-header h3 {
        font-size: 1.3rem;
    }
    
    .group-content {
        gap: 1rem;
    }
    
    .group-main p {
        font-size: 0.9rem;
    }
    
    .group-main img {
        width: 80px;
        height: 80px;
    }
    
    .group-feature {
        background: transparent;
        padding: 1rem 0;
        border-left: none;
        border-bottom: 2px solid rgba(0, 191, 255, 0.2);
    }
    
    .group-feature h4 {
        font-size: 1rem;
    }
    
    .group-feature p {
        font-size: 0.9rem;
    }
    
    .model-description p {
        white-space: pre-line;
    }
    
    .simulation-subtitle {
        white-space: pre-line;
    }
}

.model-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bg-shape {
    position: absolute;
    background: var(--gradient-accent);
    border-radius: 50%;
    opacity: 0.05;
}

.bg-shape-1 {
    width: 400px;
    height: 400px;
    top: 20%;
    left: -10%;
}

.bg-shape-2 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    right: -5%;
}

/* Revenue Simulation Section */
.simulation {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.simulation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.simulation-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 4rem;
    font-weight: 300;
}

.simulation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.chart-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
}

.chart-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 2rem;
}

.performance-metrics {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.metric-item {
    text-align: center;
    flex: 1;
}

.metric-item.highlight {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
}

.metric-item.roi {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.metric-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.simulation-breakdown {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
}

.simulation-breakdown h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
}

.breakdown-item.highlight {
    background: var(--gradient-primary);
    color: var(--white);
    border-left-color: var(--accent-color);
}

.breakdown-label {
    font-weight: 500;
}

.breakdown-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.simulation-note {
    text-align: center;
    padding: 2rem;
    background: #fff3cd;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
}

.simulation-note p {
    color: #856404;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem;
    }
    
    .simulation .section-title {
        font-size: 1.5rem;
    }
    
    .simulation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .performance-metrics {
        flex-direction: column;
        gap: 1rem;
    }
    
    .metric-arrow {
        transform: rotate(90deg);
    }
    
    .breakdown-grid {
        grid-template-columns: 1fr;
    }
}

/* 収益シミュレーションテーブル */
.simulation-table-section {
    margin-top: 4rem;
    padding: 0 1rem;
}

.table-container {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 191, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.table-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 0.8rem;
}

.table-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.responsive-table {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 15px;
}

.simulation-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    font-size: 1.15rem;
}

.simulation-table thead {
    background: var(--gradient-primary);
}

.simulation-table thead th {
    color: var(--white);
    font-weight: 600;
    padding: 1.8rem 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    border: none;
    white-space: nowrap;
}

.simulation-table tbody td {
    padding: 1.8rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    color: var(--dark-blue);
    white-space: nowrap;
    font-size: 1.1rem;
}

.simulation-table tbody tr:last-child td {
    border-bottom: none;
}

.simulation-table tbody tr:hover {
    background: rgba(0, 191, 255, 0.05);
}

.highlight-cell {
    background: rgba(0, 191, 255, 0.1) !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.roi-cell {
    background: rgba(255, 165, 0, 0.1) !important;
    color: var(--accent-color) !important;
    font-weight: 700 !important;
}

.table-notes {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.table-notes p {
    color: #666;
    font-size: 0.95rem;
    margin: 0.5rem 0;
    line-height: 1.5;
}

/* テーブルのレスポンシブ対応 */
@media (max-width: 1024px) {
    .simulation-table {
        font-size: 0.85rem;
    }
    
    .simulation-table thead th,
    .simulation-table tbody td {
        padding: 1rem 0.7rem;
    }
    
    .table-container {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .simulation-table-section {
        margin-top: 3rem;
        padding: 0;
    }
    
    .table-container {
        padding: 1.5rem;
    }
    
    .table-title {
        font-size: 1.5rem;
    }
    
    .table-subtitle {
        font-size: 0.9rem;
    }
    
    /* モバイルでは縦積みレイアウト */
    .simulation-table,
    .simulation-table thead,
    .simulation-table tbody,
    .simulation-table th,
    .simulation-table td,
    .simulation-table tr {
        display: block;
    }
    
    .simulation-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .simulation-table tr {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 1rem;
}
    
    .simulation-table td {
        border: none !important;
        border-bottom: 1px solid #eee !important;
        position: relative;
        padding: 0.8rem 0.5rem 0.8rem 45% !important;
        text-align: left !important;
        white-space: normal;
        /* スマホでのタッチ操作最適化 */
        min-height: 44px;
        display: block;
        line-height: 1.4;
    }
    
    .simulation-table td:last-child {
        border-bottom: none !important;
    }
    
    .simulation-table td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 0.5rem;
        width: 40%;
        padding-right: 1rem;
        white-space: nowrap;
        font-weight: 600;
        color: var(--dark-blue);
    }
    
    .table-notes {
        padding: 1rem;
    }
    
    .table-notes p {
        font-size: 0.8rem;
    }
    
    /* オーナー送金額の強調表示を修正 */
    .simulation-table td[data-label="オーナー送金額/月"] {
        background: rgba(0, 191, 255, 0.2) !important;
        color: var(--primary-color) !important;
        font-weight: 700 !important;
        text-align: center !important;
    }
    
    .highlight-cell {
        background: rgba(0, 191, 255, 0.2) !important;
        color: var(--primary-color) !important;
        font-weight: 700 !important;
        text-align: center !important;
    }
}

/* Advantages Section */
.advantages {
    padding: 10rem 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    position: relative;
    overflow: hidden;
}

.advantages-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.advantages-header {
    text-align: center;
    margin-bottom: 4rem;
}

.header-content .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    font-weight: 300;
}

.header-visual {
    position: relative;
}

.header-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
}

/* Opening Process Section */
.opening-process {
    padding: 0.5rem 0;
    background: #ffffff;
    position: relative;
}

.opening-process-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 0.3rem;
}

.process-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.3rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Process Table Styles */
.process-table-container {
    margin-bottom: 0.3rem;
}

.process-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 191, 255, 0.1);
}

.process-table thead {
    background: linear-gradient(135deg, var(--primary-color), #0080FF);
    color: white;
}

.process-table th {
    padding: 0.5rem 0.8rem;
    font-weight: 600;
    text-align: center;
    font-size: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.process-table th:last-child {
    border-right: none;
}

.owner-col {
    width: 50%;
}

.support-col {
    width: 50%;
}

.step-header-row {
    background: rgba(0, 191, 255, 0.05);
    border-bottom: 2px solid var(--primary-color);
    transition: var(--transition);
}

.step-header-cell {
    padding: 0.5rem 0.8rem;
    text-align: center;
    vertical-align: middle;
}

.step-header {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    display: block;
}

.step-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-blue);
    line-height: 1.4;
}

.process-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.process-row:hover {
    background: rgba(0, 191, 255, 0.02);
}

.highlight-row {
    background: rgba(255, 165, 0, 0.05);
}

.final-row {
    background: rgba(0, 191, 255, 0.05);
}

.owner-cell,
.support-cell {
    padding: 0.8rem 1.2rem;
    vertical-align: top;
}

.owner-cell {
    border-right: 3px solid rgba(0, 191, 255, 0.8);
}

.support-cell {
    border-right: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem auto;
}

.step-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-blue);
    line-height: 1.4;
}

.action-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.action-list li {
    padding: 0.3rem 0;
    color: #555;
    line-height: 1.4;
    position: relative;
    padding-left: 1.5rem;
}

.action-list li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.owner-action {
    color: #555;
    line-height: 1.5;
    font-size: 1rem;
    text-align: left;
    padding: 0.8rem 0;
    position: relative;
    padding-left: 2rem;
}

.owner-action::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    top: 1rem;
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2rem;
}

.note-row,
.duration-row {
    background: rgba(255, 165, 0, 0.08);
}

.note-cell,
.duration-cell {
    padding: 1rem 2rem;
    text-align: center;
    border: none;
}

.payment-note {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
}

.duration-note {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

.process-footnote {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.process-footnote p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Opening Process Responsive */
@media (max-width: 768px) {
    .opening-process {
        padding: 0.5rem 0;
    }
    
    .opening-process-container {
        padding: 0 0.3rem;
    }
    
    .process-table {
        border: none;
        border-radius: 0;
    }
    
    .process-table thead {
        display: none;
    }
    
    .process-table tbody,
    .process-table tr,
    .process-table td {
        display: block;
        width: 100%;
    }
    
    .step-header-row {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #0080FF) !important;
    border-radius: 15px;
    overflow: hidden;
}
    
    .step-header-cell {
        padding: 1.5rem;
        text-align: center;
        color: white;
    }
    
    .step-header {
        font-size: 1.5rem;
        font-weight: 700;
        color: white;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    .step-title {
        font-size: 1rem;
        font-weight: 600;
        color: white;
        line-height: 1.4;
    }
    
    .process-row {
    margin-bottom: 2rem;
    background: white !important;
    border-radius: 15px;
    border: 1px solid rgba(0, 191, 255, 0.1);
    overflow: hidden;
}
    
    .owner-cell,
    .support-cell {
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 1.5rem;
    }
    
    .step-cell {
        background: linear-gradient(135deg, var(--primary-color), #0080FF);
        color: white;
        text-align: center;
    }
    
    .step-cell .step-number {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        margin: 0 auto 1rem auto;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-cell .step-title {
        color: white;
        font-size: 1.1rem;
    }
    
    .owner-cell::before,
    .support-cell::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--primary-color);
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .action-list li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .note-row,
    .duration-row {
        margin-bottom: 1rem;
    }
    
    .note-cell,
    .duration-cell {
        padding: 1rem;
    }
    
    .payment-note {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
    
    .duration-note {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 480px) {
    .opening-process {
        padding: 0.3rem 0;
    }
    
    .process-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .step-header-cell {
        padding: 1rem;
    }
    
    .step-header {
        font-size: 1.3rem;
    }
    
    .step-title {
        font-size: 0.9rem;
    }
    
    .owner-cell,
    .support-cell {
        padding: 1rem;
    }
    
    .action-list li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
        padding-left: 1.2rem;
    }
    
    .payment-note {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    .duration-note {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .process-footnote {
        padding: 1rem;
    }
    
    .process-footnote p {
        font-size: 0.8rem;
    }
}

/* Cases Section */
.cases {
    padding: 8rem 0;
    position: relative;
    background: #ffffff;
}

.cases-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.case-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 3rem;
    border: 1px solid rgba(0, 191, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #0080FF);
}

.case-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.case-image {
    text-align: center;
    flex-shrink: 0;
}

.case-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid white;
}

.case-title h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0;
}

.case-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.case-text {
    flex: 1;
}

.case-text p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    background: rgba(0, 191, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 1.2rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 191, 255, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    line-height: 1.3;
}

/* Mobile Cases Section */
@media (max-width: 768px) {
    .cases {
        padding: 4rem 0;
    }
    
    .cases .section-title {
        font-size: 1.5rem;
    }
    
    .case-card {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .case-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .case-image img {
        width: 100px;
        height: 100px;
    }
    
    .case-title h3 {
        font-size: 1.2rem;
    }
    
    .case-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-text p {
        font-size: 0.95rem;
        text-align: left;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .case-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: 120px;
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .cases .section-title {
        font-size: 1.3rem;
    }
    
    .case-card {
        padding: 1.5rem;
    }
    
    .case-header {
        margin-bottom: 1rem;
    }
    
    .case-image img {
        width: 80px;
        height: 80px;
    }
    
    .case-title h3 {
        font-size: 1.1rem;
    }
    
    .case-content {
        gap: 1.5rem;
    }
    
    .case-text p {
        font-size: 0.9rem;
    }
    
    .case-stats {
        gap: 0.8rem;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 0.8rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

.cases-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    opacity: 0.1;
    z-index: -1;
}

.cases-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Support Section */
.support {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

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

.support-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.support-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

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

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

/* Mobile Support Section */
@media (max-width: 768px) {
    .support-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .support-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
    }
    
    .feature-item span {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }
    
    .support-visual .visual-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .support-img {
        width: 100%;
        height: 200px;
    }
}

.support-visual .visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 500px;
}

.support-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    transition: var(--transition);
}

.support-img:hover {
    transform: translateY(-5px);
}

/* Support section responsive */
@media (max-width: 768px) {
    .support-visual .visual-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 300px;
    }
    
    .support-img {
        height: 180px;
    }
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    position: relative;
    background: rgba(0, 27, 46, 0.95);
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 27, 46, 0.8);
    z-index: -1;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.contact-content .section-title {
    color: var(--white);
    text-align: center;
}

.contact-content .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.reply-notice {
    text-align: center;
    margin-bottom: 2rem;
}

.reply-notice p {
    color: var(--primary-color);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.info-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* スマホでのフォーム最適化 */
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1rem;
        font-size: 16px;
        min-height: 44px;
    }
    
    .form-group label {
        font-size: 0.8rem;
        top: 1rem;
        left: 1rem;
    }
    
    .form-group.focused label,
    .form-group.has-value label,
    .form-group input:focus + label,
    .form-group input:not(:placeholder-shown) + label,
    .form-group textarea:focus + label,
    .form-group textarea:not(:placeholder-shown) + label,
    .form-group select:focus + label,
    .form-group select:not([value=""]) + label {
        top: -0.2rem;
        left: 0.5rem;
        font-size: 0.7rem;
        padding: 0 0.3rem;
    }
    
    .contact-form .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 44px;
    }
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-height: 85vh;
    overflow-y: auto;
}

.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: inherit;
    /* スマホでの入力最適化 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 16px; /* iOSでのズーム防止 */
    line-height: 1.5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.2);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.form-group select option {
    background: var(--dark-blue);
    color: var(--white);
    padding: 0.5rem;
}

.form-group label {
    position: static;
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    background: transparent;
    padding: 0;
    pointer-events: auto;
}

/* メッセージラベルは除外 */
.form-group label:not([for="message"]) {
    position: static;
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    background: transparent;
    padding: 0;
    pointer-events: auto;
}

.form-group.focused label,
.form-group.has-value label,
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label {
    color: var(--primary-color);
    font-weight: 600;
}

.form-group textarea + label,
.form-group label + textarea {
    position: static;
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    background: transparent;
    padding: 0;
}

.form-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
}

/* Contact Form Submit Button - Full Width */
.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    min-height: 44px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-blue), #001a2e);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.01)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    position: relative;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.3rem 0;
    display: inline-block;
    position: relative;
    font-weight: 400;
}

.footer-section a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-section a:hover::before {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 300;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 1px;
    background: var(--primary-color);
    border-radius: 0.5px;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section h3::after,
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.3rem;
    }
    
    .footer-section a {
        font-size: 0.95rem;
        padding: 0.3rem 0;
        display: block;
    }
    
    .footer-section a:hover {
        transform: translateX(0);
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .concept-content {
        max-width: 900px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        max-width: 1200px !important;
        min-width: 600px;
        padding-top: 3rem;
    }
    
    /* Ensure text-sky-400 class maintains its size even on smaller screens */
    .title-line .text-sky-400,
    .text-sky-400 {
        font-size: 4.0rem !important;
        color: #38bdf8 !important;
    }
    
    .title-line {
        max-width: 1200px !important;
    }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 140px 0 60px;
        overflow: visible;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 0.5rem;
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
        margin: 0;
    }
    
    .hero-text {
    background: rgba(255, 255, 255, 0.25);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(4px);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}
    
    /* モバイル専用：フランチャイズ投資の文字を1行で表示 */
    .hero .hero-title .title-line .text-sky-400 {
        font-size: 2.4rem !important;
        color: #38bdf8 !important;
        font-weight: 700 !important;
        display: inline !important;
        white-space: nowrap !important;
    }
    
    /* モバイル専用：「経済的メリットを提供する」を1行で表示 */
    .hero .hero-title .title-line:nth-child(3) {
        white-space: nowrap !important;
        font-size: 1.6rem !important;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-title {
        font-size: 1.8rem;
        min-width: auto;
        max-width: 100vw !important;
        width: 100vw;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 0.5rem;
        padding-top: 2rem;
        box-sizing: border-box;
        line-height: 1.3;
    }
    
    .title-line {
        max-width: 100vw !important;
        width: 100vw;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
    
    .title-line .text-sky-400,
    .text-sky-400 {
        font-size: 2.4rem !important;
        color: #38bdf8 !important;
        word-wrap: normal;
        overflow-wrap: normal;
        max-width: 100vw;
        width: auto;
        line-height: 1.2;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }
    
    .hero-highlight {
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .highlight-text {
        font-size: 1.4rem;
        padding: 0.6rem 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        width: 100% !important;
        max-width: 100% !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 !important;
        box-sizing: border-box;
        text-align: center !important;
        margin: 0 auto !important;
        display: block !important;
        left: 0 !important;
        right: 0 !important;
        font-weight: 700 !important;
    }
    
    .hero-buttons {
        justify-content: center !important;
        align-items: center !important;
        display: flex !important;
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box;
        margin: 0 auto !important;
        text-align: center !important;
    }
    
    .btn {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        width: 100%;
        max-width: 320px;
        min-height: 48px;
        margin: 0 auto !important;
        display: block !important;
        text-align: center !important;
    }
    
    .hero-bg-img {
        background-position: 90% center;
        background-size: cover;
    }
    
    .floating-shapes {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-text {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(3px);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 95%;
    max-width: 95%;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}
    
    /* 小さいモバイル専用：フランチャイズ投資の文字を1行で表示 */
    .hero .hero-title .title-line .text-sky-400 {
        font-size: 2.0rem !important;
        color: #38bdf8 !important;
        font-weight: 700 !important;
        display: inline !important;
        white-space: nowrap !important;
    }
    
    /* 小さいモバイル専用：「経済的メリットを提供する」を1行で表示 */
    .hero .hero-title .title-line:nth-child(3) {
        white-space: nowrap !important;
        font-size: 1.4rem !important;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-title {
        font-size: 1.6rem;
        width: 100vw;
        max-width: 100vw;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 0.3rem;
        padding-top: 1.5rem;
        box-sizing: border-box;
        line-height: 1.3;
    }
    
    .title-line {
        max-width: 100vw !important;
        width: 100vw;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        padding: 0 0.3rem;
        box-sizing: border-box;
    }
    
    .title-line .text-sky-400,
    .text-sky-400 {
        font-size: 2.0rem !important;
        color: #38bdf8 !important;
        word-wrap: normal;
        overflow-wrap: normal;
        max-width: 100vw;
        width: auto;
        line-height: 1.2;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }
    
    .hero-highlight {
        margin-bottom: 0.8rem;
        text-align: left;
    }
    
    .highlight-text {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        width: 100% !important;
        max-width: 100% !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 !important;
        box-sizing: border-box;
        text-align: center !important;
        margin: 0 auto !important;
        display: block !important;
        left: 0 !important;
        right: 0 !important;
        font-weight: 700 !important;
    }
    
    .hero-buttons {
        justify-content: center !important;
        align-items: center !important;
        display: flex !important;
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box;
        margin: 0 auto !important;
        text-align: center !important;
    }
    
    .btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        width: 100%;
        max-width: 280px;
        min-height: 48px;
        margin: 0 auto !important;
        display: block !important;
        text-align: center !important;
    }
    
    /* シミュレーションセクションの調整 */
    .table-subtitle {
        font-size: 0.8rem;
    }
    
    .simulation-table td {
        padding: 0.6rem 0.3rem 0.6rem 40% !important;
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .simulation-table td:before {
        font-size: 0.7rem;
        width: 35%;
        padding-right: 0.5rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 1.2rem;
    }
    
    .simulation .section-title {
        font-size: 1.3rem;
    }
    
    .advantages-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .advantage-item {
        padding: 1.5rem;
    }
    
    .item-content h3 {
        font-size: 1.2rem;
    }
    
    .item-content p {
        font-size: 0.85rem;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Ensure text-sky-400 class is still prominent on very small screens */
    .title-line .text-sky-400,
    .text-sky-400 {
        font-size: 1.3rem !important;
        color: #38bdf8 !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
    /* モバイルでの横スクロール防止 */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* AOS Animations */
[data-aos] {
    transition-duration: 1s;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* デバッグ用：開業までの流れセクションでAOSを無効化 */
.opening-process [data-aos="fade-up"] {
    transform: none !important;
    opacity: 1 !important;
}

[data-aos="fade-left"] {
    transform: translateX(30px);
    opacity: 0;
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
    opacity: 0;
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
    opacity: 0;
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
    opacity: 1;
}

/* Alternating section backgrounds for better readability */
.concept {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    position: relative;
}

.model {
    background: #ffffff;
    position: relative;
}

.advantages {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    position: relative;
}

.cases {
    background: #ffffff;
    position: relative;
}

.support {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    position: relative;
}

/* Add subtle borders between sections */
.concept::before,
.advantages::before,
.support::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.3), transparent);
}

/* Ensure text remains readable on light blue backgrounds */
.concept .section-title,
.advantages .section-title,
.support .section-title {
    color: var(--dark-blue);
}

.concept .section-subtitle,
.advantages .section-subtitle,
.support .section-subtitle {
    color: rgba(0, 27, 46, 0.8);
}

/* フランチャイズ比較図 - 新しいビジュアルデザイン */
.franchise-comparison {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 248, 255, 0.8) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 191, 255, 0.1);
}

.comparison-section {
    margin-bottom: 4rem;
}

.comparison-section:last-child {
    margin-bottom: 0;
}

.comparison-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--dark-blue);
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

/* フランチャイズ財託のタイトルを特別に目立たせる */
.comparison-title.franchise-takutaku {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transform: scale(1.05);
    position: relative;
    z-index: 2;
}

.comparison-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.comparison-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    transition: var(--transition);
    min-width: 220px;
}

.comparison-item:hover {
    transform: translateY(-5px);
}

.comparison-image {
    width: 160px;
    height: 160px;
    margin-bottom: 1rem;
    border-radius: 50%;
    overflow: visible;
    background: rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.comparison-image img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    border-radius: 0;
}

.comparison-label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 0.5rem;
}

/* ラベルスタイル */
.effort-label,
.hands-off-label {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(135deg, #FF4757, #FF3742);
    color: white;
    font-size: 1rem;
    font-weight: 800;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    white-space: nowrap;
    z-index: 10;
    transform: rotate(-5deg);
    animation: labelPulse 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hands-off-label {
    background: linear-gradient(135deg, #00BFFF, #0080FF);
    transform: rotate(5deg);
    animation: labelPulseReverse 2s ease-in-out infinite;
}

@keyframes labelPulse {
    0%, 100% {
        transform: rotate(-5deg) scale(1);
    }
    50% {
        transform: rotate(-5deg) scale(1.1);
    }
}

@keyframes labelPulseReverse {
    0%, 100% {
        transform: rotate(5deg) scale(1);
    }
    50% {
        transform: rotate(5deg) scale(1.1);
    }
}

.company-item {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 2px solid rgba(0, 191, 255, 0.3);
}

.company-item .comparison-label {
    color: var(--primary-color);
    font-weight: 700;
}

.company-description,
.investor-description {
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 191, 255, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    text-align: center;
    white-space: nowrap;
    z-index: 2;
}

.investor-description {
    background: rgba(255, 165, 0, 0.9);
}

.comparison-arrow {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 1rem;
}

.arrow-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    position: relative;
}

.arrow-head {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--accent-color);
    margin-left: -2px;
}

/* 双方向矢印用の左向き矢印 */
.arrow-head-left {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid var(--primary-color);
    margin-right: -2px;
}

/* 双方向矢印のスタイル調整 */
.comparison-arrow.bidirectional {
    position: relative;
}

.comparison-arrow.bidirectional .arrow-line {
    margin: 0 -2px;
}

.comparison-description {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem;
}

.description-box {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    max-width: 200px;
}

.description-box p {
    font-size: 0.9rem;
    color: var(--dark-blue);
    text-align: center;
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .franchise-comparison {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
    
    .comparison-flow {
        flex-direction: column;
        gap: 2rem;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    /* モバイル版での双方向矢印の調整 */
    .comparison-arrow.bidirectional {
        transform: rotate(90deg);
    }
    
    .comparison-arrow.bidirectional .arrow-head-left {
        border-right: 8px solid var(--primary-color);
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }
    
    .comparison-arrow.bidirectional .arrow-head {
        border-left: 8px solid var(--accent-color);
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }
    
    .comparison-item {
        min-width: 200px;
        margin-bottom: 2rem;
    }
    
    .comparison-image {
        width: 130px;
        height: 130px;
    }
    
    .comparison-title {
        font-size: 1.2rem;
    }
    
    .comparison-title.franchise-takutaku {
        font-size: 1.4rem;
        transform: scale(1.02);
    }
    
    .company-description,
    .investor-description {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 1rem;
        white-space: normal;
        max-width: 180px;
    }
    
    /* タブレット版ラベル調整 */
    .effort-label,
    .hands-off-label {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        top: -10px;
        right: -10px;
    }
}

@media (max-width: 480px) {
    .comparison-title {
        font-size: 1.1rem;
        padding: 0.8rem;
    }
    
    .comparison-title.franchise-takutaku {
        font-size: 1.3rem;
        transform: scale(1.01);
    }
    
    .comparison-image {
        width: 100px;
        height: 100px;
    }
    
    .comparison-item {
        min-width: 200px;
        padding: 1.5rem 1rem;
    }
    
    .description-box {
        padding: 0.8rem 1rem;
        max-width: 160px;
    }
    
    .description-box p {
        font-size: 0.8rem;
    }
    
    /* モバイル版ラベル調整 */
    .effort-label,
    .hands-off-label {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        top: -8px;
        right: -8px;
    }
    
    /* Small Mobile Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-container {
        padding: 0 0.8rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-section a {
        font-size: 0.9rem;
        padding: 0.25rem 0;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.8rem;
    }
}
