@charset "UTF-8";

/* =========================================
   Web App Assessment Styles
   ========================================= */

body {
    font-family: 'Jost', 'Noto Sans JP', sans-serif;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

/* --- Utility Classes --- */
:root {
    --border-color: #eeeeee;
    --cta-red: #D02324;
    --cta-red-hover: #a81c1d;
    --text-dark: #1a1a1a;
    --service-green: #27ae60;
}

.text-red {
    color: #D02324 !important;
}

.section-border {
    border-bottom: 1px solid var(--border-color) !important;
}


/* =================================================================
   Header & Navigation (Unified Style)
   ================================================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    z-index: 1000;
    
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    
    transition: all 0.4s ease;
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

header.header-visible {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

.header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}

.header-logo-img {
    height: 36px; 
    width: auto;
    display: block;
}

/* --- モバイルメニュートグル --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

nav {
    display: flex;
    gap: 30px;
    align-items: center; 
    margin-right: 30px; 
}

nav a, .dropdown-trigger {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    display: flex; 
    align-items: center;
    cursor: pointer;
}

nav a:hover, .dropdown-trigger:hover {
    color: #D02324;
}

.nav-item-dropdown {
    position: relative;
    display: flex;        
    align-items: center;  
    height: 100%;
}

.nav-item-dropdown::after {
    content: '';
    position: absolute;
    bottom: -20px; 
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.arrow-down {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #888;
    border-bottom: 1.5px solid #888;
    transform: rotate(45deg) translateY(-2px); 
    margin-left: 8px;
    transition: all 0.3s ease;
}

.nav-item-dropdown:hover .arrow-down {
    border-color: #D02324;
    transform: rotate(225deg) translateY(-2px); 
}

.dropdown-menu {
    position: absolute;
    top: 100%; 
    left: 50%;
    transform: translateX(-50%) translateY(20px); 
    background-color: #ffffff;
    min-width: 240px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); 
    border-radius: 4px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    z-index: 200;
    border: 1px solid #eee;
    margin-top: 10px; 
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: #444;
    font-size: 13px;
    transition: background 0.2s, color 0.2s;
    text-align: left;
    white-space: nowrap;
    border-left: 3px solid transparent; 
}

.dropdown-menu a:hover {
    background-color: #fafafa;
    color: #27ae60;
    border-left-color: #27ae60;
}

/* ナビゲーション内のボタン */
.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn-outline {
    padding: 10px 20px;
    border: 1px solid var(--service-green);
    color: var(--service-green);
    background: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #fafff5;
}

.btn-solid {
    padding: 10px 20px;
    background: var(--service-green);
    color: white;
    border: 1px solid var(--service-green);
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-solid:hover {
    background: #2f9259;
}


/* --- Common Header Style --- */
.section-header-styled {
    margin-bottom: 60px;
    text-align: left;
}
.section-header-styled.center-layout {
    text-align: center;
}
.section-header-styled h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: #1a1a1a;
}
.header-underline {
    width: 60px;
    height: 4px;
    background: #D02324;
    margin: 0 auto 20px;
    border-radius: 2px;
}
.section-header-styled:not(.center-layout) .header-underline {
    margin: 0 0 20px 0;
}
.header-sub {
    color: #888;
    font-size: 1rem;
    letter-spacing: 1px;
}
.section-header-styled.tight-bottom {
    margin-bottom: 20px;
}
.header-subtitle {
    color: #D02324;
    display: block;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* --- 1. Hero Section --- */
.wa-hero {
    position: relative;
    padding: 160px 20px 140px;
    background: #ffffff; 
    overflow: hidden;
    text-align: center;
    max-width: 1280px;
    margin: 0 auto;
}
.pulse-container {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}
.pulse-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(208, 35, 36, 0.6);
    opacity: 0;
    width: 0; height: 0;
    animation: pulseSlow 8s infinite ease-out;
}
.c2 { animation-delay: 2.5s; }
.c3 { animation-delay: 5s; }

@keyframes pulseSlow {
    0% { width: 0; height: 0; opacity: 0.6; border-width: 2px; }
    100% { width: 1400px; height: 1400px; opacity: 0; border-width: 0px; }
}

.wa-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.wa-hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -1px;
}
.text-gradient {
    color: #D02324;
    background: linear-gradient(45deg, #D02324, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tag-badge.red-accent::before { background-color: #D02324; }
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #D02324;
    padding-bottom: 5px;
    transition: 0.3s;
}
.link-arrow:hover { gap: 15px; color: #D02324; }


/* --- 2. Reason Section --- */
.reason-section.fresh-theme {
    padding: 100px 0;
    background-color: #ffffff; 
    max-width: 1280px;
    margin: 0 auto;
}
.fresh-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}
.fresh-card {
    background: #fff;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid transparent;
}
.fresh-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(208, 35, 36, 0.1);
    border-color: rgba(208, 35, 36, 0.1);
}
.icon-circle {
    width: 80px;
    height: 80px;
    background: #fff5f5;
    color: #D02324;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: transform 0.4s ease, background 0.4s;
}
.fresh-card:hover .icon-circle {
    transform: scale(1.1) rotate(10deg);
    background: #D02324;
    color: #fff;
}
.fresh-card h3 {
    font-family: 'Jost', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}
.fresh-card p.jp-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
}
.fresh-card p.jp-text strong {
    display: block;
    color: #D02324;
    margin-bottom: 8px;
    font-weight: 500;
}


/* --- 3. Burp Suite Section --- */
.burp-section {
    padding: 100px 0;
    background: #ffffff; 
    border-top: none; 
    max-width: 1280px;
    margin: 0 auto;
}
.burp-intro { 
    text-align: center; 
    margin-bottom: 40px; 
    color: #666; 
    line-height: 1.8;
}
.burp-window {
    background: #fff; border: 1px solid #ddd; border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08); overflow: hidden;
    font-family: Arial, sans-serif; max-width: 1000px; margin: 0 auto;
}
.burp-top-bar { background: #f8f8f8; border-bottom: 3px solid #D02324; display: flex; padding: 0 10px; overflow-x: auto; }
.burp-tab { padding: 12px 20px; color: #888; font-weight: bold; font-size: 13px; cursor: pointer; white-space: nowrap; }
.burp-tab.active { background: #fff; color: #333; border: 1px solid #ddd; border-bottom: none; border-radius: 4px 4px 0 0; margin-top: 4px; padding-bottom: 8px; position: relative; top: 1px; }

.burp-controls { background: #fafafa; padding: 10px 15px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #eee; flex-wrap: wrap; }
.burp-btn { border: 1px solid #ccc; background: #fff; padding: 4px 15px; border-radius: 4px; font-size: 12px; cursor: pointer; color: #555; transition: 0.1s;}
.burp-url { background: #fff; border: 1px solid #ddd; flex: 1; padding: 5px 10px; font-family: monospace; font-size: 12px; color: #333; border-radius: 3px; min-width: 200px; }

.burp-split-view { display: flex; height: 380px; }
.burp-panel { flex: 1; border-right: 1px solid #eee; display: flex; flex-direction: column; position: relative; }
.burp-panel:last-child { border-right: none; }
.panel-label { background: #f9f9f9; padding: 8px 15px; font-size: 11px; font-weight: bold; color: #888; border-bottom: 1px solid #eee; text-transform: uppercase; letter-spacing: 0.5px; }

.http-code { 
    padding: 20px; 
    margin: 0; 
    height: 100%; 
    background: #fff; 
    color: #444; 
    font-family: 'Roboto Mono', monospace; 
    font-size: 13px; 
    line-height: 1.6; 
    overflow: auto;
    white-space: pre;
}

.method { color: #0056b3; font-weight: bold; }
.status-ok { color: #28a745; font-weight: bold; }
.highlight-input { background: #ffebeb; border-bottom: 2px solid #D02324; color: #D02324; font-weight: bold; padding: 0 2px; }
.highlight-danger { background: #fff3cd; color: #856404; font-weight: bold; padding: 0 2px; }
.burp-annotation { position: absolute; bottom: 20px; left: 20px; background: #333; color: #fff; padding: 6px 12px; border-radius: 30px; font-size: 11px; opacity: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.burp-annotation.danger { background: #D02324; }
@keyframes fadeIn { to { opacity: 1; } }

.blinking-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: #333;
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.highlight-target.active {
    background-color: #ffcccc;
    color: #D02324;
    font-weight: bold;
    transition: background 0.3s;
}
.burp-btn.clicked {
    background-color: #e0e0e0;
    transform: scale(0.95);
    border-color: #bbb;
}
#response-area { opacity: 0.6; transition: opacity 0.3s; }
#response-area.loaded { opacity: 1; }


/* --- 4. Hybrid Approach Section --- */
.hybrid-section {
    padding: 120px 0;
    background-color: #ffffff;
    border-top: none; 
    max-width: 1280px;
    margin: 0 auto;
}

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

.hybrid-part {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.hybrid-part h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}
.hybrid-part .desc {
    font-size: 1rem;
    line-height: 1.9;
    color: #666;
    text-align: left;
    display: inline-block;
    max-width: 320px;
}

.hybrid-connector {
    width: 60px;
    text-align: center;
    padding-top: 0;
}
.plus-sign {
    font-size: 2.5rem;
    font-weight: 400;
    color: #D02324;
    font-family: 'Jost', sans-serif;
    line-height: 1;
    display: block;
}


/* --- Coverage CTA Section --- */
.coverage-cta-section {
    padding: 100px 0;
    background-color: #ffffff; 
    max-width: 1280px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border-color);
}

.cta-flex-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 900px; 
    margin: 0 auto;
}

.cta-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-family: 'Jost', sans-serif; 
}

.cta-text p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.cta-btn-area {
    flex-shrink: 0;
}

.btn-outline-red {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #D02324;
    background: #fff;
    color: #D02324;
    padding: 14px 35px;
    border-radius: 4px; 
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(208, 35, 36, 0.1);
}

.btn-outline-red:hover {
    background: #D02324;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(208, 35, 36, 0.25);
}


/* --- Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px); 
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 85vh; 
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    position: relative;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

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

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1;
    z-index: 10;
}

.modal-close-btn:hover {
    color: #D02324;
    transform: rotate(90deg);
}

.modal-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.modal-header p {
    color: #888;
    font-size: 0.9rem;
}

.modal-scroll-area {
    padding: 30px 40px;
    overflow-y: auto; 
}

.modal-item-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-item-list li {
    font-size: 0.95rem;
    color: #333;
    padding: 10px;
    border-bottom: 1px dotted #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-item-list li i {
    color: #D02324;
    font-size: 0.8rem;
}

.modal-footer {
    padding: 15px 40px;
    background: #fcfcfc;
    border-top: 1px solid #eee;
    border-radius: 0 0 12px 12px;
}

.small-note {
    font-size: 0.8rem;
    color: #999;
    text-align: right;
    margin: 0;
}


/* --- 5. Report Sample Section --- */
.report-section {
    padding: 100px 0;
    background-color: #ffffff; 
    overflow: hidden;
    max-width: 1280px;
    margin: 0 auto;
}

.report-carousel-wrapper {
    position: relative;
    max-width: 800px;
    height: 500px;
    margin: 0 auto;
    perspective: 1200px;
}

.report-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.report-card {
    position: absolute;
    width: 300px; 
    height: 424px; 
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    text-align: left;
    
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    z-index: 0;
    pointer-events: none;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

}

.card-body.image-body {
    flex: 1;
    position: relative;
    padding: 0; 
    overflow: hidden;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.report-card.active {
    opacity: 1;
    transform: translateX(0) scale(1) translateZ(0);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    pointer-events: auto;
}

.report-card.prev {
    opacity: 0.6;
    transform: translateX(-110%) scale(0.85) rotateY(15deg);
    z-index: 5;
}

.report-card.next {
    opacity: 0.6;
    transform: translateX(110%) scale(0.85) rotateY(-15deg);
    z-index: 5;
}

.carousel-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 20;
    color: #666;
    transition: 0.3s;
}
.carousel-nav:hover { background: #D02324; color: #fff; border-color: #D02324; }
.prev-btn { left: -20px; }
.next-btn { right: -20px; }

.carousel-indicators {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.dot {
    width: 10px; height: 10px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.dot.active { background: #D02324; transform: scale(1.2); }


/* --- 6. Flow Section --- */
.flow-section { 
    padding: 100px 20px; 
    background: #ffffff; 
    max-width: 1280px;
    margin: 0 auto;
}

.flow-container {
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start;
    max-width: 1000px; 
    margin: 0 auto;
}

.flow-step {
    text-align: center; 
    width: 180px; 
    position: relative; 
    z-index: 2;
}

.flow-step-content h3 {
    font-size: 16px; 
    margin-bottom: 5px; 
    font-weight: 700; 
    color: #1a1a1a;
}

.flow-step-content p { 
    font-size: 13px; 
    color: #777; 
    line-height: 1.6;
}

.flow-note {
    text-align: right; 
    margin-top: 40px; 
    font-size: 14px; 
    color: #555; 
    font-weight: 500; 
    letter-spacing: 0.05em; 
    max-width: 1000px; 
    margin-left: auto; 
    margin-right: auto; 
}

.step-circle {
    width: 60px; 
    height: 60px; 
    background: #fff; 
    border: 2px solid #eee; 
    color: #ccc;
    border-radius: 50%; 
    margin: 0 auto 20px; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-weight: bold; 
    font-size: 18px; 
    transition: all 0.3s;
    font-family: 'Jost', sans-serif;
}

.flow-step:hover .step-circle {
    border-color: #D02324; 
    color: #D02324; 
    box-shadow: 0 0 15px rgba(208, 35, 36, 0.2);
}

.flow-connector {
    flex: 1; 
    height: 1px; 
    background: #e0e0e0; 
    margin-top: 30px; 
    position: relative;
}

.flow-connector::after {
    content: ""; 
    position: absolute; 
    top: -2px; 
    left: 0; 
    width: 6px; 
    height: 6px;
    background: #D02324; 
    border-radius: 50%; 
    animation: flowLine 2s infinite ease-in-out; 
    opacity: 0;
}

@keyframes flowLine {
    0% { left: 0; opacity: 1; } 
    100% { left: 100%; opacity: 0; }
}


/* --- CTA Section & Button --- */
.contact-section-simple {
    text-align: center;
    padding: 120px 20px;
    background: #ffffff;
    max-width: 1280px;
    margin: 0 auto;
}
.contact-section-simple h2 { 
    font-family: 'Jost', sans-serif; 
    font-size: 2.2rem; 
    margin-bottom: 20px; 
    color: #333; 
}
.contact-section-simple p {
    margin-bottom: 40px;
    color: #666;
}

.btn-wide { 
    display: inline-block; 
    text-decoration: none; 
    background: #D02324; 
    color: white; 
    padding: 14px 40px; 
    border: none; 
    border-radius: 4px; 
    font-size: 15px; 
    font-weight: 500; 
    cursor: pointer; 
    box-shadow: 0 4px 12px rgba(208, 35, 36, 0.3); 
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-wide:hover { 
    background: #a81c1d; 
    color: white; 
    transform: translateY(-2px);
}


/* =================================================================
   RESPONSIVE STYLES (レスポンシブ対応)
   ================================================================= */
@media (max-width: 1024px) {
    header {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 768px) {
    /* ヘッダー */
    header {
        padding: 12px 20px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    header.header-visible {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .header-logo-link {
        z-index: 1001;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    /* メニュー展開時にロゴを非表示 */
    header.menu-open .header-logo-link {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    
    .header-logo-img { 
        height: 28px; 
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* ナビゲーション - スライドインメニュー */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        margin: 0;
        gap: 0;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    nav.active {
        right: 0;
    }
    
    nav > a {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 15px;
        color: var(--text-dark);
    }
    
    nav > a:hover {
        color: var(--cta-red);
    }
    
    .nav-item-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }
    
    .nav-item-dropdown::after {
        display: none;
    }
    
    .dropdown-trigger {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
        justify-content: space-between;
        color: var(--text-dark);
    }
    
    .dropdown-trigger:hover {
        color: var(--text-dark);
    }
    
    .nav-item-dropdown.mobile-open .arrow-down {
        transform: rotate(225deg) translateY(2px);
        border-color: var(--service-green);
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        width: 100%;
        min-width: 100%;
        background: #f9f9f9;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .nav-item-dropdown.mobile-open .dropdown-menu {
        max-height: 500px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .dropdown-menu a {
        padding: 12px 20px;
        font-size: 13px;
        border-left: none !important;
        border-bottom: 1px solid #eee;
        white-space: normal;
        word-break: break-word;
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
    }
    
    .dropdown-menu a:last-child {
        border-bottom: none;
    }
    
    .nav-buttons {
        width: 100%;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #f0f0f0;
    }
    
    .nav-buttons .btn-outline,
    .nav-buttons .btn-solid {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        display: block;
    }
    
    /* Hero */
    .wa-hero {
        padding: 100px 20px 60px;
    }
    .wa-hero-content h1 { 
        font-size: 2rem; 
    }
    
    /* Section Headers */
    .section-header-styled h2 {
        font-size: 1.8rem;
    }
    .section-header-styled {
        margin-bottom: 40px;
    }
    
    /* Fresh Grid */
    .fresh-grid { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    .fresh-card {
        padding: 40px 25px;
    }
    
    /* Burp Section */
    .burp-section {
        padding: 60px 15px;
    }
    .burp-intro {
        font-size: 14px;
        padding: 0 10px;
    }
    .burp-intro br {
        display: none;
    }
    
    /* Burp Window - モバイル最適化 */
    .burp-window {
        border-radius: 6px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    /* タブバー - 横スクロール可能に */
    .burp-top-bar {
        padding: 0 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .burp-top-bar::-webkit-scrollbar {
        display: none;
    }
    .burp-tab {
        padding: 8px 10px;
        font-size: 10px;
        flex-shrink: 0;
    }
    .burp-tab.active {
        padding: 8px 12px;
        margin-top: 3px;
    }
    
    /* コントロールバー */
    .burp-controls {
        padding: 8px 10px;
        gap: 8px;
    }
    .burp-btn {
        padding: 4px 10px;
        font-size: 11px;
    }
    .burp-url {
        font-size: 10px;
        padding: 4px 8px;
        min-width: 0;
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* パネル - 縦並び */
    .burp-split-view { 
        flex-direction: column; 
        height: auto; 
    }
    .burp-panel { 
        border-right: none; 
        border-bottom: 1px solid #eee;
        min-height: 200px;
        height: auto;
    }
    .burp-panel:last-child {
        border-bottom: none;
        min-height: 180px;
    }
    .panel-label {
        padding: 6px 12px;
        font-size: 10px;
    }
    
    /* HTTPコード表示 */
    .http-code {
        font-size: 10px;
        padding: 12px;
        line-height: 1.5;
        min-height: 150px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* アノテーション（吹き出し）*/
    .burp-annotation {
        bottom: 10px;
        left: 12px;
        padding: 4px 10px;
        font-size: 9px;
        border-radius: 20px;
    }
    
    /* Hybrid Section */
    .hybrid-section {
        padding: 60px 20px;
    }
    .hybrid-diagram { 
        flex-direction: column; 
        gap: 30px; 
    }
    .hybrid-part { 
        padding: 0; 
    }
    .hybrid-part .desc { 
        text-align: center; 
        max-width: 100%;
    }
    .hybrid-connector { 
        width: 100%; 
        padding-top: 0; 
    }
    .plus-sign { 
        display: block; 
        transform: none; 
        margin: 10px 0; 
        font-size: 2rem; 
    }
    .header-sub br {
        display: none;
    }
    
    /* CTA Section */
    .coverage-cta-section {
        padding: 60px 20px;
    }
    .cta-flex-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    .cta-text h2 {
        font-size: 1.5rem;
    }
    .cta-text p br {
        display: none;
    }
    
    /* Modal */
    .modal-content {
        max-height: 80vh;
    }
    .modal-header {
        padding: 20px;
    }
    .modal-header h3 {
        font-size: 1.3rem;
    }
    .modal-scroll-area {
        padding: 20px;
    }
    .modal-item-list {
        grid-template-columns: 1fr; 
    }
    .modal-footer {
        padding: 15px 20px;
    }
    
    /* Report Section */
    .report-section {
        padding: 60px 20px;
    }
    .report-carousel-wrapper {
        height: 420px;
    }
    .report-card { 
        width: 240px; 
        height: 340px; 
    }
    .carousel-nav { 
        width: 40px; 
        height: 40px; 
    }
    .prev-btn { left: 5px; }
    .next-btn { right: 5px; }
    
    /* Flow Section */
    .flow-section {
        padding: 60px 20px;
    }
    .flow-container { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 0; 
    }
    .flow-connector { 
        display: none; 
    } 
    .flow-step { 
        text-align: left; 
        width: 100%; 
        display: flex; 
        align-items: flex-start; 
        gap: 20px;
        padding: 20px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    .flow-step:last-of-type {
        border-bottom: none;
    }
    .step-circle { 
        margin: 0; 
        width: 50px; 
        height: 50px; 
        font-size: 16px; 
        flex-shrink: 0;
        /* モバイルでは最初から色付き */
        border-color: #D02324;
        color: #D02324;
    }
    .flow-step-content {
        flex: 1;
    }
    .flow-step-content h3 {
        margin-bottom: 8px;
    }
    .flow-step-content p {
        font-size: 14px;
    }
    .flow-note {
        text-align: right; 
        margin-top: 25px;
        font-size: 13px;
    }
    
    /* Contact Section */
    .contact-section-simple {
        padding: 60px 20px;
    }
    .contact-section-simple h2 {
        font-size: 1.5rem;
    }
    .contact-section-simple p br {
        display: none;
    }
}

@media (max-width: 480px) {
    .wa-hero-content h1 {
        font-size: 1.7rem;
    }
    
    .section-header-styled h2 {
        font-size: 1.5rem;
    }
    
    .report-card {
        width: 200px;
        height: 283px;
    }
    
    .report-carousel-wrapper {
        height: 350px;
    }
    
    .fresh-card {
        padding: 30px 20px;
    }
    
    .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Burp Section - 超小型画面 */
    .burp-section {
        padding: 50px 10px;
    }
    .burp-intro {
        font-size: 13px;
    }
    .burp-tab {
        padding: 6px 8px;
        font-size: 9px;
    }
    .burp-controls {
        padding: 6px 8px;
    }
    .burp-btn {
        padding: 3px 8px;
        font-size: 10px;
    }
    .burp-url {
        font-size: 9px;
        padding: 3px 6px;
    }
    .http-code {
        font-size: 9px;
        padding: 10px;
        line-height: 1.4;
    }
    .panel-label {
        padding: 5px 10px;
        font-size: 9px;
    }
    .burp-annotation {
        font-size: 8px;
        padding: 3px 8px;
        bottom: 8px;
        left: 10px;
    }
}

/* 横向きスマホ・小型タブレット用 */
@media (max-width: 768px) and (orientation: landscape) {
    .burp-split-view {
        flex-direction: row;
        height: 280px;
    }
    .burp-panel {
        border-right: 1px solid #eee;
        border-bottom: none;
        min-height: auto;
        height: 100%;
    }
    .burp-panel:last-child {
        border-right: none;
    }
    .http-code {
        min-height: auto;
    }
}
