﻿

@charset "UTF-8";

/* -----------------------------------------------------------------
   1. Variables (Root Settings)
----------------------------------------------------------------- */
:root {
    /* --- Brand Colors --- */
    --primary-color: #1EE3CF;       /* Teal from logo */
    --primary-darker: #18bda8;      /* Darker teal for hover */
    --contact-button-color: #1FDFBC; /* Specific color for CTA */
    --secondary-color: #FFFFFF;     /* White background */
    
    /* --- Neutral Colors --- */
    --light-grey: #f4f7f9;          /* Light background */
    --medium-grey: #a0a0a0;         /* Subtitles, borders */
    --dark-grey: #4a4a4a;           /* Dark text */
    --text-color: #000000;          /* Main body text */
    --system-card-dark-bg: #222222; /* Dark card background */

    /* --- Gradients --- */
    --gradient-color-1: #1FDFBC;
    --gradient-color-2: #152362;

    /* --- Typography --- */
    /* Hiragino Pr6N優先、Windows等はNoto Sans JPへフォールバック */
    --heading-font: "Hiragino Kaku Gothic Pr6N", "Hiragino Sans", "Noto Sans JP", sans-serif;
    --body-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --news-font-family: "Hiragino Kaku Gothic Pr6N", "Hiragino Sans", "Noto Sans JP", 'Helvetica Neue', sans-serif;

    /* --- Layout & Metrics --- */
    --header-height: 75px;
    
    /* --- Borders & Shadows --- */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-pill: 50px;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* -----------------------------------------------------------------
   2. Reset & Base Styles
----------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--body-font);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--secondary-color);
    font-size: 1rem;
    overflow-x: hidden;
}

/* Utility states */
body.no-scroll { overflow: hidden; }
body.preload * { transition: none !important; }

/* Links */
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.25s ease-out;
}
a:hover { color: var(--primary-darker); }

/* Media Elements */
img, picture, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* -----------------------------------------------------------------
   3. Typography
----------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 0.75em;
    line-height: 1.2;
    color: var(--text-color);
}

/* Responsive Font Sizes */
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.25rem); }

strong { font-weight: 700; }

/* -----------------------------------------------------------------
   4. Utilities & Accessibility
----------------------------------------------------------------- */
.c-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Visually Hidden */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* Responsive display helpers */
.only-pc { display: block; }
.only-sp { display: none; }

/* Helper: Background Light */
.bg-light { background-color: var(--light-grey); }

/* -----------------------------------------------------------------
   5. Common Components
----------------------------------------------------------------- */

/* === Buttons === */
.c-button,
.contact-cta-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius-pill);
    font-family: var(--heading-font);
    font-weight: 700;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.c-button:hover,
.contact-cta-btn:hover {
    background-color: var(--primary-darker);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.c-button:focus-visible,
.contact-cta-btn:focus-visible {
    color: #ffffff;
}

.c-button_label,
.contact-cta-btn_label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

/* Shared contact CTA button tone (higher contrast with white text) */
.contact-cta-btn {
    background-color: #0d6973;
    border-color: #0d6973;
    padding: 14px 40px;
    font-size: 1rem;
    box-shadow: 0 8px 18px rgba(13, 105, 115, 0.32);
}

.contact-cta-btn:hover,
.contact-cta-btn:focus-visible {
    background-color: #0d6973;
    border-color: #1fd8d4;
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(31, 216, 212, 0.4), 0 0 22px rgba(31, 216, 212, 0.6), 0 10px 24px rgba(13, 105, 115, 0.45);
}

.btn-icon {
    width: 1.1em;
    height: 1.1em;
    stroke-width: 2;
    vertical-align: middle;
}

/* Button Shine Animation */
.btn-animated::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    opacity: 0;
    z-index: 1;
    animation: buttonShinePeriodic 3s linear infinite;
}

@keyframes buttonShinePeriodic {
    0% { left: -150%; opacity: 0; }
    8.33% { opacity: 1; }
    16.66% { left: 150%; opacity: 0; }
    100% { left: 150%; opacity: 0; }
}

/* Common Arrow Icon (Used in various buttons) */
.arrow-icon {
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.2s ease-out;
}

/* === Titles === */
.tp-title {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tp-title_en {
    font-size: clamp(1.4rem, 2.8vw, 1.7rem);
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0;
    order: 2;
}
.tp-title_jp {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    order: 1;
}

/* Gradient Titles */
.tp-title_jp {
    background-image: linear-gradient(90deg, var(--gradient-color-1), var(--gradient-color-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Section Title Dividers */
.contact-divider, .business-title-divider, .news-title-divider {
    border: 0;
    width: 4ch;
    margin: 25px auto 0;
}
.contact-divider { height: 2px; background-color: #000000; }
.business-title-divider { height: 2px; background-color: #FFFFFF; }
.news-title-divider { height: 1px; background-color: #555; width: 50px; margin: 20px auto 40px; }
.tp-title .contact-divider,
.tp-title .business-title-divider,
.tp-title .news-title-divider {
    order: 3;
    margin-bottom: 0;
}
/* -----------------------------------------------------------------
   8. Layout: Hero Section (TP MV)
----------------------------------------------------------------- */
.tp-mv {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex; justify-content: flex-start; align-items: center;
    text-align: left;
    overflow: hidden;
    color: var(--secondary-color);
}
.tp-mv_fixed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.tp-mv_video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 1; }
.tp-mv_bgVideo {
    position: absolute; top: 50%; left: 50%;
    min-width: 100%; min-height: 100%; width: auto; height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover; pointer-events: none;
}
.tp-mv_black-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.65); z-index: 3;
}
.tp-mv_content {
    position: relative; z-index: 4;
    padding: 20px 30px; max-width: 1240px; width: 100%;
    margin: 0 auto;
}
.tp-mv01_maincopy {
    line-height: 1.15;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
}
.tp-mv01_maincopy span {
    display: block;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    letter-spacing: -0.01em;
}

.tp-mv_subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #ffffff;
    line-height: 1.8; font-weight: 400;
}
.tp-mv_cv-description {
    position: absolute; bottom: 40px; right: 40px; 
    z-index: 5; max-width: 320px; 
    font-size: 0.875rem; 
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7; text-align: left;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
@media (max-width: 767px) {
    .tp-mv_cv-description { display: none; }
}

/* Background Animation Blob */
.blob-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 2; }
.blob {
    position: absolute; border-radius: 50%;
    background: var(--primary-color); opacity: 0.15; filter: blur(60px);
    animation: move 25s infinite alternate ease-in-out; will-change: transform;
}
.blob-1 { width: 400px; height: 400px; top: 10%; left: 15%; animation-duration: 30s; }
.blob-2 { width: 300px; height: 300px; top: 60%; left: 30%; background: var(--light-grey); opacity: 0.1; animation-duration: 22s; animation-delay: -5s;}
.blob-3 { width: 250px; height: 250px; top: 30%; left: 70%; background: var(--primary-darker); animation-duration: 28s; animation-delay: -10s;}
.blob-4 { width: 350px; height: 350px; top: 70%; left: 80%; animation-duration: 24s; animation-delay: -15s;}
@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -60px) scale(1.2); }
    100% { transform: translate(-30px, 50px) scale(0.9); }
}

/* Scroll Down Button */
.scroll-down-btn {
    position: absolute; bottom: 40px;
    left: 0; right: 0; margin: 0 auto; width: 100px; /* Centering */
    z-index: 5;
    text-decoration: none;
    font-family: var(--body-font);
    display: flex; flex-direction: column; align-items: center;
    color: #cccccc;
    transition: color 0.3s ease;
}
.scroll-down-btn:hover { color: #ffffff; }
.scroll-down-arrows { display: inline-block; animation: bounce-arrows 2s infinite; }
.scroll-down-arrows i.fas.fa-angle-double-down { font-size: 1.8em; line-height: 1; }
.scroll-down-text { margin-top: 8px; font-size: 0.9rem; letter-spacing: 0.5px; text-transform: none; }
@keyframes bounce-arrows {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* -----------------------------------------------------------------
   9. Layout: General Sections (Home)
----------------------------------------------------------------- */
section { padding: clamp(70px, 12vh, 120px) 0; position: relative; }

/* --- Company Overview --- */
.tp-company-overview { padding: clamp(70px, 12vh, 100px) 0; text-align: center; }
.tp-company-overview .tp-title_en { margin-bottom: 24px; }
.company-content-wrapper { max-width: 800px; margin-left: auto; margin-right: auto; }
.company-description {
    font-size: clamp(0.95rem, 2vw, 1.05rem); line-height: 1.9;
    margin-bottom: 50px; margin-top: 28px;
    text-align: center;
}
.company-description p br { margin-bottom: 1em; display: block; content: ""; }

.company-more-button {
    display: inline-block; padding: 8px 30px;
    font-weight: 700; font-size: 0.95rem; text-decoration: none;
    border: 2px solid var(--text-color); color: var(--text-color);
    border-radius: var(--border-radius-pill);
    transition: all 0.3s ease;
    letter-spacing: 0.5px; text-transform: lowercase;
}
.company-more-button:hover {
    background-color: var(--text-color); color: var(--secondary-color);
    transform: translateY(-2px);
}
.company-more-button:hover .arrow-icon { transform: translateX(4px); }

/* --- Business --- */
#business { background-color: var(--light-grey); color: var(--text-color); }
#business .business-title-divider { background-color: #000; }
#business .tp-title_jp,
.home-news-mini__title {
    background-image: linear-gradient(90deg, var(--gradient-color-1), var(--gradient-color-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
#business .tp-title_en { color: #000; }

.tp-business_content { max-width: 900px; margin: 30px auto 0; text-align: center; }
.tp-business_headline {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 20px; line-height: 1.4; color: var(--text-color);
}
.tp-business_subtext {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8; margin-bottom: 50px; color: #000;
}

.business-cards-container {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
    margin-top: 40px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.business-card {
    background: #fff;
    border: 1px solid #dfe5ec;
    border-radius: var(--border-radius-lg);
    padding: 40px 30px; text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: block; text-decoration: none; color: inherit; height: 100%;
}
.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    background: #fff;
}
.business-card:hover .c-button-business-card .arrow-icon { transform: translateX(4px); }

.business-card_img {
    width: 100%; height: 200px;
    background-color: #e7edf3; margin-bottom: 25px;
    border-radius: 8px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.business-card_img img {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.92;
    transition: opacity 0.3s ease;
}
.business-card:hover .business-card_img img { opacity: 1; }

.business-card_title { font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; color: var(--text-color); }
.business-card_desc {
    font-size: 1rem; color: var(--dark-grey);
    margin-bottom: 30px; line-height: 1.5;
}
.c-button-business-card {
    display: inline-block; padding: 10px 30px;
    border: 1px solid var(--text-color); color: var(--text-color); border-radius: 50px;
    font-size: 0.9rem; font-weight: 700; transition: all 0.3s ease;
}
.c-button-business-card:hover { background-color: var(--text-color); color: #fff; }

@media (max-width: 768px) {
    .business-cards-container { grid-template-columns: 1fr; max-width: 450px; }
}
/* --- Feature --- */
.tp-feature { padding: clamp(70px, 12vh, 100px) 0; }
.feature-content-wrapper {
    max-width: 1000px; margin: 30px auto 0;
    display: flex; gap: 30px; justify-content: space-around; flex-wrap: wrap;
}
.feature-item {
    padding: 35px 30px; text-align: center;
    flex: 1 1 420px; display: flex; flex-direction: column; align-items: center;
}
.feature-item-icon {
    font-size: 2.8rem; color: var(--primary-color);
    margin-bottom: 25px; width: 75px; height: 75px;
    background-color: var(--secondary-color);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm); border: 2px solid var(--primary-color);
}
.feature-item-title {
    font-size: clamp(1.2rem, 2.3vw, 1.4rem); color: var(--text-color);
    margin-bottom: 18px; line-height: 1.45;
}
.feature-item-text {
    font-size: clamp(0.9rem, 1.8vw, 0.95rem); color: var(--dark-grey);
    line-height: 1.8; text-align: left;
}
.feature-item-text br { margin-bottom: 0.3em; display: block; content: ""; }

/* --- News (Home List) --- */
#news { background-color: #000; color: #fff; }
#news .tp-title_en { color: #fff; }

.tp-news_list {
    max-width: 1000px; margin: 0 auto clamp(30px, 5vw, 50px);
    border-top: 1px solid #444;
}
.tp-news_listItem {
    display: grid; grid-template-columns: 1fr; gap: 10px;
    align-items: start; padding: 25px 15px;
    border-bottom: 1px solid #555; color: #fff;
    transition: opacity 0.3s ease; text-decoration: none;
}
.tp-news_listItem:hover { opacity: 0.8; text-decoration: underline; }

.tp-news_listItemMeta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 15px;
    font-size: 13px; color: #ccc;
}
.tp-news_listItemTitle {
    font-size: clamp(15px, 2.2vw, 16px); font-weight: 600;
    line-height: 1.7; color: #fff; margin: 0;
}

/* News List Icons (CSS Drawing) */
.dli-clock, .dli-folder {
    display: inline-block; vertical-align: middle; color: #ccc;
    line-height: 1; position: relative; box-sizing: content-box; margin-right: 5px;
}
.dli-clock { width: 1em; height: 1em; border: 0.1em solid currentColor; border-radius: 50%; }
.dli-clock::before, .dli-clock::after {
    content: '';
    position: absolute; left: 50%; bottom: 50%;
    background: currentColor; border-radius: 0.1em; transform: translate(-0.05em, 0.05em);
}
.dli-clock::before { width: 0.1em; height: 0.4em; }
.dli-clock::after { width: 0.35em; height: 0.1em; }

.dli-folder { width: 1.25em; height: 0.75em; border: 0.1em solid currentColor; border-radius: 0 0.1em 0.1em 0.1em; background: transparent; }
.dli-folder > span {
    position: absolute; left: -0.1em; bottom: 100%; width: 0.5em; height: 0.15em;
    background: transparent; border: 0.1em solid currentColor; border-right: 0; border-bottom: 0; border-radius: 0.1em 0.1em 0 0;
}
.dli-folder > span::before {
    content: '';
    position: absolute; top: -0.1em; left: calc(100% - 0.1em); width: 0.175em; height: 0;
    border-top: 0.1em solid currentColor; transform: rotate(55deg); transform-origin: left bottom;
}

.tp-news_more { text-align: center; }
.c-button-news {
    display: inline-flex; align-items: center; padding: 8px 20px;
    font-size: clamp(13px, 2vw, 14px); color: #fff;
    border: 1px solid #fff; border-radius: 4px;
    text-decoration: none; transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: lowercase;
}
.c-button-news:hover { background-color: #fff; color: #000; }
.c-button-news:hover .arrow-icon { transform: translateX(4px); }


/* -----------------------------------------------------------------
   10. Layout: Footer
----------------------------------------------------------------- */
.f {
    background: #1F2124;
    color: #f3f7fc;
    position: relative;
    font-size: 0.92rem;
    padding: 0;
}
.f-main {
    padding: clamp(34px, 6vh, 56px) 0 0;
}
.f-main-inner {
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(360px, 1fr);
    column-gap: clamp(30px, 6vw, 90px);
    row-gap: 14px;
    align-items: start;
    text-align: left;
}
.f-main-inner > .f-logo-main,
.f-main-inner > .f-address,
.f-main-inner > .f-copyright-main {
    grid-column: 1;
    justify-self: center;
    text-align: center;
}
.f-logo-main { display: inline-block; margin-bottom: 14px; }
.f-logo-main img { height: 44px; width: auto; opacity: 0.98; }
.f-address {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(243, 247, 252, 0.88);
    margin-bottom: 8px;
}
.f-address br { margin-bottom: 0.3em; display: block; content: ""; }
.f-copyright-main {
    grid-column: 1 / -1 !important;
    justify-self: stretch !important;
    margin-top: clamp(22px, 3.5vh, 30px);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 12px 20px;
    background: #1F2124;
    color: rgba(243, 247, 252, 0.86);
    border-top: 1px solid rgba(243, 247, 252, 0.14);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-align: center;
}
.f-copyright-main small {
    color: inherit;
    font-size: inherit;
}
.f-footer-menu {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: stretch;
    width: 100%;
}
.f-footer-menu_title {
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(243, 247, 252, 0.66);
}
.f-footer-menu_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    column-gap: clamp(18px, 3vw, 30px);
    row-gap: 10px;
}
.f-footer-menu_link {
    color: rgba(243, 247, 252, 0.9);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.2s ease, transform 0.2s ease;
}
.f-footer-menu_link:hover {
    color: var(--primary-color);
    transform: translateX(2px);
}
@media (max-width: 900px) {
    .f-main-inner {
        grid-template-columns: 1fr;
        row-gap: 18px;
        text-align: center;
    }
    .f-main-inner > .f-logo-main,
    .f-main-inner > .f-address,
    .f-main-inner > .f-copyright-main {
        justify-self: center;
    }
    .f-footer-menu {
        grid-column: 1;
        grid-row: auto;
        justify-self: center;
    }
    .f-footer-menu_list {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        text-align: left;
    }
}
@media (max-width: 560px) {
    .f-footer-menu_list {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.f-toTop {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px; background-color: var(--secondary-color);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    cursor: pointer; opacity: 0; visibility: hidden;
    transition: all 0.35s ease; z-index: 990;
    box-shadow: var(--shadow-sm); transform: translateY(20px);
    border: 1px solid var(--text-color);
}
.f-toTop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.f-toTop:hover {
    background-color: var(--light-grey); transform: scale(1.05) translateY(-3px);
    box-shadow: var(--shadow-md);
}
.f-toTop svg { stroke: var(--text-color); transform: rotate(-90deg); width: 18px; stroke-width: 2.5px; }


/* -----------------------------------------------------------------
   11. Pages: Subpage Common
----------------------------------------------------------------- */
.page-title-section {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
    background-color: var(--light-grey); /* Default for non-subpages */
}

/* Black header for all subpages */
body.subpage .page-title-section {
    background: #1F2124;
    color: #fff;
}

body.subpage .page-title-section .tp-title_jp,
body.subpage .page-title-section .tp-title_en,
body.subpage .page-title-section .page-header-desc {
    color: #fff;
}

.page-title-section .page-title-content { text-align: center; }

.page-header-desc { font-size: 1rem; color: var(--dark-grey); margin-top: 15px; line-height: 1.6; }

/* Breadcrumbs - Globally Hidden as per request */
.breadcrumbs {
    display: none !important;
}


/* -----------------------------------------------------------------
   12. Pages: Specific Styles
----------------------------------------------------------------- */

/* --- Company Profile Page --- */
.company-section { padding: clamp(60px, 10vh, 90px) 0; }

.mission-section { background-color: var(--secondary-color); color: var(--text-color); }
.mission-section .tp-title_en { color: var(--text-color); }
.mission-content { max-width: 800px; margin: 0 auto; text-align: center; }
.mission-content p { font-size: clamp(1.2rem, 2.5vw, 1.6rem); line-height: 1.9; font-weight: 700; color: var(--text-color); }

.charter-section { background-color: var(--light-grey); }
.charter-list { max-width: 900px; margin: 0 auto; }
.charter-item { margin-bottom: 40px; }
.charter-item:last-child { margin-bottom: 0; }
.charter-item h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem); padding-bottom: 10px;
    margin-bottom: 15px; border-bottom: 2px solid var(--text-color);
}
.charter-item p { font-size: 1rem; line-height: 1.8; color: var(--dark-grey); }

.profile-section { background-color: var(--secondary-color); padding-bottom: 0; }
.company-info-table { width: 100%; border-collapse: collapse; margin-top: 0; font-size: 0.95rem; border: none; }
.company-info-table th, .company-info-table td {
    padding: 18px 15px; text-align: left; vertical-align: top;
    line-height: 1.7; border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0;
}
.company-info-table th { background-color: var(--secondary-color); font-weight: 700; width: 25%; color: var(--text-color); }
.company-info-table td { color: var(--dark-grey); font-weight: 400; }
.company-info-table td a { color: var(--primary-color); text-decoration: underline; font-weight: normal; }
.company-info-table td a:hover { text-decoration: none; }
.company-info-table td br { margin-bottom: 0.5em; display: block; content: ""; }

@media (max-width: 768px) {
    .company-info-table, .company-info-table tbody, .company-info-table tr, .company-info-table th, .company-info-table td { display: block; width: 100%; }
    .company-info-table tr { margin-bottom: 0; border-bottom: 1px solid #e0e0e0; }
    .company-info-table th { background-color: var(--light-grey); padding: 12px 15px; border: none; }
    .company-info-table td { border: none; padding: 12px 15px; }
}

/* --- Awards Section (Company Page) --- */
.awards-section { background-color: var(--light-grey); }
.swiper-container { width: 100%; padding-bottom: 50px; overflow: hidden; }
.award-card {
    background-color: #fff; border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm); overflow: hidden; height: auto;
    display: flex; flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.award-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.award-img { width: 100%; height: 200px; background-color: #e0e0e0; }
.award-img img { width: 100%; height: 100%; object-fit: cover; }
.award-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.award-date { display: block; font-size: 0.85rem; color: var(--medium-grey); margin-bottom: 10px; font-weight: 700; }
.award-title { font-size: 1.1rem; margin-bottom: 15px; line-height: 1.5; color: var(--text-color); }
.award-organizer { font-size: 0.9rem; color: var(--primary-darker); margin-bottom: 15px; font-weight: 700; }
.award-desc { font-size: 0.9rem; color: var(--dark-grey); line-height: 1.7; margin-top: auto; }
.swiper-button-next, .swiper-button-prev { color: var(--text-color); }
.swiper-pagination-bullet-active { background: var(--primary-color); }

/* --- Access Section (Company Page) --- */
.access-section { background-color: var(--secondary-color); }
.access-content { max-width: 900px; margin: 0 auto; }
.map-container {
    position: relative; padding-bottom: 50%; height: 0; overflow: hidden;
    margin-bottom: 40px; border-radius: var(--border-radius-md); box-shadow: var(--shadow-sm);
}
.map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.access-text { text-align: center; }
.access-text p { font-size: 1.1rem; line-height: 1.8; margin-bottom: 30px; }
.access-list { list-style: none; padding: 0; margin: 0; display: inline-block; text-align: left; }
.access-list li { margin-bottom: 12px; line-height: 1.7; }

/* --- Contact Section --- */
.tp-contact { background-color: var(--secondary-color); }
.contact-intro { text-align: center; max-width: 800px; margin: 0 auto 50px; }
.contact-lead { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; margin-bottom: 20px; line-height: 1.5; }
.contact-intro p { line-height: 1.8; color: var(--dark-grey); }
.contact-intro p br { content: ""; display: block; margin-bottom: 0.5em; }

.contact-form { display: grid; grid-template-columns: 1fr; gap: 25px; max-width: 700px; margin: 0 auto; }
.form-group { display: flex; flex-direction: column; }
.form-group-full { grid-column: 1 / -1; }
.form-group label { font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; color: var(--text-color); }
.form-group label span {
    font-size: 0.8rem; padding: 3px 8px; border-radius: var(--border-radius-sm);
    margin-left: 8px; color: #fff; font-weight: normal; vertical-align: middle;
}
.label-required { background-color: red; color: white; }
.label-optional { background-color: #95a5a6; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%; padding: 12px 15px;
    border: 1px solid #ccc; border-radius: var(--border-radius-md);
    font-size: 1rem; font-family: var(--body-font);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a0a0a0; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(31, 223, 188, 0.25);
}
.contact-form select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708 .708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center;
    background-size: 16px; cursor: pointer;
}
.contact-form textarea { resize: vertical; min-height: 120px; }

.form-checkbox { display: flex; flex-direction: row; align-items: center; gap: 10px; }
.form-checkbox input[type="checkbox"] { flex-shrink: 0; height: 1.3em; width: 1.3em; cursor: pointer; }
.form-checkbox label { margin-bottom: 0; font-weight: normal; font-size: 0.9rem; cursor: pointer; }

.form-submit { text-align: center; margin-top: 20px; }
.c-button-contact {
    padding: 15px 40px; font-size: 1.1rem; font-weight: 700;
    cursor: pointer; border-radius: var(--border-radius-md);
    transition: color 0.4s ease, border-color 0.4s ease;
    background: transparent; color: var(--text-color);
    border: 2px solid var(--text-color);
    position: relative; z-index: 1; overflow: hidden;
}
.c-button-contact::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(90deg, var(--gradient-color-1), var(--gradient-color-2));
    transform: translateX(-101%); transition: transform 0.4s ease-in-out; z-index: -1;
}
.c-button-contact:hover { color: #fff; border-color: transparent; }
.c-button-contact:hover::before { transform: translateX(0); }
.c-button-contact:disabled {
    background: #ccc !important; border-color: #ccc !important;
    color: #888 !important; cursor: not-allowed;
    transform: none; box-shadow: none;
}
.c-button-contact:disabled::before { transform: translateX(-101%); }

#form-status { text-align: center; margin-top: 20px; font-weight: bold; min-height: 1.5em; }
.status-success { color: #27ae60; }
.status-error, .status-warning { color: #e74c3c; }

@media (max-width: 768px) {
    .contact-form { grid-template-columns: 1fr; gap: 20px; }
    .form-group-full { grid-column: 1 / -1; }
}

/* --- News Page (List) --- */
.news-list-section { padding: clamp(60px, 10vh, 90px) 0; }
.news-list-container { max-width: 900px; margin: 0 auto; border-top: 1px solid #e0e0e0; }
.news-list-item a {
    display: block; padding: 25px 15px; border-bottom: 1px solid #e0e0e0;
    text-decoration: none; transition: background-color 0.3s ease;
}
.news-list-item a:hover { background-color: var(--light-grey); }
.news-list-item-meta {
    display: flex; align-items: center; gap: 20px;
    margin-bottom: 10px; font-size: 0.9rem;
}
.news-list-item-date { color: var(--dark-grey); }
.news-list-item-category {
    background-color: var(--medium-grey); color: #fff;
    padding: 3px 10px; border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
}
.news-list-item-title {
    color: var(--text-color); font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 700; line-height: 1.6; margin: 0;
}

/* Keep footer at viewport bottom on short news pages (list + article). */
.news-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.news-page > main {
    flex: 1 0 auto;
}
.news-page > .f {
    margin-top: auto;
}

/* --- DX Page --- */
.dx-title-area {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 70px);
}

.dx-section-title {
    margin-bottom: 0; /* Let hr provide top margin */
    display: inline-block;
}

/* =========================================================
   DX System Development Section(3D技術・数学力)
========================================================= */

/* セクション全体 */
.dx-section {
    position: relative;
}

/* コンテンツブロック */
.dx-content-block {
    display: flex;
    align-items: center;
    gap: 64px;
    max-width: 1100px;
    margin: 0 auto;
}

/* reverse指定(画像右・テキスト左) */
.dx-content-block.reverse {
    flex-direction: row-reverse;
}

/* テキスト領域 */
.dx-text {
    flex: 1;
}

/* 見出し */
.dx-text h3 {
    font-family: var(--heading-font);
    font-size: clamp(1.6rem, 3vw, 1.9rem);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 24px;
    padding-bottom: 12px;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

/* 本文 */
.dx-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--dark-grey);
    margin-bottom: 0;
}

/* 画像領域 */
.dx-image {
    flex: 0 0 460px;
    max-width: 460px;
}

/* 画像スタイル */
.dx-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ===============================
   Responsive(Tablet / Mobile)
================================ */
@media (max-width: 1024px) {
    .dx-content-block {
        gap: 40px;
    }

    .dx-image {
        flex: 0 0 380px;
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .dx-content-block,
    .dx-content-block.reverse {
        flex-direction: column;
        text-align: left;
    }

    .dx-image {
        max-width: 100%;
        flex: none;
    }

    .dx-text h3 {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 16px;
    }
}

/* Product Cards */
.products-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; max-width: 1200px; margin: 0 auto;
}
.product-card {
    background: #fff; padding: 30px; border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; flex-direction: column; align-items: flex-start;
    text-decoration: none; color: inherit; border: 1px solid transparent;
}
.product-card:hover {
    transform: translateY(-5px); box-shadow: var(--shadow-md);
    background-color: #fafafa; border-color: #eee;
}
.product-card_cat {
    background: var(--light-grey); color: var(--dark-grey);
    padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; margin-bottom: 15px;
}
.product-card_title {
    font-size: 1.4rem; margin-bottom: 15px; font-weight: 700;
    line-height: 1.3; color: var(--text-color);
}
.product-card_text {
    font-size: 0.95rem; color: var(--dark-grey); margin-bottom: 25px; flex-grow: 1;
}
.product-card_link-wrap {
    font-weight: 700; color: var(--primary-color);
    display: inline-flex; align-items: center; gap: 5px; margin-top: auto;
}
.product-card_link-wrap i { font-size: 1rem; }

/* Product Vision */
.product-vision-label {
    color: var(--primary-color); letter-spacing: 2px;
    display: block; margin-bottom: 10px; font-weight: 700; text-transform: uppercase;
}
.product-vision-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 30px; line-height: 1.4;
}
.product-vision-icons {
    margin-top: 50px; display: flex; justify-content: center; gap: 30px;
    font-size: 4rem; color: #ccc; align-items: center;
}

  /* =========================================================
   Systems Section - Refined Fullscreen Layout
========================================================= */

/* 1. コンテナ定義 */
.systems-vertical {
    background-color: var(--secondary-color);
    padding: 0; /* Override global section padding to remove blank band before NEWS */
  }
  
  /* 2. 各セクションのフルスクリーン設計 */
  .system-section {
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 64px 0;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  /* セクションごとの背景に緩急をつける(高級感の演出) */
  #systems .tp-title {
    padding-top: 28px;
    margin-bottom: 44px;
  }

  .systems-vertical .system-section:nth-of-type(even) {
    background-color: var(--light-grey);
  }
  
  .system-inner {
    max-width: 1280px; /* Increased max-width */
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
  }
  
  /* 3. グリッドレイアウト(PC) */
  .system-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* テキストをやや広く */
    gap: 80px;
    align-items: center;
  }
  
  /* 画像とテキストを交互に配置する(PCのみ) */
  .system-grid.reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .system-grid.reverse .system-text-content {
    order: 2;
  }
  .system-grid.reverse .system-visual {
    order: 1;
  }
  
  /* 4. タイポグラフィと階層 */
  
  .system-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Significantly larger and more impactful */
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    padding-bottom: 1.25rem;
    position: relative;
    display: inline-block;
    background-image: linear-gradient(90deg, var(--gradient-color-1), var(--gradient-color-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .system-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
  }
  
  .system-lead {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem); /* Slightly larger */
    font-weight: 500;
    color: var(--dark-grey);
    margin-bottom: 2.5rem;
    line-height: 1.6;
  }
  
  .system-body {
    font-size: 1.25rem; /* Increased size as requested */
    line-height: 1.9;
    color: var(--text-color);
    opacity: 0.85;
    max-width: 65ch; /* Improve readability for longer lines */
  }
  
  .system-body p + p {
    margin-top: 1.8rem; /* Slightly increase paragraph spacing */
  }
  
  /* 5. ビジュアル(画像)の演出 */
  .image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); /* 浮遊感 */
    background: #fff;
  }
  
  .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
  }
  
  /* ホバー時にわずかに動く程度の装飾 */
  .image-wrapper:hover img {
    transform: scale(1.03);
  }
  
  /* 6. レスポンシブ対応(モバイル) */
  @media (max-width: 991px) {
    .system-grid, .system-grid.reverse {
      grid-template-columns: 1fr;
      gap: 40px;
      text-align: left;
    }
    
    .system-text-content, .system-grid.reverse .system-text-content {
      order: 1;
    }
    
    .system-visual, .system-grid.reverse .system-visual {
      order: 2;
    }
  
    .system-section {
      padding: 80px 0;
      height: auto; /* SPでは内容に応じた高さに */
      min-height: 0;
    }
  
    .system-title {
      font-size: 1.75rem;
    }
  
    .system-lead {
      margin-bottom: 1.5rem;
    }

    .system-body {
        font-size: 1.1rem;
    }
  }
  /* =========================================================
   DX System Development – ISOLATED FIX
   (3D技術・高度な数学力 専用)
========================================================= */

/* セクションを限定して衝突を防ぐ */
.dx-section .dx-content-block.dx-system-dev {
    display: flex;
    align-items: center;
    gap: 72px;
    max-width: 1100px;
    margin: 0 auto;
}

/* reverse対応 */
.dx-section .dx-content-block.dx-system-dev.reverse {
    flex-direction: row-reverse;
}

/* テキスト */
.dx-section .dx-system-dev .dx-text {
    flex: 1;
}

/* 見出し(ここが一番壊れていた) */
.dx-section .dx-system-dev .dx-text h3 {
    font-size: clamp(1.7rem, 3vw, 2rem);
    line-height: 1.4;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    white-space: normal; /* ← 重要 */
}

/* 本文 */
.dx-section .dx-system-dev .dx-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--dark-grey);
}

/* 画像 */
.dx-section .dx-system-dev .dx-image {
    flex: 0 0 460px;
}

.dx-section .dx-system-dev .dx-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* -------------------------
   Responsive
------------------------- */
@media (max-width: 768px) {
    .dx-section .dx-content-block.dx-system-dev,
    .dx-section .dx-content-block.dx-system-dev.reverse {
        flex-direction: column;
        gap: 32px;
    }

    .dx-section .dx-system-dev .dx-text h3 {
        border-bottom: none;
        padding-bottom: 0;
    }

    .dx-section .dx-system-dev .dx-image {
        flex: none;
        max-width: 100%;
    }
}

/* --- Supported Components Section --- */
#supported-components {
    padding: clamp(70px, 12vh, 100px) 0;
}

.supported-components-description {
    max-width: 800px;
    margin: 30px auto 0;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
}

.supported-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.supported-category-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e0e0e0;
}

.supported-category-title {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.supported-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 20px;
}

.supported-items-list li {
    font-size: 0.95rem;
    color: var(--dark-grey);
    margin-bottom: 8px;
    break-inside: avoid-column;
}

@media (max-width: 480px) {
    .supported-items-list {
        columns: 1;
    }
}
@media (max-width: 768px) {
    .tp-mv01_maincopy span {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1.2;
    }
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

.hero {
  background: #0f172a;
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.subtitle {
  font-size: 20px;
  margin-top: 10px;
  opacity: 0.8;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background: #f8fafc;
}

.bg-dark {
  background: #0f172a;
  color: white;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.plan-box {
  background: white;
  color: #111;
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  margin: auto;
}

/* Construction Checker: standard plan block tuning */
.checker-plan-section {
  background: #eaf2ff;
}

.checker-plan-wrap .plan-box {
  border: 1px solid #d7e4f7;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(13, 33, 70, 0.08);
}

.checker-plan-list {
  list-style: none;
  padding: 0;
  margin: 18px auto 0;
  max-width: 340px;
  text-align: left;
}

.checker-plan-list li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 8px;
  color: var(--dark-grey);
}

.checker-plan-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.checker-plan-btn {
  background: var(--contact-button-color);
  color: #062238;
}

.checker-plan-btn:hover {
  background: var(--primary-color);
  color: #03131d;
}

.btn-primary {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 30px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.btn-secondary {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 30px;
  border: 2px solid #2563eb;
  color: #2563eb;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

/* DX page contact CTA: filled light-blue style */
.btn-secondary.btn-dx-contact {
  background: var(--contact-button-color);
  border-color: var(--contact-button-color);
  color: #062238;
}
.btn-secondary.btn-dx-contact:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #03131d;
}

.center {
  text-align: center;
}

.section-padding {
    padding: clamp(60px, 10vh, 90px) 0;
}

/* Shared contact CTA block (used across sub product pages) */
.cta-section {
    background: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    color: #fff;
}

.cta-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.92);
}

.dx-solution-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.dx-solution-intro h2 {
    margin-bottom: 1em;
}
.dx-solution-intro .lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 2em;
}

.dx-flow-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.dx-flow-step {
    position: relative;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--light-grey) 100%);
    border-radius: 14px;
    padding: 18px 22px;
    border: 1px solid #d9e4ef;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.dx-flow-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 100%);
}
.dx-flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -16px;
    width: 14px;
    height: 14px;
    border-right: 2px solid #aab6cb;
    border-bottom: 2px solid #aab6cb;
    transform: translateX(-50%) rotate(45deg);
}

.dx-flow-step_header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.dx-flow-step_number {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--gradient-color-2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(21, 35, 98, 0.25);
}

.dx-flow-step_title {
    color: var(--gradient-color-2);
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    line-height: 1.35;
    margin-bottom: 0;
}
.dx-flow-step_lead {
    color: var(--dark-grey);
    font-size: 0.98rem;
    line-height: 1.65;
    font-weight: 500;
    margin: 0;
}
.dx-flow-step_body h4 {
    font-size: 1rem;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    color: var(--primary-darker);
}
.dx-flow-step_body ul {
    list-style: disc;
    padding-left: 20px;
}
@media (max-width: 767px) {
    .dx-flow-container {
        gap: 18px;
    }
    .dx-flow-step {
        padding: 14px 16px;
    }
    .dx-flow-step_header {
        gap: 10px;
        margin-bottom: 6px;
    }
    .dx-flow-step_number {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .dx-flow-step:not(:last-child)::after {
        bottom: -12px;
        width: 10px;
        height: 10px;
    }
}

.dx-values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.dx-value-card {
    background: var(--light-grey);
    padding: 30px;
    border-radius: var(--border-radius-lg);
}
.dx-value-card h3 {
    color: var(--primary-color);
}

.dx-issues-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}
.dx-issue-tag {
    background: var(--secondary-color);
    border: 1px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: var(--border-radius-pill);
    font-weight: 500;
}

/* --- What We Do Section Override --- */
#what-we-do {
    background-color: #f8fafc; /* light grey background */
}
#what-we-do .tp-title_en,
#what-we-do .tp-business_subtext {
    color: #000; /* black text */
}
#what-we-do .business-title-divider {
    background-color: #000; /* black divider */
}


