/* ========================================
   Apple風 フルビジュアルデザイン v4.0
   ======================================== */

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

:root {
    --black: #1d1d1f;
    --white: #ffffff;
    --gray-light: #f5f5f7;
    --gray: #86868b;
    --gray-dark: #424245;
    --gray-soft: #e8e8ed;
    --blue: #0071e3;
    --blue-dark: #0077ED;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --max-width: 980px;
    --max-width-large: 1200px;
    
    --ease-smooth: cubic-bezier(0.28, 0.11, 0.32, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--black);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

/* ========================================
   ナビゲーション
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    transition: background 0.3s var(--ease-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--max-width-large);
    margin: 0 auto;
    padding: 0 24px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-size: 21px;
    font-weight: 600;
    color: var(--black);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.3s var(--ease-smooth);
    opacity: 0.8;
}

.nav-menu a:hover {
    opacity: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px 0;
}

.nav-toggle span {
    width: 20px;
    height: 1px;
    background: var(--black);
    transition: all 0.3s var(--ease-smooth);
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--white);
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(21px, 2.5vw, 28px);
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-meta {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.separator {
    margin: 0 12px;
    opacity: 0.5;
}

/* ========================================
   セクション共通
   ======================================== */
.section {
    padding: 120px 24px;
    position: relative;
}

.container-small {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.container-medium {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.container-large {
    max-width: var(--max-width-large);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 16px;
}

.section-label.white {
    color: rgba(255, 255, 255, 0.7);
}

.section-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin-bottom: 24px;
}

.section-title.white {
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.section-title-center {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin-bottom: 60px;
    text-align: center;
}

.section-lead {
    font-size: clamp(21px, 2.5vw, 28px);
    line-height: 1.4;
    color: var(--gray-dark);
    font-weight: 400;
    margin-bottom: 60px;
}

.section-lead.white {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Problem Section
   ======================================== */
.section-image-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 24px;
}

.section-image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.section-image-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}

.section-content-overlay {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================
   比較セクション
   ======================================== */
.section-comparison {
    background: var(--black);
    padding: 140px 24px;
}

.comparison-visual {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.comparison-side {
    text-align: center;
}

.comparison-image-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.comparison-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-smooth);
}

.comparison-side:hover .comparison-image-wrapper img {
    transform: scale(1.05);
}

.comparison-label {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.comparison-value {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.1;
}

.comparison-value.positive {
    color: var(--blue);
}

.comparison-value.negative {
    color: #ff3b30;
}

.comparison-divider {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.callout-large {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.callout-large p {
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.callout-large strong {
    color: var(--white);
    font-weight: 700;
}

/* ========================================
   負のスパイラル - カードレイアウト
   ======================================== */
.section-spiral {
    background: var(--gray-light);
    padding: 120px 24px;
}

.spiral-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.spiral-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s var(--ease-smooth);
}

.spiral-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.spiral-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.spiral-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-smooth);
}

.spiral-card:hover .spiral-card-image img {
    transform: scale(1.08);
}

.spiral-card-content {
    padding: 32px;
}

.spiral-card-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.spiral-card-title {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
    color: var(--black);
}

.spiral-card-description {
    font-size: 17px;
    line-height: 1.6;
    color: var(--gray-dark);
}

.spiral-card.critical {
    border: 3px solid #ff3b30;
    position: relative;
}

.spiral-card.critical .spiral-card-number {
    color: #ff3b30;
}

.critical-badge {
    display: inline-block;
    background: #ff3b30;
    color: var(--white);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* ========================================
   戦略セクション
   ======================================== */
.section-light {
    background: var(--gray-light);
    position: relative;
    overflow: hidden;
}

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

.strategy-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.2) blur(3px);
}

.strategy-hero {
    margin: 80px 0;
    text-align: center;
}

.strategy-statement {
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.4;
    color: var(--gray-dark);
    font-weight: 400;
}

.strategy-statement strong {
    color: var(--blue);
    font-weight: 700;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 80px;
}

.benefit-item {
    background: var(--white);
    padding: 48px 32px;
    border-radius: 18px;
    text-align: center;
    transition: all 0.4s var(--ease-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.benefit-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.benefit-item h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
    letter-spacing: -0.01em;
}

.benefit-item p {
    font-size: 17px;
    color: var(--gray-dark);
    font-weight: 400;
    line-height: 1.5;
}

/* ========================================
   お問い合わせフォーム
   ======================================== */
.contact-form {
    max-width: 500px;
    margin: 60px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 17px;
    background: var(--white);
    transition: all 0.3s var(--ease-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    padding: 16px 32px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.submit-button:hover {
    background: var(--blue-dark);
    transform: scale(1.02);
}

.submit-button:active {
    transform: scale(0.98);
}

.contact-info {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-info p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--gray-dark);
}

.contact-info strong {
    font-weight: 600;
    color: var(--black);
}

.contact-hours {
    font-size: 14px;
    color: var(--gray);
    margin-top: 8px;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background: var(--gray-light);
    padding: 40px 24px;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: var(--gray);
}

/* ========================================
   アニメーション
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s var(--ease-smooth) forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s var(--ease-smooth) 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s var(--ease-smooth) 0.5s forwards;
}

/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 1024px) {
    .comparison-visual {
        gap: 40px;
    }
    
    .spiral-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 44px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: saturate(180%) blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        transform: translateY(-100%);
        transition: transform 0.3s var(--ease-smooth);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu li {
        padding: 12px 24px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:first-child {
        transform: rotate(45deg) translateY(7px);
    }

    .nav-toggle.active span:last-child {
        transform: rotate(-45deg) translateY(-7px);
    }

    .section {
        padding: 80px 24px;
    }

    .section-image-hero {
        min-height: 70vh;
        padding: 100px 24px;
    }

    .comparison-visual {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .comparison-divider {
        transform: rotate(90deg);
    }

    .spiral-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .benefits {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 16px;
    }

    .section-comparison {
        padding: 80px 16px;
    }

    .callout-large {
        padding: 40px 24px;
    }
    
    .spiral-card-content {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
