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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2d3a8c, #3b82f6);
    color: white;
    padding: 15px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-btn {
    background: white;
    color: #2d3a8c;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    gap: 40px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: #2d3a8c;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #2d3a8c;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2d3a8c;
    transition: width 0.3s ease;
}

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

/* Hero Diagonal Section */
.hero-diagonal {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-diagonal::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, #2d3a8c, #3b82f6);
    transform: skewX(-15deg);
    transform-origin: top right;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
    padding: 100px 0 50px;
    position: relative;
    z-index: 2;
}

.hero-text {
    padding-left: 60px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInTitle 1s ease forwards;
}

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

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

.title-line.accent {
    color: #2d3a8c;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-visual {
    position: relative;
    padding-right: 60px;
}

.geometric-shape {
    position: absolute;
    top: -50px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
    animation: floatShape 6s ease-in-out infinite;
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    opacity: 0;
    animation: fadeInScale 1s ease 0.8s forwards;
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    background: #f8fafc;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    color: #2d3a8c;
}

.timeline-container {
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #2d3a8c, #3b82f6);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.reverse .timeline-content {
    order: 3;
    text-align: right;
}

.timeline-item.reverse .timeline-visual {
    order: 1;
}

.timeline-item::before {
    content: attr(data-year);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #2d3a8c;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 2;
}

.timeline-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2d3a8c;
}

.timeline-content p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
}

.timeline-visual img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

/* Interactive Cases Map */
.cases-map {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    position: relative;
}

.map-container {
    position: relative;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
}

.map-background {
    position: absolute;
    inset: 0;
}

.map-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: sepia(100%) hue-rotate(200deg);
}

.japan-map {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg viewBox="0 0 800 600" xmlns="http://www.w3.org/2000/svg"><path d="M200 200 Q400 150 600 200 Q650 300 600 400 Q400 450 200 400 Q150 300 200 200" fill="rgba(45,58,140,0.3)" stroke="rgba(45,58,140,0.6)" stroke-width="2"/></svg>') center/contain no-repeat;
}

.case-point {
    position: absolute;
    cursor: pointer;
}

.point-marker {
    width: 20px;
    height: 20px;
    background: #fbbf24;
    border-radius: 50%;
    border: 3px solid white;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.case-point:hover .point-marker {
    transform: scale(1.5);
    background: #f59e0b;
}

.case-tooltip {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.9);
    padding: 15px;
    border-radius: 10px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.case-point:hover .case-tooltip {
    opacity: 1;
    visibility: visible;
}

.case-tooltip h4 {
    color: #fbbf24;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.case-tooltip p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Customer Voices Chat */
.customer-voices {
    padding: 100px 0;
    background: #f1f5f9;
}

.chat-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.chat-message {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInChat 0.6s ease forwards;
}

.chat-message:nth-child(1) { animation-delay: 0.2s; }
.chat-message:nth-child(2) { animation-delay: 0.4s; }
.chat-message:nth-child(3) { animation-delay: 0.6s; }
.chat-message:nth-child(4) { animation-delay: 0.8s; }

.chat-message.consultant {
    flex-direction: row-reverse;
}

.chat-message.consultant .message-content {
    background: linear-gradient(135deg, #2d3a8c, #3b82f6);
    color: white;
}

.avatar img,
.avatar svg {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.message-content {
    flex: 1;
    background: #f8fafc;
    padding: 20px;
    border-radius: 20px;
    border-bottom-left-radius: 5px;
}

.chat-message.consultant .message-content {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 5px;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.name {
    font-weight: 600;
    color: #2d3a8c;
}

.chat-message.consultant .name {
    color: #fbbf24;
}

.time {
    font-size: 0.8rem;
    color: #64748b;
}

/* Before/After Transformation */
.transformation {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
}

.comparison-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.before,
.after {
    text-align: center;
}

.before h3,
.after h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #fbbf24;
}

.stats {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.stat {
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}

.number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
}

.label {
    font-size: 0.9rem;
    color: #94a3b8;
}

.before img,
.after img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.arrow {
    font-size: 3rem;
    color: #fbbf24;
    font-weight: 700;
}

/* Asymmetric Services */
.services-asymmetric {
    padding: 100px 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    grid-auto-rows: min-content;
}

.service-card {
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(45,58,140,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.service-card.primary {
    grid-row: span 2;
    background: linear-gradient(135deg, #2d3a8c, #3b82f6);
    color: white;
}

.service-card.secondary {
    background: white;
    border: 2px solid #e2e8f0;
}

.service-card.tertiary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.service-card.quaternary {
    background: white;
    border: 2px solid #e2e8f0;
}

.service-header {
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fbbf24;
}

.service-card.secondary .price,
.service-card.quaternary .price {
    color: #2d3a8c;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.service-content ul {
    list-style: none;
    margin: 20px 0;
}

.service-content li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.service-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-weight: 700;
}

.cta-btn {
    background: #fbbf24;
    color: #2d3a8c;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.service-image img,
.service-visual img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 20px;
}

/* Circular Contact */
.contact-circular {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
}

.contact-circle {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
}

.contact-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.contact-center h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}



/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: linear-gradient(45deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    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: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #667eea;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.contact-item ul{
    list-style: none;
}

.contact-item ul a{
    color: #fff;
}

.contact-item ul a:hover{
    color: #667eea;
}



.contact-icon {
    width: 50px;
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #64748b;
}

/* Animations */
@keyframes slideInTitle {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .floating-nav {
        position: fixed;
        top: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 120px 0 50px;
    }

    .hero-text {
        padding-left: 20px;
        text-align: center;
    }

    .hero-visual {
        padding-right: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .timeline-item.reverse .timeline-content {
        order: initial;
        text-align: center;
    }

    .timeline-container::before {
        display: none;
    }

    .before-after {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.primary {
        grid-row: span 1;
    }

    .contact-circle {
        width: 350px;
        height: 350px;
    }

    .contact-item {
        position: relative;
        transform: none;
        margin-bottom: 20px;
    }

    .contact-center {
        position: relative;
        transform: none;
        margin-bottom: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}



.text-wrapper h2, .text-wrapper h3{
    margin-top: 20px;
    margin-bottom: 10px;
}

.text-wrapper h1{
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}
.text-wrapper h2{
    font-size: 1.5rem;
}

.text-wrapper{
    margin: 30px auto;
    max-width: 1200px;
    padding: 20px;
}
.text-wrapper ul{
    list-style: initial!important;
}

.text-wrapper p{
    margin-bottom: 10px;
}