/*
Theme Name: our chance LP
Theme URI: 
Author: 
Author URI: 
Description: 無料就活塾「our chance」のランディングページテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: our-chance-lp
*/

/* BASE STYLES */
:root {
    --bg-body: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #333333;
    --text-sub: #666666;
    --white: #ffffff;

    /* Primary Color */
    --primary: #C8191E;
    --primary-dark: #a01014;
    --primary-light: #fff0f0;

    /* Shadows & Radius */
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-float: 0 15px 35px rgba(200, 25, 30, 0.25);
    --radius-lg: 16px;
    --radius-btn: 50px;
}

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

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
    padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
}

.en-title {
    font-family: 'Oswald', sans-serif;
    color: var(--primary);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
    text-align: center;
}

p {
    color: var(--text-sub);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-gray {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.header-cta {
    background-color: var(--primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(200, 25, 30, 0.2);
}

.header-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* HERO */
.hero {
    position: relative;
    min-height: 700px;
    overflow: visible;
    background-image: url('assets/images/hero-image.png');
    background-size: 101% auto;
    background-position: 50% center;
    background-repeat: no-repeat;
    background-color: #f8fafc;
    width: 100%;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    background: linear-gradient(to right, #f8fafc 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
    height: 100%;
    min-height: 700px;
    z-index: 2;
    padding: 20px 0 60px 0;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: fit-content;
    padding: 0;
    padding-left: 3.5rem;
    text-align: left;
    width: auto;
    margin-left: 0;
    margin-right: auto;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
}

.hero-tagline {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.3;
    color: #222;
    letter-spacing: -0.5px;
}

.hero-badges {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
}

.badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(200, 25, 30, 0.25);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(200, 25, 30, 0.35);
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    background: transparent;
    display: inline-block;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    font-weight: 400;
}

.hero-content .cta-btn-hero {
    display: block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(200, 25, 30, 0.3);
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 0;
}

.hero-content .cta-btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(200, 25, 30, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

/* PC CTA at bottom right - hide */
.cta-btn-hero-pc {
    display: none;
}

/* EMPATHY (PROBLEMS) */
.problem-header-text {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

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

.st-problem-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border-left: 6px solid #ccc;
    position: relative;
}

.st-problem-card::before {
    content: '\f12a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: #ddd;
}

.st-problem-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.st-problem-card p {
    font-size: 0.95rem;
    margin: 0;
}

.problem-closing {
    text-align: center;
    margin-top: 60px;
    background: var(--primary-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--primary);
}

.problem-closing h3 {
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 0;
}

/* CTA INLINE */
.cta-inline {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #a01418 100%);
    color: var(--white);
    text-align: center;
}

.cta-inline-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-inline-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-inline-subtext {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.btn-cta-inline {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 18px 50px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta-inline:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* SOLUTION */
.solution-step-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

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

/* STEP1, STEP3: solution-step-right - 画像が右、テキストが左（デフォルト、PC用のメディアクエリ内でorder設定） */
/* STEP2: solution-step-left - 画像が左、テキストが右（PC用のメディアクエリ内でorder設定） */

.solution-step-text {
    padding: 40px;
}

.solution-step-description {
    padding: 0 40px 40px 40px;
}

.solution-step-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-sub);
    margin: 0;
}

.sol-step-label {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.solution-step-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

.solution-step-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-sub);
    margin: 0;
}

.solution-step-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    height: 100%;
    min-height: 350px;
    position: relative;
    width: 100%;
}

.solution-step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.solution-content {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border-top: 5px solid var(--primary);
}

.solution-img-area {
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.solution-img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
    flex-wrap: wrap;
}

.sol-step {
    width: 140px;
    height: 140px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: relative;
    box-shadow: 0 5px 15px rgba(200, 25, 30, 0.3);
    font-size: 0.9rem;
}

.sol-arrow {
    font-size: 1.5rem;
    color: #ddd;
}

.sol-list {
    margin-top: 40px;
    text-align: left;
    display: block;
    background: #f9f9f9;
    padding: 20px;
    border-radius: var(--radius-lg);
}

.sol-list li {
    list-style: none;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-weight: 700;
    font-size: 1rem;
}

.sol-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 4px;
}

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

.quest-card {
    background: #fff;
    border: 2px solid #eee;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.quest-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.quest-label {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--primary);
    color: #fff;
    padding: 5px 20px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quest-card h3 {
    margin-top: 15px;
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quest-icon {
    color: var(--primary);
    font-size: 1.5rem;
}

/* BENEFITS */
.benefits-wrap {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.benefits-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefits-img-area {
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

.benefits-img-area:hover {
    transform: scale(1.02);
}

.benefits-img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.benefits-list li {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    margin-bottom: 16px;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(200, 25, 30, 0.15);
    border-left-width: 6px;
}

.benefits-list li i {
    color: var(--primary);
    font-size: 1.4rem;
    margin-right: 18px;
    flex-shrink: 0;
}

.special-route {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 35px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(200, 25, 30, 0.25);
    transition: transform 0.3s ease;
}

.special-route:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(200, 25, 30, 0.35);
}

.special-route::before {
    content: 'SPECIAL';
    position: absolute;
    top: -30px;
    left: -30px;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.08);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 5px;
}

.special-route h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 12px;
    position: relative;
    font-weight: 700;
}

.special-route p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    position: relative;
    line-height: 1.7;
    font-size: 0.95rem;
}

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

.mentor-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.mentor-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
}

.mentor-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

/* OVERVIEW */
.overview-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.overview-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.overview-table th {
    background: var(--bg-light);
    padding: 25px;
    text-align: left;
    width: 30%;
    border-bottom: 1px solid #eee;
    color: #333;
}

.overview-table td {
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.overview-table tr:last-child th,
.overview-table tr:last-child td {
    border-bottom: none;
}

.business-model-box {
    margin-top: 30px;
    border: 2px solid var(--primary);
    background: var(--primary-light);
    padding: 30px;
    border-radius: var(--radius-lg);
}

.business-model-box h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.business-model-box p {
    font-size: 0.95rem;
    margin: 0;
    color: #333;
}

.overview-img-area {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    height: 100%;
    min-height: 300px;
}

.overview-img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ */
.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-q {
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    background: #fff;
    border-left: 5px solid var(--primary);
}

.faq-q::before {
    content: 'Q.';
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.2rem;
}

.faq-a {
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    display: none;
}

.faq-item.active .faq-a {
    display: block;
}

/* CTA LAST */
.cta-last {
    background: linear-gradient(135deg, var(--primary) 0%, #8a1114 100%);
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.cta-limit {
    background: #fbbf24;
    color: #000;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

/* ANIMATION */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {

    /* 全体のフォントサイズを小さく */
    body {
        padding-top: 0;
        font-size: 0.9rem;
        line-height: 1.7;
    }

    /* スマホFV表示中はヘッダーを透過 */
    .site-header {
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }

    p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    h5 {
        font-size: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .en-title {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
        margin-bottom: 6px;
    }

    /* FV（ヒーロー）セクションの最適化 */
    .hero {
        min-height: calc(100vh - 50px);
        background-image: url('assets/images/hero-image.png');
        background-size: cover;
        background-position: 32% center;
        background-repeat: no-repeat;
        padding: 0;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .hero .container {
        flex-direction: column;
        justify-content: flex-end;
        padding: 0;
        max-width: 100%;
        min-height: calc(100vh - 130px);
        display: flex;
        flex-direction: column;
    }

    .hero-content {
        text-align: left;
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        transform: none;
        padding: 20px;
        padding-top: 60px;
        padding-bottom: 20px;
        background: transparent;
        backdrop-filter: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
        box-shadow: none;
        justify-content: flex-end;
        align-items: flex-start;
    }

    /* テキストレイヤー - 行きたい企業が言語化できるから下まで白背景 */
    .hero-text-layer {
        position: relative;
        width: 100%;
        background: rgba(255, 255, 255, 0.6);
        padding: 12px 16px;
        padding-bottom: 20px;
        border-radius: 10px;
        margin-top: 0;
    }

    /* 手書き風テキストのラッパー - 1くくりに */
    .handwriting-text-wrapper {
        display: inline-block;
        background: transparent;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        margin-bottom: 0;
    }

    /* 手書き風テキスト */
    .handwriting-text {
        font-family: 'Kalam', cursive;
        font-weight: 900;
        font-size: 0.95rem;
        color: #666;
        display: block;
        margin: 0;
        line-height: 1.5;
        background: transparent;
        padding: 0;
        border-radius: 0;
        text-shadow: none;
        box-shadow: none;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 0;
        line-height: 1.6;
        width: 100%;
        text-align: left;
    }

    .hero h1 {
        font-size: 2.5rem;
        font-weight: 900;
        margin-bottom: 0;
        line-height: 1.3;
        color: var(--primary);
        letter-spacing: -0.2px;
        padding: 0;
        border-radius: 0;
        display: inline-block;
        margin: 0;
        background: transparent;
        text-shadow: none;
        box-shadow: none;
        text-align: left;
    }

    /* Mobile Hero Image - 非表示（背景画像を使用） */
    .hero-image-mobile {
        display: none;
    }

    .hero-badges {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        margin-bottom: 0;
        width: 100%;
    }

    .badge-row {
        display: flex;
        flex-direction: row;
        gap: 8px;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
    }

    .badge-inline {
        font-size: 0.75rem;
        font-weight: 600;
        color: #fff;
        white-space: nowrap;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        padding: 8px 16px;
        border-radius: 50px;
        box-shadow: 0 4px 12px rgba(200, 25, 30, 0.4);
    }

    .badge {
        padding: 10px 22px;
        font-size: 0.85rem;
        border-radius: 50px;
        width: fit-content;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        box-shadow: 0 4px 12px rgba(200, 25, 30, 0.4);
        font-weight: 600;
        color: #fff;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    }

    .hero-sub {
        display: none;
    }

    .hero-content .cta-btn-hero {
        display: none;
    }

    /* Hide PC CTA on mobile */
    .cta-btn-hero-pc {
        display: none;
    }

    /* Mobile CTA at bottom */
    .hero-cta-mobile {
        display: none;
    }

    .hero-sub-mobile {
        font-size: 0.9rem;
        line-height: 1.7;
        text-align: center;
        color: #333;
        font-weight: 500;
        padding: 0;
    }

    .cta-btn-hero-mobile {
        display: block;
        width: 100%;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: #fff;
        padding: 18px 40px;
        border-radius: 50px;
        font-size: 1.1rem;
        font-weight: 700;
        text-align: center;
        box-shadow: 0 6px 20px rgba(200, 25, 30, 0.4);
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .cta-btn-hero-mobile:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(200, 25, 30, 0.5);
    }

    /* その他のセクション */
    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .container {
        padding: 0 16px;
    }

    .problem-header-text {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }

    .st-problem-card {
        padding: 24px 20px;
    }

    .st-problem-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .st-problem-card p {
        font-size: 0.85rem;
    }

    .problem-closing {
        padding: 24px 20px;
        margin-top: 40px;
    }

    .problem-closing h3 {
        font-size: 1.3rem;
    }

    .problem-cards-wrap,
    .quest-grid,
    .mentor-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quest-card {
        padding: 24px 20px;
    }

    .quest-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .quest-label {
        font-size: 0.75rem;
        padding: 4px 16px;
        left: 20px;
    }

    .benefits-wrap {
        max-width: 100%;
    }

    .benefits-list li {
        padding: 18px;
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .benefits-list li i {
        font-size: 1.2rem;
        margin-right: 14px;
    }

    .special-route {
        padding: 24px 20px;
    }

    .special-route h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .special-route p {
        font-size: 0.85rem;
    }

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

    .overview-table th,
    .overview-table td {
        display: block;
        width: 100%;
        padding: 16px;
    }

    .overview-table th {
        background: #eee;
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .overview-table td {
        font-size: 0.85rem;
    }

    .business-model-box {
        padding: 20px;
        margin-top: 24px;
    }

    .business-model-box h4 {
        font-size: 1rem;
    }

    .business-model-box p {
        font-size: 0.85rem;
    }

    .solution-step-item {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 50px;
        display: flex;
        flex-direction: column;
    }

    .solution-step-text {
        padding: 12px 20px;
        padding-bottom: 0;
        order: 3;
        display: flex;
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }

    .solution-step-text h3 {
        font-size: 1.4rem;
        margin-bottom: 0;
        text-align: left;
        width: 100%;
    }

    .solution-step-text p {
        display: none;
    }

    .solution-step-img-wrapper {
        position: relative;
        order: 2;
        margin-bottom: 0;
        width: 100%;
    }

    .solution-step-img-wrapper .sol-step-label {
        position: absolute;
        top: -20px;
        left: 0;
        z-index: 10;
        font-size: 1.2rem;
        padding: 10px 20px;
        margin-bottom: 0;
        background: var(--primary);
        color: #fff;
        border-radius: 4px;
        font-family: 'Oswald', sans-serif;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .solution-step-img {
        min-height: 220px;
        position: relative;
    }

    .solution-step-description {
        padding: 0 20px 24px 20px;
        order: 4;
    }

    .solution-step-description p {
        font-size: 0.9rem;
        line-height: 1.8;
        color: var(--text-sub);
        margin: 0;
    }

    /* Order Change for Responsive */
    .solution-img-area,
    .benefits-img-area,
    .overview-img-area {
        min-height: 220px;
        order: -1;
    }

    .sol-step {
        width: 100px;
        height: 100px;
        font-size: 0.75rem;
    }

    .sol-arrow {
        font-size: 1.2rem;
    }

    .sol-list {
        padding: 16px;
        margin-top: 24px;
    }

    .sol-list li {
        font-size: 0.9rem;
        margin-bottom: 12px;
        padding-left: 24px;
    }

    .mentor-card {
        padding: 24px 20px;
    }

    .mentor-img {
        width: 100px;
        height: 100px;
        margin-bottom: 16px;
    }

    .mentor-role {
        font-size: 0.8rem;
    }

    .faq-q {
        padding: 16px;
        font-size: 0.95rem;
    }

    .faq-q::before {
        font-size: 1rem;
    }

    .faq-a {
        padding: 16px;
        font-size: 0.85rem;
    }

    .header-cta {
        display: none;
    }

    .cta-inline {
        padding: 60px 0;
    }

    .cta-inline-title {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }

    .cta-inline-subtext {
        font-size: 0.85rem;
        margin-bottom: 24px;
    }

    .btn-cta-inline {
        padding: 14px 32px;
        font-size: 0.9rem;
    }

    .cta-last {
        padding: 60px 0;
    }

    .cta-last h2 {
        font-size: 1.5rem;
    }

    .cta-limit {
        font-size: 0.8rem;
        padding: 4px 12px;
    }

    /* Fixed CTA for Mobile */
    .fixed-cta-mobile {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
        padding: 12px 16px;
        border-top: 1px solid rgba(200, 25, 30, 0.1);
    }

    .fixed-cta-btn {
        display: block;
        width: 100%;
        background: var(--primary);
        color: #fff;
        padding: 16px 24px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        box-shadow: 0 4px 15px rgba(200, 25, 30, 0.3);
        transition: all 0.3s ease;
    }

    .fixed-cta-btn:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(200, 25, 30, 0.4);
    }

    /* Footer padding adjustment for fixed CTA */
    footer {
        padding-bottom: 80px !important;
    }
}

/* Hide fixed CTA on desktop */
@media (min-width: 769px) {
    .fixed-cta-mobile {
        display: none;
    }

    /* Hide mobile-only line breaks on desktop */
    br.mobile-br {
        display: none;
    }

    /* Hide mobile hero image on desktop */
    .hero-image-mobile {
        display: none;
    }

    /* Hide mobile CTA at bottom on desktop */
    .hero-cta-mobile {
        display: none;
    }

    /* Hide PC CTA on desktop (using cta-btn-hero instead) */
    .cta-btn-hero-pc {
        display: none;
    }

    /* Reset handwriting text style on desktop */
    .handwriting-text {
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 700;
        font-size: inherit;
        color: var(--primary);
        text-shadow: none;
        background: transparent;
        padding: 0;
        border-radius: 0;
        display: inline;
        margin: 0;
    }

    /* Reset handwriting text wrapper on desktop */
    .handwriting-text-wrapper {
        background: transparent;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        display: inline;
    }

    /* Reset hero h1 style on desktop */
    .hero h1 {
        background: transparent;
        padding: 0;
        border-radius: 0;
        display: block;
        color: #222;
        text-shadow: none;
    }

    /* Reset hero content style on desktop */
    .hero-content {
        background: transparent;
        backdrop-filter: none;
        border-radius: 0;
        padding: 0;
        padding-left: 200px;
        padding-top: 30px;
        box-shadow: none;
    }

    /* PC専用: 背景画像の位置調整 - 女性を右側に配置、縮小して頭が切れないように */
    .hero {
        background-size: 75% auto;
        background-position: 130% center;
    }

    .hero-tagline {
        font-size: 1.4rem;
        color: var(--primary);
    }

    /* Show hero-sub and CTA on desktop */
    .hero-sub {
        display: inline-block !important;
    }

    .hero-content .cta-btn-hero {
        display: block !important;
    }

    /* Reset badge-row on desktop */
    .badge-row {
        display: flex;
        flex-direction: row;
        gap: 12px;
    }

    /* PC用: badge-inlineを通常のbadgeスタイルにリセット */
    .badge-inline {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: #fff;
        padding: 10px 24px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.95rem;
        box-shadow: 0 4px 12px rgba(200, 25, 30, 0.25);
        white-space: nowrap;
        transition: all 0.3s ease;
        text-shadow: none;
    }

    .badge-inline:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(200, 25, 30, 0.35);
    }

    /* PC用: solution-step-descriptionを表示 */
    .solution-step-description {
        display: block;
        padding: 0 40px 40px 40px;
    }

    .solution-step-description p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: var(--text-sub);
        margin: 0;
    }

    /* PC用: solution-step-img-wrapperのスタイルをリセット */
    .solution-step-img-wrapper {
        position: static;
        display: block;
    }

    .solution-step-img-wrapper .sol-step-label {
        display: none;
    }

    .solution-step-text {
        padding: 40px;
    }

    /* PC用: STEP番号をsolution-step-textの前に表示 */
    .solution-step-text::before {
        content: '';
        display: block;
    }

    /* PC用: STEP1のSTEP番号を表示 */
    .solution-step-right:first-of-type .solution-step-img-wrapper .sol-step-label {
        display: inline-block;
        position: static;
        margin-bottom: 20px;
        font-size: 0.9rem;
        padding: 8px 20px;
    }

    /* PC用: STEP2のSTEP番号を表示 */
    .solution-step-left .solution-step-img-wrapper .sol-step-label {
        display: inline-block;
        position: static;
        margin-bottom: 20px;
        font-size: 0.9rem;
        padding: 8px 20px;
    }

    /* PC用: STEP3のSTEP番号を表示 */
    .solution-step-right:last-of-type .solution-step-img-wrapper .sol-step-label {
        display: inline-block;
        position: static;
        margin-bottom: 20px;
        font-size: 0.9rem;
        padding: 8px 20px;
    }

    /* PC用: solution-step-itemをflexレイアウトに設定（スマホのflexを上書き） */
    .solution-step-item {
        display: flex !important;
        flex-direction: row !important;
        gap: 50px !important;
        align-items: flex-start !important;
    }

    /* PC用: STEP1のみflexレイアウトで左右配置 */
    .solution-step-item.solution-step-right:first-of-type {
        display: flex !important;
        flex-direction: row !important;
        gap: 50px !important;
        align-items: flex-start !important;
    }

    /* PC用: solution-step-textのスタイルをリセット（スマホの設定を完全に上書き） */
    .solution-step-text {
        order: 0 !important;
        padding: 40px !important;
        display: block !important;
        text-align: left !important;
        grid-column: auto !important;
        grid-row: auto !important;
        flex-direction: initial !important;
        align-items: initial !important;
        flex: initial !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        width: auto !important;
    }

    /* PC用: solution-step-text内のpタグを確実に表示（スマホのdisplay:noneを上書き） */
    .solution-step-text p {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 1.1rem !important;
        line-height: 1.8 !important;
        color: var(--text-sub) !important;
        margin: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        height: auto !important;
        width: auto !important;
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
    }

    /* PC用: solution-step-textのh3をリセット */
    .solution-step-text h3 {
        font-size: 2rem !important;
        font-weight: 700 !important;
        color: var(--text-main) !important;
        margin-bottom: 0 !important;
        text-align: left !important;
        width: auto !important;
    }

    /* PC用: sol-step-labelをリセット */
    .solution-step-text .sol-step-label {
        display: inline-block !important;
        background: var(--primary) !important;
        color: #fff !important;
        padding: 8px 20px !important;
        border-radius: 4px !important;
        font-family: 'Oswald', sans-serif !important;
        font-weight: 700 !important;
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 20px !important;
        position: static !important;
    }

    /* PC用: solution-step-imgのスタイルをリセット */
    .solution-step-img {
        order: 0 !important;
        min-height: 350px !important;
        position: static !important;
        border-radius: var(--radius-lg) !important;
        overflow: hidden !important;
        box-shadow: var(--shadow-card) !important;
        height: 100% !important;
        grid-column: auto !important;
    }

    /* PC用: solution-step-img-wrapperをリセット（STEP番号を絶対配置するためrelativeに） */
    .solution-step-img-wrapper {
        position: relative !important;
        order: 0 !important;
        margin-bottom: 0 !important;
        display: block !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    /* PC用: solution-step-img-wrapper内のsol-step-labelを表示（画像の左上に重なるように配置） */
    .solution-step-img-wrapper .sol-step-label {
        display: inline-block !important;
        position: absolute !important;
        background: var(--primary) !important;
        color: #fff !important;
        padding: 10px 24px !important;
        border-radius: 4px !important;
        font-family: 'Oswald', sans-serif !important;
        font-weight: 700 !important;
        font-size: 1.1rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 0 !important;
        top: -15px !important;
        left: -15px !important;
        z-index: 10 !important;
    }

    /* PC用: solution-step-img-wrapper内のsolution-step-imgをリセット */
    .solution-step-img-wrapper .solution-step-img {
        order: 0 !important;
        min-height: 350px !important;
        position: static !important;
        border-radius: var(--radius-lg) !important;
        overflow: hidden !important;
        box-shadow: var(--shadow-card) !important;
        height: 100% !important;
        grid-column: auto !important;
    }

    /* PC用: solution-step-descriptionを表示（preview.htmlで使用） */
    .solution-step-description {
        display: block !important;
        padding: 0 40px 40px 40px !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .solution-step-description p {
        display: block !important;
        font-size: 1.1rem !important;
        line-height: 1.8 !important;
        color: var(--text-sub) !important;
        margin: 0 !important;
    }

    /* ========================================
       PC用: STEP1のみ修正（gridレイアウト）
       ======================================== */

    /* STEP1全体: gridで左右2列レイアウト、行間の余白を削除 */
    .solution-step-item.solution-step-right:nth-child(2) {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        column-gap: 50px !important;
        row-gap: 0 !important;
        align-items: start !important;
    }

    /* 画像エリア: 左側、2行分 */
    .solution-step-item.solution-step-right:nth-child(2) .solution-step-img-wrapper {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        position: relative !important;
    }

    /* 画像コンテナ: はみ出しを隠す */
    .solution-step-item.solution-step-right:nth-child(2) .solution-step-img {
        overflow: hidden !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* 画像: 範囲内を完全に埋める */
    .solution-step-item.solution-step-right:nth-child(2) .solution-step-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* タイトル: 右側上部、上に20pxの余白 */
    .solution-step-item.solution-step-right:nth-child(2) .solution-step-text {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: start !important;
        margin-bottom: 0 !important;
        padding: 20px 0 0 20px !important;
    }

    /* 説明文: 右側下部、タイトルの直下（余白なし） */
    .solution-step-item.solution-step-right:nth-child(2) .solution-step-description {
        grid-column: 2 !important;
        grid-row: 2 !important;
        margin-top: 0 !important;
        padding: 0 0 0 20px !important;
    }

    /* STEP番号: 画像の左上に半分重ねる */
    .solution-step-item.solution-step-right:nth-child(2) .sol-step-label {
        position: absolute !important;
        top: -15px !important;
        left: -15px !important;
        background: var(--primary) !important;
        color: #fff !important;
        padding: 10px 24px !important;
        border-radius: 8px !important;
        font-family: 'Oswald', sans-serif !important;
        font-weight: 700 !important;
        font-size: 1.1rem !important;
        letter-spacing: 2px !important;
        box-shadow: 0 4px 12px rgba(200, 25, 30, 0.3) !important;
        z-index: 10 !important;
    }

    /* 自己分析タイトル: 余白を狭める */
    .solution-step-item.solution-step-right:nth-child(2) h3 {
        font-size: 2.5rem !important;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        color: var(--primary) !important;
        line-height: 1.2 !important;
    }

    /* 説明文: 行間を調整して画像の高さに収める */
    .solution-step-item.solution-step-right:nth-child(2) .solution-step-description p {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.7 !important;
    }

    /* ========================================
       PC用: STEP2（画像左、テキスト右）
       ======================================== */

    /* STEP2全体: gridで左右2列レイアウト */
    .solution-step-item.solution-step-left:nth-child(3) {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        column-gap: 50px !important;
        row-gap: 0 !important;
        align-items: start !important;
    }

    /* 画像エリア: 左側、2行分 */
    .solution-step-item.solution-step-left:nth-child(3) .solution-step-img-wrapper {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        position: relative !important;
    }

    /* 画像コンテナ: はみ出しを隠す */
    .solution-step-item.solution-step-left:nth-child(3) .solution-step-img {
        overflow: hidden !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* 画像: 範囲内を完全に埋める */
    .solution-step-item.solution-step-left:nth-child(3) .solution-step-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* タイトル: 右側上部 */
    .solution-step-item.solution-step-left:nth-child(3) .solution-step-text {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: start !important;
        margin-bottom: 0 !important;
        padding: 20px 0 0 20px !important;
    }

    /* 説明文: 右側下部 */
    .solution-step-item.solution-step-left:nth-child(3) .solution-step-description {
        grid-column: 2 !important;
        grid-row: 2 !important;
        margin-top: 0 !important;
        padding: 0 0 0 20px !important;
    }

    /* STEP番号: 画像の左上に半分重ねる */
    .solution-step-item.solution-step-left:nth-child(3) .sol-step-label {
        position: absolute !important;
        top: -15px !important;
        left: -15px !important;
        background: var(--primary) !important;
        color: #fff !important;
        padding: 10px 24px !important;
        border-radius: 8px !important;
        font-family: 'Oswald', sans-serif !important;
        font-weight: 700 !important;
        font-size: 1.1rem !important;
        letter-spacing: 2px !important;
        box-shadow: 0 4px 12px rgba(200, 25, 30, 0.3) !important;
        z-index: 10 !important;
    }

    /* タイトル */
    .solution-step-item.solution-step-left:nth-child(3) h3 {
        font-size: 2.5rem !important;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        color: var(--primary) !important;
        line-height: 1.2 !important;
    }

    /* 説明文 */
    .solution-step-item.solution-step-left:nth-child(3) .solution-step-description p {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.7 !important;
    }

    /* ========================================
       PC用: STEP3（画像右、テキスト左）
       ======================================== */

    /* STEP3全体: gridで左右2列レイアウト */
    .solution-step-item.solution-step-right:nth-child(4) {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        column-gap: 50px !important;
        row-gap: 0 !important;
        align-items: start !important;
    }

    /* 画像エリア: 左側、2行分 */
    .solution-step-item.solution-step-right:nth-child(4) .solution-step-img-wrapper {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        position: relative !important;
    }

    /* 画像コンテナ: はみ出しを隠す */
    .solution-step-item.solution-step-right:nth-child(4) .solution-step-img {
        overflow: hidden !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* 画像: 範囲内を完全に埋める */
    .solution-step-item.solution-step-right:nth-child(4) .solution-step-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* タイトル: 右側上部 */
    .solution-step-item.solution-step-right:nth-child(4) .solution-step-text {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: start !important;
        margin-bottom: 0 !important;
        padding: 20px 0 0 20px !important;
    }

    /* 説明文: 右側下部 */
    .solution-step-item.solution-step-right:nth-child(4) .solution-step-description {
        grid-column: 2 !important;
        grid-row: 2 !important;
        margin-top: 0 !important;
        padding: 0 0 0 20px !important;
    }

    /* STEP番号: 画像の左上に半分重ねる */
    .solution-step-item.solution-step-right:nth-child(4) .sol-step-label {
        position: absolute !important;
        top: -15px !important;
        left: -15px !important;
        background: var(--primary) !important;
        color: #fff !important;
        padding: 10px 24px !important;
        border-radius: 8px !important;
        font-family: 'Oswald', sans-serif !important;
        font-weight: 700 !important;
        font-size: 1.1rem !important;
        letter-spacing: 2px !important;
        box-shadow: 0 4px 12px rgba(200, 25, 30, 0.3) !important;
        z-index: 10 !important;
    }

    /* タイトル */
    .solution-step-item.solution-step-right:nth-child(4) h3 {
        font-size: 2.5rem !important;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        color: var(--primary) !important;
        line-height: 1.2 !important;
    }

    /* 説明文 */
    .solution-step-item.solution-step-right:nth-child(4) .solution-step-description p {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.7 !important;
    }
}

/* ========================================
   Mobile Fixes (Image Height & Spacing)
   ======================================== */
@media (max-width: 768px) {
    .solution-step-img-wrapper {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        margin-bottom: 2rem !important;
        /* 画像の下に余白を追加 */
        padding-bottom: 0 !important;
        line-height: 0 !important;
        display: block !important;
        width: 100% !important;
    }

    .solution-step-img {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        width: 100% !important;
        overflow: visible !important;
        border-radius: 16px !important;
    }

    .solution-step-img-wrapper img,
    .solution-step-img img {
        position: static !important;
        /* CRITICAL: Reset absolute positioning */
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        display: block !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
    }

    /* STEPラベルの位置調整 - コンテナ基準 */
    .sol-step-label {
        position: absolute !important;
        top: -10px !important;
        left: 0 !important;
        z-index: 10 !important;
        margin: 0 !important;
    }
}

/* Contact Form 7 Custom Styles - Updated */
.wpcf7-form {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 0;
}

/* CF7 フォームコントロールラッパー（プルダウン等の位置ずれ防止） */
.wpcf7 .wpcf7-form-control-wrap {
    display: block !important;
    width: 100%;
    margin-bottom: 10px;
}

.form-lead {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #333;
}

.form-section {
    margin-bottom: 50px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.section-number {
    display: inline-block;
    background: #C8191E;
    /* Primary */
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 1rem;
    font-weight: 700;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.custom-cf7-form .form-row {
    margin-bottom: 0;
}

.form-col {
    flex: 1;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    width: 100%;
}

.tag-required {
    background: #C8191E;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 400;
    vertical-align: middle;
}

.tag-optional {
    background: #999;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 400;
    vertical-align: middle;
}

.label-desc {
    display: block;
    font-size: 0.8rem;
    color: #888;
    font-weight: 400;
    margin-top: 4px;
    margin-bottom: 4px;
}

/* Input Fields */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: #fafafa;
    margin-top: 8px;
    box-sizing: border-box;
    transition: all 0.3s;
}

.wpcf7-form select {
    padding: 0;
    padding-right: 30px;
    text-indent: 0;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    background: #fff;
    border-color: #C8191E;
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 25, 30, 0.1);
}

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

/* Submit Area */
.submit-area {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 60px;
}

.privacy-text {
    font-size: 0.85rem;
    margin-bottom: 20px;
    color: #666;
}

.privacy-text a {
    color: #C8191E;
    text-decoration: underline;
}

.wpcf7-form input[type="submit"] {
    background: linear-gradient(135deg, #C8191E 0%, #a01014 100%);
    color: #fff;
    border: none;
    padding: 20px 60px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(200, 25, 30, 0.3);
    -webkit-appearance: none;
    display: inline-block;
    width: auto;
    min-width: 300px;
}

.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 25, 30, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .wpcf7-form {
        padding: 0 16px;
    }

    .form-section {
        padding: 20px;
        margin-bottom: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0px;
    }

    .form-col {
        margin-bottom: 0;
    }

    .submit-area {
        padding-bottom: 30px;
    }

    .wpcf7-form input[type="submit"] {
        width: 100%;
        padding: 16px;
        font-size: 1.1rem;
    }
}