/*
Theme Name: SWELL CHILD
Template: swell
*/

/* ここから下が先ほどコピペしたCSSの始まり（@import url...）になるようにしてください */


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&family=Noto+Sans+JP:wght@400;700;900&display=swap');

    #portfolio-lp {
        --bg-light: #F7F7F7;
        --bg-dark: #1A1A1A;
        --bg-card: #FFFFFF;
        --text-main: #1A1A1A;
        --text-sub: #666666;
        --text-on-dark: #FFFFFF;
        --font-en: 'Inter', sans-serif;
        --font-jp: 'Noto Sans JP', sans-serif;
        --section-spacing: 160px;
        --container-max: 1280px;
    }

    #portfolio-lp *,
    #portfolio-lp ::before,
    #portfolio-lp ::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    #portfolio-lp {
        background: var(--bg-light);
        color: var(--text-main);
        font-family: var(--font-jp);
        overflow-x: hidden;
        line-height: 1.8;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        margin-top: -4em;
        max-width: 100vw;
        position: relative;
        -webkit-font-smoothing: antialiased;
    }

    #portfolio-lp a {
        text-decoration: none;
        color: inherit;
    }

    /* --- Desktop Navigation --- */
    #portfolio-lp .desktop-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        padding: 20px 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(248, 248, 248, 0.95);
        backdrop-filter: blur(10px);
    }

    #portfolio-lp .desktop-nav .logo {
        font-family: var(--font-en);
        font-weight: 900;
        font-size: 1.4rem;
        letter-spacing: 4px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    #portfolio-lp .desktop-nav .links {
        display: flex;
        gap: 40px;
        font-weight: 700;
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    #portfolio-lp .desktop-nav .actions {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    #portfolio-lp .btn-outline-pill {
        padding: 12px 30px;
        border: 1px solid var(--text-main);
        border-radius: 40px;
        font-weight: 900;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: 0.3s;
        background: transparent;
    }

    #portfolio-lp .btn-outline-pill:hover {
        background: var(--text-main);
        color: #fff;
    }

    #portfolio-lp .btn-circle-solid {
        width: 44px;
        height: 44px;
        background: var(--text-main);
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
    }

    /* --- Mobile Navigation --- */
    #portfolio-lp .mobile-top-bar {
        display: none;
    }

    #portfolio-lp .mobile-menu-drawer {
        display: none;
    }

    @media (max-width: 1024px) {
        #portfolio-lp .desktop-nav {
            display: none !important;
        }

        #portfolio-lp .mobile-top-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 20px;
            background: #fff;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 2000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        #portfolio-lp .mobile-top-bar .logo {
            font-family: var(--font-en);
            font-weight: 900;
            font-size: 1.1rem;
            letter-spacing: 2px;
        }

        #portfolio-lp .menu-toggle {
            background: none;
            border: none;
            width: 30px;
            height: 20px;
            position: relative;
            cursor: pointer;
        }

        #portfolio-lp .menu-toggle span {
            display: block;
            position: absolute;
            height: 2px;
            width: 100%;
            background: var(--text-main);
            transition: 0.3s;
        }

        #portfolio-lp span:nth-child(1) {
            top: 0;
        }

        #portfolio-lp span:nth-child(2) {
            top: 9px;
        }

        #portfolio-lp span:nth-child(3) {
            top: 18px;
        }

        #portfolio-lp .mobile-menu-drawer {
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            height: 100vh;
            background: #1A1A1A;
            color: #fff;
            z-index: 2500;
            padding: 80px 30px 40px;
            transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            overflow-y: auto;
        }

        #portfolio-lp .mobile-menu-drawer.open {
            right: 0;
        }

        #portfolio-lp .menu-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: #fff;
            font-size: 1.5rem;
            cursor: pointer;
        }

        #portfolio-lp .drawer-nav a {
            display: block;
            font-size: 1rem;
            font-weight: 700;
            padding: 20px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
        }
    }

    /* --- Hero Section --- */
    #portfolio-lp .hero {
        position: relative;
        padding-top: 80px;
        width: 100%;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background: var(--bg-light);
    }

    #portfolio-lp .hero-bg-text {
        position: absolute;
        top: 0px;
        left: 50%;
        transform: translateX(-50%);
        font-family: var(--font-en);
        font-size: 18vw;
        font-weight: 900;
        color: rgba(0, 0, 0, 0.02);
        -webkit-text-stroke: 1px rgba(0, 0, 0, 0.05);
        z-index: 1;
        line-height: 0.8;
        text-align: center;
        width: 100%;
        white-space: nowrap;
        user-select: none;
    }

    #portfolio-lp .hero-container {
        max-width: var(--container-max);
        margin: 0 auto;
        width: 100%;
        padding: 0 60px;
        z-index: 10;
        position: relative;
    }

    #portfolio-lp .hero-content {
        max-width: 800px;
    }

    #portfolio-lp .hero-tag {
        font-family: var(--font-en);
        font-size: 0.85rem;
        font-weight: 900;
        letter-spacing: 0.4em;
        color: var(--text-main);
        margin-bottom: 40px;
        display: block;
    }

    #portfolio-lp .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 4.5rem);
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 40px;
        letter-spacing: -0.02em;
    }

    #portfolio-lp .hero-content p {
        font-size: clamp(1rem, 1.5vw, 1.2rem);
        color: var(--text-sub);
        line-height: 2;
        max-width: 600px;
    }

    /* --- Section Headings --- */
    #portfolio-lp .section-header {
        margin-bottom: 80px;
        position: relative;
    }

    #portfolio-lp .section-en-title {
        font-family: var(--font-en);
        font-size: clamp(4rem, 10vw, 8rem);
        font-weight: 900;
        line-height: 1;
        letter-spacing: -0.02em;
        margin-bottom: 10px;
    }

    #portfolio-lp .section-jp-title {
        font-size: 1rem;
        font-weight: 900;
        letter-spacing: 0.2em;
        display: block;
        margin-left: 5px;
    }

    #portfolio-lp .hero-image-band {
        width: 100%;
        height: 480px;
        margin-top: 80px;
        position: relative;
        overflow: hidden;
    }

    #portfolio-lp .hero-image-band img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #portfolio-lp .hero-scroll-indicator {
        position: absolute;
        bottom: 40px;
        left: 60px;
        font-family: var(--font-en);
        font-weight: 900;
        font-size: 0.7rem;
        letter-spacing: 0.3em;
        writing-mode: vertical-rl;
        color: #fff;
        white-space: nowrap;
    }

    #portfolio-lp .hero-scroll-indicator::after {
        content: '';
        position: absolute;
        top: 120%;
        left: 50%;
        width: 1px;
        height: 60px;
        background: rgba(255, 255, 255, 0.4);
    }

    /* --- Global Sections --- */
    #portfolio-lp .lp-section {
        padding: var(--section-spacing) 0;
    }

    #portfolio-lp .lp-section.dark {
        background: var(--bg-dark);
        color: var(--text-on-dark);
    }

    #portfolio-lp .lp-container {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 0 60px;
    }

    /* --- Service Cards --- */
    #portfolio-lp .service-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 40px;
    }

    #portfolio-lp .service-card {
        background: var(--bg-card);
        padding: 60px 40px;
        position: relative;
        border-radius: 0;
        transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        display: flex;
        flex-direction: column;
    }

    #portfolio-lp .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    }

    #portfolio-lp .service-num {
        background: var(--bg-dark);
        color: #fff;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-en);
        font-weight: 900;
        font-size: 1.2rem;
        margin-bottom: 40px;
        font-style: italic;
    }

    #portfolio-lp .service-card h3 {
        font-size: 1.8rem;
        font-weight: 900;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    #portfolio-lp .service-card p {
        color: var(--text-sub);
        font-size: 1rem;
        margin-bottom: 30px;
        flex-grow: 1;
    }

    #portfolio-lp .service-link {
        font-weight: 900;
        font-size: 0.9rem;
display: none !important;
        align-items: center;
        gap: 10px;
        color: var(--text-main);
        text-decoration: none;
        transition: 0.3s;
    }

    #portfolio-lp .service-link:hover {
        gap: 20px;
    }

    /* --- Reason Section Layout --- */
    #portfolio-lp .reason-layout {
        display: flex;
        gap: 80px;
        align-items: flex-start;
    }

    #portfolio-lp .reason-image-side {
        flex: 1;
        position: sticky;
        top: 100px;
    }

    #portfolio-lp .reason-image-side img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    #portfolio-lp .reason-content-side {
        flex: 1.2;
    }

    @media (max-width: 1024px) {
        #portfolio-lp .reason-layout {
            flex-direction: column;
        }

        #portfolio-lp .reason-image-side {
            position: static;
            width: 100%;
            margin-bottom: 40px;
        }

        #portfolio-lp .lp-container {
            padding: 0 25px;
        }

        #portfolio-lp .section-en-title {
            font-size: 15vw;
        }

        #portfolio-lp .hero-container {
            padding: 0 25px;
        }
    }

    /* --- Hero Absolute Right Buttons --- */
    #portfolio-lp .hero-right-buttons {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        z-index: 20;
    }

    #portfolio-lp .btn-hero-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 80px;
        height: 90px;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.7rem;
        transition: 0.3s;
        border-radius: 8px 0 0 8px;
    }

    #portfolio-lp .btn-hero-right.light {
        background: #F7F7F7;
        color: #1A1A1A;
        border: 1px solid #EAEAEA;
        border-right: none;
    }

    #portfolio-lp .btn-hero-right.light:hover {
        background: #fff;
    }

    #portfolio-lp .btn-hero-right.dark {
        background: #1A1A1A;
        color: #fff;
    }

    #portfolio-lp .btn-hero-right.dark:hover {
        background: #000;
    }

    @media (max-width: 1024px) {
        #portfolio-lp .hero-right-buttons {
            display: none;
        }
    }

    /* --- Contact Layout (2-Column Yellow Theme) --- */
    #portfolio-lp .contact-layout {
        display: flex;
        gap: 60px;
        align-items: flex-start;
        text-align: left;
    }

    #portfolio-lp .contact-info-side {
        flex: 1;
    }

    #portfolio-lp .contact-form-side {
        flex: 1.2;
    }

    #portfolio-lp .contact-title-en {
        font-family: var(--font-en);
        font-size: clamp(3.5rem, 8vw, 6rem);
        font-weight: 900;
        line-height: 1;
        margin-bottom: 5px;
        letter-spacing: -0.02em;
    }

    #portfolio-lp .contact-title-jp {
        font-size: 1.2rem;
        font-weight: 900;
        display: block;
        margin-bottom: 40px;
    }

    #portfolio-lp .contact-desc p {
        font-size: 0.95rem;
        line-height: 1.8;
        margin-bottom: 25px;
        font-weight: 700;
    }

    #portfolio-lp .contact-desc .contact-note {
        font-size: 0.85rem;
        opacity: 0.8;
    }

    @media (max-width: 1024px) {
        #portfolio-lp .contact-layout {
            flex-direction: column;
            gap: 40px;
        }
    }

    /* --- Contact Form --- */
    #portfolio-lp .contact-form-wrapper {
        background: transparent;
        padding: 0;
        width: 100%;
        color: #fff;
    }

    #portfolio-lp .form-group {
        margin-bottom: 25px;
    }

    #portfolio-lp .form-label {
        display: block;
        font-weight: 900;
        margin-bottom: 8px;
        font-size: 0.95rem;
    }

#portfolio-lp .required-mark {
        color: #ff4444;
        margin-left: 5px;
        font-weight: 900;
        font-size: 1rem;
    }


    #portfolio-lp .form-input,
    #portfolio-lp .form-textarea,
    #portfolio-lp .form-select {
        width: 100%;
        background: #f6f6f6;
        border: none;
        border-radius: 0;
        padding: 15px 20px;
        font-size: 1rem;
        font-family: inherit;
        color: #1A1A1A;
        transition: 0.2s;
        -webkit-appearance: none;
        appearance: none;
    }

    #portfolio-lp .form-input:focus,
    #portfolio-lp .form-textarea:focus,
    #portfolio-lp .form-select:focus {
        outline: 2px solid #fff;
        background: #fff;
    }

    /* Select Arrow Graphic */
    #portfolio-lp select.form-select {
        background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23222%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
        background-repeat: no-repeat;
        background-position: right 20px top 50%;
        background-size: 12px auto;
    }

    #portfolio-lp .form-textarea {
        height: 200px;
        resize: vertical;
    }

    /* CF7 Checkbox / Radio styling */
    #portfolio-lp .wpcf7-list-item {
        display: inline-block;
        margin: 0 20px 10px 0;
        font-size: 0.95rem;
    }

    #portfolio-lp .wpcf7-list-item input {
        margin-right: 8px;
        accent-color: #000;
        transform: translateY(1px);
    }

    #portfolio-lp .privacy-policy {
        background: transparent;
        padding: 10px 0 20px;
        text-align: center;
        font-size: 0.9rem;
        font-weight: 700;
        border: none;
        margin: 0;
    }

    #portfolio-lp .privacy-policy input[type="checkbox"] {
        margin-right: 8px;
        accent-color: #000;
        transform: translateY(2px);
    }

    #portfolio-lp .privacy-policy a {
        text-decoration: underline;
        color: #fff;
        display: block;
        margin-top: 8px;
        font-size: 0.8rem;
    }

    #portfolio-lp .privacy-policy a:hover {
        opacity: 0.7;
    }

    #portfolio-lp .form-submit-btn {
        width: 100%;
        background: #fff;
        color: #1a1a1a;
        border: none;
        border-radius: 0;
        padding: 18px 20px;
        font-size: 1.1rem;
        font-weight: 900;
        cursor: pointer;
        transition: 0.3s;
        letter-spacing: 0.1em;
    }

    #portfolio-lp .form-submit-btn:hover {
        background: #eaeaea;
        color: #1a1a1a;
    }

    /* --- Utilities --- */
    #portfolio-lp .reveal {
        opacity: 0;
        transition: opacity 0.8s ease-out;
        will-change: opacity;
    }

    #portfolio-lp .reveal.active {
        opacity: 1;
    }


/* SWELL標準の不要なフッター要素（コピーライト・下部エリア）を非表示にする */
.l-footer__foot,
.copylight,
.c-copylight,
.p-copylight,
.copyright {
    display: none !important;
}

/* =========================================
   修正用追加コード（一番下に追記してください）
   ========================================= */

/* 1. SWELL標準の謎の余白（4em）を強制的に消去 */
body #content, 
body .l-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* 背景文字（WEBSUPPORT PROFESSIONAL）を2行にスッキリ収める */
#portfolio-lp .hero-bg-text {
    font-size: 12vw !important;
    white-space: normal !important;
    line-height: 0.8 !important;
}


    /* --- SWELL Footer Full Width Override --- */
    #footer {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        max-width: 100vw;
		background-color: #000;
    }


    /* --- SWELL Page Title Override --- */
    .c-pageTitle {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }







