:root {
    --p: #0B1E3A;
    --s: #2563EB;
    --a: #F97316;
    --g: #f5f7fb;
}

/* =========================================================
   Base
   ========================================================= */

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

body {
    font-family: "Yu Gothic", sans-serif;
    line-height: 1.8;
    color: #333;
}

img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}

.section {
    padding: 80px 0;
}

.gray {
    background: var(--g);
}


/* =========================================================
   Header / Navigation
   ========================================================= */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 30, 58, .9);
    backdrop-filter: blur(10px);
    z-index: 999;
}

.nav {
    max-width: 1200px;
    margin: auto;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu a {
    color: #fff;
    margin-left: 16px;
    text-decoration: none;
}


/* =========================================================
   Hero
   ========================================================= */

.hero {
    display: flex;
    min-height: 100vh;
    color: #fff;
    background:
        linear-gradient(
            rgba(11, 30, 58, .35),
            rgba(37, 99, 235, .25)
        ),
        url("../images/hero-bg.jpg") center / cover;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero h1 {
    font-size: 72px;
    line-height: 1.1;
    margin: 20px 0;
}

.hero p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #fff;
    border-radius: 999px;
}

.hero-lead {
    margin: 20px 0 12px;
    font-size: 1.2rem;
    line-height: 1.2;
}

.hero-sub {
    max-width: 600px;
    margin-bottom: 30px;
    font-size: .9rem;
    line-height: 1.2;
    opacity: .95;
}

.hero-card {
    position: relative;
    overflow: hidden;
    background: rgba(11, 30, 58, .8);
    border: 5px solid rgba(11, 30, 58, .8);
    border-radius: 24px;
}

.hero-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.hero-card-text {
    padding: 10px 30px;
}

.company-badge {
    display: inline-block;
    margin-bottom: 5px;
    font-size: .7rem;
}

.company-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
}

.company-sub {
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.2;
}

.company-footer {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.mini-stat {
    padding: 8px 12px;
    background: rgba(255, 255, 255, .15);
    border-radius: 10px;
}


/* =========================================================
   Common Grids / Cards
   ========================================================= */

.grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    margin-bottom: 15px;
    line-height: 1.5;
}

.card-body p {
    text-align: justify;
}

.overlay {
    position: absolute;
    inset: 0;
    padding: 30px;
    color: #fff;
    background: linear-gradient(
        to top,
        rgba(11, 30, 58, .95),
        transparent
    );
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--a);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
}

.problem-cta {
    margin-top: 24px;
    text-align: center;
}


/* =========================================================
   Trust
   ========================================================= */

.trust-section {
    padding: 120px 0;
    background: #081224;
    color: #fff;
}

.trust-header {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.trust-label {
    display: inline-block;
    margin-bottom: 20px;
    color: #F97316;
    font-weight: 700;
    letter-spacing: 3px;
}

.trust-header h2 {
    margin-bottom: 24px;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.3;
}

.trust-header p {
    color: rgba(255, 255, 255, .8);
    line-height: 2;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trust-visual {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 28px;
}

.image-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a, #1e40af);
}

.image-placeholder img {
    height: 60%;
}

.trust-overlay {
    position: absolute;
    left: 40px;
    bottom: 40px;
    z-index: 10;
}

.trust-years {
    margin-bottom: 20px;
}

.trust-years .number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: #F97316;
}

.trust-years .text {
    letter-spacing: 4px;
}

.trust-overlay h3 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.trust-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trust-item {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    transition: .3s;
}

.trust-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .08);
}

.trust-no {
    min-width: 70px;
    font-size: 2.4rem;
    font-weight: 900;
    color: #F97316;
}

.trust-item h4 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.trust-item p {
    color: rgba(255, 255, 255, .8);
    line-height: 1.9;
}


/* =========================================================
   Product / Before-After / Charts
   ========================================================= */

.product {
    padding: 50px;
    background: linear-gradient(135deg, var(--p), var(--s));
    color: #fff;
    border-radius: 20px;
    text-align: center;
}

.before,
.after {
    margin-top: 12px;
    padding: 16px;
    border-radius: 12px;
    text-align: justify;
}

.before {
    background: #f8fafc;
}

.after {
    background: #eff6ff;
}

.chart-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 10px 0;
}

.label {
    width: 60px;
}

.bar {
    flex: 1;
    height: 12px;
    background: #e5e7eb;
    border-radius: 20px;
}

.bar > div {
    height: 100%;
    background: #2563EB;
    border-radius: 20px;
}

.badge {
    margin-top: 12px;
    padding: 12px;
    background: #eff6ff;
    color: #2563EB;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
}

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

.stat {
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    text-align: center;
}


/* =========================================================
   Roadmap
   ========================================================= */

.value-roadmap {
    padding: 120px 0;
    background: #f8fafc;
}

.roadmap-header {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.roadmap-label {
    display: inline-block;
    margin-bottom: 20px;
    color: #2563EB;
    font-weight: 700;
    letter-spacing: 3px;
}

.roadmap-header h2 {
    margin-bottom: 25px;
    color: #0B1E3A;
    font-size: 3rem;
    font-weight: 900;
}

.roadmap-header p {
    color: #64748B;
    line-height: 2;
}

.roadmap {
    position: relative;
    max-width: 1100px;
    margin: auto;
}

.roadmap::before {
    content: "";
    position: absolute;
    left: 69px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.roadmap-progress {
    position: absolute;
    left: 69px;
    top: 0;
    width: 3px;
    height: 0;
    background: rgba(11, 30, 58, .1);
}

.roadmap-step {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 50px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(60px);
    transition: all .8s ease;
}

.roadmap-step.show {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 140px;
    background: #fff;
    border: 3px solid #2563EB;
    border-radius: 50%;
    color: #2563EB;
    font-size: 42px;
    font-weight: 900;
    transition: .6s;
}

.roadmap-step.show .step-number {
    background: #2563EB;
    color: #fff;
}

.ai {
    border-color: #F97316;
    color: #F97316;
}

.roadmap-step.show .ai {
    background: #F97316;
    color: #fff;
}

.step-content h3 {
    margin-bottom: 15px;
    color: #0B1E3A;
    font-size: 2.4rem;
    font-weight: 900;
}

.step-content h4 {
    margin-bottom: 25px;
    color: #2563EB;
    font-size: 1.2rem;
}

.step-content p {
    max-width: 700px;
    color: #475569;
    line-height: 1.5;
}

.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.step-tags span {
    padding: 10px 18px;
    background: #EFF6FF;
    color: #2563EB;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
}

.roadmap-goal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

.roadmap-goal.show {
    opacity: 1;
    transform: none;
}

.goal-circle {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 380px;
    height: 380px;
    background: radial-gradient(
        circle at center,
        #ffffff,
        #f8fafc
    );
    border: 8px solid #2563EB;
    border-top-color: #F97316;
    border-radius: 50%;
    box-shadow:
        0 20px 60px rgba(37, 99, 235, .15),
        0 0 60px rgba(37, 99, 235, .10);
    opacity: 0;
    transform: scale(.8);
}

.goal-circle::before {
    content: "";
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(37, 99, 235, .25);
    border-radius: 50%;
}

.goal-en {
    color: #64748b;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 4px;
}

.goal-jp {
    color: #0B1E3A;
    font-size: 2rem;
    font-weight: 900;
}

.goal-sub {
    color: #64748b;
    font-size: .95rem;
}

.roadmap-goal.show .goal-circle {
    opacity: 1;
    transform: scale(1);
}


/* =========================================================
   Results
   ========================================================= */

.results-header {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.results-header h2 {
    margin-bottom: 25px;
    color: #0B1E3A;
    font-size: 3rem;
    font-weight: 900;
}

.results-header p {
    color: #64748B;
    line-height: 2;
}

.result-impact {
    margin: 16px 0 24px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fbff, #ffffff);
    border: 1px solid #dbeafe;
    border-radius: 20px;
    text-align: center;
}

.impact-number {
    margin-bottom: -8px;
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}

.impact-text {
    color: #0B1E3A;
    font-size: 1.1rem;
    font-weight: 700;
}


/* =========================================================
   Company
   ========================================================= */

.company-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.company-header {
    max-width: 900px;
    margin: 0 auto 70px;
    text-align: center;
}

.company-header h2 {
    margin: 20px 0;
    color: #0B1E3A;
    font-size: 3rem;
    font-weight: 900;
}

.company-header p {
    color: #64748b;
    line-height: 2;
}

.company-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 70px;
}

.highlight-card {
    padding: 35px 20px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .06);
    text-align: center;
    transition: .3s ease;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .10);
}

.highlight-number {
    color: #2563EB;
    font-size: 3rem;
    font-weight: 900;
}

.highlight-label {
    margin-top: 10px;
    color: #64748b;
}

.company-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.company-profile {
    padding: 40px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .06);
}

.company-profile h3 {
    margin-bottom: 30px;
}

.profile-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid #edf2f7;
}

.profile-row span {
    color: #64748b;
}

.profile-row strong {
    color: #0B1E3A;
    line-height: 1.8;
}

.message-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 45px;
    background: linear-gradient(135deg, #0B1E3A, #2563EB);
    color: #fff;
    border-radius: 24px;
}

.message-label {
    color: #bfdbfe;
    font-size: .85rem;
    letter-spacing: 4px;
}

.message-box h3 {
    margin: 20px 0;
    font-size: 2rem;
}

.message-box p {
    margin-bottom: 16px;
    line-height: 2;
    text-align: justify;
}

.message-sign {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.company-trust {
    margin-top: 70px;
    text-align: center;
}

.company-trust h3 {
    margin-bottom: 24px;
    color: #0B1E3A;
}

.trust-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.trust-tags span {
    padding: 12px 22px;
    background: #eff6ff;
    color: #2563EB;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    font-weight: 700;
    transition: .3s;
}

.trust-tags span:hover {
    background: #2563EB;
    color: #fff;
}

.trust-tags a {
    text-decoration: none;
}


/* =========================================================
   Book
   ========================================================= */

.book-section {
    margin-top: 80px;
}

.book-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 50px;
    align-items: center;
    padding: 40px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .06);
    transition: .3s ease;
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .10);
}

.book-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 360px;
}

.book-image img {
    height: 100%;
    object-fit: contain;
}

.book-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.book-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #2563EB;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.book-content h3 {
    margin-bottom: 12px;
    color: #0B1E3A;
}

.book-content h4 {
    margin-bottom: 20px;
    color: #0B1E3A;
    font-size: 1.6rem;
    line-height: 1.6;
}

.book-content p {
    margin-bottom: 12px;
    color: #64748b;
    line-height: 2;
}

.book-author {
    margin-top: 20px;
    color: #2563EB;
    font-weight: 700;
}


/* =========================================================
   Access / Map
   ========================================================= */

.access-section {
    margin-top: 80px;
    text-align: center;
}

.access-section h3 {
    margin-bottom: 15px;
}

.access-address {
    margin-top: 12px;
    color: #64748b;
    line-height: 1.8;
}

.company-map {
    width: 100%;
    height: 480px;
    margin-top: 30px;
}

.company-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
}


/* =========================================================
   External Banner
   ========================================================= */

.yasanago-banner {
    margin-top: 50px;
    text-align: center;
}

.yasanago-banner img {
    width: 100%;
    max-width: 400px;
    height: auto;
    transition: .3s;
}

.yasanago-banner img:hover {
    transform: translateY(-3px);
}


/* =========================================================
   Solution
   ========================================================= */

.section-label {
    margin-bottom: 20px;
    color: #2563EB;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: 4px;
}

.solution-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 999px;
    font-size: .75rem;
    letter-spacing: 2px;
}

.solution-product-name {
    margin: 10px 0 20px;
    color: #fff;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .03em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .25);
}

.solution-catch {
    margin-bottom: 25px;
    color: #dbeafe;
    font-size: 1.3rem;
    font-weight: 700;
}

.solution-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.solution-point {
    padding: 20px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 16px;
    text-align: left;
}

.solution-point h4 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.1rem;
}

.solution-point p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.8;
}


/* =========================================================
   CTA / Industry
   ========================================================= */

.cta {
    padding: 50px;
    background: linear-gradient(135deg, var(--p), var(--s));
    color: #fff;
    text-align: center;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 40px;
}

.industry-tags span {
    padding: 5px 24px;
    background: #eff6ff;
    color: #2563EB;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    font-weight: 700;
    transition: .3s;
}

.industry-tags span:hover {
    transform: translateY(-2px);
    background: #2563EB;
    color: #fff;
}

.industry-message {
    margin-top: 40px;
    margin-bottom: 100px;
    color: #0B1E3A;
    font-size: 1.1rem;
    text-align: center;
}


/* =========================================================
   Comfort Message
   ========================================================= */

.comfort-message {
    padding: 80px 20px;
    background: #fff;
}

.comfort-message-inner {
    max-width: 900px;
    margin: 0 auto;
}

.comfort-message h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}

.comfort-message h3 {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.5rem;
    font-weight: 600;
}

.comfort-message p {
    margin-bottom: 10px;
    color: #444;
    font-size: 1rem;
    line-height: 2;
}

.comfort-message-start {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e5e5e5;
}

.comfort-message-end {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
    color: #000;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 2.2;
    text-align: center;
}


/* =========================================================
   Fixed UI
   ========================================================= */

.phone {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 14px 18px;
    background: var(--a);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
}


/* =========================================================
   Footer
   ========================================================= */

footer {
    padding: 20px;
    background: #081224;
    color: #fff;
    text-align: center;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 768px) {

    /* Common */

    .grid4,
    .cases,
    .stats {
        grid-template-columns: 1fr;
    }

    .menu {
        display: none;
    }


    /* Hero */

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.25;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-sub {
        font-size: .9rem;
        line-height: 1.8;
    }

    .hero-card {
        max-width: 500px;
        margin: auto;
    }

    .hero-card img {
        height: 240px;
    }


    /* Trust */

    .trust-section {
        padding: 80px 0;
    }

    .trust-header h2 {
        font-size: 2rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trust-visual {
        min-height: 420px;
    }

    .trust-years .number {
        font-size: 2rem;
    }

    .trust-overlay {
        left: 25px;
        bottom: 25px;
    }

    .trust-overlay h3 {
        font-size: 1.4rem;
    }

    .trust-item {
        padding: 24px;
    }

    .trust-no {
        min-width: 50px;
        font-size: 2rem;
    }


    /* Before / After */

    .before p,
    .after p {
        font-size: .85rem;
        line-height: 1.85;
    }


    /* Roadmap */

    .roadmap-header h2,
    .results-header h2 {
        font-size: 2rem;
    }

    .roadmap::before,
    .roadmap-progress {
        left: 24px;
    }

    .roadmap-step {
        grid-template-columns: 50px 1fr;
        gap: 20px;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .step-content h3 {
        font-size: 1.5rem;
    }

    .goal-text span {
        font-size: 1.4rem;
    }


    /* Company */

    .company-header h2 {
        font-size: 2rem;
        line-height: 1.4;
    }

    .company-highlights {
        grid-template-columns: 1fr 1fr;
    }

    .highlight-number {
        font-size: 2.2rem;
    }

    .company-grid {
        grid-template-columns: 1fr;
    }

    .company-profile {
        padding: 24px;
    }

    .profile-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .message-box {
        padding: 30px;
    }


    /* Book */

    .book-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 28px;
        text-align: center;
    }

    .book-image img {
        max-width: 220px;
    }

    .book-content h4 {
        font-size: 1.3rem;
    }


    /* Solution */

    .solution-product-name {
        font-size: 2.6rem;
    }

    .solution-catch {
        font-size: 1rem;
    }

    .solution-points {
        grid-template-columns: 1fr;
    }


    /* Industry */

    .industry-tags {
        gap: 10px;
    }

    .industry-tags span {
        padding: 10px 16px;
        font-size: .9rem;
    }
}
