/* ========================================
   Advertising Page Styles - Redesigned
   Visual-rich layout inspired by webthor.jp
   ======================================== */

/* ========================================
   Hero Section - Full Screen with Image
   ======================================== */
.ad-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ad-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ad-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.ad-hero-content {
    position: relative;
    z-index: 1;
    padding-top: var(--header-height);
}

.ad-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-family: var(--font-display);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.ad-hero .breadcrumb a {
    transition: var(--transition-fast);
}

.ad-hero .breadcrumb a:hover {
    color: var(--color-white);
}

.ad-hero-title {
    margin-bottom: 32px;
}

.ad-hero-title .title-en {
    display: block;
    font-family: var(--font-serif-en);
    font-size: clamp(64px, 12vw, 120px);
    font-weight: 500;
    font-style: italic;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--color-white);
    opacity: 0;
    transform: translateY(40px);
    animation: heroTitleIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.2s;
}

.ad-hero-title .title-ja {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.ad-hero-lead {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.ad-hero-description {
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
}

.ad-hero-scroll {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.5s;
}

.ad-hero-scroll span {
    font-family: var(--font-serif-en);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.ad-hero-scroll .scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollLine 2s ease infinite;
    animation-delay: 1.5s;
}

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

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

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

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ========================================
   Vision Section - Image + Text Layout
   ======================================== */
.ad-vision {
    padding: 140px 0;
    background: var(--color-white);
}

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

.vision-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.vision-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--color-gray-200);
    border-radius: 12px;
    z-index: -1;
}

.vision-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.6s ease;
}

.vision-image:hover img {
    transform: scale(1.03);
}

.vision-content {
    /* text side */
}

.vision-label {
    display: inline-block;
    font-family: var(--font-serif-en);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gray-500);
    margin-bottom: 24px;
}

.vision-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-black);
    margin-bottom: 32px;
}

.vision-description {
    font-size: 15px;
    line-height: 2.2;
    color: var(--color-gray-600);
    margin-bottom: 12px;
}

/* ========================================
   Business Section - Alternating Blocks
   ======================================== */
.ad-business {
    padding: 120px 0 80px;
    background: var(--color-gray-50);
}

.ad-business .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-black);
    margin-top: 24px;
}

/* Business Block - Image + Content side by side */
.business-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.business-block:last-child {
    margin-bottom: 0;
}

.business-block-reverse {
    direction: rtl;
}

.business-block-reverse > * {
    direction: ltr;
}

.business-block-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.business-block-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.6s ease;
}

.business-block-image:hover img {
    transform: scale(1.04);
}

.business-block-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-serif-en);
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
}

.business-block-reverse .business-block-badge {
    left: auto;
    right: 24px;
}

.business-block-label {
    display: inline-block;
    font-family: var(--font-serif-en);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray-500);
    margin-bottom: 8px;
}

.business-block-content h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 20px;
}

.business-block-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-black);
}

.business-block-content p {
    font-size: 15px;
    line-height: 2;
    color: var(--color-gray-600);
    margin-bottom: 16px;
}

.business-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 6px;
    font-size: 13px;
    color: var(--color-gray-700);
    transition: var(--transition-base);
}

.tag:hover {
    border-color: var(--color-black);
    color: var(--color-black);
}

/* ========================================
   Strength Section - Image Background
   ======================================== */
.ad-strength {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

.ad-strength-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ad-strength-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-strength-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.ad-strength .container {
    position: relative;
    z-index: 1;
}

.ad-strength .section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

.strength-card {
    position: relative;
    padding: 48px 40px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
    overflow: hidden;
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-white), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.strength-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

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

.strength-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 14px;
    margin-bottom: 24px;
}

.strength-icon svg {
    stroke: var(--color-black);
}

.strength-number {
    font-family: var(--font-serif-en);
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    margin-bottom: 16px;
}

.strength-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
}

.strength-card p {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Flow Section - Timeline Style
   ======================================== */
.ad-flow {
    padding: 120px 0;
    background: var(--color-white);
}

.ad-flow-header {
    text-align: center;
    margin-bottom: 80px;
}

.flow-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.flow-item {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
}

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

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.flow-step-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-serif-en);
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.flow-step-line {
    width: 2px;
    flex: 1;
    min-height: 40px;
    background: linear-gradient(to bottom, var(--color-black), var(--color-gray-300));
    margin-top: 12px;
}

.flow-content {
    padding-top: 12px;
    padding-bottom: 16px;
}

.flow-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 12px;
}

.flow-content p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-gray-600);
}

/* ========================================
   CTA Section - Image Background
   ======================================== */
.ad-cta {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

.ad-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ad-cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

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

.ad-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.ad-cta h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.ad-cta p {
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.ad-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .vision-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .vision-image img {
        height: 360px;
    }

    .vision-image::before {
        display: none;
    }

    .business-block {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .business-block-reverse {
        direction: ltr;
    }

    .business-block-reverse .business-block-badge {
        left: 24px;
        right: auto;
    }

    .business-block-image img {
        height: 320px;
    }

    .strength-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .ad-hero-content {
        padding-top: 100px;
    }

    .ad-hero-description br,
    .vision-title br,
    .vision-description br,
    .section-subtitle br,
    .ad-cta p br {
        display: none;
    }

    .ad-vision {
        padding: 80px 0;
    }

    .vision-image img {
        height: 280px;
    }

    .ad-business {
        padding: 80px 0 40px;
    }

    .business-block {
        margin-bottom: 60px;
    }

    .business-block-image img {
        height: 260px;
    }

    .ad-strength {
        padding: 80px 0;
    }

    .strength-card {
        padding: 32px;
    }

    .ad-flow {
        padding: 80px 0;
    }

    .flow-item {
        gap: 24px;
    }

    .flow-step-number {
        width: 52px;
        height: 52px;
        font-size: 16px;
    }

    .ad-cta {
        padding: 80px 0;
    }

    .ad-cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .ad-cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .ad-hero-scroll {
        right: 20px;
        bottom: 20px;
    }
}