/* ==========================================================================
    CSS Variables (Custom Properties)
    ========================================================================== */
:root {
    /* Colors */
    --color-primary: #2c2c2c;
    --color-secondary: #333;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-background: white;
    --color-background-alt: #f9f9f9;
    --color-background-section: #f5f5f5;
    --color-accent: #d4a574;
    --color-border: #d5d5d5;
    --color-shadow: rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-primary: 'Noto Serif JP', serif;
    --font-secondary: 'Inter', 'Noto Sans JP', sans-serif;
    --font-base: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    --font-size-hero: 48px;
    --font-size-title: 50px;
    --font-size-subtitle: 32px;
    --font-size-body: 18px;
    --font-weight-normal: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: bold;

    /* Spacing */
    --spacing-xs: 15px;
    --spacing-sm: 20px;
    --spacing-md: 40px;
    --spacing-lg: 60px;
    --spacing-xl: 80px;
    --spacing-xxl: 100px;
    --gap-sm: 20px;
    --gap-md: 40px;
    --gap-lg: 60px;

    /* Layout */
    --container-max-width: 1000px;
    --border-radius: 6px;
    --border-radius-lg: 12px;
    --box-shadow-sm: 0px 2px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-md: 0px 3px 12px rgba(0, 0, 0, 0.12);
    --box-shadow-lg: 0px 4px 16px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
    CSS Reset and Base Styles
    ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-base);
    line-height: 1.6;
    color: var(--color-primary);
    background-color: var(--color-background-section);
}

/* ==========================================================================
    Responsive Design Utilities
    ========================================================================== */
.handrail_pc {
    display: block;
}

.handrail_sp {
    display: none;
}

@media (max-width: 1200px) {
    .handrail_pc {
        display: none;
    }

    .handrail_sp {
        display: block;
    }

    .lineup-handrail-image-small img {
        width: 76% !important;
    }

    .lineup-handrail-images {
        display: block !important;
    }
}

.main-container {
    background-color: var(--color-background);
}

/* ==========================================================================
    Navigation Styles
    ========================================================================== */
.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-xl);
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
}

.navigation.scrolled {
    box-shadow: var(--box-shadow-sm);
}

.site-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    font-family: var(--font-secondary);
    letter-spacing: 0.5px;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    font-size: 15px;
    font-weight: var(--font-weight-normal);
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: var(--font-secondary);
    letter-spacing: 0.3px;
}

.nav-item:hover {
    color: var(--color-text);
}

.nav-button {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.95);
    padding: 12px var(--spacing-sm);
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--box-shadow-sm);
    letter-spacing: 0.3px;
    font-family: var(--font-secondary);
}

.nav-button:hover {
    background: var(--color-text);
    transform: translateY(-1px);
    box-shadow: var(--box-shadow-md);
    color: var(--color-background);
}

.nav-button:active {
    transform: translateY(0px);
    box-shadow: var(--box-shadow-sm);
}

/* ==========================================================================
    Hero Section Styles
    ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    background: url('../images/straight-stairs-09-variant1.jpg') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 var(--spacing-xl) 120px var(--spacing-xl);
    color: var(--color-background);
    overflow: hidden;
    margin-top: 0;
    max-width: 100vw;
    box-sizing: border-box;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero h1 {
    font-family: var(--font-primary);
    font-size: var(--font-size-hero);
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    margin-bottom: var(--spacing-xl);
    max-width: 60vw;
    color: var(--color-background);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    letter-spacing: 2.4px;
}

.hero h1 span.main-text {
    font-size: 68px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 3.4px;
}

.hero-button {
    background: #f2f2f2;
    color: rgba(28, 28, 28, 0.9) !important;
    padding: 24px 48px;
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 44px;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--box-shadow-sm);
    width: 458px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

.hero-button:hover {
    background: #ebebeb;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-lg);
    color: var(--color-text);
}

.hero-button:active {
    transform: translateY(-1px);
    box-shadow: var(--box-shadow-sm);
}

/* ==========================================================================
    Problem Section Styles
    ========================================================================== */
.problem-section {
    padding: var(--spacing-xxl) 0 0 0;
    background: var(--color-background-alt);
    position: relative;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 44px;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-text);
    letter-spacing: 4.4px;
    line-height: 1.4;
}

.problem-content {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 6vw;
    align-items: center;
    margin: 0 auto 120px;
    max-width: var(--container-max-width);
    padding: 0;
}

.problem-text-container {
    font-size: 18px;
    line-height: 2.2;
    color: var(--color-primary);
}

.problem-text-container p {
    margin: 0;
}

.problem-image {
    width: 100%;
}

.problem-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: var(--box-shadow-lg);
}

.problem-button-container {
    display: flex;
    margin: 0 auto 30px;
}

.problem-button-container:last-of-type {
    margin-bottom: 120px;
}

.problem-button {
    background: #525252;
    color: rgba(255, 255, 255, 0.96);
    border: none;
    padding: 30px 50px;
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow-md);
    width: 1111px;
    line-height: 1.5;
}

.problem-button-left {
    justify-content: flex-start;
    margin-left: 0;
}

.problem-button-right-center {
    justify-content: end;
    margin-left: auto;
    margin-right: 0;
    text-align: center;
}

.decorative-shape {
    text-align: center;
    margin: 80px 0 0 0;
}

.decorative-shape img {
    max-width: 100%;
    height: auto;
}

.solution-text {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    margin: 100px 0 -80px 0;
    color: var(--color-text);
    letter-spacing: 4.8px;
    line-height: 1.4;
}

.company-intro-section {
    display: grid;
    grid-template-columns: minmax(300px, 40%) 1fr;
    gap: 4vw;
    align-items: center;
    margin: 0 auto;
    max-width: var(--container-max-width);
    padding: 0;
}

.company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-intro-text h3 {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
    color: var(--color-secondary);
    letter-spacing: 3.2px;
    line-height: 1.4;
}

.company-description {
    font-size: 16px;
    line-height: 2.2;
    color: var(--color-secondary);
}

.company-description p {
    margin: 0;
}

/* ==========================================================================
    Points Section Styles
    ========================================================================== */
.points-section {
    background: #fafafa;
    padding: 0;
    position: relative;
}

.points-main-title {
    font-family: var(--font-primary);
    font-size: 50px;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    color: var(--color-secondary);
    letter-spacing: 4px;
    line-height: 1.5;
    padding: 100px 0;
}

.point-item {
    max-width: var(--container-max-width);
    margin: 0 auto 55px;
    background: var(--color-background);
    border: 20px solid #fafafa;
}

.point-item .point-banner {
    background: #f8f8f8;
    padding: 10px 40px 30PX;
    justify-content: flex-start;
    align-items: center;
}

.wood-samples-container {
    padding: 4vw 5vw;
    background: var(--color-background);
}

.wood-samples-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.7vw;
    max-width: 80vw;
    margin: 0 auto;
}

.wood-sample {
    width: 100%;
    height: 9vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wood-sample-blackcherry {
    background-image: url('../images/blackcherry.jpg');
}

.wood-sample-hardmaple {
    background-image: url('../images/hardmaple.jpg');
}

.wood-sample-hinoki {
    background-image: url('../images/hinoki.jpg');
}

.wood-sample-kabazakura {
    background-image: url('../images/kabazakura_japanese.jpg');
}

.wood-sample-tamo {
    background-image: url('../images/tamo.jpg');
}

.wood-sample-teak {
    background-image: url('../images/teak.jpg');
}

.wood-sample-kuri {
    background-image: url('../images/kuri.jpg');
}

.wood-sample-kurumi {
    background-image: url('../images/kurumi.jpg');
}

.wood-sample-mahogany {
    background-image: url('../images/mahogany.jpg');
}

.wood-sample-nara {
    background-image: url('../images/nara.jpg');
}

.wood-sample-walnut {
    background-image: url('../images/walnut.jpg');
}

.wood-sample-whiteash {
    background-image: url('../images/whiteash.jpg');
}

.point-text-content {
    font-size: 20px;
    line-height: 2.2;
    color: var(--color-secondary);
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--color-background);
}

.point-text-content p {
    margin: 0;
}

.point-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--color-background);
}

.point-feature {
    background: var(--color-background-alt);
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: var(--spacing-md) var(--spacing-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.point-feature p {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-light);
    letter-spacing: 2.4px;
    line-height: 1.8;
    margin: 0;
}

.point-step-image {
    padding: 0 var(--spacing-xl);
    background: var(--color-background);
    text-align: center;
}

.point-step-image img {
    max-width: 100%;
    height: auto;
}

.point-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    padding: 0 var(--spacing-xl);
    background: var(--color-background);
}

.point-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
    Lineup Section Styles
    ========================================================================== */
.lineup-section {
    padding: 7vw 5vw 8vw 5vw;
    background: var(--color-background);
}

.lineup-main-title {
    font-family: var(--font-secondary);
    font-size: 50px;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-secondary);
    letter-spacing: 4px;
    line-height: 1.3;
}

.lineup-item {
    max-width: 850px;
    margin: 0 auto 100px;
    position: relative;
}

.lineup-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.lineup-number {
    font-family: 'Inter', sans-serif;
    font-size: 96px;
    font-weight: 600;
    color: #e0e0e0;
    letter-spacing: 5px;
    z-index: 2;
    position: relative;
}

.lineup-line-left {
    width: 150px;
    height: auto;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.lineup-line-right {
    width: 150px;
    height: auto;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.lineup-line-left-short {
    width: 100px;
    height: auto;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.lineup-line-right-short {
    width: 100px;
    height: auto;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.lineup-subtitle {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    color: var(--color-secondary);
    letter-spacing: 5px;
}

.lineup-sub-feature {
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
}

.lineup-content {
    max-width: var(--container-max-width);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: flex-start;
    margin: 0 auto var(--spacing-md);
}

.lineup-image {
    width: 100%;
}

.lineup-image img {
    width: 100%;
    object-fit: cover;
}

.lineup-image-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.lineup-image-caption {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--color-background);
    position: absolute;
    bottom: 0;
    right: 0;
}

.lineup-full-image {
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.lineup-full-image img {
    max-width: 100%;
    height: auto;
}

.lineup-text {
    max-width: 800px;
    font-size: 18px;
    line-height: 2.2;
    color: var(--color-secondary);
    text-align: left;
}

.lineup-text-center {
    font-size: 18px;
    line-height: 2.2;
    color: var(--color-secondary);
    text-align: center;
    margin-top: var(--spacing-md);
}

.lineup-text-center p {
    margin: 0;
}

.lineup-handrail-section {
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.lineup-handrail-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.lineup-handrail-image img {
    width: 100%;
    height: 100%;
}

.lineup-handrail-image-small img {
    width: 32vw;
    height: 100%;
    margin: 0 auto;
}

.lineup-bottom-image {
    margin-bottom: 30px;
    text-align: center;
}

.lineup-bottom-image img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
    CTA Staircase Section Styles
    ========================================================================== */
.cta-staircase-section {
    background: var(--color-background-alt);
    padding: 0;
    position: relative;
}

.cta-staircase-container {
    display: grid;
    grid-template-columns: 43% 1fr;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
}

.cta-staircase-image {
    width: 100%;
}

.cta-staircase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-staircase-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-xl);
    text-align: center;
}

.cta-staircase-title {
    font-family: var(--font-primary);
    font-size: 38px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    letter-spacing: 2.4px;
    line-height: 1.5;
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.cta-staircase-button {
    background: #525252;
    color: rgba(255, 255, 255, 0.96) !important;
    padding: var(--spacing-sm) 32px;
    border: none;
    border-radius: var(--border-radius-lg);
    font-family: var(--font-secondary);
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--box-shadow-md);
    width: 458px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

.cta-staircase-button:active {
    transform: translateY(-1px);
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
    Cases Section Styles
    ========================================================================== */
.cases-section {
    max-width: var(--container-max-width);
    padding: var(--spacing-xxl) 0 120px;
    background: var(--color-background);
    margin: 0 auto;
}

.cases-title {
    font-family: var(--font-primary);
    font-size: 50px;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-secondary);
    letter-spacing: 4px;
    line-height: 1.3;
}

.cases-masonry {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3vw;
    justify-content: center;
    max-width: 90vw;
    margin: 0 auto;
}

.cases-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-item {
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-background-section);
    box-shadow: var(--box-shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.case-item:hover img {
    transform: scale(1.02);
}

/* ==========================================================================
    FAQ Section Styles
    ========================================================================== */
.faq-section {
    max-width: var(--container-max-width);
    padding: var(--spacing-xl) 0 120px;
    background: var(--color-background);
    margin: 0 auto;
    position: relative;
}

.faq-title {
    font-family: var(--font-primary);
    font-size: 50px;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-secondary);
    letter-spacing: 4px;
    line-height: 1.3;
}

.faq-container {
    max-width: 1247px;
    margin: 0 auto;
    gap: 20px;
    display: grid;
}

.faq-item {
    border: 1px solid #d5d5d5;
    margin-bottom: 0;
    overflow: hidden;
}

.faq-question {
    background: #f8f8f8;
    color: var(--color-secondary);
    padding: var(--spacing-sm) 30px;
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 2.4px;
    line-height: 2;
    display: flex;
    align-items: center;
}

.faq-answer {
    padding: var(--spacing-sm) 30px;
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: var(--font-weight-normal);
    line-height: 2;
    letter-spacing: 5px;
    background: var(--color-background);
    color: var(--color-secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-answer p {
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: var(--spacing-md);
}

.faq-cta-text {
    font-family: var(--font-primary);
    font-size: 52px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    letter-spacing: 5px;
}

/* ==========================================================================
    Form Section Styles
    ========================================================================== */

/* Point Banner Styles (from point-banner.css) */
.point-banner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2vw;
    padding: 1.5vw 2vw;
    background: #f8f8f8;
    min-height: 68px;
}

.point-label-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 8vw;
    flex-shrink: 0;
}

.point-label-text {
    font-family: var(--font-secondary);
    font-weight: var(--font-weight-bold);
    font-size: clamp(16px, 1.3vw, 25px);
    color: var(--color-background);
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.1em;
    background-color: var(--color-secondary);
    border-radius: 30px;
    padding: 16px;
}

.point-text {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: clamp(20px, 1.8vw, 36px);
    color: var(--color-text);
    text-align: left;
    line-height: 1.2;
    letter-spacing: 0.05em;
    flex: 1;
}

/* ==========================================================================
    Form Section Custom Styles
    ========================================================================== */
.form-section-custom {
    background: #f3f3f3;
    position: relative;
}

.form-header-section {
    background: var(--color-background);
    text-align: center;
}


.form-header-title {
    font-family: var(--font-primary);
    font-size: 52px;
    font-weight: 400;
    color: var(--color-secondary);
    margin: 0 0 -100px 0;
}


.form-step-container-custom {
    padding-bottom: var(--spacing-lg);
}

.form-step-header-custom {
    width: 50%;
    background: #3c3c3c;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.form-step-title {
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-background);
    margin: 0;
    letter-spacing: 0.5px;
}

.form-container-custom {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
}

.form-field-custom {
    margin-bottom: var(--spacing-md);
}

.form-label-custom {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    color: #454545;
    letter-spacing: 3px;
}

.form-input-custom {
    padding: var(--spacing-sm);
    border: none;
    background: var(--color-background);
    font-size: 18px;
    box-shadow: inset 0px 2px 6px rgba(0, 0, 0, 0.12);
}

.form-input-narrow {
    width: 665px;
    max-width: 100%;
}

.form-input-wide {
    width: 1066px;
    max-width: 100%;
}

.form-submit-button {
    background: var(--color-accent);
    color: var(--color-background);
    border: none;
    border-radius: 8px;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    margin: var(--spacing-md) auto 0;
    display: block;
    min-width: 300px;
    transition: background-color 0.3s ease;
}

.form-submit-button:hover {
    background: #c19660;
}

.form-arrow-section {
    text-align: center;
    padding: var(--spacing-md) 0;
}

.form-step-content-custom {
    display: grid;
    grid-template-columns: 600px 1fr;
    gap: var(--spacing-lg);
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
    align-items: center;
}

.form-step-image-custom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-step-text-custom {
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: var(--font-weight-normal);
    line-height: 2.2;
    color: var(--color-secondary);
}

.form-step-text-custom p {
    margin: 0;
}

.form-step-description-custom {
    text-align: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
}

.form-step-description-custom p {
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: var(--font-weight-normal);
    line-height: 2.2;
    color: var(--color-secondary);
    margin: 0;
}

.form-process-image-custom {
    max-width: var(--container-max-width);
    margin: 0 auto var(--spacing-md);
}

.form-process-image-custom img {
    width: 100%;
    height: auto;
    max-width: 85vw;
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: var(--color-background);
    padding: var(--spacing-lg) var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.footer-logo h2 {
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
    color: #f0f0f0;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #444;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-icons a:hover {
    background: #666;
}

.footer-address {
    font-size: 14px;
    line-height: 1.6;
    color: #cccccc;
}

.footer-address strong {
    display: block;
    margin-bottom: 5px;
}

.partners-section {
    grid-column: span 4;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.partner-banners {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.partner-banners img {
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partner-banners img:hover {
    opacity: 1;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
    color: #f0f0f0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-contact {
    text-align: left;
}

.footer-contact p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #cccccc;
}

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-md);
    padding-top: 30px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    font-size: 12px;
    color: #999;
    margin: 0;
}

@media (max-width: 768px) {
    .sp-text-left {
        text-align: left !important;
    }

    .footer {
        padding: 40px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-section,
    .footer-logo {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-address {
        text-align: center;
    }

    .partners-section {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 15px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .footer-section a {
        font-size: 13px;
    }
}

/* ==========================================================================
    Responsive Media Queries
    ========================================================================== */
@media (max-width: 1200px) {

    .container {
        max-width: 100%;
        padding: 0 40px;
    }

    .problem-content,
    .company-intro-section,
    .lineup-content,
    .cta-staircase-container,
    .form-step-content-custom {
        display: block;
        padding: 0 40px;
    }

    .point-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .navigation {
        padding: 0 40px;
    }

    .site-name {
        font-size: 22px;
    }

    .nav-items {
        gap: 20px;
    }

    .nav-item {
        font-size: 14px;
    }

    .nav-button {
        padding: 10px 16px;
        font-size: 13px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero h1 span.main-text {
        font-size: 64px;
    }

    .hero-button {
        font-size: 42px;
        width: 400px;
        border-radius: 10px;
    }

    .section-title,
    .points-main-title,
    .lineup-main-title,
    .cases-title,
    .faq-title {
        font-size: 42px;
    }

    .problem-content {
        gap: 60px;
    }

    .problem-text-container {
        font-size: 18px;
    }

    .company-intro-section {
        gap: 50px;
        padding: 0 30px;
    }

    .company-intro-text h3 {
        font-size: 28px;
        line-height: 1.3;
    }

    .company-description {
        font-size: 15px;
        line-height: 1.8;
    }

    .point-text-content {
        font-size: 20px;
        padding: 60px 0;
    }

    .lineup-content {
        gap: 50px;
    }

    .lineup-text {
        font-size: 18px;
    }

    .cta-staircase-title {
        font-size: 42px;
    }

    .cta-staircase-button {
        font-size: 42px;
        width: 400px;
        height: 140px;
        border-radius: 10px;
    }
}

@media (max-width: 1100px) {
    .company-intro-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 40px;
    }

    .company-image {
        width: 100%;
        height: 30vw;
        min-height: 300px;
        max-height: 500px;
        order: -1;
    }

    .company-intro-text {
        text-align: center;
        margin-top: 60px;
    }
}

@media (max-width: 900px) {
    .problem-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 30px;
    }

    .problem-text-container {
        font-size: 17px;
        text-align: center;
    }

    .problem-image {
        width: 100%;
        height: 350px;
    }

    .cta-staircase-container {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 40px 20px;
        gap: 30px;
    }

    .cta-staircase-image {
        width: 100%;
        height: 400px;
        margin: 0;
    }

    .cta-staircase-title {
        font-size: 36px;
    }

    .cta-staircase-button {
        font-size: 32px;
        width: 350px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .navigation {
        padding: 15px 20px;
        height: 60px;
    }

    .site-name {
        font-size: 20px;
    }

    .nav-items {
        gap: 16px;
    }

    .nav-item {
        font-size: 13px;
        display: none;
        /* Hide some nav items on mobile */
    }

    .nav-item:first-child {
        display: block;
        /* Keep first nav item */
    }

    .nav-button {
        padding: 8px 14px;
        font-size: 13px;
    }

    body {
        padding-top: 0;
    }

    .form-step-container-custom {
        padding-bottom: 0;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 0;
    }

    .navigation {
        padding: 12px 15px;
        border-radius: 0;
        margin: 0;
        max-width: 100%;
    }

    .site-name {
        font-size: 20px;
        letter-spacing: 1.5px;
    }

    .nav-items {
        display: none;
    }

    .nav-button {
        padding: 8px 16px;
        font-size: 12px;
        border-radius: 6px;
        min-width: 80px;
    }
}

.hero {
    padding: 0 20px 40px 60px;
    height: 100vh;
    min-height: 500px;
    justify-content: center;
    text-align: center;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.hero-content {
    align-items: center;
}

.hero h1 {
    font-size: 24px;
    margin-bottom: 30px;
    letter-spacing: 1.5px;
    line-height: 1.3;
    max-width: none;
    width: 100%;
}

.hero h1 span.main-text {
    font-size: 32px;
    letter-spacing: 2px;
}

.hero-button {
    font-size: 20px;
    width: 280px;
    padding: 32px 28px;
    border-radius: 8px;
}


@media (max-width: 480px) {
    .hero {
        padding: 0 15px 30px 15px;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .hero h1 {
        font-size: 20px;
        margin-bottom: 25px;
        letter-spacing: 1px;
        max-width: none;
        width: 100%;
    }

    .hero h1 span.main-text {
        font-size: 28px;
        letter-spacing: 1.5px;
    }

    .hero-button {
        font-size: 18px;
        width: 250px;
        padding: 12px 24px;
        border-radius: 6px;
    }

    .points-section,
    .lineup-section,
    .cases-section,
    .faq-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 50px;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {

    .points-section,
    .lineup-section,
    .cases-section,
    .faq-section {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
        letter-spacing: 1.5px;
    }

    .problem-content {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
        padding: 0 20px;
    }

    .problem-text-container {
        font-size: 16px;
        line-height: 2;
        text-align: center;
    }

    .problem-image {
        width: 100%;
        order: -1;
    }

    .problem-button-container {
        padding: 0 20px;
    }

    .problem-button {
        font-size: 18px;
        padding: 15px 20px;
        width: 100%;
        text-align: center;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .problem-content {
        padding: 0 15px;
        gap: 25px;
    }

    .problem-text-container {
        font-size: 14px;
        line-height: 1.8;
    }

    .problem-button-container {
        padding: 0;
    }

    .problem-button {
        font-size: 16px;
        padding: 12px 15px;
    }

    .solution-text {
        font-size: 24px;
        margin: 40px 0;
        letter-spacing: 2px;
    }

    .company-intro-section {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
        padding: 0 20px;
    }

    .company-image {
        width: 100%;
        order: -1;
    }

    .company-intro-text {
        text-align: center;
    }

    .container {
        padding: 0 20px;
    }

    .company-intro-text h3 {
        font-size: 22px;
        margin-bottom: 20px;
        letter-spacing: 2px;
    }

    .company-description {
        font-size: 15px;
        line-height: 2.2;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .solution-text {
        font-size: 20px;
        margin: 30px 0;
        letter-spacing: 1.5px;
    }

    .company-intro-section {
        gap: 25px;
        padding: 0 15px;
    }

    .company-intro-text h3 {
        font-size: 20px;
        margin-bottom: 15px;
        letter-spacing: 1.5px;
    }

    .company-description {
        font-size: 14px;
        line-height: 2;
    }

    .points-main-title {
        font-size: 26px;
        padding: 60px 20px 0;
        line-height: 1.4;
        letter-spacing: 2px;
    }

    .point-item {
        border: 15px solid #fafafa;
    }

    .point-item .point-banner {
        height: auto;
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .wood-samples-container {
        padding: 3vw 2vw;
    }

    .wood-samples-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1vw;
    }

    .wood-sample {
        width: 100%;
        height: 22vw;
        border-radius: 4px;
    }

    .point-text-content {
        font-size: 16px;
        line-height: 2.2;
        padding: 30px 20px;
    }

    .point-features {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 30px 20px;
    }

    .point-feature {
        height: auto;
        padding: 20px 15px;
        min-height: 100px;
    }

    .point-feature p {
        font-size: 16px;
        letter-spacing: 1.5px;
    }

    .point-step-image {
        padding: 30px 20px;
    }

    .point-images {
        padding: 30px 20px;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .points-main-title {
        font-size: 22px;
        padding: 50px 15px 0;
        letter-spacing: 1.5px;
    }

    .point-item {
        border: 0;
    }

    .wood-samples-container {
        padding: 5vw 3vw;
    }

    .wood-samples-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5vw;
    }

    .point-text-content {
        font-size: 14px;
        line-height: 2;
        padding: 25px 15px;
    }

    .point-features {
        padding: 25px 15px;
        gap: 12px;
    }

    .point-feature {
        padding: 15px 12px;
        min-height: 80px;
    }

    .point-feature p {
        font-size: 14px;
        letter-spacing: 1.2px;
    }

    .point-step-image {
        padding: 25px 15px;
    }

    .point-images {
        padding: 25px 15px;
        gap: 15px;
    }

    .lineup-main-title {
        font-size: 28px;
        margin-bottom: 60px;
        letter-spacing: 2px;
    }

    .lineup-item {
        margin-bottom: 80px;
    }

    .lineup-header {
        margin-bottom: 30px;
        flex-direction: column;
        gap: 15px;
    }

    .lineup-number {
        font-size: 48px;
        order: 1;
    }

    .lineup-subtitle {
        font-size: 20px;
        order: 2;
        letter-spacing: 2px;
    }

    .lineup-line-left,
    .lineup-line-right,
    .lineup-line-left-short,
    .lineup-line-right-short {
        display: none;
    }

    .lineup-sub-feature {
        font-size: 16px;
        margin-bottom: 10px;
        text-align: center;
    }

    .lineup-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .lineup-text {
        font-size: 15px;
        text-align: center;
        line-height: 2.2;
    }

    .lineup-text-center {
        font-size: 15px;
        line-height: 2.2;
    }

    .lineup-handrail-section {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    .lineup-handrail-images {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .lineup-main-title {
        font-size: 24px;
        margin-bottom: 0;
        letter-spacing: 1.5px;
    }

    .lineup-item {
        margin-bottom: 60px;
    }

    .lineup-header {
        margin-bottom: 25px;
        gap: 12px;
    }

    .lineup-number {
        font-size: 40px;
    }

    .lineup-subtitle {
        font-size: 18px;
        letter-spacing: 1.5px;
    }

    .lineup-sub-feature {
        font-size: 14px;
        margin-bottom: 0;
    }

    .lineup-content {
        padding: 0;
        gap: 20px;
    }

    .lineup-image {
        height: auto;
    }

    .lineup-text {
        font-size: 14px;
        line-height: 2;
    }

    .lineup-text-center {
        font-size: 14px;
        line-height: 2;
    }

    .lineup-handrail-section {
        gap: 20px;
    }

    .lineup-handrail-images {
        gap: 15px;
    }

    .cta-staircase-container {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 40px 20px;
        gap: 30px;
    }

    .cta-staircase-image {
        width: 100%;
        margin: 0;
        order: 2;
    }

    .cta-staircase-content {
        padding: 0;
        order: 1;
        margin-bottom: 0;
    }

    .cta-staircase-title {
        font-size: 24px;
        margin-bottom: 30px;
        letter-spacing: 1.5px;
        line-height: 1.4;
    }

    .cta-staircase-button {
        font-size: 20px;
        width: 280px;
        padding: 14px 28px;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .cta-staircase-container {
        padding: 30px 15px;
        gap: 25px;
    }

    .cta-staircase-title {
        font-size: 20px;
        margin-bottom: 25px;
        letter-spacing: 1.2px;
    }

    .cta-staircase-button {
        font-size: 18px;
        width: 250px;
        padding: 12px 24px;
        border-radius: 6px;
    }

    .cases-title {
        font-size: 28px;
        margin-bottom: 50px;
        letter-spacing: 2px;
    }

    .cases-masonry {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 100%;
    }

    .cases-column {
        gap: 12px;
    }

    .case-item {
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .cases-title {
        font-size: 24px;
        margin-bottom: 40px;
        letter-spacing: 1.5px;
    }

    .cases-masonry {
        gap: 12px;
    }

    .cases-column {
        gap: 10px;
    }

    .faq-title {
        font-size: 28px;
        margin-bottom: 50px;
        letter-spacing: 2px;
    }

    .faq-container {
        max-width: 100%;
        gap: 15px;
    }

    .faq-question {
        font-size: 16px;
        height: auto;
        min-height: 70px;
        padding: 15px 20px;
        letter-spacing: 1.5px;
        line-height: 1.8;
    }

    .faq-answer {
        font-size: 15px;
        height: auto;
        min-height: 90px;
        padding: 15px 20px;
        letter-spacing: 2px;
        line-height: 1.8;
    }

    .faq-cta-text {
        font-size: 24px;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 24px;
        margin-bottom: 40px;
        letter-spacing: 1.5px;
    }

    .faq-container {
        gap: 12px;
    }

    .faq-question {
        font-size: 14px;
        min-height: 60px;
        padding: 12px 15px;
        letter-spacing: 1.2px;
        line-height: 1.6;
    }

    .faq-answer {
        font-size: 13px;
        min-height: 80px;
        padding: 12px 15px;
        letter-spacing: 1.5px;
        line-height: 1.6;
    }

    .faq-cta-text {
        font-size: 20px;
        letter-spacing: 1.5px;
    }

    .form-header-title {
        font-size: 28px;
        padding: 15px 30px;
        letter-spacing: 2px;
    }

    .form-step-header-custom {
        width: 100%;
    }

    .form-step-title {
        font-size: 18px;
        text-align: center;
        padding: 0 20px;
        letter-spacing: 0.5px;
    }

    .form-container-custom {
        padding: 0 20px;
    }

    .form-field-custom {
        margin-bottom: 25px;
    }

    .form-label-custom {
        font-size: 18px;
        margin-bottom: 10px;
        letter-spacing: 2px;
    }

    .form-input-custom {
        padding: 15px;
        font-size: 16px;
    }

    .form-input-narrow,
    .form-input-wide {
        width: 100%;
        max-width: 100%;
    }

    .form-submit-button {
        padding: 15px 40px;
        font-size: 20px;
        min-width: 250px;
    }

    .form-arrow-section {
        padding: 25px 0;
    }

    .form-arrow-section svg {
        width: 200px;
        height: auto;
    }

    .form-step-content-custom {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }

    .form-step-image-custom {
        width: 100%;
        order: -1;
    }

    .form-step-text-custom {
        font-size: 16px;
        text-align: center;
        line-height: 2.2;
    }

    .form-step-description-custom {
        padding: 0 20px 40px;
    }

    .form-step-description-custom p {
        font-size: 16px;
        line-height: 2.2;
    }

    .form-process-image-custom {
        margin-bottom: 30px;
    }

    .form-process-image-custom img {
        width: 100%;
        height: auto;
        max-width: 600px;
    }
}

@media (max-width: 480px) {
    .form-header-title {
        font-size: 24px;
        padding: 12px 25px;
        letter-spacing: 1.5px;
        margin-bottom: -34px;
    }

    .form-step-title {
        font-size: 16px;
        padding: 0 15px;
        letter-spacing: 0.3px;
    }

    .form-container-custom {
        padding: 34px 0;
    }

    .form-field-custom {
        margin-bottom: 20px;
    }

    .form-label-custom {
        font-size: 16px;
        margin-bottom: 8px;
        letter-spacing: 1.5px;
    }

    .form-input-custom {
        padding: 12px;
        font-size: 14px;
    }

    .form-submit-button {
        padding: 12px 30px;
        font-size: 18px;
        min-width: 200px;
    }

    .form-arrow-section {
        padding: 20px 0;
    }

    .form-arrow-section svg {
        width: 150px;
    }

    .form-step-content-custom {
        gap: 20px;
        padding: 34px 0;
    }

    .form-step-text-custom {
        font-size: 14px;
        line-height: 2;
    }

    .form-step-description-custom {
        padding: 34px 0;
    }

    .form-step-description-custom p {
        font-size: 14px;
        line-height: 2;
    }

    .form-process-image-custom {
        margin-bottom: 25px;
    }


    .point-label-container {
        width: 100%;
        min-width: 0;
        height: auto;
        display: flex;
        justify-content: center;
    }

    .point-label-text {
        font-size: 16px;
        letter-spacing: 0.08em;
        padding: 10px 14px;
        white-space: normal;
    }

    .point-text {
        font-size: 18px;
        letter-spacing: 0.04em;
        text-align: center;
        width: 100%;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 480px) {
    .point-banner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 14px 12px;
        margin: 0;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
    }

    .point-label-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .point-label-text {
        font-size: 14px;
        letter-spacing: 0.06em;
        padding: 8px 12px;
        line-height: 1.2;
        white-space: normal;
    }

    .point-text {
        font-size: 16px;
        letter-spacing: 0.03em;
        margin-top: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }
}