.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.cta-button a {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid transparent !important;
    color: #fff;
    background-color: #3498db;
    text-decoration: none;
    font-size: 14px !important;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    z-index: 1;
}

.cta-button a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #fff;
    transition: width 0.3s ease;
    z-index: -1;
}

.cta-button a:hover {
    color: #3498db;
    border: 2px solid #3498db !important;
    background-color: #fff;
}

.cta-button a:hover::before {
    width: 100%;
}

/* ヒーローセクション */
.hero-section {
    padding: 120px 0 100px;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.hero-section *:not(:first-child) {
    margin: 0;
}

.hero-section .hero-container {
    position: relative;
    z-index: 5;
}

.hero-section .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-section .hero-logo-area {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-section .logo-container {
    max-width: 400px;
    width: 100%;
    padding: 40px;
    background-color: rgba(0, 85, 184, 0.1);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.hero-section .logo-container:hover {
    background-color: rgba(0, 85, 184, 0.1);
    transform: translateY(-5px);
}

.hero-section .logo-image img {
    max-width: 100%;
    height: auto;
}

.hero-section .hero-content {
    padding-left: 20px;
}

.hero-section .hero-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.hero-section .hero-label::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #3498db;
    bottom: -8px;
    left: 0;
}

.hero-section .hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 28px;
}

.hero-section .hero-title p {
    display: inline;
}

.hero-section .hero-title .company-name {
    color: #3498db;
    position: relative;
}

.hero-section .hero-title .company-name::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 6px;
    background-color: rgba(0, 85, 184, 0.1);
    bottom: 4px;
    left: 0;
    z-index: -1;
}

.hero-section .hero-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-section .hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(2, 132, 199, 0.1);
}

.hero-section .hero-button:hover {
    background-color: #004497;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(2, 132, 199, 0.2);
}

.hero-section .button-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.hero-section .hero-button:hover .button-icon {
    transform: translateX(4px);
}

/* パーティクル＆波動エフェクト */
.hero-section .particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-section .particle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(0, 85, 184, 0.1);
    pointer-events: none;
}

.hero-section .particle-1 {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 15%;
    animation: particleFloat1 12s ease-in-out infinite;
}

.hero-section .particle-2 {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 25%;
    animation: particleFloat2 15s ease-in-out infinite;
}

.hero-section .particle-3 {
    width: 3px;
    height: 3px;
    top: 40%;
    right: 20%;
    animation: particleFloat3 10s ease-in-out infinite;
}

.hero-section .particle-4 {
    width: 5px;
    height: 5px;
    bottom: 30%;
    left: 10%;
    animation: particleFloat4 18s ease-in-out infinite;
}

.hero-section .particle-5 {
    width: 4px;
    height: 4px;
    top: 75%;
    right: 30%;
    animation: particleFloat5 14s ease-in-out infinite;
}

.hero-section .particle-6 {
    width: 7px;
    height: 7px;
    top: 35%;
    left: 5%;
    animation: particleFloat6 20s ease-in-out infinite;
}

/* 波動エフェクト */
.hero-section .wave-effect {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(0, 85, 184, 0.1);
    border-radius: 50%;
    opacity: 0;
}

.hero-section .wave-1 {
    top: 20%;
    right: 15%;
    animation: wave 8s ease-out infinite;
}

.hero-section .wave-2 {
    bottom: 25%;
    left: 20%;
    animation: wave 8s ease-out 2s infinite;
}

.hero-section .wave-3 {
    top: 60%;
    right: 35%;
    animation: wave 8s ease-out 4s infinite;
}

/* 回転する軌道 */
.hero-section .orbit-container {
    position: absolute;
    width: 150px;
    height: 150px;
    top: 30%;
    left: 8%;
    animation: orbitRotate 25s linear infinite;
}

.hero-section .orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #3498db;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: orbitDotPulse 3s ease-in-out infinite;
}

/* 流れる光の線 */
.hero-section .light-stream {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    opacity: 0.7;
}

.hero-section .stream-1 {
    width: 300px;
    top: 45%;
    left: -300px;
    animation: streamFlow 10s ease-in-out infinite;
}

.hero-section .stream-2 {
    width: 250px;
    top: 70%;
    right: -250px;
    animation: streamFlowReverse 12s ease-in-out 3s infinite;
}

/* 背景の微粒子 */
.hero-section .background-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25% 25%, rgba(2, 132, 199, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(2, 132, 199, 0.05) 1px, transparent 1px);
    background-size:
        60px 60px,
        90px 90px;
    animation: particleShift 30s ease-in-out infinite;
    z-index: 0;
}

/* アニメーション定義 */
@keyframes particleFloat1 {
    0%,
    100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, -40px);
    }
    50% {
        transform: translate(-20px, -80px);
    }
    75% {
        transform: translate(40px, -50px);
    }
}

@keyframes particleFloat2 {
    0%,
    100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(-25px, -60px);
    }
    66% {
        transform: translate(35px, -30px);
    }
}

@keyframes particleFloat3 {
    0%,
    100% {
        transform: translate(0, 0);
    }
    20% {
        transform: translate(-40px, -20px);
    }
    40% {
        transform: translate(-10px, -70px);
    }
    60% {
        transform: translate(30px, -45px);
    }
    80% {
        transform: translate(-15px, -25px);
    }
}

@keyframes particleFloat4 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, -100px) scale(1.5);
    }
}

@keyframes particleFloat5 {
    0%,
    100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-30px, -35px);
    }
    50% {
        transform: translate(20px, -70px);
    }
    75% {
        transform: translate(-45px, -40px);
    }
}

@keyframes particleFloat6 {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-60px, -80px) rotate(180deg);
    }
}

@keyframes wave {
    0% {
        opacity: 0;
        transform: scale(0.1);
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes orbitRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes orbitDotPulse {
    0%,
    100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.3);
    }
}

@keyframes streamFlow {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 300px));
        opacity: 0;
    }
}

@keyframes streamFlowReverse {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(-100vw - 250px));
        opacity: 0;
    }
}

@keyframes particleShift {
    0%,
    100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, -20px);
    }
    50% {
        transform: translate(-15px, 15px);
    }
    75% {
        transform: translate(25px, -10px);
    }
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-logo-area {
        order: -1;
    }

    .hero-content {
        padding-left: 0;
        text-align: center;
    }

    .hero-title {
        font-size: 48px;
    }

    .logo-container {
        max-width: 300px;
    }

    .orbit-container,
    .wave-effect {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .logo-container {
        max-width: 250px;
        padding: 30px;
    }

    .particle-container,
    .light-stream {
        display: none;
    }
}

/* 課題共感セクション */
.problems-section {
    padding: 120px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 80px;
    position: relative;
}

.section-eyebrow {
    font-size: 14px;
    font-weight: 500;
    color: #3498db;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.section-eyebrow::after {
    display: none;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    left: 0;
    bottom: -10px;
}

.problems-grid {
    display: flex;
}

.problem-card {
    background-color: white;
    padding: 40px;
    margin: 0 0 0 5%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.problem-card:first-child {
    margin-left: 0;
}

.problem-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

@media (max-width: 992px) {
    .hero-section .hero-grid {
        display: block;
    }

    .problems-grid {
        flex-wrap: wrap;
    }

    .problem-card {
        width: 45%;
        margin-bottom: 5%;
    }

    .problem-card:nth-child(odd) {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .problem-card {
        width: 100%;
    }

    .problem-card:nth-child(even) {
        margin-left: 0;
    }
}

.problem-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.problem-description {
    font-size: 16px;
    color: #7f8c8d;
}

.background-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.05;
}

.grid-line {
    position: absolute;
    background-color: #2c3e50;
}

.grid-line-vertical {
    width: 1px;
    height: 100%;
}

.grid-line-horizontal {
    height: 1px;
    width: 100%;
}

/* サービス概要セクション */
.services-section {
    padding: 120px 0;
    background-color: #ecf0f1;
    position: relative;
}

.services-container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background-color: white;
    padding: 40px;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    background-color: #3498db;
    top: 0;
    left: 0;
    z-index: 2;
}

.service-number {
    position: absolute;
    font-size: 120px;
    font-weight: 900;
    bottom: -30px;
    right: -10px;
    color: rgba(52, 152, 219, 0.1);
    z-index: 0;
    opacity: 1;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.service-description {
    font-size: 16px;
    color: #7f8c8d;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    flex-grow: 1;
}

.features-section .service-description {
    color: #fff;
    opacity: 0.9;
}

.services-cta-container {
    text-align: center;
    margin-top: 30px;
    justify-content: center;
}

/* 差別化ポイントセクション */
.features-section {
    padding: 120px 0;
    margin: 0;
    background-color: #2c3e50;
    color: white;
    position: relative;
    overflow: hidden;
}

.features-container {
    position: relative;
    z-index: 2;
}

.features-section .section-title {
    color: white;
}

.features-section .section-eyebrow {
    color: #3498db;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.feature-card {
    padding: 40px;
    margin: 0;
    position: relative;
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 3px solid #3498db;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.feature-number {
    font-size: 48px;
    font-weight: 900;
    color: #3498db;
    line-height: 1;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.features-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
}

.bg-shape {
    position: absolute;
    border: 2px solid #3498db;
}

.bg-shape-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: 10%;
    left: 10%;
}

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

/* 導入企業の声セクション */
.testimonials-section {
    padding: 120px 0;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
}

.testimonial-card {
    padding: 40px;
    margin: 0;
    background-color: white;
    border: 1px solid #ecf0f1;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 64px;
    position: absolute;
    top: -30px;
    left: -20px;
    color: rgba(52, 152, 219, 0.1);
}

.testimonial-author {
    font-size: 16px;
    font-weight: 700;
}

.testimonial-company {
    font-size: 14px;
    color: #7f8c8d;
}

/* CTA再掲セクション */
.cta-section {
    padding: 120px 0;
    background-color: #3498db;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button-white a {
    display: inline-block;
    padding: 15px 40px !important;
    background-color: transparent;
    color: #3498db;
    background: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #3498db !important;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    border-radius: 0;
    z-index: 1;
}

.cta-button-white a:hover {
    color: #fff;
    border-color: #fff !important;
}

.cta-button-white a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #3498db;
    transition: width 0.3s ease;
    z-index: -1;
}

.cta-button-white a:hover::before {
    width: 100%;
}

.cta-bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
}

.cta-line {
    position: absolute;
    background-color: white;
}

.cta-line-1 {
    width: 2px;
    height: 100%;
    left: 20%;
}

.cta-line-2 {
    width: 2px;
    height: 100%;
    right: 20%;
}

.cta-line-3 {
    width: 100%;
    height: 2px;
    top: 30%;
}

.cta-line-4 {
    width: 100%;
    height: 2px;
    bottom: 30%;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .hero-tagline {
        font-size: 48px;
    }

    .hero-shapes {
        opacity: 0.3;
    }

    .problems-grid,
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .hero-tagline {
        font-size: 36px;
    }

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

    .problem-card,
    .service-card,
    .feature-card,
    .testimonial-card {
        padding: 30px;
    }

    .cta-description + .wp-block-buttons {
        width: 100%;
    }
}
