/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ベースフォント設定 */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --border-light: #e5e7eb;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

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

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

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

/* モバイル対応 - 全体的な幅制限 */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
    }
    
    * {
        max-width: 100vw;
    }
    
    .container {
        padding: 0 1rem;
        width: 100%;
    }
    
    .nav-container {
        padding: 1rem 1rem;
    }
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.cta-nav {
    background: var(--gradient-primary);
    color: var(--text-white) !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.cta-nav:hover {
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* ヒーローセクション */
.hero {
    min-height: 40vh;
    position: relative;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
    max-width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    opacity: 0.95;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

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

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

.float-2 {
    width: 150px;
    height: 150px;
    bottom: 30%;
    left: 5%;
    animation-delay: 2s;
}

.float-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 30%;
    animation-delay: 4s;
}

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

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    min-height: 60vh;
    padding-top: 2rem;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
    max-width: 100%;
    width: 100%;
    text-align: center;
}

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

.hero-title-small {
    display: block;
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-title-small {
    animation-delay: 0.2s;
}

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

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

.title-line.accent {
    font-size: clamp(2rem, 4vw, 3.2rem);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-ranking-image {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.7s forwards;
}

.hero-ranking-image .ranking-img {
    max-width: 80%;
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--text-white);
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

/* Teamセクション CTA */
.team-cta {
    margin-top: 1.5rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    border: 2px solid rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    color: #1f2937;
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.hero-main-image {
    max-width: 100%;
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
    animation: heroImageFloat 3s ease-in-out infinite;
    margin-top: -40px;
}

/* モバイル版用の画像（デスクトップでは非表示） */
.hero-visual-mobile {
    display: none;
}

.hero-main-image-mobile {
    max-width: 100%;
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
    animation: heroImageFloat 3s ease-in-out infinite;
    margin: 0 auto 2rem;
}

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

/* ヒーローセクション アプリアイコンスライダー */
.hero-icons-slider {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    padding: 3rem 0;
    position: relative;
    margin-top: 2rem;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.hero-icons-slider::before,
.hero-icons-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-icons-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--gradient-primary, rgba(99, 102, 241, 0.3)), transparent);
}

.hero-icons-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--gradient-primary, rgba(99, 102, 241, 0.3)), transparent);
}

.hero-icons-track {
    display: flex;
    gap: 2rem;
    animation: heroSlideLeft 30s linear infinite;
}

.hero-icon-item {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-icon-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    animation-play-state: paused;
}

.hero-icon-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes heroSlideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 当社の強みセクション */
.service-points {
    padding: 6rem 0;
    background-image: url('img/background/background1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.service-points::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.service-points .container {
    position: relative;
    z-index: 1;
}

.service-points .section-title {
    color: white;
}

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

.point-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.point-icon {
    width: 80px;
    height: 80px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.point-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000000;
}

.point-card p {
    color: #6b7280;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .points-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 私たちを選ぶ理由セクション */
.why-choose-us {
    padding: 6rem 0;
    background: white;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

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

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

.reason-header h3 {
    font-size: 2rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.reason-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.reason-image {
    width: 250px;
    height: 250px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reason-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reason-image.line-icon {
    background: #06C755;
}

.reason-image.line-icon i {
    font-size: 10rem;
    color: white;
}

.reason-table {
    margin: 2rem auto;
    max-width: 600px;
}

.reason-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reason-table thead {
    background: #4dd0c4;
}

.reason-table th {
    padding: 1rem;
    color: white;
    font-weight: 600;
    text-align: left;
    font-size: 0.9rem;
}

.reason-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #333;
    font-size: 0.9rem;
}

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

.reason-table tbody tr:nth-child(odd) {
    background: #f9fafb;
}

.reason-table td strong {
    color: var(--primary-color);
    font-weight: 700;
}

.reason-text {
    color: #4b5563;
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 1024px) {
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* お悩みセクション */
.worries-section {
    padding: 6rem 0;
    background: white;
}

.worries-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4rem;
}

.worries-highlight {
    color: #ef4444;
    font-size: 1.3em;
}

.worries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.worry-item {
    background: #fbbf24;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.worry-item p {
    color: #333;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}

.worries-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    position: relative;
}

.arrow-line {
    width: 60%;
    height: 3px;
    background: #fbbf24;
    position: relative;
}

.arrow-triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #fbbf24;
    position: absolute;
    bottom: -10px;
}

.worries-solution {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-top: 3rem;
}

.worries-solution strong {
    font-size: 1.8rem;
    color: #000;
    font-weight: 900;
}

@media (max-width: 1024px) {
    .worries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .worry-item {
        width: 180px;
        height: 180px;
    }
    
    .worries-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .worries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .worry-item {
        width: 150px;
        height: 150px;
    }
    
    .worries-title {
        font-size: 1.3rem;
        padding: 0 1rem;
    }
    
    .worries-solution {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    .worries-solution strong {
        font-size: 1.4rem;
    }
}

/* 発注者の声セクション */
.client-voices {
    padding: 6rem 0;
    background: #f9fafb;
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.voice-panel {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.voice-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f3f4f6;
}

.client-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice-features {
    padding: 2rem 1.5rem;
    background: #f9fafb;
}

.features-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.features-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-bubble {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: #bfdbfe;
    color: #1e40af;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.voice-content {
    padding: 2rem 1.5rem;
    background: white;
    flex-grow: 1;
}

.content-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.content-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
}

@media (max-width: 1024px) {
    .voices-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .voice-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .client-voices {
        padding: 4rem 0;
    }
    
    .voices-grid {
        gap: 1.5rem;
    }
    
    .voice-image {
        height: 150px;
    }
    
    .voice-features,
    .voice-content {
        padding: 1.5rem 1rem;
    }
}

.phone-mockup {
    position: relative;
    z-index: 2;
    transform: rotate(-5deg);
    animation: phoneFloat 3s ease-in-out infinite;
}

.app-screenshot {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    object-fit: cover;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.app-icons-grid {
    position: absolute;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    z-index: 1;
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    opacity: 0;
    animation: iconPop 0.5s ease-out forwards;
    transition: transform 0.3s ease;
}

.app-icon:nth-child(1) { animation-delay: 1s; }
.app-icon:nth-child(2) { animation-delay: 1.2s; }
.app-icon:nth-child(3) { animation-delay: 1.4s; }
.app-icon:nth-child(4) { animation-delay: 1.6s; }

.app-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

@keyframes phoneFloat {
    0%, 100% { transform: rotate(-5deg) translateY(0px); }
    50% { transform: rotate(-5deg) translateY(-10px); }
}

@keyframes iconPop {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.8);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
}

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

/* セクション共通スタイル */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-title.light {
    color: var(--text-white);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.8);
}

/* 会社概要セクション */
.about {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.company-vision {
    margin-bottom: 3rem;
}

.company-vision h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.company-vision p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.company-values h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateX(10px);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.value-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-visual {
    position: relative;
}

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

.main-image {
    position: relative;
    z-index: 2;
}

.floating-image {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    z-index: 3;
    opacity: 1;
    animation: floatImage 4s ease-in-out infinite;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

/* サービスセクション */
.services {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    color: var(--text-white);
}

.services-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.services-background .bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
}

/* 料金プランスタイル */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.pricing-card {
    background: #f5f5f0;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.plan-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.plan-price {
    margin-bottom: 0.5rem;
}

.price-main {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
}

.price-period {
    font-size: 1.5rem;
    color: #333;
    font-weight: 400;
}

.plan-tax {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.plan-pages {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 auto 2rem;
    display: inline-block;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
}

.plan-features li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.plan-info {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 2px solid #ddd;
}

.plan-delivery {
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.plan-support {
    font-size: 0.9rem;
    color: #666;
}

.plan-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.plan-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* サービス詳細ボタン */
.service-detail-btn-container {
    text-align: center;
    margin-top: 4rem;
}

.service-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    color: var(--primary-color);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.service-detail-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.3);
}

.service-detail-btn i {
    transition: transform 0.3s ease;
}

.service-detail-btn:hover i {
    transform: translateX(5px);
}

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.primary {
    background: rgba(251, 191, 36, 0.15);
    border: 2px solid rgba(251, 191, 36, 0.4);
}

.service-card.primary::before {
    opacity: 1;
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.service-highlight {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fbbf24;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: white;
}

/* ポートフォリオセクション */
/* ポートフォリオセクション - 新デザイン */
.portfolio {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

/* ポートフォリオグリッド */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.portfolio-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* ポートフォリオカード */
.portfolio-card {
    display: block;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

/* カード画像 */
.card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 1rem;
    transition: transform 0.4s ease;
}

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

/* カードオーバーレイ */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(99, 102, 241, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
}

.view-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transform: scale(0.5);
    transition: transform 0.4s ease;
}

.portfolio-card:hover .view-icon {
    transform: scale(1);
}

/* カードコンテンツ */
.card-content {
    padding: 1.75rem;
}

.card-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .portfolio {
        padding: 4rem 0;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .card-image {
        height: 180px;
    }
    
    .card-content {
        padding: 1.25rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .card-image {
        height: 150px;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .card-category {
        font-size: 0.7rem;
        padding: 0.3rem 0.75rem;
    }
    
    .card-title {
        font-size: 0.9rem;
    }
    
    .card-description {
        font-size: 0.8rem;
    }
}

/* CTA */
.portfolio-cta {
    text-align: center;
    margin-top: 4rem;
}

.portfolio-cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.portfolio-cta .btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.portfolio-cta .btn i {
    font-size: 0.9rem;
}

/* ブログセクション */
.blog {
    padding: 6rem 0;
    background: white;
}

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

.blog-posts {
    display: grid;
    gap: 2rem;
}

.blog-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-post {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
}

.blog-post-link:hover .blog-post,
.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.blog-post.featured {
    grid-template-columns: 1fr;
    background: var(--bg-light);
    border: 2px solid var(--primary-color);
}

.blog-post.featured .post-image {
    height: 250px;
}

.post-image {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .post-img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-post.featured .post-content {
    padding: 2rem;
}

.post-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.blog-post.featured .post-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.post-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-date {
    font-weight: 500;
}

.post-author {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (max-width: 768px) {
    .blog-sidebar {
        display: none;
    }
}

.sidebar-widget {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.sidebar-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.8rem;
}

.category-list a {
    text-decoration: none;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-color);
}

.count {
    font-size: 0.8rem;
    color: var(--text-light);
}

.external-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.external-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-dark);
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.external-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.external-link i {
    font-size: 1.2rem;
    width: 20px;
}

.recent-apps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-app {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.recent-app:hover {
    transform: translateX(5px);
}

.recent-app-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.recent-app-info h5 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
}

.recent-app-info p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.blog-cta {
    text-align: center;
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-top: 2rem;
}

.blog-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.blog-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.blog-cta .btn {
    background: white;
    color: var(--primary-color);
}

.blog-cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

/* メンバーセクション */
.member {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.member-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-image-container {
    position: relative;
    margin-bottom: 2rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.profile-decoration {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: 1;
    animation: rotate 10s linear infinite;
}

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

.profile-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.profile-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.profile-education {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.profile-description {
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.activity-gallery h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.activity-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.activity-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.activity-image:hover {
    transform: scale(1.02);
}

/* お問い合わせセクション */
.contact {
    padding: 6rem 0;
    position: relative;
    background: var(--bg-dark);
    color: var(--text-white);
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.contact-background .bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.response-time {
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.consultation-list {
    list-style: none;
    margin-bottom: 2rem;
}

.consultation-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.consultation-list i {
    color: var(--accent-color);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-white);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

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

.btn-full {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

/* フッター */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.5px;
}

.footer-nav h4,
.footer-social h4 {
    margin-bottom: 1rem;
    color: var(--text-white);
}

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

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
}

.privacy-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--primary-color);
}

/* アニメーション */
@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

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

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .slider-container {
        padding: 0 50px;
    }
    
    .app-slide {
        flex: 0 0 280px; /* 250px → 280px に変更 */
        min-width: 280px;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        max-width: 100vw;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        overflow-x: hidden;
        box-sizing: border-box;
    }

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

    .hamburger {
        display: flex;
    }

    .logo-text {
        display: block;
        font-size: 0.9rem;
    }

    .footer-logo-text {
        font-size: 1rem;
    }

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

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

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

    .hero {
        min-height: 60vh;
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        min-height: auto;
        padding-top: 1rem;
    }

    .hero-visual {
        display: none; /* モバイル版では非表示 */
    }

    .hero-visual-mobile {
        display: block; /* モバイル版では表示 */
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-main-image {
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .hero-main-image-mobile {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .hero-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 140px;
        max-width: none;
        flex: 1;
    }

    .hero-icon-item {
        width: 70px;
        height: 70px;
    }

    .hero-icons-track {
        gap: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .app-gallery {
        grid-template-columns: 1fr;
    }

    .app-item.featured {
        grid-column: span 1;
    }

    .app-item.featured .app-image {
        aspect-ratio: 1;
    }
    
    /* スライダーレスポンシブ */
    .slider-container {
        padding: 0 40px;
    }
    
    .app-slide {
        flex: 0 0 250px; /* 220px → 250px に変更 */
        min-width: 250px;
        max-width: 250px;
    }
    
    .app-slide .app-image {
        height: 180px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn i {
        font-size: 1rem;
    }
    
    .prev-btn {
        margin-left: 0;
        left: 10px;
    }
    
    .next-btn {
        margin-right: 0;
        right: 10px;
    }

    .member-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-post {
        grid-template-columns: 1fr;
    }

    .blog-post .post-image {
        height: 200px;
    }

    .blog-post.featured .post-image {
        height: 250px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .container {
        padding: 0 1rem;
    }

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .activity-images {
        grid-template-columns: 1fr;
    }
    
    /* スライダーモバイル */
    .slider-container {
        padding: 0 45px;
        max-width: 100%;
    }
    
    .app-slide {
        flex: 0 0 220px; /* 200px → 220px に変更 */
        min-width: 220px;
        max-width: 220px;
    }
    
    .app-slide .app-image {
        height: 160px;
    }
    
    .app-slide .app-info {
        padding: 1rem;
    }
    
    .app-slide .app-info h3 {
        font-size: 1rem;
    }
    
    .app-slide .app-info p {
        font-size: 0.8rem;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    
    .slider-btn i {
        font-size: 0.9rem;
    }
    
    .prev-btn {
        margin-left: 0;
        left: 5px;
    }
    
    .next-btn {
        margin-right: 0;
        right: 5px;
    }
}

/* スクロール時のアニメーション用クラス */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ヒーローセクション重複回避 */
.hero {
    padding-top: 150px;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
    }
}

/* ポートフォリオCTAボタン */
.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

.portfolio-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.portfolio-cta .btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.portfolio-cta .btn i {
    font-size: 0.9rem;
}

/* スライダースタイル - 完全リニューアル */
.slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 60px;
}

.slider-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.app-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1.5rem;
    width: max-content; /* コンテンツに合わせて幅を調整 */
    transform: translateX(0); /* 初期位置を明示的に設定 */
}

.app-slide {
    flex: 0 0 300px; /* 280px → 300px に変更 */
    min-width: 300px;
    max-width: 300px;
}

.app-slide .app-link {
    display: block;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.app-slide .app-link:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.app-slide .app-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    background: #f8fafc;
    padding: 1rem;
}

.app-slide .app-info {
    padding: 1.5rem;
    text-align: center;
}

.app-slide .app-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.app-slide .app-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color); /* 常時青色に変更 */
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    z-index: 1000; /* z-indexを高く設定 */
    position: absolute;
}

.slider-btn:hover {
    background: #1e40af; /* より濃い青色に変更 */
    color: white;
    transform: scale(1.1);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.slider-btn i {
    font-size: 1.2rem;
    color: white; /* 白色に変更 */
}

.slider-btn:hover i {
    color: white;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.slider-dot:hover {
    background: var(--primary-color);
    opacity: 0.7;
}

/* デスクトップ版：改行タグを非表示 */
.mobile-break {
    display: none;
}

/* モバイル版：改行タグを表示 */
@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }
}