/**
 * Digital Freelance LP専用スタイル
 * フリーランス人材向けランディングページ
 *
 * 統一ヘッダー対応版 — BEMクラスを使用
 * 注意: サイト全体が html { font-size: 62.5% } (1rem = 10px) を前提としている
 */

/* ==========================================================================
   LP Variables
   ========================================================================== */
:root {
    --lp-primary: #00A99D;
    --lp-primary-dark: #008f84;
    --lp-secondary: #2C3E50;
    --lp-accent: #FF8C00;
    --lp-accent-dark: #e67e00;
    --lp-bg-light: #F8F9FA;
    --lp-bg-white: #FFFFFF;
    --lp-border: #E2E8F0;
    --lp-text-main: #333333;
    --lp-text-sub: #666666;
    --lp-shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
    --lp-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.1);
    --lp-radius-md: 8px;
    --lp-radius-lg: 16px;
}

/* ==========================================================================
   LP Wrapper
   ========================================================================== */
.lp-wrapper {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    color: var(--lp-text-main);
    line-height: 1.75;
    letter-spacing: 0.03em;
    font-size: 1.6rem; /* 16px (1rem = 10px) */
}

.lp-wrapper a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.lp-wrapper a:hover {
    text-decoration: none;
}

.lp-wrapper img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ==========================================================================
   LP Sections — 共通
   ========================================================================== */
.lp-section {
    padding: 70px 0;
}

.lp-section--jobs {
    background: var(--lp-bg-light);
}

.lp-section--features {
    background: var(--lp-bg-white);
}

.lp-section--cases {
    background: #F0FDFA;
}

.lp-section--cta {
    background: linear-gradient(135deg, var(--lp-secondary) 0%, #1a3a4a 100%);
    position: relative;
    overflow: hidden;
}

.lp-section--cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 169, 157, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.lp-section--cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* --- Section Header --- */
.lp-section__header {
    text-align: center;
    margin-bottom: 50px;
}

.lp-section__title {
    font-size: clamp(2.4rem, 3.5vw, 3.6rem); /* 24-36px */
    font-weight: 700;
    color: var(--lp-secondary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    line-height: 1.3;
}

.lp-section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--lp-primary), transparent);
    margin: 16px auto 0;
    border-radius: 2px;
}

.lp-section--cta .lp-section__title {
    color: white;
}

.lp-section--cta .lp-section__title::after {
    background: linear-gradient(90deg, var(--lp-primary), var(--lp-accent));
}

.lp-section--cta .lp-section__subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.lp-section__subtitle {
    font-size: clamp(1.4rem, 1.6vw, 1.8rem); /* 14-18px */
    color: var(--lp-text-sub);
    line-height: 1.8;
}

.lp-section__cta {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   LP Buttons
   ========================================================================== */
.lp-wrapper .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.6rem; /* 16px */
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    line-height: 1;
    min-height: 44px;
}

.lp-wrapper .btn-primary {
    background: linear-gradient(135deg, var(--lp-primary) 0%, #00c9ba 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 169, 157, 0.3);
    position: relative;
    overflow: hidden;
}

.lp-wrapper .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.lp-wrapper .btn-primary:hover::before {
    left: 100%;
}

.lp-wrapper .btn-primary:hover {
    background: linear-gradient(135deg, var(--lp-primary-dark) 0%, var(--lp-primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 169, 157, 0.45);
    text-decoration: none;
    color: white;
}

.lp-wrapper .btn-accent,
.lp-wrapper .lp-btn-cta {
    background: linear-gradient(135deg, var(--lp-accent) 0%, #ff9f1a 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.lp-wrapper .btn-accent::before,
.lp-wrapper .lp-btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.lp-wrapper .btn-accent:hover::before,
.lp-wrapper .lp-btn-cta:hover::before {
    left: 100%;
}

.lp-wrapper .btn-accent:hover,
.lp-wrapper .lp-btn-cta:hover {
    background: linear-gradient(135deg, var(--lp-accent-dark) 0%, var(--lp-accent) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.45);
    text-decoration: none;
    color: white;
}

.lp-wrapper .btn-outline {
    background: transparent;
    border: 2px solid var(--lp-primary);
    color: var(--lp-primary);
}

.lp-wrapper .btn-outline:hover {
    background: var(--lp-primary);
    color: white;
    text-decoration: none;
}

.lp-wrapper .btn-lg {
    padding: 20px 48px;
    font-size: 1.8rem; /* 18px */
    font-weight: 700;
}

/* ==========================================================================
   Focus Styles (Accessibility)
   ========================================================================== */
.lp-wrapper a:focus-visible,
.lp-wrapper .btn:focus-visible {
    outline: 3px solid var(--lp-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.lp-hero {
    padding: 140px 0 70px;
    background: linear-gradient(135deg, var(--lp-bg-white) 0%, #f0fdfa 100%);
    position: relative;
    overflow: hidden;
}

body.admin-bar .lp-hero {
    padding-top: 172px;
}

.lp-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(240,253,250,0.4) 100%);
    z-index: 0;
}

.lp-hero__content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.lp-hero__title {
    font-size: clamp(2.8rem, 4.5vw, 4.8rem); /* 28-48px */
    line-height: 1.25;
    margin-bottom: 24px;
    color: var(--lp-secondary);
    font-feature-settings: "palt";
    letter-spacing: -0.02em;
    font-weight: 900;
}

.lp-hero__title-accent {
    color: var(--lp-primary);
    font-size: 1.2em;
    display: block;
    margin: 8px 0;
    line-height: 1;
    font-weight: 900;
}

.lp-hero__title-desktop {
    display: block;
}

.lp-hero__title-mobile {
    display: none;
}

.lp-hero__desc {
    font-size: clamp(1.5rem, 1.8vw, 1.8rem); /* 15-18px */
    color: var(--lp-text-sub);
    margin: 0 0 32px 0;
    max-width: 600px;
    line-height: 2;
}

.lp-hero__cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.lp-hero__tags {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.lp-hero__tags p {
    font-size: 1.3rem; /* 13px */
    font-weight: 700;
    color: #999;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.lp-hero__tags-list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-pill {
    background: white;
    border: 1px solid var(--lp-border);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 1.4rem; /* 14px */
    color: var(--lp-secondary);
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.skill-pill:hover {
    border-color: var(--lp-primary);
    color: var(--lp-primary);
    background: #F0FDFA;
}

.lp-hero__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lp-hero__image img {
    width: 100%;
    height: auto;
    max-width: 450px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.lp-stats {
    background: linear-gradient(135deg, var(--lp-secondary) 0%, #1a252f 100%);
    color: white;
    padding: 55px 0;
    margin-top: -40px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.lp-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lp-primary), transparent);
}

.lp-stats__grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.lp-stats__item {
    padding: 10px 20px;
    transition: transform 0.3s ease;
}

.lp-stats__item:hover {
    transform: translateY(-4px);
}

.lp-stats__number {
    font-size: clamp(3.6rem, 5.5vw, 5rem); /* 36-50px */
    font-weight: 900;
    background: linear-gradient(135deg, var(--lp-primary) 0%, #00c9ba 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.lp-stats__number--text {
    font-size: clamp(2rem, 3vw, 2.8rem); /* 20-28px */
}

.lp-stats__unit {
    font-size: 0.45em;
}

.lp-stats__label {
    font-size: clamp(1.3rem, 1.4vw, 1.6rem); /* 13-16px */
    opacity: 0.9;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

/* ==========================================================================
   Job Cards
   ========================================================================== */
.lp-job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 24px;
}

.lp-job-card {
    background: white;
    border-radius: var(--lp-radius-md);
    padding: 24px;
    border: 1px solid var(--lp-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
    min-height: 44px;
}

.lp-job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--lp-primary), var(--lp-accent));
    transition: height 0.3s ease;
}

.lp-job-card:hover::before {
    height: 100%;
}

.lp-job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: rgba(0,169,157,0.4);
    text-decoration: none;
}

.lp-job-card__badge {
    background: #FFF7ED;
    color: var(--lp-accent);
    font-size: 1.2rem; /* 12px */
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
}

.lp-job-card__title {
    font-weight: 700;
    font-size: 1.6rem; /* 16px */
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--lp-secondary);
}

.lp-job-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 1.4rem; /* 14px */
    color: var(--lp-text-sub);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--lp-border);
    line-height: 1.75;
}

.lp-job-card__meta i {
    color: var(--lp-primary);
    margin-right: 4px;
}

.lp-job-card__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lp-wrapper .tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 1.2rem; /* 12px */
    font-weight: 700;
    background: #EFF6FF;
    color: var(--lp-primary);
    min-height: 32px;
    line-height: 1.4;
}

/* ==========================================================================
   Mid-page CTA Banner
   ========================================================================== */
.lp-cta-banner {
    background: linear-gradient(135deg, var(--lp-primary) 0%, #00c9ba 100%);
    padding: 32px 0;
}

.lp-cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.lp-cta-banner__text {
    color: white;
    font-size: clamp(1.5rem, 2vw, 1.8rem); /* 15-18px */
    font-weight: 700;
    line-height: 1.6;
}

.lp-cta-banner .btn-accent {
    background: linear-gradient(135deg, var(--lp-accent) 0%, #ff9f1a 100%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.lp-cta-banner .btn-accent:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ==========================================================================
   Feature Cards
   ========================================================================== */
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.lp-features-grid .lp-feature-card--large {
    grid-column: span 1;
}

.lp-feature-card {
    text-align: center;
    padding: 30px 24px;
    background: white;
    border-radius: var(--lp-radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}

.lp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-hover);
    border-color: rgba(0,169,157,0.2);
}

.lp-feature-card__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--lp-primary) 0%, #00c9ba 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem; /* 28px */
    color: white;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(0,169,157,0.25);
    transition: all 0.3s ease;
}

.lp-feature-card:hover .lp-feature-card__icon {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0,169,157,0.35);
}

.lp-feature-card__title {
    font-size: 1.6rem; /* 16px */
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--lp-secondary);
    line-height: 1.5;
}

.lp-feature-card__desc {
    color: var(--lp-text-sub);
    font-size: 1.5rem; /* 15px */
    line-height: 1.85;
}

.lp-feature-card--large {
    padding: 35px 30px;
}

.lp-feature-card--large .lp-feature-card__title {
    font-size: 1.8rem; /* 18px */
    margin-bottom: 16px;
}

.lp-feature-card--large .lp-feature-card__desc {
    line-height: 1.9;
}

/* ==========================================================================
   Case Study Cards
   ========================================================================== */
.lp-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 30px;
}

.lp-case-card {
    background: white;
    border-radius: var(--lp-radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--lp-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.lp-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: rgba(0,169,157,0.3);
}

.lp-case-card__image {
    height: 200px;
    background: #ddd;
    position: relative;
}

.lp-case-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-case-card__body {
    padding: 24px;
}

.lp-case-card__industry {
    font-size: 1.3rem; /* 13px */
    color: var(--lp-primary);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.lp-case-card__title {
    font-size: 1.6rem; /* 16px */
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.6;
    color: var(--lp-secondary);
}

.lp-case-card__role {
    font-size: 1.4rem; /* 14px */
    color: var(--lp-text-sub);
    line-height: 1.5;
}

.lp-case-card__role i {
    color: var(--lp-primary);
    margin-right: 6px;
}

/* ==========================================================================
   Desktop (1280px+)
   ========================================================================== */
@media (min-width: 1280px) {
    .lp-hero__content {
        gap: 60px;
    }

    .lp-case-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Tablet / Desktop (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {
    .lp-section {
        padding: 80px 0;
    }

    .lp-job-grid {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    }

    .lp-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Tablet (768px ~ 1023px)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1023px) {

    .lp-stats__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* ==========================================================================
   Mobile (max-width: 992px)
   ========================================================================== */
@media (max-width: 992px) {
    .lp-hero {
        padding: 100px 0 50px;
    }

    body.admin-bar .lp-hero {
        padding-top: 132px;
    }

    .lp-hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .lp-hero__title {
        font-size: 3.2rem; /* 32px */
    }

    .lp-hero__title-accent {
        margin: 10px 0;
    }

    .lp-hero__desc {
        margin: 0 auto 30px;
        font-size: 1.5rem; /* 15px */
    }

    .lp-hero__cta-group {
        justify-content: center;
    }

    .lp-hero__tags {
        align-items: center;
        width: 100%;
    }

    .lp-hero__tags-list {
        justify-content: center;
    }

    .lp-hero__image {
        order: -1;
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   Mobile (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .lp-section {
        padding: 50px 0;
    }

    .lp-stats {
        padding: 40px 0;
    }

    .lp-stats__grid {
        flex-direction: column;
        gap: 30px;
    }

    .lp-features-grid {
        grid-template-columns: 1fr;
    }

    .lp-feature-card__icon {
        width: 70px;
        height: 70px;
        font-size: 2.4rem;
    }

    .lp-hero__image {
        display: none;
    }

    .lp-hero__content {
        grid-template-columns: 1fr;
    }

    .lp-hero__title-desktop {
        display: none;
    }

    .lp-hero__title-mobile {
        display: block;
    }

    .lp-wrapper .btn-lg {
        padding: 16px 36px;
        font-size: 1.6rem; /* 16px */
    }

    .lp-cta-banner__inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .lp-section__header {
        margin-bottom: 35px;
    }
}

/* ==========================================================================
   Small Mobile (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .lp-hero {
        padding: 90px 0 40px;
    }

    .lp-hero__title {
        font-size: 2.4rem; /* 24px */
    }

    .lp-hero__cta-group {
        flex-direction: column;
        align-items: center;
    }

    .lp-hero__cta-group .btn {
        width: 100%;
        max-width: 300px;
    }

    .skill-pill {
        font-size: 1.2rem; /* 12px */
        padding: 6px 14px;
    }

    .lp-section__title {
        font-size: 2.2rem; /* 22px */
    }
}

/* ==========================================================================
   PORTERS Contact Form Styling
   ========================================================================== */
.lp-wrapper .porters-form-wrapper {
    background: var(--lp-bg-white);
    border-radius: var(--lp-radius-lg);
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--lp-border);
    min-height: 400px;
}

.lp-wrapper .porters-form-wrapper div.po-webparts-container {
    width: 100% !important;
    min-width: 100% !important;
    font-family: 'Noto Sans JP', sans-serif !important;
}

.lp-wrapper .porters-form-wrapper div.po-webparts-container iframe {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border: none !important;
}

.lp-wrapper .porters-form-wrapper div.po-webparts-container table {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
}

.lp-wrapper .porters-form-wrapper div.po-webparts-container tr {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--lp-border) !important;
}

.lp-wrapper .porters-form-wrapper div.po-webparts-container th {
    background: transparent !important;
    color: var(--lp-secondary) !important;
    font-weight: 600 !important;
    font-size: 1.5rem !important;
    padding: 16px 12px 16px 0 !important;
    vertical-align: top !important;
    text-align: left !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.lp-wrapper .porters-form-wrapper div.po-webparts-container td {
    background: transparent !important;
    border: none !important;
    padding: 16px 0 !important;
}

.lp-wrapper .porters-form-wrapper div.po-webparts-container input[type="text"],
.lp-wrapper .porters-form-wrapper div.po-webparts-container input[type="email"],
.lp-wrapper .porters-form-wrapper div.po-webparts-container input[type="tel"],
.lp-wrapper .porters-form-wrapper div.po-webparts-container input[type="file"],
.lp-wrapper .porters-form-wrapper div.po-webparts-container select,
.lp-wrapper .porters-form-wrapper div.po-webparts-container textarea {
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 1.6rem !important;
    font-family: 'Noto Sans JP', sans-serif !important;
    color: var(--lp-text-main) !important;
    background-color: var(--lp-bg-light) !important;
    border: 2px solid var(--lp-border) !important;
    border-radius: var(--lp-radius-md) !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    margin: 4px 0 !important;
    min-height: 44px !important;
}

.lp-wrapper .porters-form-wrapper div.po-webparts-container input:focus,
.lp-wrapper .porters-form-wrapper div.po-webparts-container select:focus,
.lp-wrapper .porters-form-wrapper div.po-webparts-container textarea:focus {
    outline: none !important;
    border-color: var(--lp-primary) !important;
    background-color: var(--lp-bg-white) !important;
    box-shadow: 0 0 0 4px rgba(0, 169, 157, 0.15) !important;
}

.lp-wrapper .porters-form-wrapper div.po-webparts-container textarea {
    min-height: 100px !important;
    resize: vertical !important;
}

.lp-wrapper .porters-form-wrapper div.po-webparts-container .po-buttons {
    text-align: center !important;
    padding: 24px 0 !important;
    border-top: 1px solid var(--lp-border) !important;
    margin-top: 16px !important;
    background: transparent !important;
}

.lp-wrapper .porters-form-wrapper div.po-webparts-container button,
.lp-wrapper .porters-form-wrapper div.po-webparts-container .po-button-outer {
    display: inline-block !important;
    background: linear-gradient(135deg, var(--lp-primary) 0%, #00c9ba 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(0, 169, 157, 0.35) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

.lp-wrapper .porters-form-wrapper div.po-webparts-container .po-button-outer:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 169, 157, 0.45) !important;
}

.lp-wrapper .porters-form-wrapper div.po-webparts-container button.po-button-send,
.lp-wrapper .porters-form-wrapper div.po-webparts-container button.po-button-apply {
    display: block !important;
    width: 100% !important;
    max-width: 320px !important;
    padding: 16px 48px !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    font-family: 'Noto Sans JP', sans-serif !important;
    color: white !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    min-height: 44px !important;
}

@media (max-width: 768px) {
    .lp-wrapper .porters-form-wrapper {
        padding: 20px 16px;
        border-radius: var(--lp-radius-md);
    }

    .lp-wrapper .porters-form-wrapper div.po-webparts-container tr.po-single th,
    .lp-wrapper .porters-form-wrapper div.po-webparts-container tr.po-single td,
    .lp-wrapper .porters-form-wrapper div.po-webparts-container tr.po-double th,
    .lp-wrapper .porters-form-wrapper div.po-webparts-container tr.po-double td {
        display: block !important;
        width: 100% !important;
        padding: 8px 0 !important;
    }

    .lp-wrapper .porters-form-wrapper div.po-webparts-container button.po-button-send,
    .lp-wrapper .porters-form-wrapper div.po-webparts-container button.po-button-apply {
        padding: 14px 32px !important;
        font-size: 1.6rem !important;
    }
}
