@charset "utf-8";

/* =================================================
   共通設定 & デザインシステム (モバイルファースト)
   ================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    color: #333;
    background-color: #f0f2f5;
    line-height: 1.7;
    text-align: justify;
    /* グローバルルール: body { text-align: justify; } */
    overflow-x: hidden;
}

.lp-wrapper {
    width: 100%;
    margin: 0 auto;
    background-color: #fafbfc;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 変数定義 */
:root {
    --primary-color: #0b132b;
    --primary-light: #1c2541;
    --accent-color: #014495;
    --cta-color: #e71d36;
    --cta-hover: #c00c1f;
    --yellow-accent: #ff9f1c;
    --bg-light: #f4f6f9;
    --white: #ffffff;
    --gray-text: #666666;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* セクション設定 */
section {
    padding: 60px 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.sec-bg {
    background-color: var(--bg-light);
    width: 100%;
    max-width: 100%;
}

.sec-bg-dark {
    background-color: var(--primary-color);
    color: var(--white);
    width: 100%;
    max-width: 100%;
}

.sec-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    font-weight: 700;
}

.sec-bg-dark .sec-title {
    color: var(--white);
}

.sec-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

.sec-bg-dark .sec-title::after {
    background-color: var(--yellow-accent);
}

.sec-lead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--gray-text);
    font-size: 1rem;
}

.sec-bg-dark .sec-lead {
    color: #cbd5e1;
}

/* =================================================
   ヘッダー (常時右上無料相談ボタン)
   ================================================= */
.lp-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 32px;
    width: auto;
}

/* スマホ用ヘッダーCTAボタン */
.header-cta {
    background-color: var(--cta-color);
    color: var(--white) !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 2px 5px rgba(231, 29, 54, 0.3);
}

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

/* =================================================
   ヒーローセクション
   ================================================= */
.hero-container {
    position: relative;
    padding: 60px 20px;
    border-radius: var(--border-radius);
    color: #f8fafc;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    background-color: var(--accent-color);
    color: var(--white);
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-main-title {
    font-size: 2.1rem;
    line-height: 1.35;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-sub-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 25px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin: 0 auto 30px;
    line-height: 1.7;
    max-width: 680px;
    background: rgba(15, 23, 42, 0.65);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-align: justify;
}

.hero-desc strong {
    color: #f59e0b;
    font-weight: 700;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 320px;
    margin: 0 auto 30px;
}

/* ボタン基本クラス */
.btn-main {
    background-color: var(--cta-color);
    color: var(--white);
    text-align: center;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(231, 29, 54, 0.4);
    transition: var(--transition);
    display: block;
    width: 100%;
    border: none;
    cursor: pointer;
}

.btn-main:hover {
    background-color: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(231, 29, 54, 0.5);
}

.btn-sub {
    background-color: var(--white);
    color: var(--accent-color);
    text-align: center;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid var(--accent-color);
    transition: var(--transition);
    display: block;
    width: 100%;
}

.btn-sub:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.hero-container .btn-sub {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-container .btn-sub:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

/* 55 Years Badge */
.years-badge-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 10px auto 0;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.years-num {
    font-size: 2.2rem;
    font-weight: 700;
    color: #f59e0b;
    line-height: 1;
}

.years-text {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.4;
    color: #cbd5e1;
    text-align: left;
}

/* =================================================
   悩みセクション
   ================================================= */
.trouble-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.trouble-card {
    background-color: var(--white);
    border-left: 5px solid var(--cta-color);
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.trouble-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    background-color: #f7fafc;
}

.trouble-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trouble-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.trouble-keyword {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cta-color);
    display: inline-block;
}

.trouble-desc-text {
    font-size: 1.05rem;
    color: #2d3748;
    font-weight: 500;
    line-height: 1.5;
}

/* =================================================
   解決セクション (OUR SOLUTION)
   ================================================= */
.sol-highlight {
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 35px;
    text-align: center;
}

.sol-highlight h3 {
    font-size: 1.4rem;
    color: #b45309;
    margin-bottom: 10px;
    font-weight: 700;
}

.sol-highlight p {
    font-size: 0.95rem;
    color: #451a03;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.solution-card {
    background-color: var(--white);
    padding: 30px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--accent-color);
    display: flex;
    flex-direction: column;
}

.sol-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.sol-num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0;
    display: block;
}

.sol-icon-wrap {
    width: 44px;
    height: 44px;
    background-color: rgba(1, 68, 149, 0.08);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sol-svg-icon {
    width: 22px;
    height: 22px;
}

.solution-card h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.solution-card p {
    font-size: 0.95rem;
    color: var(--gray-text);
    line-height: 1.6;
}

/* =================================================
   自社実証事例
   ================================================= */
.cases-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.case-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.case-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    /* グローバルルール: 実物大比率 */
    overflow: hidden;
}

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

.case-body {
    padding: 25px;
}

.case-badge {
    background-color: var(--accent-color);
    color: var(--white);
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    border-radius: 2px;
}

.case-body h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.case-info-block {
    margin-bottom: 20px;
}

.case-info-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 3px;
}

.case-info-text {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 15px;
}

.case-stats {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item.highlight {
    grid-column: span 2;
    background-color: #fff5f5;
    border: 1.5px solid #feb2b2;
    border-radius: 6px;
    padding: 8px 10px;
    box-shadow: 0 2px 6px rgba(231, 29, 54, 0.08);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-text);
    margin-bottom: 2px;
    font-weight: 500;
}

.stat-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-val.blue {
    color: var(--accent-color);
}

.stat-val.red-large {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--cta-color);
    line-height: 1;
    margin-top: 4px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
}

.stat-unit {
    font-size: 0.95rem;
    font-weight: 700;
    margin-left: 2px;
}

.case-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-text);
    margin-top: 25px;
}

/* =================================================
   提供システム例
   ================================================= */
.systems-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.system-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.sys-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: block;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background-color: #f7fafc;
}

.sys-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.system-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.system-card p {
    font-size: 0.9rem;
    color: var(--gray-text);
}

/* =================================================
   導入プロセス (縦ラインタイムライン)
   ================================================= */
.process-timeline {
    position: relative;
    padding-left: 30px;
    margin-left: 10px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 4px;
    width: 2px;
    background-color: #cbd5e1;
}

.process-step {
    position: relative;
    margin-bottom: 35px;
}

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

.process-step-num {
    position: absolute;
    left: -36px;
    top: 0;
    width: 26px;
    height: 26px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--accent-color);
}

.process-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.process-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-step-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.process-step-desc {
    font-size: 0.9rem;
    color: var(--gray-text);
}

/* =================================================
   お問い合わせ (CONTACT)
   ================================================= */
.contact-wrap {
    background-color: var(--primary-light);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
}

.contact-wrap h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-wrap p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.contact-hours {
    font-size: 0.8rem !important;
    color: var(--yellow-accent) !important;
    margin-top: 15px;
    margin-bottom: 0 !important;
}

/* =================================================
   フッター
   ================================================= */
.lp-footer {
    background-color: var(--primary-color);
    color: #a0aec0;
    text-align: center;
    padding: 40px 20px;
    font-size: 0.8rem;
    border-top: 1px solid #1a202c;
}

.lp-footer p {
    margin-bottom: 10px;
}

.lp-footer p:last-child {
    margin-bottom: 0;
}

.cta-process-margin {
    margin-top: 40px;
}

/* =================================================
   タブレット向けスタイル (601px以上)
   ================================================= */
@media screen and (min-width: 601px) {
    .lp-wrapper {
        width: 80%;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    }

    .lp-footer {
        padding: 45px 6%;
    }

    section {
        padding: 80px 6%;
    }

    .sec-title {
        font-size: 2.2rem;
    }

    .lp-header {
        padding: 15px 6%;
    }

    .header-logo img {
        height: 38px;
    }

    .header-cta {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .hero-container {
        padding: 80px 40px;
        min-height: 600px;
    }

    .hero-main-title {
        font-size: 2.8rem;
    }

    .hero-sub-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .hero-desc {
        font-size: 1rem;
        padding: 25px 30px;
        margin-bottom: 35px;
    }

    .hero-ctas {
        flex-direction: row;
        justify-content: center;
        max-width: none;
        gap: 20px;
    }

    .btn-main,
    .btn-sub {
        width: auto;
        min-width: 250px;
    }

    .trouble-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

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

    .cases-container {
        gap: 60px;
    }

    .case-card {
        display: flex;
    }

    .case-img-wrap {
        width: 45%;
        aspect-ratio: auto;
        min-height: 100%;
    }

    .case-body {
        width: 55%;
        padding: 35px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        padding-left: 45px;
        margin-left: 20px;
    }

    .process-step-num {
        left: -58px;
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .contact-wrap {
        padding: 50px 40px;
        max-width: 800px;
        margin: 0 auto;
    }

    .contact-wrap h3 {
        font-size: 1.8rem;
    }

    .trouble-icon {
        width: 60px;
        height: 60px;
    }

    .trouble-keyword {
        font-size: 1.25rem;
    }

    .trouble-desc-text {
        font-size: 1.1rem;
    }
}


/* =================================================
   PC向けスタイル (1025px以上)
   ================================================= */
@media screen and (min-width: 1025px) {
    .lp-wrapper {
        width: 70%;
        max-width: 1400px;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
    }

    .lp-footer {
        padding: 50px 8%;
    }

    section {
        padding: 100px 8%;
    }

    .lp-header {
        padding: 20px 8%;
    }

    .hero-container {
        padding: 120px 8%;
        min-height: 660px;
    }

    .hero-main-title {
        font-size: 3.3rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .hero-sub-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }

    .hero-desc {
        font-size: 1.05rem;
        max-width: 760px;
        padding: 30px 40px;
        margin-bottom: 40px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .btn-main,
    .btn-sub {
        min-width: 280px;
    }

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

    .systems-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .process-timeline {
        display: block;
        position: relative;
        padding-left: 60px;
        margin-left: 30px;
    }

    .process-timeline::before {
        display: block;
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 4px;
        width: 2px;
        background-color: #cbd5e1;
    }

    .process-step {
        display: flex;
        align-items: center;
        gap: 50px;
        width: 100%;
        text-align: left;
        padding-top: 0;
        border-top: none;
        margin-bottom: 50px;
    }

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

    .process-step::after {
        display: none;
    }

    .process-step-num {
        left: -76px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .process-img-wrap {
        width: 40%;
        max-width: 400px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .process-step-text {
        width: 60%;
    }

    /* ボタン中央揃えのグローバルルール（PC版 画面横中央揃えを基本にする） */
    .cta-center-container {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 40px;
    }

    .cta-center-container .btn-main {
        width: auto;
        min-width: 320px;
        margin: 0 auto;
    }

    .case-stats {
        grid-template-columns: 1fr 1fr 1.2fr;
        align-items: stretch;
    }

    .stat-item.highlight {
        grid-column: span 1;
        padding: 6px 4px;
    }

    .stat-val.red-large {
        font-size: 2.3rem;
    }
}