[File content truncated: showing lines 1-2000 of 4016 total lines. Use offset/limit parameters to view more.]
/* Global Reset and Base Styles */
* {
    box-sizing: border-box;
}

/* 横スクロール防止とレスポンシブ対応 */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Custom Font */
@font-face {
    font-family: 'Yosugara';
    src: url('./fonts/yosugaraver1_2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* RINDO 背景レイヤー */
/* クリック遮断を防ぐ */
.rindo-background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://tnbkn.com/wp-content/uploads/rinroad-background-scaled.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.rindo-background-layer.active {
    opacity: 1;
}

/* --- FIX: 背景レイヤーがクリックを遮らないようにする --- */
#rindo-background-layer,
.rindo-background-layer {
  pointer-events: none;
}

/* 既存のフェードインなどの見た目はそのまま */
.rindo-background-layer.active {
  opacity: 1;
}

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

/* Loading Screen */
#loading-screen { 
    pointer-events: none; 
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.320, 1), opacity 0.8s ease;
}

.loading-screen.slide-up {
    transform: translateY(-100%);
    opacity: 0;
}

.loading-content {
    text-align: center;
    color: #333333;
}

.loading-logo {
    margin-bottom: 2rem;
}

.loading-text {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    animation: none;
    opacity: 1;
}

.loading-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    opacity: 0.8;
    animation: none;
}

.loading-nickname {
    font-size: 2rem;
    font-weight: 400;
    margin-top: 0.5rem;
    font-family: 'Yosugara', 'Klee One', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
    color: #333333;
    transform: rotate(-1deg);
    overflow: hidden;
}

.char {
    display: inline-block;
    position: relative;
    opacity: 1;
}

.char::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    animation-fill-mode: forwards;
}

.char-1::after { animation: slideReveal1 0.2s ease 0.1s forwards; }
.char-2::after { animation: slideReveal2 0.2s ease 0.22s forwards; }
.char-3::after { animation: slideReveal3 0.2s ease 0.34s forwards; }
.char-4::after { animation: slideReveal4 0.2s ease 0.46s forwards; }
.char-5::after { animation: slideReveal5 0.1s cubic-bezier(0.77, 0, 0.175, 1) 0.65s forwards; }
.char-6::after { animation: slideReveal6 0.1s cubic-bezier(0.77, 0, 0.175, 1) 0.68s forwards; }
.char-7::after { animation: slideReveal7 0.1s cubic-bezier(0.77, 0, 0.175, 1) 0.71s forwards; }
.char-8::after { animation: slideReveal8 0.1s cubic-bezier(0.77, 0, 0.175, 1) 0.74s forwards; }
.char-9::after { animation: slideReveal9 0.1s cubic-bezier(0.77, 0, 0.175, 1) 0.77s forwards; }

@keyframes slideReveal1 { from { transform: translateX(0%); } to { transform: translateX(100%); } }
@keyframes slideReveal2 { from { transform: translateX(0%); } to { transform: translateX(100%); } }
@keyframes slideReveal3 { from { transform: translateX(0%); } to { transform: translateX(100%); } }
@keyframes slideReveal4 { from { transform: translateX(0%); } to { transform: translateX(100%); } }
@keyframes slideReveal5 { from { transform: translateX(0%); } to { transform: translateX(100%); } }
@keyframes slideReveal6 { from { transform: translateX(0%); } to { transform: translateX(100%); } }
@keyframes slideReveal7 { from { transform: translateX(0%); } to { transform: translateX(100%); } }
@keyframes slideReveal8 { from { transform: translateX(0%); } to { transform: translateX(100%); } }
@keyframes slideReveal9 { from { transform: translateX(0%); } to { transform: translateX(100%); } }

.loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 2rem auto;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 8px solid transparent;
    border-top: 8px solid #333333;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: 0s;
    transform: scale(1);
    border-top-color: #333333;
}

.spinner-ring:nth-child(2) {
    animation-delay: -0.5s;
    transform: scale(0.75);
    border-top-color: #666666;
}

.spinner-ring:nth-child(3) {
    animation-delay: -1s;
    transform: scale(0.5);
    border-top-color: #999999;
}

.loading-percentage {
    position: absolute;
    top: 48%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    animation: fadeInUp 1s ease 0.9s both;
    text-align: center;
    z-index: 10;
}

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

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

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

body {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    line-height: 1.6;
    color: #374151;
    margin: 0;
    padding: 0;
}

.hero-service-background {
    position: relative;
    z-index: -2;
}

.hero-service-background::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://tnbkn.com/wp-content/uploads/nabeken-background-scaled.webp') center center / cover no-repeat fixed;
    z-index: -2;
    pointer-events: none;
}

.hero-service-background::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
    pointer-events: none;
}


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

/* セクション間の余白を統一 */
section.container {
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

section.container:last-child {
    margin-bottom: 0;
}
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    background-color: transparent;
}


.hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 4rem;
    align-items: center;
    padding: 0 3rem;
}

.hero-left {
    z-index: 10;
    padding-left: 2rem;
}

.title-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #1a1a1a;
    padding: 2rem 7rem 2rem 3rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: none;
    position: relative;
    font-family: 'Noto Sans JP', sans-serif;
    height: 110px;
    box-sizing: border-box;
}

.title-text {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
}


.role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #1a1a1a;
    padding: 2rem 3rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: none;
    font-family: 'Noto Sans JP', sans-serif;
    height: 110px;
    box-sizing: border-box;
}

.role-text {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.experience-badge {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: -80px;
    right: -50px;
    z-index: 10;
}

.experience-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
}

.sub-text {
    font-size: 0.9rem;
    font-weight: 400;
    color: #ffffff;
}

.hero-description {
    margin-bottom: 2rem;
}

.hero-description p {
    font-size: 1.8rem;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.emphasis-dots {
    font-size: 0.8rem;
    color: #666666;
    display: block;
    text-align: center;
    margin-bottom: 0.2rem;
    letter-spacing: 0.1em;
}

.char-emphasis {
    position: relative;
    display: inline-block;
}

.char-emphasis::before {
    content: '・';
    position: absolute;
    top: -0.4rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    color: #ffffff;
}

.portfolio-credit {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.portfolio-text {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Georgia', serif;
}

.portfolio-author {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 400;
}

.hero-right {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-container {
    position: relative;
    width: 100%;
    height: 80vh;
    perspective: 1000px;
}

.mockup {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.mockup:hover {
    transform: translateY(-10px) scale(1.02);
}

.mockup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mockup-1 {
    width: 420px;
    height: 270px;
    /* top: 10%; */
    right: 5%;
    z-index: 6;
    animation: continuousFlow 36s linear infinite;
    animation-delay: 0s;
    --rotation: -6deg;
    --rotation-x: 3deg;
    transform-style: preserve-3d;
}

.mockup-2 {
    width: 390px;
    height: 240px;
    /* top: 25%; */
    left: 5%;
    z-index: 5;
    animation: continuousFlow 36s linear infinite;
    animation-delay: -6s;
    --rotation: 8deg;
    --rotation-x: -4deg;
    transform-style: preserve-3d;
}

.mockup-3 {
    width: 380px;
    height: 253px;
    /* top: 40%; */
    right: 10%;
    z-index: 4;
    animation: continuousFlow 36s linear infinite;
    animation-delay: -12s;
    --rotation: -5deg;
    --rotation-x: 2deg;
    transform-style: preserve-3d;
}

.mockup-4 {
    width: 360px;
    height: 210px;
    /* top: 55%; */
    left: 8%;
    z-index: 3;
    animation: continuousFlow 36s linear infinite;
    animation-delay: -18s;
    --rotation: 7deg;
    --rotation-x: -3deg;
    transform-style: preserve-3d;
}

.mockup-5 {
    width: 330px;
    height: 195px;
    /* top: 70%; */
    right: 12%;
    z-index: 2;
    animation: continuousFlow 36s linear infinite;
    animation-delay: -24s;
    --rotation: -6deg;
    --rotation-x: 4deg;
    transform-style: preserve-3d;
}

.mockup-6 {
    width: 300px;
    height: 180px;
    /* top: 85%; */
    left: 12%;
    z-index: 1;
    animation: continuousFlow 36s linear infinite;
    animation-delay: -30s;
    --rotation: 5deg;
    --rotation-x: -2deg;
    transform-style: preserve-3d;
}

@keyframes continuousFlow {
    0% {
        transform: translateY(100vh) rotateY(var(--rotation)) rotateX(var(--rotation-x));
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotateY(var(--rotation)) rotateX(var(--rotation-x));
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh);
        opacity: 0;
    }
}

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


/* Responsive Hero Section */
@media (max-width: 1200px) {
    .hero-content {
        padding: 0 2rem;
        gap: 3rem;
        grid-template-columns: 65% 35%;
    }
    
    .title-text {
        font-size: 2.8rem;
    }
    
    .title-badge {
        padding: 1.5rem 2.5rem;
        height: 95px;
    }
    
    .role-badge {
        padding: 1.5rem 2.5rem;
        height: 95px;
    }
    
    .role-text {
        font-size: 2.8rem;
    }
    
    .mockup-container {
        transform: none;
    }
}

@media (max-width: 768px) {
    /* Career Section Mobile Optimization - Left-aligned Timeline */
    #career {
        padding: 3rem 1rem; /* Add minimal horizontal padding */
    }
    
    #career .career-date {
        left: 0; /* Position at very left edge */
        width: 80px; /* Compact width for mobile */
        padding-right: 10px; /* Minimal spacing from timeline */
        text-align: right;
        font-size: 0.8rem; /* Slightly smaller font for mobile */
    }
    
    #career .career-timeline::before {
        left: 90px; /* Move timeline much closer to left */
    }
    
    #career .career-item {
        padding-left: 110px; /* Adjust content to follow timeline */
    }
    
    #career .career-item::before {
        left: 90px; /* Match timeline position */
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .hero-left {
        text-align: center;
        padding-left: 0;
    }
    
    .title-text {
        font-size: 2.2rem;
    }
    
    .title-badge {
        margin-bottom: 1rem;
        padding: 1.2rem 2rem;
        height: 85px;
        position: relative;
        transform: translateY(4rem);
    }
    
    .experience-badge {
        position: absolute;
        top: -144px;
        right: -50px;
    }
    
    .role-badge {
        transform: translateY(4rem);
    }
    
    .portfolio-credit {
        transform: translateY(4rem);
    }
    
    .hero-description {
        transform: translateY(4rem);
    }
    
    .mockup-container {
        transform: translateY(4rem) !important;
    }
    
    .role-text {
        font-size: 2.2rem;
    }
    
    .role-badge {
        padding: 1.2rem 2rem;
        margin-bottom: 2rem;
        height: 85px;
    }
    
    .hero-description p {
        font-size: 1.5rem;
    }
    
    .portfolio-text {
        font-size: 1.5rem;
    }
    
    .hero-right {
        height: 50vh;
    }
    
    .mockup-container {
        transform: none;
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
        perspective: none;
    }
    
    .mockup {
        position: relative;
        display: block;
        margin: 0;
        width: 100% !important;
        height: auto !important;
    }
    
    .mockup-1, .mockup-2, .mockup-3, .mockup-4, .mockup-5, .mockup-6 {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: 150px;
        height: 100px;
        display: inline-block;
        margin: 0.5rem;
        animation: none !important;
        transform: none !important;
    }
}

/* Side Title Styling */
.main-content-wrapper {
    margin-left: 0;
}

/* Handwritten Underline Animation for Profile Text */
.underline-animation {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.underline-animation::after {
    content: '';
    position: absolute;
    left: -5px;
    bottom: -2px;
    width: calc(100% + 10px);
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 10'%3E%3Cpath d='M2,5 L398,5' stroke='%23FDE68A' stroke-width='3' fill='none' stroke-linecap='round' stroke-dasharray='396' stroke-dashoffset='396'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
}

.underline-animation.animate-underline::after {
    opacity: 1;
    animation: drawStraightLine 1.5s ease-out forwards;
}

@keyframes drawStraightLine {
    from {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 10'%3E%3Cpath d='M2,5 L398,5' stroke='%23FDE68A' stroke-width='3' fill='none' stroke-linecap='round' stroke-dasharray='396' stroke-dashoffset='396'/%3E%3C/svg%3E");
    }
    to {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 10'%3E%3Cpath d='M2,5 L398,5' stroke='%23FDE68A' stroke-width='3' fill='none' stroke-linecap='round' stroke-dasharray='396' stroke-dashoffset='0'/%3E%3C/svg%3E");
    }
}

/* Fallback animation for immediate display */
.underline-animation::after {
    animation: drawStraightLineFallback 2.5s ease-out 2s forwards;
}

@keyframes drawStraightLineFallback {
    from {
        opacity: 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 10'%3E%3Cpath d='M2,5 L398,5' stroke='%23FDE68A' stroke-width='3' fill='none' stroke-linecap='round' stroke-dasharray='396' stroke-dashoffset='396'/%3E%3C/svg%3E");
    }
    to {
        opacity: 1;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 10'%3E%3Cpath d='M2,5 L398,5' stroke='%23FDE68A' stroke-width='3' fill='none' stroke-linecap='round' stroke-dasharray='396' stroke-dashoffset='0'/%3E%3C/svg%3E");
    }
}

/* Service Hero Title */
.service-hero-title {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 800;
    color: white;
    text-align: center;
    margin: 4rem 0 6rem 0;
    letter-spacing: -0.02em;
    line-height: 0.9;
    opacity: 0.9;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Flow Hero Title */
.flow-hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    color: white;
    text-align: center;
    margin: 4rem 0 6rem 0;
    letter-spacing: -0.02em;
    line-height: 0.9;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.flow-hero-title .japanese-subtitle {
    font-size: clamp(2rem, 4vw, 4rem);
    text-transform: none;
    margin-top: 1rem;
}

/* FAQ Hero Title */
.faq-hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    color: white;
    text-align: center;
    margin: 4rem 0 6rem 0;
    letter-spacing: -0.02em;
    line-height: 0.9;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.faq-hero-title .japanese-subtitle {
    font-size: clamp(2rem, 4vw, 4rem);
    text-transform: none;
    margin-top: 1rem;
}

/* Contact Hero Title */
.contact-hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    color: white;
    text-align: center;
    margin: 4rem 0 6rem 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
}

.contact-hero-title .title-line {
    display: block;
}

.contact-hero-title .japanese-subtitle {
    font-size: clamp(2rem, 4vw, 4rem);
    text-transform: none;
    margin-top: 1rem;
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 40%; /* Text on the left, image on the right */
    align-items: start;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-text-content {
    /* Styles for the left column text content */
}

.contact-text-content h3,
.contact-text-content p {
    color: #ffffff;
}

.contact-image-container {
    text-align: center;
    position: relative;
}

.contact-image {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Contact responsive adjustments */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-image-container {
        order: -1; /* Move image above text on mobile */
    }
}

/* Works Hero Title */
.works-hero-title {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin: 4rem 0 6rem 0;
    transition: color 0.8s ease;
    line-height: 0.85;
}

.works-hero-title.white-text {
    color: #ffffff;
}

/* RINDO背景表示時の白テキスト */
body.rindo-text-white #works {
    color: #ffffff;
}

body.rindo-text-white #works .funnel-title,
body.rindo-text-white #works .funnel-description,
body.rindo-text-white #works .funnel-detail-text,
body.rindo-text-white #works .work-section-title,
body.rindo-text-white #works .lp-explanation p,
body.rindo-text-white #works .kpi-description,
body.rindo-text-white #works .component-title,
body.rindo-text-white #works .persona-subtitle-text,
body.rindo-text-white #works .process-step-title,
body.rindo-text-white #works .process-step-description,
body.rindo-text-white #works .process-step-description p {
    color: #ffffff !important;
}

/* 緑グラデのバッジは除外して元のスタイルを維持 */

/* Deep Researchボックスと仮説ボックス内は元の黒文字を維持 */
body.rindo-text-white #works .research-results-section,
body.rindo-text-white #works .research-results-section *,
body.rindo-text-white #works .research-hypothesis-section,
body.rindo-text-white #works .research-hypothesis-section * {
    color: #333333 !important;
}

/* ただしバッジ部分は白文字を維持 */
body.rindo-text-white #works .research-button {
    color: #ffffff !important;
}

/* ペルソナ属性の内容は黒文字に */
body.rindo-text-white #works .persona-attr-value {
    color: #333333 !important;
}

/* カスタマージャーニーマップのテーブル本体は黒文字に（ヘッダーは除く） */
body.rindo-text-white #works .journey-map-table tbody td {
    color: #333333 !important;
}

/* 要件定義書の箇条書きの点も白にする */
body.rindo-text-white #works .requirements-column-left li::before,
body.rindo-text-white #works .requirements-column-right li::before {
    color: #ffffff !important;
}

/* ペルソナ設定の利用シーンなどの箇条書きの点も白にする */
body.rindo-text-white #works .persona-detail-list li::before {
    color: #ffffff !important;
}

/* LP設計・構成要素の解説セクション全体を白文字に */
body.rindo-text-white #works .lp-design-section,
body.rindo-text-white #works .lp-design-section *,
body.rindo-text-white #works .lp-component,
body.rindo-text-white #works .lp-component * {
    color: #ffffff !important;
}

/* ランディングページの構成と課題の整理と明確化は元の色に戻す */
body.rindo-text-white #works .challenge-item,
body.rindo-text-white #works .lp-structure-item,
body.rindo-text-white #works .lp-explanation p {
    color: #333333 !important;
}


/* リサーチパートは元の色に戻す */
body.rindo-text-white #works .research-description,
body.rindo-text-white #works .research-highlight {
    color: #495057 !important;
}

/* Funnel Work Card Styling */
.funnel-work-card {
    background: none;
    border-radius: 20px;
    padding: 4rem 0 0 0;
    margin: 4rem 0 0 0;
    color: #333333;
    box-shadow: none;
}

.funnel-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.funnel-left {
    flex: 1;
}

.funnel-right {
    flex: 1.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.funnel-header {
    margin-bottom: 2rem;
}

.funnel-category {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.funnel-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.funnel-badge {
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.funnel-badge.primary {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.funnel-badge.secondary {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

/* セールスレター制作セクション専用のグラデーション - 最強優先度 */
section#sales-letter .funnel-badges .funnel-badge.primary.sales-letter-badge,
section#sales-letter .funnel-badge.primary,
.funnel-badge.primary.sales-letter-badge,
.sales-letter-badge {
    background: linear-gradient(135deg, #bbb5d4 0%, #bbb5d4 33%, #8cb3db 66%, #4faddf 100%) !important;
    color: white !important;
    border: none !important;
}

.funnel-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #333333;
    white-space: nowrap;
}

/* PC専用改行クラス */
.pc-only {
    display: inline;
}

/* モバイル専用改行クラス */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .funnel-title {
        white-space: normal;
    }
    .pc-only {
        display: none;
    }
    .mobile-only {
        display: inline;
    }
}

.work-section-title {
    font-size: clamp(1.6rem, 2.5vw, 1.9rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 2rem 0;
    color: #ffffff !important;
    position: relative;
    padding-left: 1.5rem;
}

.work-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 2px;
}

/* 制作概要・要件の見出しだけ縦線を無効化 */
#sales-letter .work-section-title::before {
    display: none;
}

.work-details-container {
    margin: 0 0 2rem 0;
}

#rindo-funnel-section + .work-details-container {
    margin-top: 0;
}

#works .work-card-container {
    margin-bottom: 0;
}

#works .work-card-container + .work-details-container {
    margin-top: 0;
}

.funnel-description {
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
}

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

.funnel-link {
    color: #333333;
    text-decoration: underline;
    font-weight: 500;
}

.funnel-details {
    margin-bottom: 0;
}

.funnel-detail-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.funnel-detail-badge {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
    font-size: 0.9rem;
}

.funnel-detail-text {
    font-size: 1rem;
    opacity: 0.95;
}

/* Work Overview Details - same style as funnel details */
.work-overview-details {
    margin-bottom: 3rem;
}

.work-overview-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.work-overview-detail-badge {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.work-overview-detail-text {
    font-size: 1rem;
    opacity: 0.95;
    flex: 1;
}

.work-overview-detail-text ul {
    margin: 0;
    padding-left: 1.2rem;
}

.work-overview-detail-text li {
    margin-bottom: 0.5rem;
}

.work-overview-detail-text p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

/* Prompt Button Styles */
.prompt-button {
    background: white;
    color: #28a745;
    border: 3px solid;
    border-image: linear-gradient(135deg, #28a745 0%, #20c997 100%) 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
    margin-top: 1rem;
    position: relative;
}

.prompt-button::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: transparent;
    border-radius: 12px;
    z-index: -1;
}

.prompt-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    background: rgba(40, 167, 69, 0.05);
}

.prompt-button:active {
    transform: translateY(0);
}

/* Rich Prompt Button - Enhanced version */
.rich-prompt-button {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    min-width: 240px;
    text-align: left;
}

.rich-prompt-button:active {
    opacity: 0.8;
}

.button-text {
    color: white;
    font-weight: 500;
}

.button-arrow {
    font-size: 1.3rem;
    color: white;
    font-weight: 500;
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    background: #6c757d;
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
    z-index: 1002;
}

.close:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 2rem;
    line-height: 1.6;
}

.modal-body p {
    margin-bottom: 1.5rem;
    color: #555;
}

.modal-body pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
    color: #333;
    white-space: pre-wrap;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.0rem;
    }
    
    .close {
        right: 1.5rem;
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body pre {
        padding: 1.5rem;
        font-size: 0.8rem;
    }
}

.funnel-disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* Process Steps Timeline Design */
.process-steps {
    position: relative;
    padding: 0 0 3rem 0;
    margin: 0 0 3rem 0;
}

.process-vertical-line {
    position: absolute;
    left: 80px;
    top: 40px;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, #90EE90, #32CD32, #228B22, #006400);
    border-radius: 3px;
    z-index: 1;
}

.process-step-circle {
    position: absolute;
    left: 73px;
    top: 30px;
    width: 20px;
    height: 20px;
    background: #32CD32;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 2;
}

.process-step {
    position: relative;
    margin-bottom: 0;
    padding-left: 100px;
    display: flex;
    align-items: flex-start;
    min-height: 80px;
}

.process-step:last-child {
    margin-bottom: 0;
}


.process-step-content {
    flex: 1;
    padding: 0.5rem 2.5rem;
    transition: transform 0.3s ease;
}


.process-step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-label {
    background: linear-gradient(135deg, #32CD32, #228B22);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 70px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(50, 205, 50, 0.3);
}

.process-step-description {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

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

.requirements-two-columns {
    display: grid;
    grid-template-columns: auto auto;
    gap: 3rem;
    margin-top: 1.5rem;
    justify-content: start;
}

.requirements-column-left,
.requirements-column-right {
    margin: 0;
    padding: 0;
    list-style: none;
}

.requirements-column-left li,
.requirements-column-right li {
    position: relative;
    padding: 0.3rem 0 0.3rem 2rem;
}

.requirements-column-left li::before,
.requirements-column-right li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: #4A90E2;
    font-weight: bold;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .process-steps {
        padding: 0 0 2rem 0;
    }
    
    .process-vertical-line {
        left: 20px;
        width: 4px;
        top: 30px;
    }
    
    .process-step-circle {
        left: 12px;
        top: 25px;
        width: 16px;
        height: 16px;
    }
    
    .process-step {
        padding-left: 40px;
        margin-bottom: 0;
    }
    
    
    .process-step-content {
        padding: 0.4rem 1.5rem;
    }
    
    .process-step-title {
        font-size: 1.0rem;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .step-label {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        min-width: 60px;
    }
    
    .requirements-two-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.funnel-disclaimer p {
    margin-bottom: 0.5rem;
}

/* Strength Hero Section - Reference Image Style */
.strength-hero-section {
    padding: 5rem 3rem;
    margin: 4rem 0;
    text-align: center;
    position: relative;
}

.strength-hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.strength-hero-tag {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    animation: sparkle-tag 4s ease-in-out infinite;
}


.strength-hero-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes sparkle-tag {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 12px 35px rgba(59, 130, 246, 0.6),
            0 0 20px rgba(255, 255, 255, 0.4);
        transform: scale(1.02);
    }
}


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

.strength-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
}

.highlight-text {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    position: relative;
}

.work-section-title.rindo-section::before {
    background: linear-gradient(180deg, #27ae60 0%, #2ecc71 100%);
}


@keyframes underline-expand {
    0%, 100% {
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .strength-hero-section {
        padding: 3rem 2rem;
        margin: 2rem 0;
    }
    
    .strength-hero-tag {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .strength-hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .strength-hero-section {
        padding: 2.5rem 1.5rem;
    }
    
    .strength-hero-title {
        font-size: 1.0rem;
        margin-top: 2rem;
    }
    
    .strength-hero-tag {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Strengths Venn Diagram - Reference Image Style */
.strengths-venn-diagram {
    background: linear-gradient(135deg, #FAF4E8 0%, #F5E6D3 50%, #F0E0C8 100%);
    padding: 5rem 3rem;
    margin: 2rem 0 4rem 0; /* Reduce top margin from 4rem to 2rem */
    border-radius: 20px;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strengths-venn-diagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="15" cy="25" r="1" fill="%23E8DCC0" opacity="0.4"/><circle cx="85" cy="35" r="1.5" fill="%23E8DCC0" opacity="0.3"/><circle cx="70" cy="75" r="0.8" fill="%23E8DCC0" opacity="0.5"/><circle cx="25" cy="80" r="1.2" fill="%23E8DCC0" opacity="0.4"/></svg>') repeat;
    pointer-events: none;
}

.strength-circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    font-weight: 700;
    color: #2c3e50;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-circle:hover {
    transform: scale(1.05);
}

/* Main strength circle (center) */
.main-strength {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #F4E4B8, #E8D4A0);
    border: 4px solid #D4C4A0;
    box-shadow: 0 8px 32px rgba(212, 196, 160, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.main-strength::before {
    content: '1';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    background: #2E4A8C;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(46, 74, 140, 0.4);
}

/* Secondary strength circles */
.secondary-strength {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #F0F0F0, #E5E5E5);
    border: 3px solid #D0D0D0;
    box-shadow: 0 6px 24px rgba(208, 208, 208, 0.3);
    opacity: 0.9;
}

.secondary-strength.left {
    top: 60%;
    left: 15%;
    transform: translate(-50%, -50%);
}

.secondary-strength.left::before {
    content: '2';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 35px;
    height: 35px;
    background: #2E4A8C;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(46, 74, 140, 0.4);
}

.secondary-strength.right {
    top: 60%;
    right: 15%;
    transform: translate(50%, -50%);
}

.secondary-strength.right::before {
    content: '3';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background: #2E4A8C;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(46, 74, 140, 0.4);
}

.strength-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.main-strength .strength-title {
    font-size: 1.5rem;
}

.strength-subtitle {
    font-size: 1rem;
    font-style: italic;
    color: #666;
    font-weight: 400;
    opacity: 0.8;
}

.main-strength .strength-subtitle {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .strengths-venn-diagram {
        padding: 4rem 2rem;
        min-height: 400px;
    }
    
    .main-strength {
        width: 250px;
        height: 250px;
    }
    
    .secondary-strength {
        width: 180px;
        height: 180px;
    }
    
    .strength-title {
        font-size: 1.1rem;
    }
    
    .main-strength .strength-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .strengths-venn-diagram {
        padding: 3rem 1.5rem;
        min-height: 600px;
        flex-direction: column;
    }
    
    .main-strength {
        width: 200px;
        height: 200px;
        position: static;
        transform: none;
        margin-bottom: 2rem;
    }
    
    .secondary-strength {
        width: 160px;
        height: 160px;
        position: static;
        transform: none;
        margin: 1rem;
    }
    
    .secondary-strength.left,
    .secondary-strength.right {
        top: auto;
        left: auto;
        right: auto;
    }
    
    .strength-title {
        font-size: 1rem;
    }
    
    .main-strength .strength-title {
        font-size: 1.0rem;
    }
}

/* スクロールガイド */
.scroll-guide-container {
    text-align: center;
    margin: 1rem 0;
}

.scroll-arrow {
    display: inline-block;
    animation: bounce 2s infinite;
}

.arrow-down {
    width: auto;
    height: auto;
    margin: 0 auto;
    position: relative;
    border: none;
    font-size: 2.5rem;
    font-weight: 900;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-down::before {
    content: '↓';
}

.arrow-down::after {
    display: none;
}

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

@media (max-width: 768px) {
    .scroll-guide-container {
        margin: 0.5rem 0;
    }
    
    .arrow-down {
        font-size: 2rem;
    }
}

/* Strength Section Header */
.strength-section-header {
    text-align: center;
    margin: 4rem 0 3rem 0;
    padding: 2rem 0;
    position: relative;
    z-index: 1000;
}

.strength-section-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
    line-height: 0.9;
}

.strength-subtitle-japanese {
    font-size: 2rem;
    font-weight: 500;
}

.strength-section-title::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .strength-section-title {
        font-size: 2.2rem;
    }
    
    .strength-subtitle-japanese {
        font-size: 1.0rem;
    }
    
    .strength-section-header {
        margin: 3rem 0 2rem 0;
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .strength-section-title {
        font-size: 1.8rem;
    }
    
    .strength-subtitle-japanese {
        font-size: 1.0rem;
    }
    
    .strength-section-header {
        margin: 2rem 0 1.5rem 0;
        padding: 1rem 0;
    }
}

/* Strengths Details Container */
.strengths-details {
    padding: 0 1rem;
}

/* Hearing Power Two Column Layout */
.hearing-power-two-column {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
    position: relative;
    z-index: 1000;
}

.hearing-power-left {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hearing-power-right {
    flex: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    margin-left: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 20px rgba(59, 130, 246, 0.3);
    color: #ffffff;
}

.hearing-venn-diagram {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ヒアリング力のベン図で他の2つのタイトルを目立たなくする */
.hearing-power-section .hearing-venn-diagram .venn-left-text,
.hearing-power-section .hearing-venn-diagram .venn-right-text {
    opacity: 0.4;
    font-size: 0.8em;
}

.hearing-power-section .hearing-venn-diagram .venn-center-text {
    font-size: 1.1em;
    font-weight: 800;
}

/* ヒアリング力のベン図の2つの円の縁を薄くする */
.hearing-power-section .hearing-venn-diagram .venn-circle-2,
.hearing-power-section .hearing-venn-diagram .venn-circle-3 {
    opacity: 0.2 !important;
}

/* ヒアリング力の中央の円（venn-circle-1）に青い光るエフェクト */
.hearing-power-section .hearing-venn-diagram .venn-circle-1 {
    box-shadow: 
        0 0 20px rgba(59, 130, 246, 0.6), 
        0 0 40px rgba(59, 130, 246, 0.3),
        inset 0 0 20px rgba(59, 130, 246, 0.3),
        inset 0 0 40px rgba(59, 130, 246, 0.1) !important;
    opacity: 1 !important;
    filter: none !important;
}


/* 分析的に捉えて課題特定する力のセクションの強調効果 */
.analysis-power-section .analysis-venn-diagram .venn-center-text,
.analysis-power-section .analysis-venn-diagram .venn-right-text {
    opacity: 0.4;
    font-size: 0.8em;
}

.analysis-power-section .analysis-venn-diagram .venn-left-text {
    font-size: 1.1em;
    font-weight: 800;
}

/* 分析力の円の縁を薄くする */
.analysis-power-section .analysis-venn-diagram .venn-circle-1,
.analysis-power-section .analysis-venn-diagram .venn-circle-3 {
    opacity: 0.2 !important;
}

/* 分析力の左の円（venn-circle-2）に緑の光るエフェクト */
.analysis-power-section .analysis-venn-diagram .venn-circle-2 {
    box-shadow: 
        0 0 20px rgba(34, 197, 94, 0.6), 
        0 0 40px rgba(34, 197, 94, 0.3),
        inset 0 0 20px rgba(34, 197, 94, 0.3),
        inset 0 0 40px rgba(34, 197, 94, 0.1) !important;
    opacity: 1 !important;
    filter: none !important;
}


/* 広く・深く学び続ける姿勢のセクションの強調効果 */
.learning-power-section .learning-venn-diagram .venn-left-text,
.learning-power-section .learning-venn-diagram .venn-center-text {
    opacity: 0.4;
    font-size: 0.8em;
}

.learning-power-section .learning-venn-diagram .venn-right-text {
    font-size: 1.1em;
    font-weight: 800;
}

/* 学び続ける姿勢の円の縁を薄くする */
.learning-power-section .learning-venn-diagram .venn-circle-1,
.learning-power-section .learning-venn-diagram .venn-circle-2 {
    opacity: 0.2 !important;
}

/* 学び続ける姿勢の右の円（venn-circle-3）に赤の光るエフェクト */
.learning-power-section .learning-venn-diagram .venn-circle-3 {
    box-shadow: 
        0 0 20px rgba(239, 68, 68, 0.6), 
        0 0 40px rgba(239, 68, 68, 0.3),
        inset 0 0 20px rgba(239, 68, 68, 0.3),
        inset 0 0 40px rgba(239, 68, 68, 0.1) !important;
    opacity: 1 !important;
    filter: none !important;
}


/* 分析力ベン図のレイアウト */
.analysis-venn-diagram {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 学び続ける姿勢ベン図のレイアウト */
.learning-venn-diagram {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 分析力セクションの2カラムレイアウト */
.analysis-power-two-column {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem 2rem;
}

.analysis-power-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.analysis-power-right {
    flex: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    margin-left: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 20px rgba(34, 197, 94, 0.3);
    color: #ffffff;
}

/* 学び続ける姿勢セクションの2カラムレイアウト */
.learning-power-two-column {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem 2rem;
}

.learning-power-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.learning-power-right {
    flex: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    margin-left: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 20px rgba(239, 68, 68, 0.3);
    color: #ffffff;
}

/* ベン図の円描画アニメーション - 初期状態を無効化してハイライト効果を表示 */
/*.hearing-power-section .venn-circle,
.analysis-power-section .venn-circle,
.learning-power-section .venn-circle {
    opacity: 0;
}*/






.venn-circle {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    opacity: 0.7 !important;
    transform: scale(1) !important;
}

.venn-circle-1 {
    background: transparent !important;
    border: 4px solid #ffffff !important;
    top: -60px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1 !important;
    position: absolute !important;
    opacity: 1 !important;
    width: 280px !important;
    height: 280px !important;
    border-radius: 50% !important;
    animation: none !important;
}

@keyframes test-simple-animation {
    0% {
        border: 4px solid red;
    }
    50% {
        border: 4px solid blue;
    }
    100% {
        border: 4px solid green;
    }
}

@keyframes test-fade-in {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-50%) scale(0.8);
    }
    100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }
}

.venn-circle-2 {
    background: transparent;
    border: 4px solid #ffffff;
    bottom: -24px;
    left: -50px;
    z-index: 1;
    opacity: 0.7 !important;
    transform: scale(1) !important;
}

.venn-circle-3 {
    background: transparent;
    border: 4px solid #ffffff;
    bottom: -24px;
    right: -50px;
    z-index: 2;
    opacity: 0.7 !important;
    transform: scale(1) !important;
}

.venn-center-text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    color: #ffffff;
}

/* 学び続ける姿勢セクションでの中央テキスト位置調整 */
.learning-power-section .learning-venn-diagram .venn-center-text {
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.venn-left-text {
    position: absolute;
    top: 73%;
    left: 22%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    color: #ffffff;
}


.venn-right-text {
    position: absolute;
    top: 73%;
    left: 78%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    color: #ffffff;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
}

/* 学び続ける姿勢セクションで右テキストを最上層に */
.learning-power-section .learning-venn-diagram .venn-right-text {
    z-index: 6;
}


.hearing-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hearing-tools-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-top: 2rem;
    margin-bottom: 0;
}

.hearing-tools-header {
    font-size: 1.1rem;
    font-weight: 700;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    display: inline-block;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin-bottom: 1.5rem;
}

.hearing-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.hearing-tool-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hearing-tool-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tool-name {
    font-weight: 600;
    color: #2c3e50;
    display: block;
    margin-bottom: 0.3rem;
}

.tool-note {
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
}

.hearing-achievements {
    margin-top: 2rem;
}

.achievement-tag {
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    display: inline-block;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin-bottom: 1.5rem;
}

.achievement-content p {
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.achievement-tags .tag {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hearing-power-two-column {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .hearing-power-left {
        flex: none;
        width: 100%;
    }
    
    .hearing-power-right {
        padding: 2rem;
    }
    
    .hearing-venn-diagram {
        width: 320px;
        height: 320px;
    }
    
    .venn-circle {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    /* Remove container padding for strength sections to prevent double padding */
    #service.container {
        padding: 0;
    }
    
    .hearing-power-two-column {
        padding: 2rem 0;
        gap: 2rem;
    }
    
    .hearing-venn-diagram {
        width: 280px;
        height: 280px;
        margin: 3rem 0;
    }
    
    .venn-circle {
        width: 180px;
        height: 180px;
    }
    
    .venn-circle-1 {
        width: 180px !important;
        height: 180px !important;
        top: -30px !important;
    }
    
    .venn-circle-2 {
        bottom: -8px !important;
        left: -20px !important;
    }
    
    .venn-circle-3 {
        bottom: -8px !important;
        right: -20px !important;
    }
    
    
    .hearing-title {
        font-size: 1.0rem;
    }
    
    
    .hearing-tools-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-tags {
        justify-content: center;
    }
}

/* Analysis Power Two Column Layout */
.analysis-power-two-column {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1000;
}

.analysis-power-left {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.analysis-power-right {
    flex: 1;
    padding-left: 2rem;
}

.analysis-venn-diagram {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.analysis-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.analysis-tools-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-top: 2rem;
    margin-bottom: 0;
}

.analysis-tools-header {
    font-size: 1.1rem;
    font-weight: 700;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    display: inline-block;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin-bottom: 1.5rem;
}

.analysis-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.analysis-tool-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.analysis-tool-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.analysis-achievements {
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .analysis-power-two-column {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .analysis-power-left {
        flex: none;
        width: 100%;
    }
    
    .analysis-power-right {
        padding: 2rem;
    }
    
    .analysis-venn-diagram {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    .analysis-power-two-column {
        padding: 2rem 0;
        gap: 2rem;
    }
    
    .analysis-venn-diagram {
        width: 280px;
        height: 280px;
        margin: 3rem 0;
    }
    
    .analysis-title {
        font-size: 1.0rem;
    }
    
    .analysis-tools-grid {
        grid-template-columns: 1fr;
    }
}

/* Learning Power Two Column Layout */
.learning-power-two-column {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1000;
}

.learning-power-left {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.learning-power-right {
    flex: 1;
    padding-left: 2rem;
}

.learning-venn-diagram {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.learning-venn-diagram .venn-center-text {
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
}

.learning-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.learning-achievements {
    margin-top: 2rem;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

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

.learning-achievements-list li {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.learning-achievements-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.learning-description p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .learning-power-two-column {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .learning-power-left {
        flex: none;
        width: 100%;
    }
    
    .learning-power-right {
        padding: 2rem;
    }
    
    .learning-venn-diagram {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    .learning-power-two-column {
        padding: 2rem 0;
        gap: 2rem;
    }
    
    .learning-venn-diagram {
        width: 280px;
        height: 280px;
        margin: 3rem 0;
    }
    
    .learning-title {
        font-size: 1.0rem;
    }
}

/* Nabeken Role Section - Reference Image Style */
.nabeken-role-section {
    background: linear-gradient(135deg, #f0f5ff 0%, #e6f0ff 50%, #ddeaff 100%);
    padding: 5rem 3rem;
    margin: 4rem auto;
    max-width: 1200px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    z-index: 1000;
    overflow: hidden;
}

/* Personal User Circle Positioning */
.personal-user-circle {
    position: absolute;
    top: 40%;
    left: 10%;
    width: 500px;
    height: 500px;
    border: 2px dashed #a8c1e8;
    border-radius: 50%;
    opacity: 0.3;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* Enterprise Client Circle Positioning */
.enterprise-client-circle {
    position: absolute;
    top: 40%;
    right: 10%;
    width: 500px;
    height: 500px;
    border: 2px dashed #a8c1e8;
    border-radius: 50%;
    opacity: 0.3;
    transform: translate(50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* KEEP OLD ::before HIDDEN */
.nabeken-role-section::before {
    display: none !important;
}

.nabeken-role-section::after {
    display: none;
}

.role-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e5cb8;
    margin-bottom: 3rem;
    position: relative;
    z-index: 5;
}

.role-hub-diagram {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 3rem 0;
    overflow: hidden;
}

/* SVG Curved Lines */
.svg-curves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* User Connection Lines Styling */
.user-line {
    stroke: #1e5cb8;
    stroke-width: 3;
    fill: none;
    opacity: 0.7;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    filter: drop-shadow(0 2px 4px rgba(30, 92, 184, 0.2));
    animation: drawLine 2s ease-in-out forwards;
}

/* Staggered animation delays for each line */
.user-line-1 { animation-delay: 0.2s; }
.user-line-2 { animation-delay: 0.4s; }
.user-line-3 { animation-delay: 0.6s; }
.user-line-4 { animation-delay: 0.8s; }

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.hub-center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: white;
    color: #1e5cb8;
    border: 4px solid #1e5cb8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 8px 24px rgba(30, 92, 184, 0.3);
    z-index: 10;
}

/* 線の初期状態：非表示 */
.user-line, .client-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    opacity: 0.7;
}

/* 線描画アニメーション */
.user-line.animate-draw, .client-line.animate-draw {
    animation: drawFromCenter 2s ease-out forwards;
}

/* 個別の遅延時間 */
.user-line-1.animate-draw { animation-delay: 0.2s; }
.user-line-2.animate-draw { animation-delay: 0.6s; }
.user-line-3.animate-draw { animation-delay: 1.0s; }
.user-line-4.animate-draw { animation-delay: 1.4s; }
.client-line-1.animate-draw { animation-delay: 1.8s; }
.client-line-2.animate-draw { animation-delay: 2.2s; }
.client-line-3.animate-draw { animation-delay: 2.6s; }
.client-line-4.animate-draw { animation-delay: 3.0s; }

@keyframes drawFromCenter {
    0% {
        stroke-dashoffset: 1000;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* 左側人型アイコン群 */
.left-icons-group {
    position: absolute;
    left: 10%;
    top: 10%;
    bottom: 20%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.person-icon {
    font-size: 35px;
    color: #1e5cb8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
    min-width: 85px;
    min-height: 85px;
    max-width: 85px;
    max-height: 85px;
    background: #f5f5f5;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

/* 右側建物アイコン群 */
.right-icons-group {
    position: absolute;
    right: 10%;
    top: 10%;
    bottom: 20%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.building-icon {
    font-size: 35px;
    color: #1e5cb8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
    min-width: 85px;
    min-height: 85px;
    max-width: 85px;
    max-height: 85px;
    background: #f5f5f5;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

/* 2つ目と3つ目の建物アイコンを左側にずらす */
.building-2 {
    transform: translateX(-100px) translateY(-15px);
}

.building-3 {
    transform: translateX(-100px) translateY(15px);
}

/* 1つ目の建物アイコンを下に、4つ目を上にずらす */
.building-1 {
    transform: translateY(-10px) translateX(30px);
}

.building-4 {
    transform: translateY(10px) translateX(30px);
}

/* 左側人型アイコンを建物アイコンと左右対称に配置 */
.person-1 {
    transform: translateY(-10px) translateX(-40px);
}

.person-2 {
    transform: translateX(80px) translateY(-15px);
}

.person-3 {
    transform: translateX(80px) translateY(15px);
}

.person-4 {
    transform: translateY(10px) translateX(-40px);
}

/* 接続線システム */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.connection-lines > div {
    position: absolute;
    background: #1e5cb8;
    border-radius: 2px;
}


/* 右側建物アイコンへの線 */
.line-to-building-1 {
    top: 20%;
    right: 27%;
    width: 15%;
    height: 3px;
    transform: rotate(42deg);
    transform-origin: left center;
}

.line-to-building-2 {
    top: 37%;
    right: 32%;
    width: 20%;
    height: 3px;
    transform: rotate(8deg);
    transform-origin: left center;
}

.line-to-building-3 {
    top: 63%;
    right: 32%;
    width: 20%;
    height: 3px;
    transform: rotate(-8deg);
    transform-origin: left center;
}

.line-to-building-4 {
    top: 80%;
    right: 27%;
    width: 15%;
    height: 3px;
    transform: rotate(-42deg);
    transform-origin: left center;
}

/* テキストラベル */
.text-label {
    position: absolute;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e5cb8;
    line-height: 1.2;
    text-align: center;
    z-index: 5;
}

.left-label {
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
}

.right-label {
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
}

/* 中央サービステキスト */
.center-services {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    font-weight: 500;
    color: #1e5cb8;
    text-align: center;
    z-index: 5;
    white-space: nowrap;
}

.role-services {
    margin: 3rem 0 2rem;
    text-align: center;
}

.role-services p {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

.role-philosophy {
    text-align: center;
    margin-top: 3rem;
}

.philosophy-main {
    margin-bottom: 2rem;
}

.philosophy-main p {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2E4A8C;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.philosophy-highlight {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.philosophy-details {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.philosophy-details p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nabeken-role-section {
        padding: 2rem 1rem;
    }
    
    .role-hub-diagram {
        height: 300px;
        transform: scale(0.8);
        transform-origin: center;
        overflow: visible;
    }
    
    .personal-user-circle {
        width: 200px;
        height: 200px;
        top: 26%;
    }
    
    .person-icon {
        font-size: 18px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        max-width: 40px;
        max-height: 40px;
    }
    
    .hub-center-circle {
        width: 100px;
        height: 100px;
        font-size: 12px;
    }
    
    .nabeken-role-section {
        overflow: visible;
    }
    
    .left-label {
        position: absolute;
        top: calc(50% + 0.5rem);
        left: -3rem;
        z-index: 10;
        font-size: 1.2rem;
        transform: translateY(-50%);
        width: auto;
        height: auto;
    }
    
    .svg-curves {
        transform: scale(1.4);
        transform-origin: center;
    }
    
    .left-icons-group {
        top: 20%;
        bottom: 10%;
        left: 2%;
    }
    
    .person-2 {
        transform: translateX(20px) translateY(-15px);
    }
    
    .person-3 {
        transform: translateX(20px) translateY(-5px);
    }
    
    .person-4 {
        transform: translateY(-20px) translateX(-40px);
    }
    
    /* 企業クライアント側の調整 */
    .enterprise-client-circle {
        width: 200px;
        height: 200px;
        top: 26%;
    }
    
    .right-icons-group {
        top: 20%;
        bottom: 10%;
        right: 2%;
    }
    
    .building-icon {
        font-size: 18px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        max-width: 40px;
        max-height: 40px;
    }
    
    .right-label {
        position: absolute;
        top: calc(50% + 0.5rem);
        right: -3rem;
        z-index: 10;
        font-size: 1.2rem;
        transform: translateY(-50%);
        width: auto;
        height: auto;
    }
    
    /* 企業クライアントアイコンの個別位置調整（個人ユーザーと対称） */
    .building-1 {
        transform: translateY(-10px) translateX(40px);
    }
    
    .building-2 {
        transform: translateX(-20px) translateY(-15px);
    }
    
    .building-3 {
        transform: translateX(-20px) translateY(-5px);
    }
    
    .building-4 {
        transform: translateY(-20px) translateX(40px);
    }
    
    .strength-hero-tag {
        margin-bottom: 0;
    }
    
    .role-hub-diagram {
        margin-top: -1rem;
    }
}
    
    .philosophy-main p {
        font-size: 1.0rem;
    }
    
    .philosophy-highlight {
        font-size: 1.3rem !important;
    }
    
}

/* Business Impact Section */
.business-impact-subtitle {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin: 0; /* 余白をすべて0に */
    font-weight: 500;
}

.business-impact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: start; /* 伸長をやめてカード高さを内容に合わせる */
}

.impact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem; /* default padding for cards */
}

/* Tighten bottom space for the first card (応募率) */
.business-impact-cards > .impact-card {
    padding-bottom: 1rem !important; /* すべてのカードで統一 */
}


.impact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.impact-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.impact-chart {
    text-align: center;
    margin-bottom: 2rem;
}

.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 0 auto;
    max-width: 400px;
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    height: 200px;
    margin-right: 10px;
    position: relative;
}

.y-axis-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    line-height: 1;
    position: absolute;
    left: 100%;
    margin-left: 10px;
    white-space: nowrap;
}

.y-axis-label:nth-child(1) { top: 0; }
.y-axis-label:nth-child(2) { top: calc(200px / 6 * 1 - 6px); }
.y-axis-label:nth-child(3) { top: calc(200px / 6 * 2 - 6px); }
.y-axis-label:nth-child(4) { top: calc(200px / 6 * 3 - 6px); }
.y-axis-label:nth-child(5) { top: calc(200px / 6 * 4 - 6px); }
.y-axis-label:nth-child(6) { top: calc(200px / 6 * 5 - 6px); }
.y-axis-label:nth-child(7) { top: calc(200px / 6 * 6 - 6px); }

.chart-main {
    position: relative;
    flex: 1;
}

.chart-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    pointer-events: none;
}

.grid-line {
    height: 1px;
    background: #e0e0e0;
    width: 85%;
    position: absolute;
    left: 15%;
}

.grid-line:nth-child(1) { top: calc(200px / 6 * 1); }
.grid-line:nth-child(2) { top: calc(200px / 6 * 2); }
.grid-line:nth-child(3) { top: calc(200px / 6 * 3); }
.grid-line:nth-child(4) { top: calc(200px / 6 * 4); }
.grid-line:nth-child(5) { top: calc(200px / 6 * 5); }
.grid-line:nth-child(6) { top: 200px; }

.chart-x-axis {
    margin-top: 0;
}

.x-axis-line {
    height: 2px;
    background: #333;
    width: 85%;
    margin-left: 15%;
}

.chart-bars {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    height: 200px;
    position: relative;
}

.chart-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-content: flex-end;
    height: 100%;
}

.bar-fill {
    width: 50px;
    background: linear-gradient(135deg, #2E86AB, #4A90E2);
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: all 0.6s ease;
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.3);
    min-height: 10px;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 1.2s ease-out;
}

.bar-fill.animate {
    transform: scaleY(1);
}

.before-bar .bar-fill {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
}

.after-bar .bar-fill {
    background: linear-gradient(135deg, #27AE60, #2ECC71);
}

.bar-value {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 1.3rem;
    color: #2c3e50;
    white-space: nowrap;
}

.before-bar .bar-value {
    top: auto;
    bottom: calc(6.67% + 10px);
}

/* メディアへの再訪率の5%の位置調整 */
.impact-card:nth-child(2) .before-bar .bar-value {
    bottom: calc(25% + 5px);
}

.after-bar .bar-value {
    top: auto;
    bottom: calc(50% + 10px);
}

/* メディアへの再訪率の20%を白に */
.impact-card:nth-child(2) .after-bar .bar-value {
    color: white;
}

/* 求人掲載企業の期待増加数の3社を白に */
.impact-card:nth-child(3) .after-bar .bar-value {
    color: white;
}

.bar-label {
    margin-top: 10px;
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.chart-arrow {
    font-size: 2rem;
    color: #4A90E2;
    margin: 1rem 0 0.5rem 0;
    animation: bounce-arrow 2s infinite;
}

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

.chart-change {
    font-weight: 700;
    color: #27AE60;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #A8E6CF, #88D8A3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 2px solid #27AE60;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(39, 174, 96, 0.2);
}

.impact-details {
    border-top: 2px solid #E8F4F8;
    padding-top: 0; /* 余白を0に */
    text-align: left;
}

.detail-item {
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-weight: 700;
    color: #27AE60; /* 緑フォント */
    min-width: 70px;
    font-size: 0.9rem;
}

.detail-text {
    color: #555;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Business Impact note below cards */
.business-impact-note {
    color: #ffffff;
    margin-top: 1rem;
    text-align: left;
    font-size: 0.95rem;
}
.business-impact-note a {
    color: #ffffff;
    text-decoration: underline;
}

/* Match spacing: hide per-card note in 3rd card to align with 1st */
.business-impact-cards > .impact-card:nth-child(3) .business-impact-subtitle {
    display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .business-impact-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
    }
    
    .impact-card {
        padding: 2rem 1.5rem;
    }

    .business-impact-cards > .impact-card {
        padding-bottom: 0.5rem !important; /* モバイルも統一 */
    }
}

@media (max-width: 768px) {
    .chart-bars {
        height: 150px;
        gap: 1.5rem;
    }
    
    .bar-fill {
        width: 40px;
    }
    
    .bar-value {
        font-size: 1rem;
        top: -25px;
    }
    
    .impact-title {
        font-size: 1.1rem;
    }
    
    .chart-change {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}

.scroll-images {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 0 auto;
    height: 700px;
}

.scroll-column {
    flex: 1;
    overflow: hidden;
}

.left-column {
    position: relative;
}

.right-column .infinite-scroll-container {
    animation: infiniteScrollReverse 12s linear infinite;
    animation-delay: -6s;
}

@keyframes infiniteScrollReverse {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

.infinite-scroll-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: infiniteScroll 15s linear infinite;
}

@keyframes infiniteScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.right-column {
    position: relative;
    overflow: hidden;
}

.scroll-image {
    width: 85%;
    object-fit: contain;
    flex-shrink: 0;
    max-height: none;
    height: auto;
}

/* 派遣求職者向けオウンドメディア運営（SEO）セクション専用の小さい画像サイズ */
#seo-media .scroll-image {
    width: 70%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .funnel-work-card {
        padding: 2rem 0;
        margin: 2rem 0;
    }
    
    .funnel-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .funnel-detail-row {
        flex-direction: column;
        gap: 1rem;
        text-align: left;
        align-items: flex-start;
    }
    
    .funnel-detail-badge {
        min-width: auto;
    }
    
    .work-overview-detail-row {
        flex-direction: column;
        gap: 1rem;
        text-align: left;
    }
    
    .work-overview-detail-badge {
        min-width: auto;
    }
    
    .rich-prompt-button {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        gap: 0.6rem;
    }
    
    .button-icon {
        font-size: 1rem;
    }
    
    .scroll-images {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Persona Section Styling */
.persona-section {
    padding: 2rem 0;
    margin: 0.5rem 0 2rem 0;
}

.persona-header {
    text-align: left;
    margin-bottom: 3rem;
}

.persona-subtitle-text {
    font-size: 1.1rem;
    color: #666;
    margin-top: 1rem;
}

.persona-container {
    display: flex;
    gap: 4rem;
}

.persona-left {
    flex: 0 0 45%;
}

.persona-right {
    flex: 0 0 55%;
}

.persona-left-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.persona-profile {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 2rem;
}

.persona-avatar {
    flex-shrink: 0;
}

.persona-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.persona-basic-info {
    flex: 1;
}

.persona-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

.persona-age {
    font-size: 1.3rem;
    color: #666;
    margin: 0;
}

.persona-basic-section {
    margin-bottom: 0;
}

.persona-section-tag {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: white;
}

.persona-section-tag.basic-tag {
    background: #28a745;
}

.persona-section-tag.usage-tag {
    background: #28a745;
}

.persona-section-tag.problems-tag {
    background: #28a745;
}

.persona-section-tag.needs-tag {
    background: #28a745;
}

.persona-section-tag.behavior-tag {
    background: #28a745;
}

.persona-attributes {
    margin-left: 0;
}

.persona-attr-row {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.persona-attr-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.persona-attr-label {
    font-weight: 600;
    color: #28a745;
    min-width: 80px;
    flex-shrink: 0;
}

.persona-attr-value {
    flex: 1;
    line-height: 1.6;
}

.persona-usage-section,
.persona-problems-section,
.persona-needs-section,
.persona-behavior-section {
    margin-bottom: 2.5rem;
}

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

.persona-detail-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.persona-detail-list li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: #28a745;
    font-weight: bold;
    font-size: 1.3rem;
}

/* Research Screenshot Header */
.research-screenshot-header {
    margin-bottom: 1rem;
}

.research-screenshot-description {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.research-screenshot-description p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.research-screenshot {
    position: relative;
    overflow: hidden;
}

.image-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: block;
    width: 100%;
}

@media (min-width: 769px) {
    .image-button {
        max-width: 300px;
    }
}

.research-screenshot-image {
    width: 100%;
    height: 530px;
    border-radius: 10px;
    display: block;
    object-fit: cover;
    object-position: top;
}



.research-screenshot::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0.8) 50%, transparent 100%);
    pointer-events: none;
    border-radius: 0 0 10px 10px;
}

/* Body scroll lock for modals */
body.modal-open {
    overflow: hidden !important;
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.image-modal-content {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    min-height: 100vh;
    text-align: center;
    padding: 60px 120px 20px 120px;
}

.modal-image {
    width: calc(100% - 240px);
    max-width: calc(100% - 240px);
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    display: block;
    margin: 0 auto;
}

.image-modal-caption {
    margin: 15px auto;
    display: block;
    width: 80%;
    text-align: center;
    color: #ccc;
    font-size: 1rem;
    line-height: 1.4;
}

.image-modal-close {
    position: fixed;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
    background: none;
    border: none;
    padding: 0;
}

.image-modal-close:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.image-modal-close:hover,
.image-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Mobile responsiveness for image modal */
@media (max-width: 768px) {
    .image-modal-close {
        top: 15px;
        right: 20px;
        font-size: 28px;
    }
    
    .image-modal-content {
        padding: 60px 20px 20px 20px;
    }
    
    .modal-image {
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        height: auto;
        margin: 0 auto;
    }
    
    .image-modal-caption {
        font-size: 0.9rem;
        width: 90%;
    }
}

/* Research Layout */
.research-layout {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin: 2rem 0;
}

.research-left {
    flex: 0 0 300px;
    background: transparent;
}

.research-right {
    flex: 1;
}

/* Research Section Layout Styling */
.research-section-layout {
    display: block;
    margin: 2rem 0;
}

.research-results-section,
.research-hypothesis-section {
    position: relative;
    padding: 3rem 2rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.research-results-section {
    background: linear-gradient(135deg, #E8F5E8 0%, #F0F8F0 100%);
}

.research-hypothesis-section {
    background: linear-gradient(135deg, #FFF5E6 0%, #FFEFDB 100%);
}

.research-button {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.research-button.green-button {
    background: #28a745;
}

.research-button.orange-button {
    background: #fd7e14;
}

.research-results-section ul,
.research-hypothesis-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.research-results-section ul li,
.research-hypothesis-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.research-results-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.3rem;
}

.research-hypothesis-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fd7e14;
    font-weight: bold;
    font-size: 1.3rem;
}

.research-arrow {
    text-align: center;
    margin: 2rem 0;
    font-size: 2rem;
    color: #fd7e14;
    font-weight: bold;
}

/* Responsive Design for Persona */
@media (max-width: 768px) {
    .persona-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .persona-profile {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .persona-image {
        width: 100px;
        height: 100px;
    }
    
    .persona-attr-row {
        flex-direction: column;
        gap: 0.5rem;
        text-align: left;
    }
    
    .persona-attr-label {
        min-width: auto;
    }
    
    .research-layout {
        flex-direction: column !important;
        gap: 2rem;
        align-items: center !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .research-left {
        flex: 1 1 auto !important;
        order: 2;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: none !important;
    }
    
    .research-right {
        order: 1;
        text-align: left !important;
    }
    
    .image-button {
        margin: 0 !important;
        width: 100% !important;
        max-width: none !important;
        display: block;
    }
    
    .research-screenshot-image {
        height: 300px !important;
        width: 100% !important;
        max-width: none !important;
    }
    
    .research-screenshot::after {
        height: 150px !important;
        background: linear-gradient(to top, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0.9) 30%, rgba(248, 249, 250, 0.5) 60%, transparent 100%) !important;
    }
    
    .rich-prompt-button {
        margin: 1.5rem auto 0 auto !important;
        display: block !important;
    }
    
    .research-image-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .research-section-layout {
        display: block;
        gap: 1rem;
    }
    
    .research-results-section,
    .research-hypothesis-section {
        margin-bottom: 3rem;
        padding: 2.5rem 1.5rem 2rem;
    }
    
    .research-button {
        top: -12px;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 90%;
    }
    
    .infinite-scroll-container {
        display: none !important;
    }
    
    .scroll-images {
        display: none !important;
    }
    
    .funnel-right {
        display: none !important;
    }
    
    .funnel-left {
        flex: 1 !important;
        width: 100% !important;
    }
    
    .funnel-badges {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }
    
    .funnel-badge {
        flex-basis: calc(50% - 0.25rem) !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* スマホ: 横いっぱい＆縦は浅く（縦長画像でもOK） */
@media (max-width: 768px) {
  .research-screenshot-image {
    width: 100% !important; 
    height: auto !important;
    aspect-ratio: 16 / 5; 
    object-fit: cover;
    object-position: center top;
    display: block;             
  }
  /* 下の白グラデが被りすぎる場合は浅くする */
  .research-screenshot::after {
    height: 48px !important;  
  }
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #f8f8f8;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Zoom overlay for research screenshots */
.zoom-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 1;
    pointer-events: none;
}

.image-button {
    position: relative;
}

/* 既存の .floating-button::before は削除 or 無効化 */
.floating-blur{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;                /* 「上下少し」 */
  background: linear-gradient(to top,
              rgba(0,0,0,.30) 0%,
              rgba(0,0,0,.10) 60%,
              transparent 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;                 /* ぼかし帯 */
  pointer-events: none;
  display: none;
  transition: opacity 0.3s ease;
}
.floating-button{
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;                 /* 画面幅の約90%に拡張 */
  z-index: 1000;                /* ボタン本体は帯より上 */
  display: none;
  transition: opacity 0.3s ease;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;    /* 横幅拡張時に中央寄せ */
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    text-decoration: none;
    padding: 20px 35px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.2rem;
    white-space: nowrap;
    animation: float 3s ease-in-out infinite;
    width: 100%;                /* コンテナ幅にフィット */
    box-sizing: border-box;     /* パディングを幅に含める */
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(39, 174, 96, 0.6);
    background: linear-gradient(135deg, #219a52, #27ae60);
}

.floating-btn i:first-child {
    margin-right: 12px;
    font-size: 1.4rem;
}

.floating-btn i:last-child {
    margin-left: 12px;
    font-size: 1.2rem;
}

.floating-btn-text {
    color: white;
    text-decoration: none;
}

/* フローティングボタン下の注意書き */
.floating-note {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    pointer-events: none; /* 文言をクリック不可に */
}

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

/* スマホ対応 */
@media (max-width: 768px) {
    .floating-blur {
        height: 90px;
    }
    
    .floating-button {
        bottom: 15px;
    }
    
    .floating-btn {
        padding: 16px 28px;
        font-size: 1.1rem;
    }
    .floating-note {
        font-size: 11px;
        margin-top: 6px;
    }
    
    .floating-btn i:first-child {
        margin-right: 10px;
        font-size: 1.3rem;
    }
    
    .floating-btn i:last-child {
        margin-left: 10px;
        font-size: 1.1rem;
    }
}

/* PCのみ幅を70%にする */
@media (min-width: 769px) {
    .floating-button {
        width: 70vw;
    }
}

/* Contract Flow Section */
.contract-flow-section {
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 3rem 0 0 0;
}

.contract-flow-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.contract-flow-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contract-flow-row {
    display: flex;
    gap: 0;
    justify-content: space-between;
}

.contract-flow-step {
    display: flex;
    align-items: flex-start;
    position: relative;
    flex: 1;
    padding: 0 1rem 4rem 1rem;
    gap: 0;
}


.contract-number {
    font-size: clamp(6rem, 12vw, 10rem);
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
    flex-shrink: 0;
    min-width: 120px;
}

.contract-step-title {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    font-weight: 700;
    text-align: left;
    color: #2563eb;
    margin: 0 0 1rem 0;
}

.contract-step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contract-step-description {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.contract-step-line {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    right: 1rem;
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
}

.meeting-tools {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.meeting-tool-badge {
    background: #2563eb;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}






/* After Contract Flow Section */
.after-contract-flow-section {
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 3rem 0;
}

.after-contract-flow-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.after-contract-flow-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.after-contract-flow-row {
    display: flex;
    gap: 0;
    justify-content: space-between;
}

.after-contract-flow-step {
    display: flex;
    align-items: flex-start;
    position: relative;
    flex: 1;
    padding: 0 1rem 4rem 1rem;
    gap: 0;
}

.after-contract-number {
    font-size: clamp(6rem, 12vw, 10rem);
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
    flex-shrink: 0;
    min-width: 120px;
}

.after-contract-step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.after-contract-step-title {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    font-weight: 700;
    text-align: left;
    color: #2563eb;
    margin: 0 0 1rem 0;
}

.after-contract-step-description {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.after-contract-step-line {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    right: 1rem;
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
}

.after-meeting-tools {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.after-contract-arrow {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #9ca3af;
}

.after-contract-flow-step:last-child .after-contract-arrow {
    display: none;
}

.after-contract-flow-descriptions {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.after-contract-description {
    flex: 1;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.after-contract-description p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.9rem;
}

.after-contract-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 1rem;
}

.after-tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.after-tool-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.after-tool-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.after-tool-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

/* Responsive Design for Contract Flow */
@media (max-width: 768px) {
    .contract-flow-section,
    .after-contract-flow-section {
        padding: 2rem 1rem;
    }
    
    .contract-flow-steps,
    .after-contract-flow-steps {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contract-flow-row,
    .after-contract-flow-row {
        flex-direction: column;
        gap: 2rem;
    }
    
    
    .contract-circle,
    .after-contract-circle {
        width: 100px;
        height: 100px;
    }
    
    .contract-number,
    .after-contract-number {
        font-size: 8rem;
        font-weight: 900;
    }
    
    .contract-arrow,
    .after-contract-arrow {
        position: static;
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .contract-flow-step:last-child .contract-arrow,
    .after-contract-flow-step:last-child .after-contract-arrow {
        display: none;
    }
    
    .contract-flow-descriptions,
    .after-contract-flow-descriptions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .after-contract-tools {
        flex-direction: column;
        gap: 1rem;
    }
}

/* FAQ Section */
.faq-header {
    margin-bottom: 3rem;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.faq-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: #666;
    margin-left: 1rem;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-question-bar {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-q-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-q-text {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.faq-answer-container {
    background: white;
    padding: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.faq-a-icon {
    background: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #666;
    flex-shrink: 0;
}

.faq-a-text {
    flex: 1;
}

.faq-a-text p {
    margin: 0 0 1rem 0;
    line-height: 1.7;
    color: #333;
}

.faq-a-text p:last-child {
    margin-bottom: 0;
}

/* Responsive Design for FAQ */
@media (max-width: 768px) {
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
        display: block;
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .faq-question-bar {
        padding: 1rem 1.5rem;
    }
    
    .faq-q-text {
        font-size: 1rem;
    }
    
    .faq-answer-container {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .faq-a-icon {
        align-self: flex-start;
    }
}

/* Career Hero Title */
.career-hero-title {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 800;
    color: #ffffff;
    text-align: left;
    margin: 4rem 0 6rem 0;
    letter-spacing: -0.02em;
    line-height: 0.9;
    text-transform: uppercase;
    font-family: 'Noto Sans JP', sans-serif;
    opacity: 0.9;
    position: relative;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Index Hero Title */
.index-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #94a3b8;
    text-align: left;
    margin: 2rem 0 4rem 0;
    letter-spacing: -0.02em;
    line-height: 0.9;
    text-transform: uppercase;
    font-family: 'Noto Sans JP', sans-serif;
    opacity: 0.9;
    position: relative;
}

/* Profile Hero Title */
.profile-hero-title {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 800;
    color: #ffffff;
    text-align: left;
    margin: 4rem 0 6rem 0;
    letter-spacing: -0.02em;
    line-height: 0.9;
    opacity: 0.9;
    position: relative;
    display: flex;
    flex-direction: column;
}

.profile-hero-title .title-line {
    display: block;
    will-change: transform;
}

.profile-hero-title .title-line:first-child {
    transform: translateX(30%);
    text-align: right;
}

.profile-hero-title .title-line:last-child {
    transform: translateX(-30%);
    text-align: left;
}


/* Skills Section Animations */
.skill-item {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.skills-category-tag {
    opacity: 1;
    transform: none;
}

/* Dual header for Claude Code & Gemini CLI */
.dual-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.dual-tool {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dual-tool h4 {
    font-size: 0.9rem;
    margin: 0;
}

@keyframes underlineGrow {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Table of Contents Section */
.toc-section {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 4rem;
    margin: 2rem auto;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 100;
}


.toc-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.toc-content.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.toc-left, .toc-right {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Basic TOC Items */
.toc-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 101;
}

.toc-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: 
        transform 2s cubic-bezier(0.19, 1, 0.22, 1),
        background-color 2.5s cubic-bezier(0.19, 1, 0.22, 1),
        box-shadow 3s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 1.8s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
    position: relative;
    transform: scale(1);
    will-change: transform, opacity, box-shadow;
}

.toc-link:hover {
    z-index: 102;
}

.toc-link:hover .toc-text {
    transform: translateX(12px);
}

.toc-link .toc-heading {
    transition: 
        color 2.2s cubic-bezier(0.19, 1, 0.22, 1), 
        font-weight 2s cubic-bezier(0.19, 1, 0.22, 1);
}

.toc-link .toc-number {
    transition: 
        color 2.2s cubic-bezier(0.19, 1, 0.22, 1), 
        font-weight 2s cubic-bezier(0.19, 1, 0.22, 1);
}

.toc-link:hover .toc-heading {
    color: #1e293b;
    font-weight: 500;
}

.toc-link:hover .toc-number {
    color: #475569;
    font-weight: 350;
}

.toc-link:active {
    transform: scale(1.08) translateY(-2px);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

/* Dim other items when one is hovered - even more gentle */
.toc-content:hover .toc-link:not(:hover),
.toc-content:hover .toc-work-item:not(:hover) {
    opacity: 0.25;
    transform: scale(0.94) translateY(2px);
    transition: 
        opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: blur(0.5px);
}

.toc-content:hover .toc-link:not(:hover) .toc-heading {
    color: #cbd5e1;
    transition: color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.toc-content:hover .toc-link:not(:hover) .toc-number {
    color: rgba(203, 213, 225, 0.5);
    transition: color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.toc-content:hover .toc-work-item:not(:hover) .work-title {
    color: #cbd5e1;
    transition: color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Remove tag color changes for main item hover - keep tags unchanged */

.toc-content:hover .toc-work-item:not(:hover) .work-image img {
    opacity: 0.3;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.toc-number {
    font-size: 3rem;
    font-weight: 300;
    color: rgba(100, 116, 139, 0.4);
    min-width: 100px;
    margin-top: -1.2rem;
}

.toc-text {
    flex: 1;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.toc-heading {
    font-size: 1.8rem;
    font-weight: 500;
    color: #1a202c;
    margin: 0 0 1rem 0;
}

.toc-underline {
    height: 1px;
    background: #cbd5e0;
    margin-bottom: 0.5rem;
}

.toc-page {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
    text-align: right;
}

/* Work Items */
.toc-works {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-left: 2rem;
}

.toc-work-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
    z-index: 101;
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    transition: 
        transform 2s cubic-bezier(0.19, 1, 0.22, 1),
        background-color 2.5s cubic-bezier(0.19, 1, 0.22, 1),
        box-shadow 3s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 1.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.toc-work-item:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    transform: translateX(8px) scale(1.02) !important;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1) !important;
}

.toc-work-item .work-title {
    transition: color 2.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.toc-work-item .work-tag {
    transition: 
        color 2.2s cubic-bezier(0.19, 1, 0.22, 1),
        background-color 2.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.work-image {
    flex-shrink: 0;
    width: 200px;
    height: auto;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.work-image-img {
    width: 100%;
    height: auto;
    display: block;
}

.work-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-info {
    flex: 1;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.work-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: white;
}

.ui-tag {
    background: linear-gradient(135deg, #1d86fc, #0066cc);
}

.lp-tag {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.website-tag {
    background: linear-gradient(135deg, #10b981, #059669);
}

.writing-tag {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.work-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.8rem;
    text-align: center;
}

.work-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a202c;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.work-underline {
    height: 1px;
    background: #cbd5e0;
    margin-bottom: 0.5rem;
}

.work-page {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
    text-align: right;
}

/* Responsive TOC */
@media (max-width: 1024px) {
    .toc-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0.5rem 1rem;
    }
    
    .toc-left, .toc-right {
        gap: 1rem;
    }
    
    .work-image {
        width: 100px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .toc-section {
        padding: 0.5rem 1rem; /* Add horizontal padding */
    }
    
    .index-hero-title {
        margin-left: 1rem; /* Add left margin for INDEX title */
    }
    
    /* Fix Profile title center alignment on mobile */
    .profile-name {
        font-size: 1.7rem !important; /* Reduce font size to prevent line breaks */
    }
    
    .toc-content {
        padding: 0.5rem 1rem;
        gap: 1.5rem;
    }
    
    .toc-item {
        gap: 1rem;
    }
    
    .toc-number {
        font-size: 2rem;
        min-width: 60px;
    }
    
    .toc-heading {
        font-size: 1.0rem;
    }
    
    .toc-works {
        margin-left: 1rem;
        gap: 1.5rem;
    }
    
    .toc-work-item {
        gap: 1rem;
    }
    
    .work-image {
        width: 80px;
        height: 60px;
    }
    
    .work-title {
        font-size: 1rem;
    }
}

/* Profile Section */
#profile {
    padding: 4rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 40%; /* Text on the left, image on the right */
    align-items: start;
    gap: 4rem;
}

.profile-text-content {
    /* Styles for the left column text content */
}

.profile-name {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.profile-name-roman {
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.profile-details p {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.profile-intro {
    margin-top: 2rem;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ffffff;
}

.profile-intro p:first-child {
    margin-bottom: 2rem;
}

.profile-image-container {
    text-align: center;
    position: relative;
}

.handwritten-name {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%) rotate(-15deg);
    font-family: 'Yosugara', 'Klee One', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
    font-size: 3.5rem;
    color: #ffffff;
    opacity: 1;
    pointer-events: none;
    z-index: 2;
    white-space: nowrap;
    letter-spacing: 0.1em;
}

.profile-image {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.profile-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 0.5rem;
}

.sns-section {
    text-align: left;
}

.hobby-section {
    text-align: left;
}

.hobby-section ul li {
    color: #ffffff;
    padding: 0.3rem 0;
}
}

@media (max-width: 768px) {
    #profile {
        padding: 2rem 0;
    }
    
    #profile.container {
        padding: 2rem 1.5rem;
    }
    
    .profile-grid {
        display: block !important;
        grid-template-columns: none !important;
    }
    
    .profile-image-container {
        display: none !important;
    }
    
    .profile-bottom-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    /* NABEKEN'S PROFILE見出し中央寄せ修正 */
    .profile-hero-title {
        text-align: center !important;
        margin: 2rem 0 4rem 0 !important;
        padding: 0 1rem !important;
        font-size: clamp(3.2rem, 7vw, 5rem) !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .profile-hero-title .title-line:first-child {
        transform: translateY(-10px) !important;
        text-align: center !important;
        animation: slideInFromTop 1s ease-out 0.2s both !important;
    }
    
    .profile-hero-title .title-line:last-child {
        transform: translateY(10px) !important;
        text-align: center !important;
        animation: slideInFromBottom 1s ease-out 0.4s both !important;
    }
    
    @keyframes slideInFromTop {
        from {
            transform: translateY(-30px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    @keyframes slideInFromBottom {
        from {
            transform: translateY(30px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}

/* Career Section */
#career {
    padding: 3rem 2rem;
    margin-top: 2rem;
    position: relative;
    transition: all 0.8s ease;
    z-index: 10;
}

.career-main-title {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #64748b, #475569);
    padding: 0.6rem 2rem;
    border-radius: 50px;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.15);
}

#career .career-timeline {
    position: relative; /* Establishes a positioning context */
    padding-top: 1rem;
    z-index: 2;
}

.career-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.career-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* The vertical timeline line */
#career .career-timeline::before {
    content: '';
    position: absolute;
    left: 140px; /* Increased from 100px to create more space */
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
    border-radius: 2px;
}

#career .career-item {
    position: relative; /* Needed for the dot and date positioning */
    margin-bottom: 2rem;
    padding-left: 180px; /* Increased from 125px for a wider gap (140px + 40px) */
    z-index: 3;
}

/* The dot on the timeline */
#career .career-item::before {
    content: '';
    position: absolute;
    left: 140px; /* Match the line's new position */
    top: 3px; /* Adjusted from 5px for better vertical alignment */
    transform: translateX(-50%); /* Center the dot on the line */
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    z-index: 2;
}

#career .career-date {
    position: absolute;
    left: 0;
    top: 0;
    width: 120px; /* Increased from 80px to push text left */
    text-align: right; /* Align date to the right, next to the line */
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
    padding-right: 20px; /* Add padding for more space from the line */
    padding-left: 0; /* Remove left padding */
    margin-left: 0; /* Remove left margin */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#career .career-event {
    /* No special positioning needed, it will just flow inside the padded career-item */
}

#career .career-title-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#career .career-description {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

#career .career-description ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1rem;
}

#career .career-description li {
    margin-bottom: 0.2rem;
}

/* Skills Section */
#skills {
    padding: 4rem;
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}

/* Ensure all main sections are above the career overlay */
#service, #works, #flow, #faq, #contact {
    position: relative;
    z-index: 10;
}

.skills-title {
    font-size: 3rem;
    font-weight: 700;
    color: #a5b4fc;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #a5b4fc, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skills-category-tag {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    border: 2px solid white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.skills-grid {
    display: grid;
    gap: 2rem;
}

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

.skill-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.figma-skill {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: none;
    padding: 2rem;
}

.figma-icon {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.figma-circles {
    display: flex;
    gap: 0.25rem;
    margin-right: 1rem;
}

.figma-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.figma-circle.red { background-color: #ff5757; }
.figma-circle.orange { background-color: #ffb347; }
.figma-circle.green { background-color: #1dd1a1; }
.figma-circle.blue { background-color: #54a0ff; }
.figma-circle.purple { background-color: #a55eea; }

.skill-icon-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.skill-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
    margin-right: 1rem;
}

.ps-icon {
    background: linear-gradient(135deg, #31c5f0, #1e90ff);
}

.ai-icon {
    background: linear-gradient(135deg, #ff9a00, #ff6b00);
}

.notion-icon {
    background: linear-gradient(135deg, #2d3748, #4a5568);
}

.studio-highlight {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    border: 2px solid #e2e8f0;
    padding: 2rem;
}

.studio-logo {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.studio-achievement {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.studio-achievement strong {
    color: #3182ce;
    font-weight: 700;
}

.studio-skills ul {
    list-style: none;
    padding: 0;
}

.studio-skills li {
    padding: 0.25rem 0;
    color: #4a5568;
}

.chatgpt-section {
    margin-top: 2rem;
}

.chatgpt-section h4 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.lower-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tool-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.tool-item h4 {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.tool-item p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.4;
}

.lottie-icon, .blender-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.lottie-icon {
    background: linear-gradient(135deg, #06d6a0, #1dd1a1);
}

.blender-icon {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.materials-icon, .fonts-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.fonts-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

/* General Section Styling */
section {
    margin: 2rem 0;
    padding: 2rem 0;
}

h3, h4, h5, h6 {
    color: #374151;
    margin: 1rem 0 0.5rem 0;
}

/* ===== Two-column blocks (keyword, heatmap) ===== */
.keyword-strategy.two-col,
.heatmap-strategy.two-col {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

.keyword-strategy .col-left,
.heatmap-strategy .col-left {
  min-height: 220px; /* 画像がない場合の高さ確保 */
  border-radius: 12px;
  background: transparent; /* ダッシュ背景をオフ */
  border: none;            /* ダッシュ枠線をオフ */
}

.keyword-strategy .col-right,
.heatmap-strategy .col-right {
  background: transparent; /* 角丸白背景を削除 */
  border-radius: 0;
  padding: 0; /* 余白もリセット（必要なら後で個別に付与） */
  color: #ffffff; /* 白字 */
}

/* キーワード戦略 左カラムの画像 */
.keyword-asset .keyword-slot-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ヒートマップ分析 左カラムの画像 */
.heatmap-asset .heatmap-slot-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* 右カラム内の要素の文字色も白に統一 */
#seo-media .keyword-strategy .col-right p,
#seo-media .keyword-strategy .col-right li,
#seo-media .keyword-strategy .col-right a,
#seo-media .heatmap-strategy .col-right p,
#seo-media .heatmap-strategy .col-right li,
#seo-media .heatmap-strategy .col-right a {
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .keyword-strategy.two-col,
  .heatmap-strategy.two-col {
    grid-template-columns: 1fr;
  }
  .keyword-strategy .col-left,
  .heatmap-strategy .col-left {
    min-height: 160px;
    background: transparent;
    border: none;
  }
}

/* 執筆内容の解説内のH6（Problemなど）を白字に */
.work-details-container .seo-component-subtitle {
    color: #ffffff !important;
}

p {
    margin: 0.5rem 0;
}

ul, ol {
    margin: 0.5rem 0;
    padding-left: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

table td, table th {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

table th {
    background-color: #f9fafb;
    font-weight: 600;
}

/* Skills Layout */
.skills-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Top Row */
.skills-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.wordpress-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.wordpress-icon-wrapper {
    flex-shrink: 0;
}

.wordpress-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.claude-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.claude-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

/* Middle Row */
.skills-middle-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.skill-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.skill-icon-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.skill-tool-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.skill-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.chatgpt-item {
    background: white;
}

/* Bottom Row */
.skills-bottom-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.tool-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    text-align: center;
}

.tool-item h4 {
    font-size: 1rem;
    color: #2d3748;
    margin: 0.75rem 0 0.5rem 0;
    font-weight: 600;
}

.tool-item p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

.tool-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

/* Common list styles */
.wordpress-content ul,
.claude-skills ul,
.skill-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wordpress-content ul li,
.claude-skills ul li,
.skill-item ul li {
    padding: 0.25rem 0;
    color: #4a5568;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1rem;
}

.wordpress-content ul li::before,
.claude-skills ul li::before,
.skill-item ul li::before {
    content: '•';
    color: #3182ce;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .skills-bottom-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-top-row {
        grid-template-columns: 1fr;
    }
    
    .skills-middle-row {
        grid-template-columns: 1fr;
    }
    
    .skills-bottom-row {
        grid-template-columns: 1fr;
    }
    
    .wordpress-section {
        flex-direction: column;
        text-align: center;
    }
}

/* Problems Section - Checkbox Style */
.problems-section {
    padding: 3rem 2rem;
    margin: 3rem 0;
}

.problems-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.4;
}

.highlight-nayami {
    font-size: 1.1em;
}

.highlight-nayami .char-o,
.highlight-nayami .char-na,
.highlight-nayami .char-mi {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.highlight-nayami .char-o::before,
.highlight-nayami .char-na::before,
.highlight-nayami .char-mi::before {
    content: '・';
    position: absolute;
    top: -0.7em;
    left: 50%;
    transform: translateX(-50%);
    color: #3b82f6;
    font-size: 0.8em;
    -webkit-text-fill-color: #3b82f6;
}

.problems-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.problem-item {
    padding: 1rem 1.5rem 1rem 3rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    position: relative;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.problem-item::before {
    content: "✓";
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.problem-text {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.highlight-problem {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 500;
    display: inline-block;
    line-height: 1.3;
}

/* Responsive for Problems Section */
@media (max-width: 768px) {
    .problems-section {
        padding: 2rem 1.5rem;
    }
}

/* KPI Flow Design */
.kpi-description {
    text-align: left;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

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

.kpi-flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 3rem;
}

.kpi-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 200px;
}

.kpi-step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
    position: relative;
    z-index: 2;
}

.kpi-step-circle.final-circle {
    background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.kpi-step-number {
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
}

.kpi-step-content {
    text-align: center;
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e8f5e8;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.final-step .kpi-step-content {
    border-color: #fdeaea;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.final-step .kpi-arrow,
.final-step + .kpi-arrow {
    display: none !important;
}

.kpi-step-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.kpi-step-value {
    font-size: 2rem;
    font-weight: 700;
    color: #27ae60;
    margin: 0;
}

.final-value {
    color: #e74c3c;
}

.kpi-unit {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    margin-left: 2px;
}

.kpi-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0;
    z-index: 1;
}

.kpi-step:last-child .kpi-arrow {
    display: none;
}

.arrow-line {
    width: 40px;
    height: 2px;
    background: #27ae60;
    margin-right: -2px;
}

.arrow-head {
    color: #27ae60;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.kpi-conversion-rate {
    background: #27ae60;
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
    text-align: center;
    margin: 0.5rem 0;
    align-self: center;
}

.kpi-flow-note {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border-left: 4px solid #27ae60;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.kpi-note-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.kpi-note-text {
    font-size: 1rem;
    color: #495057;
    font-weight: 500;
    line-height: 1.5;
}

/* KPI Flow Responsive */
@media (max-width: 768px) {
    .kpi-flow-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .kpi-step {
        margin-bottom: 2rem;
        max-width: 280px;
    }
    
    .kpi-arrow {
        position: static;
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .arrow-line {
        width: 30px;
    }
    
    .kpi-conversion-rate {
        margin: 0.3rem 0;
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    .kpi-flow-note {
        flex-direction: column;
        text-align: center;
    }
    
    .kpi-note-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* Marketing Funnel Section */
.marketing-funnel-section {
    margin-bottom: 3rem;
    padding: 0 0 2rem 0;
}

.marketing-subsection-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4CAF50;
    display: inline-block;
}

/* Journey Map Table */
.journey-map-container {
    margin: 2rem 0;
    overflow-x: auto;
}

.journey-map-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 8px;
    font-size: 0.9rem;
    min-width: 800px;
}

.journey-map-table thead {
    display: table-header-group !important;
    visibility: visible !important;
}

.journey-map-table thead th {
    color: white;
    font-weight: 700;
    padding: 1rem 0.8rem;
    text-align: center;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.2);
    position: relative;
}

.journey-map-table thead th:first-child {
    background: linear-gradient(135deg, #1e8449, #27ae60);
    min-width: 150px;
    white-space: nowrap;
}

.journey-map-table thead th:not(:first-child) {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    width: calc((100% - 150px) / 4);
    min-width: 180px;
}

.journey-map-table tbody td {
    padding: 1rem 0.8rem;
    vertical-align: top;
    line-height: 1.5;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.2s ease;
}

.journey-map-table tbody td::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 8px;
    z-index: -1;
}


.journey-category {
    background: #fff !important;
    font-weight: 700;
    color: #1e8449;
    text-align: center;
    vertical-align: middle;
    min-width: 150px;
    white-space: nowrap;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
    position: relative;
}

.journey-category::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #1e8449, #27ae60);
    border-radius: 8px;
    z-index: -1;
}

.journey-row:nth-child(even) td:not(.journey-category) {
    background: #fafafa;
}

/* 思考・心理の行のセル内に横の区切り線を追加 */
.thinking-row td:not(.journey-category) {
    position: relative;
    padding-bottom: 5rem;
}

.thinking-row td:not(.journey-category)::after {
    content: '';
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 3.5rem;
    height: 2px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 1px;
}

/* 思考・心理行のアイコンを区切り線の下に配置 */
.thinking-row td i.fa-face-frown,
.thinking-row td i.fa-face-smile,
.thinking-row td i.fa-face-surprise,
.thinking-row td i.fa-face-tired,
.thinking-row td i.fa-face-grin-beam,
.thinking-row td i.fa-face-grin-stars {
    display: block;
    text-align: center;
    font-size: 2.5rem;
    color: #666;
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}


/* Challenges List */
.challenges-list {
    margin: 2rem 0;
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.challenge-item {
    padding: 1rem 1.5rem 1rem 3rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    position: relative;
    border-bottom: 1px dotted #ddd;
}

.challenge-item::before {
    content: "✓";
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #dc3545;
    font-weight: bold;
    font-size: 1.1rem;
    width: 16px;
    height: 16px;
    border: 2px solid #666;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}



/* Landing Page Structure */
.landing-page-structure {
    margin: 2rem 0;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.lp-structure-list {
    flex: 0 0 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: column;
    gap: 0.8rem;
    margin-bottom: 0;
    padding: 1.5rem;
    position: relative;
}

/* 左列の縦線 */
.lp-structure-list::before {
    content: '';
    position: absolute;
    left: 25%;
    top: calc(2.5rem + 40px);
    height: calc(100% - 5rem - 80px);
    width: 6px;
    background: linear-gradient(180deg, #4CAF50, #45a049);
    border-radius: 2px;
    z-index: 1;
    transform: translateX(-50%);
}

/* 右列の縦線 */
.lp-structure-list::after {
    content: '';
    position: absolute;
    right: 25%;
    top: calc(2.5rem + 40px + calc(1.5 * (3rem + 0.8rem)));
    height: calc(100% - 5rem - 80px);
    width: 6px;
    background: linear-gradient(180deg, #4CAF50, #45a049);
    border-radius: 2px;
    z-index: 1;
    transform: translateX(50%);
}

.lp-structure-item {
    background: white;
    color: #333;
    border: 2px solid;
    border-image: linear-gradient(135deg, #4CAF50, #45a049) 1;
    padding: 0.8rem 0;
    border-radius: 20px;
    text-align: center;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* 右列の四角を下にオフセット */
.lp-structure-item:nth-child(n+7) {
    transform: translateY(calc(1.5 * (3rem + 0.8rem)));
}

.lp-structure-item {
    font-size: 0.9rem;
}

.lp-explanation {
    flex: 1;
    padding: 1.5rem 0;
}

.lp-explanation p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #495057;
}

.lp-explanation p:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Marketing Funnel */
@media (max-width: 1024px) {
    .journey-map-table {
        font-size: 0.8rem;
        min-width: 700px;
    }
    
    .journey-map-table thead th,
    .journey-map-table tbody td {
        padding: 0.8rem 0.6rem;
    }
}

@media (max-width: 768px) {
    .marketing-funnel-section {
        padding: 1.5rem 0;
        margin-bottom: 2rem;
    }
    
    .marketing-subsection-title {
        font-size: 1.1rem;
    }
    
    .journey-map-table {
        font-size: 0.75rem;
        min-width: 600px;
    }
    
    .journey-map-table thead th,
    .journey-map-table tbody td {
        padding: 0.6rem 0.4rem;
    }
    
    .challenge-item {
        padding: 0.8rem 1.2rem 0.8rem 3.5rem; /* 左パディングを増やしてチェックマークとの間隔を広げる */
        margin-bottom: 0.6rem;
        font-size: 0.9rem;
    }
    
    /* 課題の整理と明確化セクションの白背景カード */
    .challenges-list {
        background: white;
        border-radius: 15px;
        margin: 1rem;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    
    /* ランディングページ構成を縦並びに変更 */
    .landing-page-structure {
        flex-direction: column;
        gap: 2rem;
        background: white;
        border-radius: 15px;
        margin: 1rem;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    
    .lp-structure-list {
        flex: none;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.6rem;
        padding: 0;
        margin: 0 auto;
        max-width: 400px;
    }
    
    .lp-structure-item {
        padding: 0.6rem 0;
        font-size: 0.8rem;
    }
    
    .lp-explanation {
        padding: 1.2rem 0;
        font-size: 0.9rem;
    }
    
    /* スマホ版で右列を上にずらす */
    .lp-structure-item:nth-child(n+7) {
        transform: translateY(calc(0.5 * (3rem + 0.8rem)));
    }
}

@media (max-width: 480px) {
    .journey-map-container {
        margin: 1rem -1rem;
    }
    
    .journey-map-table {
        min-width: 500px;
        font-size: 0.7rem;
    }
    
    .journey-map-table thead th,
    .journey-map-table tbody td {
        min-width: auto;
        padding: 0.5rem;
    }
    
    
    .lp-structure-list {
        grid-template-columns: 1fr 1fr;
    }
}

/* Policy Section */
.policy-section {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.policy-item {
    padding: 2rem 0;
}

.policy-highlight {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.policy-highlight-content {
    margin: 0;
}


.policy-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4CAF50;
    display: inline-block;
}

.policy-description {
    color: #495057;
    line-height: 1.7;
    font-size: 1rem;
}

/* Research Section */
.research-section {
    margin: 2rem 0;
    background: transparent; /* 角丸白背景を削除 */
    border-radius: 0;
    padding: 2rem;
    box-shadow: none;
    border-left: none; /* 左の緑縦線を削除 */
}

.research-description {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.research-highlight {
    color: #2c3e50;
    font-weight: 600;
    background: transparent; /* 角丸背景を削除 */
    padding: 1.5rem 5.5rem; /* 余白をさらに広げる */
    border-radius: 0; /* 角丸を削除 */
    border-left: none; /* 左の緑縦線を削除 */
    margin-bottom: 0;
    position: relative; /* 擬似要素用 */
}

/* 大きな鉤括弧デザイン */
.research-highlight::before,
.research-highlight::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem; /* 少し小さくして視覚的に細く */
    line-height: 1;
    color: currentColor; /* 現在の文字色に追従 */
    opacity: 0.9;
    font-weight: 300; /* 括弧のみ細く */
    pointer-events: none;
    content: '';
}

.research-highlight::before {
    content: '「';
    left: 0.8rem; /* 左括弧を少し外側に */
}

.research-highlight::after {
    content: '」';
    right: 0.8rem; /* 右括弧を少し外側に */
}

@media (max-width: 900px) {
    .research-highlight::before,
    .research-highlight::after {
        font-size: 1.6rem; /* モバイルはさらに控えめ */
    }
    .research-highlight {
        padding: 1.25rem 4rem; /* モバイルの左右余白も増やす */
    }
}

/* RINDO Research two-column layout (50% / 50%) */
.rindo-research-layout {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.rindo-research-left,
.rindo-research-right {
    width: 50%;
}

/* Placeholder until image is provided */
.rindo-research-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0; /* 角丸を削除 */
    background: repeating-linear-gradient(45deg, #f2f2f2, #f2f2f2 10px, #e9ecef 10px, #e9ecef 20px);
    border: 1px solid #dee2e6;
}

/* リサーチ右カラムの文字色を白に */
.rindo-research-right,
.rindo-research-right .research-description,
.rindo-research-right .research-highlight {
    color: #ffffff;
}

@media (max-width: 900px) {
    .rindo-research-layout {
        flex-direction: column;
    }
    .rindo-research-left,
    .rindo-research-right {
        width: 100%;
    }
}

/* RINDO Research images layout */
.rindo-research-images {
    display: flex;
    flex-direction: row; /* 横並び */
    gap: 1rem;
}

.rindo-research-figure {
    width: calc((100% - 2rem) / 3);
    display: flex;
    flex-direction: column;
}

.rindo-research-image {
    width: 100%;
    height: 500px; /* 表示される画像の高さを500pxに */
    display: block;
    border-radius: 0; /* 角丸なし */
    object-fit: cover; /* 一部のみ表示（切り抜き） */
    object-position: 50% 0; /* 上寄せで表示 */
}

.rindo-research-caption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #8a8f98; /* 目立たないグレー */
    text-align: center; /* 画像に対して中央寄せ */
}


/* リサーチ右カラムを白字に（強制上書き） */
body.rindo-text-white #works .rindo-research-right,
body.rindo-text-white #works .rindo-research-right * {
    color: #ffffff !important;
}

/* LP Design Section */
.lp-design-section {
    margin: 2rem 0;
    padding-left: 2rem;
}

.lp-component {
    border-radius: 12px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

/* メインビジュアルコンポーネント */
.main-visual-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.main-visual-image {
    flex: 0 0 300px;
}

.main-visual-image img {
    width: 100%;
    height: auto;
}

.main-visual-content {
    flex: 1;
}

.lp-component:hover {
}

.component-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1.5rem 0;
    padding: 0;
    position: relative;
    padding-left: 1.5rem;
}

.component-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 2px;
}

/* removed subtitle-mark overrides; H5 returns to default styling */

.component-description {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding: 0 2rem;
    font-size: 1rem;
}

.component-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.8rem 0;
    line-height: 1.4;
    position: relative;
    padding-bottom: 0.5rem;
}

.component-subtitle::before {
    content: '▶';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4CAF50;
    font-size: 0.8rem;
    font-weight: bold;
}

.component-description:first-of-type {
    margin-top: 1.5rem;
}

.component-highlight {
    color: #2c3e50;
    font-weight: 600;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    padding: 1rem 2rem;
    margin: 0 2rem 1.5rem 2rem;
    border-radius: 8px;
    border-left: 3px solid #4CAF50;
}

.component-details {
    padding: 0 2rem 2rem 1.5rem;
}

.detail-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: transparent;
}

.detail-item:not(.detail-item-no-margin) + .detail-item.detail-item-no-margin {
    margin-top: -1.8rem;
}

.lp-component .detail-item:not(.detail-item-no-margin) {
    margin-top: -0.5rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item-no-margin {
    margin-bottom: -1rem;
    padding-bottom: 0.2rem;
}

.detail-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0;
}

.detail-text {
    color: #495057;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Business Impact: remove spacing between 改善前／改善後 */
.impact-details .detail-item {
    margin: 0 !important;
    padding: 0 !important;
}
.impact-details .detail-item + .detail-item {
    margin-top: 0 !important;
}
.impact-details .detail-item:first-child {
    margin-top: 1rem !important; /* 最初の行の上に余白を付与 */
}

/* PASONA Framework */
.pasona-framework {
    padding: 0 2rem 2rem 2rem;
}

.pasona-item {
    margin-bottom: 0;
    padding: 0;
}

.pasona-item:last-child {
    margin-bottom: 0;
}

.pasona-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pasona-title::before {
    content: "📝";
    font-size: 1.3rem;
}

.pasona-text {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.pasona-text:last-child {
    margin-bottom: 0;
}

/* Lead two-column layout (image left, text right) */
.lead-two-column {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr; /* キーワード戦略と同じ幅レンジ */
    gap: 1.5rem 2rem; /* キーワード戦略と同一のギャップ */
    align-items: start;
    margin-top: 1rem;
}

.lead-left { /* グリッド管理に合わせて固定幅を解除 */
    max-width: none;
}

.lead-right {
    min-width: 0;
}

.lead-slot-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.lead-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Cross-sell visual inside left column */
.crosssell-visual {
    display: grid;
    grid-template-columns: auto 28px 1fr; /* さらに矢印を短く */
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 12px 0 16px; /* 図解の上下余白 */
}

.crosssell-img-slot { margin-bottom: 8px; }
.crosssell-img-slot .crosssell-slot-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Cross-sell heading text above the diagram */
.crosssell-head { text-align: center; margin-bottom: 8px; }
.crosssell-title { color: #ffffff; font-weight: 800; letter-spacing: .02em; }
/* 説明文（explanation-sectionの段落と同じフォント設定に揃える） */
.crosssell-sub {
    color: #ffffff !important;
    font-size: 1rem;        /* 段落と同等 */
    line-height: 1.7;       /* 段落と同等 */
    font-weight: 400;
    margin: 0.5rem 0;       /* 段落標準余白に準拠 */
    opacity: 1;
}

.crosssell-visual .cs-item { text-align: center; }

.crosssell-visual .cs-img {
    width: 90px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* Mynaviキャリレーション（クロワッサン側）だけ小さめに */
.crosssell-visual .cs-img.cs-mynavi {
    width: 72px;
}

.crosssell-visual .cs-cap {
    margin-top: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #111;
}

.crosssell-visual .cs-arrow {
    width: 28px;  /* さらに短く */
    height: 28px;
    background: #ffffff; /* 白 */
    clip-path: polygon(0 35%, 70% 35%, 70% 15%, 100% 50%, 70% 85%, 70% 65%, 0 65%);
    border-radius: 8px;
}

.crosssell-visual .cs-box {
    border: 3px solid #ffffff; /* さらに細く */
    border-radius: 24px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.06);
}

.crosssell-visual .cs-box-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.crosssell-visual .cs-plus {
    color: #ffffff; /* 白 */
    font-weight: 800;
    font-size: 1.8rem;
    line-height: 1;
}

@media (max-width: 420px) {
    .crosssell-visual {
        grid-template-columns: auto 24px 1fr; /* モバイルも短く */
        gap: 8px;
    }
    .crosssell-visual .cs-img { width: 72px; }
    .crosssell-visual .cs-img.cs-mynavi { width: 56px; }
    .crosssell-visual .cs-arrow { width: 24px; height: 24px; }
}

/* ===== Desktop tuning for better balance ===== */
@media (min-width: 1024px) {
  /* Make the right-side illustration more prominent */
  .crosssell-sub { margin-bottom: 8px; }
  .crosssell-visual { gap: 16px; grid-template-columns: auto 64px 1fr; }
  .crosssell-visual .cs-arrow { width: 64px; height: 48px; }
  .crosssell-visual .cs-left .cs-img { width: 140px; } /* ミラエール画像を大きく */
  .crosssell-visual .cs-img { width: 120px; }
  .crosssell-visual .cs-img.cs-mynavi { width: 92px; } /* マイナビは少し小さめを維持 */
  .crosssell-visual .cs-box { padding: 14px; border-radius: 28px; }
  .crosssell-visual .cs-box-inner { gap: 18px; justify-content: space-around; }
  .crosssell-visual .cs-plus { font-size: 2.2rem; }
}

@media (max-width: 900px) {
    .lead-two-column {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .lead-left {
        max-width: 100%;
    }
    .lead-image-placeholder {
        aspect-ratio: 16 / 9;
    }
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .policy-section {
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .research-section,
    .lp-component {
        margin: 1rem -1rem;
        border-radius: 8px;
        padding: 1.5rem;
    }
    
    .policy-item {
        background: white;
        border-radius: 15px;
        margin: 1rem;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    
    .component-title {
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
    }
    
    /* メインビジュアルのスマホ版レスポンシブ */
    .main-visual-component .main-visual-layout {
        position: relative;
        display: block;
        gap: 0;
        margin-bottom: 0;
    }
    
    .main-visual-component .main-visual-layout,
    .lp-component > div[style*="display: flex"] {
        position: relative;
        display: block;
        gap: 0;
        margin-bottom: 0;
    }
    
    .main-visual-component .main-visual-image {
        flex: none;
        position: relative;
        border-radius: 48px;
        overflow: hidden; /* 角丸の境界から画像がはみ出ないように */
        margin-bottom: 10rem; /* テキストがはみ出る分の余白 */
    }
    
    .lp-component > div[style*="display: flex"] > div[style*="flex: 0 0 300px"] {
        flex: none;
        position: relative;
        border-radius: 48px;
        overflow: hidden; /* 角丸の境界から画像がはみ出ないように */
        margin-bottom: 0; /* デフォルトは余白なし */
    }
    
    /* 悩みの代弁パートのみ余白を設定 */
    .lp-component:has(.component-title:contains("悩みの代弁")) > div[style*="display: flex"] > div[style*="flex: 0 0 300px"],
    .lp-component .component-title:contains("悩みの代弁") ~ div > div[style*="flex: 0 0 300px"] {
        margin-bottom: 80rem; /* 悩みの代弁パートは80rem */
    }
    
    /* メッセージパートのみ余白を設定 */
    .lp-component:has(.component-title:contains("メッセージ")) > div[style*="display: flex"] > div[style*="flex: 0 0 300px"],
    .lp-component .component-title:contains("メッセージ") ~ div > div[style*="flex: 0 0 300px"] {
        margin-bottom: 0; /* メッセージパートは余白なし */
    }
    
    .main-visual-component .main-visual-image::after,
    .lp-component > div[style*="display: flex"] > div[style*="flex: 0 0 300px"]::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6); /* 黒っぽい透明エフェクト */
        border-radius: 48px; /* 角丸をもっと効かせる */
        z-index: 1;
    }
    
    .main-visual-component .main-visual-content,
    .lp-component > div[style*="display: flex"] > div[style*="flex: 1"] {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex: none;
        z-index: 2;
        padding: 1.5rem 0; /* 左右の余白を削除、上下のみ保持 */
        color: white;
        display: flex;
        align-items: flex-start;
    }
    
    .main-visual-component .component-description,
    .lp-component .component-description {
        width: 100%;
    }
    
    .main-visual-component .component-subtitle,
    .lp-component .component-subtitle {
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .main-visual-component .component-subtitle::before,
    .lp-component .component-subtitle::before {
        color: #ffffff;
    }
    
    .main-visual-component .component-description p,
    .lp-component .component-description p {
        color: white !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    }
    
.component-description,
.component-details {
    padding: 0 1.5rem;
}

.component-quote {
    position: relative;
    background: rgba(255,255,255,0.08); /* ぼかし用の半透明背景 */
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    border-left: 4px solid rgba(255,255,255,0.85);
    padding: 1rem 1.25rem 1.25rem 1.5rem; /* 左に余白を追加 */
    margin: 1rem 0;
}

.component-quote::before,
.component-quote::after {
    position: absolute;
    font-family: inherit;
    font-size: 3rem; /* 大きめの鉤括弧 */
    line-height: 1;
    color: rgba(255, 255, 255, 0.45); /* 白のクオーテーション（やや薄め） */
    content: '';
    pointer-events: none;
}

.component-quote::before {
    content: "\201C"; /* 左ダブル引用符 */
    top: 0.2rem;
    left: 0.6rem;
}

.component-quote::after {
    content: "\201D"; /* 右ダブル引用符 */
    right: 0.6rem;
    bottom: 0.2rem;
}

/* WORKSセクション内での適用を強化（上書き対策） */
#works .component-quote {
    background: rgba(255,255,255,0.08) !important; /* ぼかし背景 */
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-left: 4px solid rgba(255,255,255,0.85) !important;
}
#works .component-quote::before,
#works .component-quote::after {
    color: rgba(255, 255, 255, 0.45) !important; /* 白で視認性UP */
}

.component-quote p {
    margin: 0.4rem 0;
    font-style: italic; /* サンプルに寄せて斜体 */
}

.component-quote p:first-child { margin-top: 0; }
.component-quote p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
    .component-quote {
        padding: 0.85rem 1rem 1rem 1rem;
    }
    .component-quote::before,
    .component-quote::after {
        font-size: 2.4rem;
    }
}

/* 強制適用（他スタイルが強い場合の保険） */
#works 
.lp-component 
.component-description 
blockquote.component-quote {
    display: block;
    position: relative;
    background: rgba(255,255,255,0.08) !important; /* ぼかし背景（強制） */
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-left: 4px solid rgba(255,255,255,0.85) !important;
    padding-left: 1.5rem !important; /* 左余白を統一 */
    border-radius: 8px;
}
#works .lp-component .component-description blockquote.component-quote::before,
#works .lp-component .component-description blockquote.component-quote::after {
    color: rgba(255,255,255,0.45) !important; /* 白に変更 */
}

    .component-highlight {
        margin: 0 1.5rem 1.5rem 1.5rem;
        padding: 0.8rem 1.5rem;
    }
    
    .detail-item {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .detail-subtitle {
        font-size: 1rem;
    }
    
    .detail-text,
    .pasona-text {
        font-size: 0.9rem;
    }
    
    .pasona-framework {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .pasona-item {
        padding: 0;
        margin-bottom: 0;
    }
    
    .pasona-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .research-section,
    .lp-component {
        padding: 1rem;
        margin: 1rem -1rem;
        border-radius: 0;
    }
    
    
    .component-title {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .component-description,
    .component-details,
    .component-highlight {
        padding: 0 1rem;
        margin: 0 1rem 1rem 1rem;
    }
    
    .component-highlight {
        padding: 0.6rem 1rem;
    }
    
    .pasona-framework {
        padding: 0 1rem 1rem 1rem;
    }
    
    .pasona-item {
        padding: 0;
    }
}

/* Main Visual Layout - removed styles since using inline flex layout now */

/* Smartphone Mockup */
.smartphone-mockup {
    position: relative;
    width: 250px;
    height: 500px;
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 25px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    background: #666;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.mockup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Responsive styles for Main Visual - removed since using inline flex layout now */
    
    .smartphone-mockup {
        width: 180px;
        height: 360px;
    }
}

@media (max-width: 480px) {
    .smartphone-mockup {
        width: 160px;
        height: 320px;
    }
    
    .phone-frame {
        padding: 12px;
        border-radius: 20px;
    }
    
    .phone-screen {
        border-radius: 12px;
    }
}

/* セールスレター制作セクション - 担当範囲・運営期間・使用ツールのグラデーション変更 */
#sales-letter .funnel-detail-badge {
    background: linear-gradient(135deg, #bbb5d4 0%, #bbb5d4 33%, #8cb3db 66%, #4faddf 100%) !important;
    color: white !important;
}

/* セールスレター制作セクション - テキストを白文字に変更 */
#sales-letter .funnel-title,
#sales-letter .funnel-description,
#sales-letter .funnel-detail-text {
    color: white !important;
}

/* セールスレター制作セクション以降の全体背景画像設定 */
.sales-letter-background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://tnbkn.com/wp-content/uploads/pro-freelance-scaled.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

/* スマホ用背景画像 */
@media (max-width: 768px) {
    .sales-letter-background-layer {
        background-image: url('https://tnbkn.com/wp-content/uploads/pro-freelance-sp-scaled-e1755740822434.webp') !important;
    }
}

/* iPhone対応 */
@media only screen and (max-device-width: 812px) {
    .sales-letter-background-layer {
        background-image: url('https://tnbkn.com/wp-content/uploads/pro-freelance-sp-scaled-e1755740822434.webp') !important;
    }
    
    .profile-grid {
        display: block !important;
        grid-template-columns: none !important;
    }
    
    .profile-image-container {
        display: none !important;
    }
    
    .profile-bottom-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        margin-top: 2rem;
    }
}

/* iOS Safari対応 */
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px) {
    .profile-grid {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }
    
    .profile-image-container {
        display: none !important;
    }
    
    .profile-bottom-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-top: 2rem !important;
    }
}

/* iPhone全モデル対応 - 最強設定 */
@media only screen and (max-width: 480px) {
    #profile {
        padding: 1.5rem 0 !important;
    }
    
    #profile.container {
        padding: 1.5rem 1rem !important;
    }
    
    .profile-grid {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }
    
    .profile-image-container {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }
    
    .profile-bottom-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-top: 2rem !important;
    }
    
    /* NABEKEN'S PROFILE見出し完全修正 */
    .profile-hero-title {
        text-align: center !important;
        margin: 1.5rem 0 3rem 0 !important;
        padding: 0 0.5rem !important;
        font-size: clamp(2.8rem, 6vw, 4.2rem) !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .profile-hero-title .title-line:first-child {
        text-align: center !important;
        width: 100% !important;
        animation: slideInFromTop 1s ease-out 0.2s both !important;
    }
    
    .profile-hero-title .title-line:last-child {
        text-align: center !important;
        width: 100% !important;
        animation: slideInFromBottom 1s ease-out 0.4s both !important;
    }
}

/* iPhone Pro Max等の大画面対応 */
@media only screen and (max-device-width: 430px), 
       only screen and (max-width: 430px),
       screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 430px) {
    .profile-grid {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }
    
    .profile-image-container {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }
    
    .profile-bottom-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-top: 2rem !important;
    }
}

/* Safari Mobile 専用対応 */
@media screen and (-webkit-min-device-pixel-ratio: 1) and (max-width: 768px) {
    .profile-grid {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }
    
    .profile-image-container {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }
    
    .profile-bottom-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-top: 2rem !important;
    }
}

/* 最終兵器 - body要素レベルでの強制適用 */
@media (max-width: 768px) {
    body #profile {
        padding: 2rem 0 !important;
    }
    
    body #profile.container {
        padding: 2rem 1rem !important;
    }
    
    body #profile .profile-grid {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }
    
    body #profile .profile-image-container {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    body #profile .profile-bottom-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-top: 2rem !important;
    }
    
    /* 最強レベル見出し修正 */
    body #profile .profile-hero-title {
        text-align: center !important;
        margin: 2rem auto 4rem auto !important;
        padding: 0 1rem !important;
        font-size: clamp(3rem, 6.5vw, 4.5rem) !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    body #profile .profile-hero-title .title-line:first-child {
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        animation: slideInFromTop 1s ease-out 0.2s both !important;
    }
    
    body #profile .profile-hero-title .title-line:last-child {
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        animation: slideInFromBottom 1s ease-out 0.4s both !important;
    }
}
.sales-letter-background-layer.active {
    opacity: 1;
}
.sales-letter-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

/* SEOメディア背景レイヤー */
.seo-media-background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://tnbkn.com/wp-content/uploads/nabeken-walk-background.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s ease;
    pointer-events: none;
}
.seo-media-background-layer.active {
    opacity: 1;
}
.seo-media-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* ライティング支援事業セクション - テキストを白文字に変更 */
#writing-business .funnel-title,
#writing-business .funnel-description,
#writing-business .funnel-detail-text {
    color: white !important;
}

/* 派遣求職者向けオウンドメディア運営セクション - テキストを白文字に変更 */
#seo-media .funnel-title,
#seo-media .funnel-description,
#seo-media .funnel-detail-text {
    color: white !important;
}

/* ライティング支援事業セクション - 全バッジを青ベースに変更 */
#writing-business .funnel-badge.primary,
#writing-business .funnel-badge.secondary,
#writing-business .funnel-detail-badge {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: white !important;
}

/* 派遣求職者向けオウンドメディア運営セクション - 全バッジを#1d86fcベースのグラデーションに変更 */
#seo-media .funnel-badge.primary,
#seo-media .funnel-badge.secondary,
#seo-media .funnel-detail-badge {
    background: linear-gradient(135deg, #1d86fc, #4a9cfd) !important;
    color: white !important;
}

/* SEOメディアセクション - メディア実績のレイアウト */
#seo-media .work-section-title {
    color: #ffffff !important;
}

#seo-media .work-section-title::before {
    background: linear-gradient(135deg, #1d86fc, #4a9cfd) !important;
}

/* RINDO背景時のSEOセクション見出し強制白色 */
body.rindo-text-white #seo-media .work-section-title {
    color: #ffffff !important;
}

/* 「執筆内容の解説」見出し専用：最強セレクタで強制適用 */
#seo-media .work-details-container .work-section-title {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* RINDO背景時も含めて強制適用 */
body.rindo-text-white #seo-media .work-details-container .work-section-title,
html body #seo-media .work-details-container h4.work-section-title {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* デザイン（::before要素）も強制適用：12px四角＋水色グラデーション */
#seo-media .work-details-container .work-section-title::before,
html body #seo-media .work-details-container h4.work-section-title::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 12px !important;
    height: 12px !important;
    background: linear-gradient(135deg, #1d86fc, #4a9cfd) !important;
    border-radius: 2px !important;
}

/* 汎用h4ルール（line 5917）を上書き：最強セレクタで絶対的に白色強制 */
section#seo-media .work-details-container h4.work-section-title,
body section#seo-media .work-details-container h4.work-section-title,
html body section#seo-media .work-details-container h4.work-section-title {
    color: #ffffff !important;
    font-weight: 700 !important;
}

#seo-media .work-section-title .media-performance-note {
    font-size: 0.7em;
    color: #999;
}

#seo-media .media-performance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#seo-media .media-performance-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

#seo-media .media-performance-text {
    margin-top: 5px;
}

#seo-media .media-performance-text p {
    color: white;
    margin: 0;
}

/* 執筆・改善プロセスの説明文 */
#seo-media .process-description {
    color: white;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ===== FINAL MOBILE OVERRIDE - Career Section ===== */
@media (max-width: 768px) {
    /* Career Section Mobile - Final Override */
    #career {
        padding: 3rem 1rem !important; /* Restore minimal padding for title centering */
    }
    
    /* Keep CAREER title left-aligned as original */
    #career .career-hero-title {
        text-align: left !important; /* Maintain original left alignment */
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    #career .career-date {
        left: -0.5rem !important; /* Move even further left */
        width: 75px !important; /* Slightly smaller width */
        padding-right: 8px !important; /* Reduce spacing from timeline */
        text-align: right !important;
        font-size: 0.8rem !important; /* Slightly smaller font for mobile */
    }
    
    #career .career-timeline::before {
        left: 75px !important; /* Move timeline closer to left */
    }
    
    /* Mobile background fix - background-attachment: fixed not supported on mobile */
    .rindo-background-layer,
    .seo-media-background-layer,
    .sales-letter-background-layer,
    .hero-service-background::before {
        background-attachment: scroll !important;
    }
    
    #career .career-item {
        padding-left: 95px !important; /* Reduce content padding */
    }
    
    #career .career-item::before {
        left: 75px !important; /* Move dot to match timeline */
    }
}

@media (max-width: 992px) {
    .hearing-power-right,
    .analysis-power-right,
    .learning-power-right {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }
    
    .hearing-power-two-column,
    .analysis-power-two-column,
    .learning-power-two-column {
        text-align: left;
    }
}[id$="background-layer"], [class$="background-layer"] { pointer-events: none \!important; }

/* --- FIX: 背景系の当たり判定をすべて無効化 --- */
#loading-screen, .loading-screen,
#rindo-background-layer, .rindo-background-layer, .rindo-background-overlay,
#sales-letter-background-layer, .sales-letter-background-layer, .sales-letter-background-overlay,
#seo-media-background-layer, .seo-media-background-layer, .seo-media-background-overlay {
  pointer-events: none !important;
}

/* --- FIX: コンテンツがマイナスz-indexで背面に行かないように --- */
.hero-service-background { z-index: 0 !important; }

/* Heroの実績6枚の角丸を調整 */
.hero-right .mockup {
  border-radius: 4px !important;   /* 少し角丸に */
  /* 画像がはみ出す場合は ↓ を使う: overflow: visible; */
}

/* ===== SEO Media Persona Styles (Blue Theme) ===== */

/* ===== SEO Media Persona専用のスタイル - 水色ベース ===== */

/* SEO Media ペルソナセクションのタグを水色に */
.seo-media-persona-section .persona-section-tag.seo-media-tag {
    background: linear-gradient(135deg, #1d86fc, #4a9cfd) !important;
    color: white !important;
}

/* SEO Media ペルソナのラベルを水色に */
.seo-media-persona-section .persona-attr-label.seo-media-label {
    color: #1d86fc !important;
    font-weight: 600;
}

/* SEO Media セクション内のペルソナプロフィールの境界線を水色に */
.seo-media-persona-section .persona-profile {
    border-bottom: 2px solid #1d86fc !important;
}

/* SEO Media セクション内のペルソナ属性行の境界線を水色に */
.seo-media-persona-section .persona-attr-row {
    border-bottom: 1px solid rgba(29, 134, 252, 0.2) !important;
}

/* SEO Media ペルソナセクションのサブタイトルテキストを白色に */
body.rindo-text-white #works #seo-media .seo-media-persona-section .persona-subtitle-text,
body.sales-letter-text-white #works #seo-media .seo-media-persona-section .persona-subtitle-text,
body.seo-media-text-white #works #seo-media .seo-media-persona-section .persona-subtitle-text,
#seo-media .seo-media-persona-section .persona-subtitle-text {
    color: #ffffff !important;
}

/* ===== SEO Media Analysis Section H5 Headings ===== */

/* SEO Media 分析セクションのh5見出しスタイル */
#seo-media .analysis-subtitle {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 2.5rem 0 1.5rem 0 !important;
    padding: 0.8rem 1.5rem !important;
    background: linear-gradient(135deg, #1d86fc, #4a9cfd) !important;
    border-radius: 8px !important;
    position: relative !important;
    box-shadow: 0 4px 15px rgba(29, 134, 252, 0.3) !important;
    border: none !important;
    display: inline-block !important;
    min-width: 250px !important;
}

/* ホバー効果 */
#seo-media .analysis-subtitle:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(29, 134, 252, 0.4) !important;
    transition: all 0.3s ease !important;
}

.hero-right .mockup-image {
  border-radius: 4px !important;   /* 少し角丸に：既存の15pxから変更 */
}

/* ===== Maslow (outline-only pyramid + 2カラム) ===== */
:root{
  --maslow-stroke:#fff;                 /* 明るい背景では #111 に */
  --maslow-stroke-muted:rgba(255,255,255,.55);
  --maslow-stroke-width:2.2;
}

/* 説明文（見出しの直下） */
.maslow-lead{
  margin: .75rem 0 1.25rem;
  color:#fff;                           /* ページが暗背景前提 */
  opacity:.9;
  line-height:1.7;
}

/* =========================
   Maslow Steps: クリーンな実装
   ========================= */

.maslow-steps {
  display: grid;
  gap: 18vh; /* セクション間の移動距離 */
  scroll-snap-type: y proximity; /* ほどよく段に止まる */
}

.maslow-step {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  align-items: start;
  min-height: 140vh; /* 1段あたりの滞在尺 */
  scroll-snap-align: start;
}

/* 2カラムとも画面内にピン留め */
.maslow-step .col-left,
.maslow-step .col-right {
  position: sticky;
  top: clamp(64px, 12vh, 120px); /* ヘッダー分だけ余白 */
}

/* 親要素の制約を解除（overflow問題対策） */
#seo-media,
#seo-media .work-overview-details {
  overflow: visible !important;
}

/* 左：ピラミッドの見栄え */
.pyr {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.25));
}

/* 右：カード風 */
/* 右：カード風（Maslow専用）。他セクションに波及しないように限定 */
.maslow-step .col-right {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: clamp(16px, 2.4vw, 28px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  max-width: 56ch;
}

/* モバイル：sticky解除で縦積み */
@media (max-width: 768px) {
  .maslow-step {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .maslow-step .col-left,
  .maslow-step .col-right {
    position: static;
  }
  .maslow-steps {
    gap: 48px;
  }
}

/* 古いmaslow-section削除済み */

.maslow-pyramid{ width:100%; aspect-ratio:1/1; }
.maslow-svg{ width:100%; height:100%; overflow:visible; }

/* ピラミッドセグメント - 統合された定義 */
.maslow-seg,
.maslow-outline,
.maslow-divider{
  fill:none;
  stroke:var(--maslow-stroke);
  stroke-width:var(--maslow-stroke-width);
  vector-effect:non-scaling-stroke;
}

.maslow-seg {
  opacity: 0.4;
  transition: all 0.3s ease;
  stroke-dasharray:300;
  stroke-dashoffset:300;
  animation:maslowDraw 1s ease forwards;
}

.maslow-seg.active {
  opacity: 1;
  stroke-width: calc(var(--maslow-stroke-width) + 1.2);
  filter: drop-shadow(0 0 8px rgba(255,255,255,.45));
}

.maslow-outline{ stroke-width:calc(var(--maslow-stroke-width) + .8); }
.maslow-divider{ stroke:var(--maslow-stroke-muted); }

/* 線描画アニメーションのディレイ */
.maslow-seg:nth-of-type(1){animation-delay:.05s;}
.maslow-seg:nth-of-type(2){animation-delay:.15s;}
.maslow-seg:nth-of-type(3){animation-delay:.25s;}
.maslow-seg:nth-of-type(4){animation-delay:.35s;}
.maslow-seg:nth-of-type(5){animation-delay:.45s;}
@keyframes maslowDraw{ to{ stroke-dashoffset:0; } }

/* 既存 .analysis-section の軽いカード化（読みやすさ向上） */
.maslow-analysis .analysis-section{
  border-left:2px solid var(--maslow-stroke-muted);
  background:rgba(255,255,255,.04);
  border-radius:.6rem;
  padding:.9rem 1.1rem;
  transition:background .25s ease, border-color .25s ease;
}
.maslow-analysis .analysis-section:hover,
.maslow-analysis .analysis-section.is-active{
  border-color:var(--maslow-stroke);
  background:rgba(255,255,255,.07);
}

/* 削除: 重複した .is-active クラス定義を削除 - .active で統一 */

/* デスクトップ：横並びレイアウトを強制 */
@media (min-width: 769px) {
  .maslow-scroll-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: clamp(1.2rem, 4vw, 2.8rem) !important;
  }
  
  .maslow-pyramid-fixed {
    position: sticky !important;
    top: 15vh !important;
    flex: 0 0 auto !important;
    width: 400px !important;
    max-width: 45vw !important;
  }
}

/* モバイル：縦積みレイアウト */
@media (max-width: 768px) {
  .maslow-scroll-container {
    flex-direction: column;
    height: auto;
    position: static;
    gap: 1.5rem;
    padding: 2rem 0;
  }
  
  .maslow-pyramid-fixed {
    position: static !important;
    width: 300px;
    max-width: 80vw;
  }
  
  .maslow-content-scrollable {
    height: auto;
  }
  
  /* 古いmaslow-section削除済み */
  }
  
  .maslow-scroll-triggers {
    display: none; /* モバイルではスクロール連動を無効化 */
  }
}

/* SEOセクション用のH5見出しスタイル（水色ベース版component-title） */
#seo-media .seo-component-title,
body.rindo-text-white #works .seo-component-title {
    color: #ffffff !important;
    margin-top: 3rem !important;
}

#seo-media .seo-component-title::before,
body.rindo-text-white #works .seo-component-title::before {
    background: #1d86fc !important;
}

/* SEOセクション用のH6見出しスタイル（水色ベース版component-subtitle） */
body.rindo-text-white #works .seo-component-subtitle {
    color: #ffffff !important;
}

body.rindo-text-white #works .seo-component-subtitle::before,
#seo-media .component-subtitle::before {
    color: #1d86fc !important;
}

/* ▶デザインとテキストを横並びに（テキストのY軸は不動、デザインのみ調整） */
#seo-media .seo-component-subtitle {
    display: inline-flex;
    align-items: center; /* テキストと▶を中央揃え */
    gap: 0.5rem;         /* ▶とテキストの間隔 */
    padding-top: 0;      /* 余計な上余白は付けない */
    padding-left: 0;     /* 左のインデントも排除 */
    margin-bottom: 0;    /* 見出し下の余白をゼロに */
    margin-top: 1rem;    /* 見出し上に余白を確保 */
}

#seo-media .seo-component-subtitle::before {
    position: static;      /* 通常のフローに戻す */
    content: '▶';          /* 既存デザイン維持 */
    display: inline-block;
    line-height: 1;        /* 文字の高さに合わせる */
    transform: none;       /* 縦位置の補正を打ち消し */
    margin: 0;
    font-size: 0.9em;      /* 少しだけ控えめに（調整可） */
}

/* ===== SEO Media Analysis Content White Text Styling ===== */

/* 5W1H分析以降のメインテキストコンテンツを白文字に */
#seo-media .analysis-section p,
#seo-media .analysis-section li,
#seo-media .deep-dive-example p,
#seo-media .maslow-lead,
#seo-media .needs-summary p,
#seo-media .needs-summary li {
    color: #ffffff !important;
}

/* 顕在ニーズの白背景内のテキストは除外 */
#seo-media .needs-content li {
    color: #333333 !important;
}

/* Maslow分析セクション内のテキストを白文字に */
/* 古いmaslow-section関連削除済み */

/* ニーズセクション用のスタイル */
.needs-section-wrapper {
    position: relative;
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.needs-badge {
    position: absolute;
    top: -20px;
    left: 20px;
    background: linear-gradient(135deg, #1d86fc, #4a9cfd);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(29, 134, 252, 0.3);
}

.needs-badge.latent-needs {
    background: linear-gradient(135deg, #1d86fc, #4a9cfd);
    box-shadow: 0 2px 8px rgba(29, 134, 252, 0.3);
}

.needs-content {
    background: white;
    border-radius: 12px;
    padding: 32px 20px 20px;
    margin-top: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.needs-content ul {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 2rem;
}

.needs-content li {
    color: #333333 !important;
    line-height: 1.6;
    margin-bottom: 8px;
    break-inside: avoid;
    border-bottom: 1px dashed #cccccc;
    padding-bottom: 4px;
}

@media (max-width: 768px) {
    .needs-content ul {
        columns: 1;
    }
}

/* 収益化戦略、ライバル分析、記事構成、執筆内容セクションのテキストを白文字に */
#seo-media .revenue-strategy p,
#seo-media .strategy-section p,
#seo-media .strategy-description p,
#seo-media .article-structure p,
#seo-media .structure-list .structure-item,
#seo-media .structure-explanation p,
#seo-media .content-explanation p,
#seo-media .explanation-section p,
#seo-media .pasona-breakdown p,
#seo-media .pasona-item p,
#seo-media .pasona-item li,
#seo-media .persona-right p,
#seo-media .persona-right li {
    color: #ffffff !important;
}

/* 収益化戦略のバッジデザイン */
.strategy-section p { display: flex; align-items: center; gap: 0.6rem; margin: 0.5rem 0; }
/* Personaタグ風のピル型バッジに統一 */
.strategy-badge {
    display: inline-block;
    padding: 0.8rem 2rem; /* persona-section-tag と揃える */
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff;
    background: #28a745; /* Personaの基本色 */
}
/* SEOメディア配色（ペルソナの水色グラデに揃える） */
#seo-media .strategy-badge { background: linear-gradient(135deg, #1d86fc, #4a9cfd) !important; }
.strategy-text { color: #ffffff; font-weight: 500; }

/* 記事構成を2カラム化（左：見出し一覧／右：説明） */
.article-structure {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: 1.5rem 2rem;
    align-items: start;
}

.article-structure .structure-list {
    margin: 0; /* 余白を整える */
}

.article-structure .structure-explanation {
    min-width: 0; /* 折り返し制御 */
}

@media (max-width: 768px) {
    .article-structure {
        grid-template-columns: 1fr;
    }
}

/* リスト項目の箇条書きマーカーも白色に */
#seo-media .analysis-section li::before,
#seo-media .needs-summary li::before,
#seo-media .pasona-item li::before,
#seo-media .persona-right li::before {
    color: #ffffff !important;
}

/* ただし、背景を持つ要素は除外（既存のスタイルを維持） */
#seo-media .funnel-badge,
#seo-media .funnel-detail-badge,
#seo-media .step-label,
#seo-media .persona-section-tag,
#seo-media .persona-attr-label {
    /* 既存のスタイルを維持するため、明示的に除外 */
}

/* 趣味バッジのスタイル */
.hobby-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 1rem 0 0.5rem 0;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff !important;
    background: transparent;
    border: 2px solid #ffffff;
    box-shadow: none;
}

/* SNSグリッドリストのスタイル */
.sns-grid-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.sns-grid-list li {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 0;
    align-items: center;
    padding: 0.3rem 0;
    color: #ffffff;
    position: relative;
    padding-left: 2rem;
}

.sns-grid-list li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: #ffffff;
    font-weight: bold;
}

.sns-name {
    text-align: left;
    min-width: 120px;
}

.sns-colon {
    width: auto;
}

.sns-count {
    margin-left: 0.2rem;
}

/* 書籍項目は通常のリストアイテムスタイル */
.sns-grid-list .book-item {
    display: block !important;
    grid-template-columns: none !important;
    padding-left: 2rem;
}


/* チェックマークリストのスタイル */
.checkmark-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checkmark-list li {
    padding: 0.5rem 0;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.4;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.checkmark-list li:last-child {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

/* 2カラムチェックマークリスト */
.checkmark-list.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
}

@media (max-width: 768px) {
    .checkmark-list.two-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* 他のリストにも同じ破線デザインを適用 */
.requirements-column-left li,
.requirements-column-right li,
.persona-detail-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    line-height: 1.4;
    position: relative;
}

/* 実績ロゴセクション */
.works-logo-section {
    margin: 2rem 0 0 0;
}

.works-logo-section:first-of-type {
    margin-top: 2rem;
}

.works-logo-section:last-of-type {
    margin-bottom: 4rem;
}

.works-logo-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .works-logo-title {
        font-size: 1.1rem;
        white-space: nowrap;
    }
    
    .works-logo-section {
        margin: 1rem 0 0 0;
    }
    
    .works-logo-section:first-of-type {
        margin-top: 1rem;
    }
}

/* 実績ロゴマーキーアニメーション */
.works-logo-marquee {
    overflow: hidden;
    white-space: nowrap;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2rem 0;
}

.works-logo-track {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    gap: 1.5rem;
    align-items: flex-start;
}

.works-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.works-logo {
    height: 160px;
    width: 280px;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
    max-width: 280px;
    max-height: 160px;
}

.works-logo-caption {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    white-space: nowrap;
    font-weight: 500;
}

.works-logo:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

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

/* テキストベースの実績リスト */
.works-text-list {
    margin-bottom: 2rem;
}

.works-text-item {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    position: relative;
    padding-left: 1.5rem;
}

.works-text-item:before {
    content: "•";
    color: #ffffff;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0.8rem;
}

.works-text-item:last-child {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .works-logo {
        height: 120px;
        width: 180px;
        max-width: 180px;
        max-height: 120px;
    }
    
    .works-logo-track {
        gap: 0.5rem;
    }
    
    .works-logo-marquee {
        margin: 0 0 1rem 0;
        padding: 0.5rem 0;
    }
    
    .works-text-item {
        font-size: 0.9rem;
        padding: 0.6rem 0;
        padding-left: 1.2rem;
    }
}

/* ベン図ハイライト効果の強制適用 - 競合を防ぐ */
.hearing-power-section .venn-circle-1,
.analysis-power-section .venn-circle-2,
.learning-power-section .venn-circle-3 {
    opacity: 1 !important;
    filter: none !important;
}

.hearing-power-section .venn-circle-1 {
    box-shadow: 
        0 0 20px rgba(59, 130, 246, 0.6), 
        0 0 40px rgba(59, 130, 246, 0.3),
        inset 0 0 20px rgba(59, 130, 246, 0.3),
        inset 0 0 40px rgba(59, 130, 246, 0.1) !important;
}

.analysis-power-section .venn-circle-2 {
    box-shadow: 
        0 0 20px rgba(34, 197, 94, 0.6), 
        0 0 40px rgba(34, 197, 94, 0.3),
        inset 0 0 20px rgba(34, 197, 94, 0.3),
        inset 0 0 40px rgba(34, 197, 94, 0.1) !important;
}

.learning-power-section .venn-circle-3 {
    box-shadow: 
        0 0 20px rgba(239, 68, 68, 0.6), 
        0 0 40px rgba(239, 68, 68, 0.3),
        inset 0 0 20px rgba(239, 68, 68, 0.3),
        inset 0 0 40px rgba(239, 68, 68, 0.1) !important;
}

/* 5W1H分析バッジのスタイル */
.analysis-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0 1rem 0;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff !important;
    background: linear-gradient(135deg, #1d86fc, #4a9cfd);
    box-shadow: 0 2px 8px rgba(29, 134, 252, 0.3);
    border: none;
}

.analysis-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 134, 252, 0.4);
    transition: all 0.2s ease;
}

/* 5W1H分析の2カラム構成 */
.analysis-5w1h-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    margin-top: 1.5rem;
}

/* モバイルでは1カラムに戻す */
@media (max-width: 768px) {
    .analysis-5w1h-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* フッターセクション */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 40px 0 30px;
    margin-top: 60px;
    border-top: 1px solid #333;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.7;
    color: #ffffff;
    text-decoration: none;
}

.footer-copyright {
    padding-top: 0;
}

.footer-copyright p {
    color: #888;
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

/* フッターモーダルのスタイル調整 */
.modal-text {
    line-height: 1.8;
    color: #333;
}

.modal-text h3 {
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.modal-text ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal-text li {
    margin-bottom: 8px;
    color: #555;
}

/* お問い合わせセクション内のCTAボタン */
.contact-button-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding: 0 20px;
}

.contact-cta-btn {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    text-decoration: none;
    padding: 20px 35px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.2rem;
    width: 100%;
    max-width: 600px;
    justify-content: center;
    min-width: 300px;
    position: relative;
    overflow: hidden;
}

.contact-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    z-index: 1;
    pointer-events: none;
    animation: shimmer 2s ease-in-out infinite;
}

.contact-cta-btn .contact-btn-text,
.contact-cta-btn i {
    position: relative;
    z-index: 2;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

.contact-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(39, 174, 96, 0.6);
    background: linear-gradient(135deg, #219a52, #27ae60);
    color: white;
    text-decoration: none;
}

.contact-cta-btn i:first-child {
    margin-right: 12px;
    font-size: 1.3rem;
}

.contact-cta-btn i:last-child {
    margin-left: 12px;
    font-size: 1.1rem;
}

.contact-btn-text {
    font-size: 1.2rem;
    font-weight: 600;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0 20px;
        margin-top: 40px;
    }
    
    .contact-button-container {
        margin-top: 40px;
    }
    
    .contact-cta-btn {
        padding: 18px 30px;
        font-size: 1.1rem;
    }
    
    .contact-btn-text {
        font-size: 1.1rem;
    }
    
    .contact-cta-btn i:first-child {
        font-size: 1.2rem;
    }
    
    .footer-links {
        gap: 20px;
        flex-direction: row;
        justify-content: center;
    }
    
    .modal-text h3 {
        font-size: 16px;
    }
}


/* === Strengths：シンプルな表示（アニメーション・固定表示削除） === */

/* === 3 STRENGTHS シンプル表示（アニメーション・固定表示なし） === */



/* アクティブ層のハイライトは維持（必要なら調整） */
.maslow-pyramid-overlay > li.is-active::after {
  content: "";
  position: absolute; inset: 10% 6%;
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 0 0 4px rgba(255,255,255,.15);
  border-radius: 6px;
}
.maslow-pyramid-fallback li.is-active {
  box-shadow: 0 0 0 3px rgba(255,255,255,.9) inset, 0 8px 24px rgba(0,0,0,.2);
}

/* 古いMaslow設定は削除済み */

/* 古いmaslow-grid設定削除 */

/* 古いmaslow-left, maslow-pyramid, maslow-right設定も削除 */

.maslow-pyramid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.maslow-pyramid-fallback {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .maslow-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .maslow-left {
    position: static;
    order: 1;
  }
  
  .maslow-right {
    order: 2;
  }
}

/* 🔥 「執筆内容の解説」見出し最終強制ルール：汎用h4ルール(line 5917)を完全上書き */
html body section#seo-media div.work-details-container h4.work-section-title[class~="work-section-title"] {
    color: rgb(255, 255, 255) !important;
    font-weight: 700 !important;
}

html body section#seo-media div.work-details-container h4.work-section-title[class~="work-section-title"]::before {
    content: '' !important;
    position: absolute !important;
    left: 0px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 4px !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgb(29, 134, 252), rgb(74, 156, 253)) !important;
    border-radius: 2px !important;
}

/* SEOメディアセクションの全ての見出しに縦線を強制適用 */
#seo-media .work-section-title {
    position: relative !important;
    padding-left: 1.5rem !important;
}

#seo-media .work-section-title::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 4px !important;
    height: 100% !important;
    background: linear-gradient(135deg, #1d86fc, #4a9cfd) !important;
    border-radius: 2px !important;
}

/* ===== MASLOW シンプル版：5つのコンテナを順次配置 ===== */

/* SEO Mediaセクション内のマズローエリアを全幅化 */
#seo-media .work-details-container {
    max-width: none;
    width: 100%;
    padding: 0;
}

/* maslow-stepsをシンプルな縦並びに */
.maslow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 3rem 0;
    width: 100%;
    max-width: none;
    padding: 0 2rem;
}

/* 各ステップを横並び2カラムレイアウト */
.maslow-step {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    min-height: auto;
    padding: 0.5rem 0;
    width: 100%;
}

/* 左カラム（ピラミッド）*/
.maslow-step .col-left {
    flex: 0 0 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 右カラム（説明テキスト）- ぼかし背景 */
.maslow-step .col-right {
    flex: 1;
    padding: 1.5rem;
    margin-left: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* マズロー右カラムのテキストを白文字に */
.maslow-step .col-right h4,
.maslow-step .col-right p,
.maslow-step .col-right li,
.maslow-step .col-right ul {
    color: #ffffff !important;
}

/* 深掘り例を「塗りなし＋角丸の白枠」に */
.maslow-step .col-right .deep-dive-example {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    box-shadow: none;
}

/* 深掘り例ボックス内のテキストを確実に黒文字に */
#seo-media .maslow-step .col-right .deep-dive-example p,
.maslow-step .col-right .deep-dive-example p,
html body #seo-media .maslow-step .col-right .deep-dive-example p {
    color: #ffffff !important;
    margin: 0;
    line-height: 1.6;
    font-size: 0.9rem !important;
}

/* 深掘り例ボックス内の全要素を黒文字に */
#seo-media .maslow-step .col-right .deep-dive-example,
#seo-media .maslow-step .col-right .deep-dive-example * {
    color: #ffffff !important;
}

/* SEOセクション内のH4見出しと分析タイトルを白文字に強制 */
#seo-media h4,
#seo-media .component-title,
#seo-media .analysis-subtitle,
html body section#seo-media h4,
html body section#seo-media .component-title,
section#seo-media .component-title {
    color: #ffffff !important;
}

/* マズロー分析見出しの上部余白を追加 */
#seo-media .seo-component-title,
#seo-media .component-title.seo-component-title,
#seo-media h5.seo-component-title {
    margin-top: 4rem !important;
}

/* ▼ PASONA小見出しは既存の▶デザインを維持（component-subtitleに従う） */

/* RINDO側（WORKS配下）のPASONA小見出しも横並び＆余白調整。色は緑のまま */
#works .lp-component .pasona-item .component-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;   /* 下を詰める */
    margin-top: 1rem;   /* 上に余白 */
    padding-left: 0;    /* 左インデント不要 */
    padding-bottom: 0;  /* 下線余白も不要なら0に */
}

#works .lp-component .pasona-item .component-subtitle::before {
    position: static;      /* 横に並べる */
    content: '▶';
    transform: none;
    line-height: 1;
    color: #4CAF50 !important; /* RINDOは緑を維持（モバイルの白上書きを抑制） */
}

/* 統一: WORKS内のH6小見出しは、すべてテキストの前にデザイン（▶）をインライン表示 */
#works .lp-component .component-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 0;
    padding-bottom: 0.5rem;
}

#works .lp-component .component-subtitle::before {
    position: static;
    content: '▶';
    transform: none;
    line-height: 1;
}

/* ピラミッドサイズ調整 */
.maslow-step .pyr {
    width: 400px;
    height: 400px;
}

/* ピラミッド内のテキストラベル */
.maslow-label {
    /* 非アクティブは半透明の白で目立たせない */
    fill: rgba(255, 255, 255, 0.22);
    opacity: 1; /* 透過はfill側で管理 */
    font-size: 4.6px; /* ラベルの視認性を向上 */
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

/* アクティブラベルの強調 */
.maslow-label-active {
    /* アクティブは白でくっきり表示 */
    fill: #ffffff;
    opacity: 1;
    font-weight: 700;
    font-size: 5.2px; /* アクティブをやや大きく強調 */
    text-shadow: 0 0 2px rgba(0,0,0,0.5), 0 0 6px rgba(0,0,0,0.35);
}

/* ===== ピラミッドの対象階層だけ色を変える ===== */
/* これまでの「ポリゴン全体の強調」は外側枠に隠れるため、
   水平の区切り線（line）だけをハイライトしてネオン効果にする */

/* 共通のネオン線スタイル */
.maslow-divider.is-glow {
  stroke: #1d86fc !important;
  stroke-width: calc(var(--maslow-stroke-width) + 0.2) !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 0 1px rgba(46, 160, 255, 1))
    drop-shadow(0 0 2px rgba(46, 160, 255, 0.95))
    drop-shadow(0 0 3px rgba(46, 160, 255, 0.85))
    drop-shadow(0 0 5px rgba(46, 160, 255, 0.65));
  mix-blend-mode: screen;
}

/* 各レベルに対応する水平線だけを選んで .is-glow 相当の見た目を付与 */
.maslow-step#level-1 .pyr line.maslow-divider:nth-of-type(1),
.maslow-step#level-2 .pyr line.maslow-divider:nth-of-type(2),
.maslow-step#level-3 .pyr line.maslow-divider:nth-of-type(3),
.maslow-step#level-4 .pyr line.maslow-divider:nth-of-type(4),
.maslow-step#level-5 .pyr line.maslow-divider:nth-of-type(4) {
  stroke: #1d86fc !important;
  stroke-width: calc(var(--maslow-stroke-width) + 0.2) !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 0 1px rgba(46, 160, 255, 1))
    drop-shadow(0 0 2px rgba(46, 160, 255, 0.95))
    drop-shadow(0 0 3px rgba(46, 160, 255, 0.85))
    drop-shadow(0 0 5px rgba(46, 160, 255, 0.65));
  mix-blend-mode: screen;
}

/* ===== 台形全体を光らせるグロー層 ===== */
.glow-layer { pointer-events: none; }
.glow-layer .glow-seg {
  display: none;
  fill: none;
  stroke: #2ea0ff;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-width: calc(var(--maslow-stroke-width) + 0.2);
  filter:
    drop-shadow(0 0 1px rgba(46,160,255,1))
    drop-shadow(0 0 2px rgba(46,160,255,.95))
    drop-shadow(0 0 3px rgba(46,160,255,.85))
    drop-shadow(0 0 5px rgba(46,160,255,.65));
  mix-blend-mode: screen;
}

/* 表示切替: セクションごとに該当台形のみ可視化 */
.maslow-step#level-1 .glow-layer .glow-seg:nth-of-type(1) { display: inline; }
.maslow-step#level-2 .glow-layer .glow-seg:nth-of-type(2) { display: inline; }
.maslow-step#level-3 .glow-layer .glow-seg:nth-of-type(3) { display: inline; }
.maslow-step#level-4 .glow-layer .glow-seg:nth-of-type(4) { display: inline; }
.maslow-step#level-5 .glow-layer .glow-seg:nth-of-type(5) { display: inline; }

/* モバイル対応 */
@media (max-width: 768px) {
    .maslow-steps {
        padding: 0 1rem;
    }
    
    .maslow-step {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 0.25rem 0;
    }
    
    .maslow-step .col-left {
        flex: none;
    }
    
    .maslow-step .col-right {
        margin-left: 0;
        padding: 1rem;
    }
    
    .maslow-step .pyr {
        width: 300px;
        height: 300px;
    }
    
    /* モバイル版でのラベルサイズ調整 */
    .maslow-label {
        font-size: 2.8px;
    }
}
/* 説明文章（H4直下のリード）を白字に */
.gsc-analysis .work-overview-details > p,
.gsc-analysis .work-overview-details > ul,
.gsc-analysis .work-overview-details > ol,
.heatmap-analysis .work-overview-details > p,
.heatmap-analysis .work-overview-details > ul,
.heatmap-analysis .work-overview-details > ol {
  color: #ffffff !important;
}
/* 強制適用（どこに配置されても一致させる） */
blockquote.component-quote {
    position: relative !important;
    display: block !important;
    background: rgba(255,255,255,0.08) !important; /* ぼかし背景（最後の砦） */
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 8px !important;
    border-left: 4px solid rgba(255,255,255,0.85) !important;
    padding: 1rem 1.25rem 1.25rem 1.5rem !important;
    margin: 1rem 0 !important;
}

blockquote.component-quote::before,
blockquote.component-quote::after {
    position: absolute !important;
    font-size: 3rem !important;
    line-height: 1 !important;
    color: rgba(255,255,255,0.45) !important; /* 白に変更 */
    content: '';
    pointer-events: none;
}

blockquote.component-quote::before {
    content: "\201C" !important;
    top: 0.2rem !important;
    left: 0.6rem !important;
}

blockquote.component-quote::after {
    content: "\201D" !important;
    right: 0.6rem !important;
    bottom: 0.2rem !important;
}

blockquote.component-quote p {
    margin: 0.4rem 0 !important;
    font-style: italic;
}
