@charset "UTF-8";

/* ===========================================
   Global
=========================================== */
html { scroll-behavior: smooth; }

h1, h2, h3, h4, h5, h6 { letter-spacing: 0.05em; }

::selection { background-color: #0891b2; color: #fff; }

/* ===========================================
   FV Copy Area -- fade-in from left
=========================================== */
@keyframes fv-fade-right {
    from { opacity: 0; transform: translateX(-28px); }
    to   { opacity: 1; transform: translateX(0); }
}
.fv-copy-animate {
    animation: fv-fade-right 0.9s ease-out both;
    animation-delay: 0.15s;
}

/* ===========================================
   FV -- "MinpacQe" wave underline
=========================================== */
/* wave-underline-brand: inline SVG approach in HTML (no CSS pseudo-element needed) */
.wave-underline-brand {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

/* ===========================================
   FV Infographic Root
   clamp font-size = all em units scale together
=========================================== */
.fv-infographic-root {
    font-size: clamp(12px, 1.55vw, 24px);
}

/* -- Center Card -- */
.fv-center-card {
    width: 8em;
    height: 8em;
    border-radius: 1.2em;
}
.fv-center-title   { font-size: 1.1em; }
.fv-center-divider { width: 2em; }
.fv-center-sub     { font-size: 0.58em; }

/* -- Pentagon Outer Cards (square, no hover animation) -- */
.fv-penta-card {
    background: #ffffff;
    border-radius: 1.1em;
    padding: 0.85em 0.75em;
    width: 8em;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.5em 1.75em rgba(0,0,0,0.10), 0 0.15em 0.5em rgba(0,0,0,0.05);
}
.fv-penta-icon {
    font-size: 1.75em;
    color: #0891b2;
    margin-bottom: 0.35em;
    flex-shrink: 0;
}
.fv-penta-name {
    font-weight: 700;
    font-size: 0.8em;
    color: #1a202c;
    margin-bottom: 0.3em;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}
.fv-penta-desc {
    font-size: 0.62em;
    color: #6b7280;
    line-height: 1.5;
}

/* ===========================================
   FV Card Entrance Animation (pop-in, one by one)
   CSS `scale` property composes with transform:translate
   so positioning is NOT broken by the animation.
=========================================== */
@keyframes fv-card-pop {
    0%   { opacity: 0; scale: 0.6; }
    65%  { scale: 1.06; }
    100% { opacity: 1; scale: 1; }
}

.fv-center-card { animation: fv-card-pop 0.50s cubic-bezier(0.34,1.56,0.64,1) 0.10s both; }
.fv-card-1      { animation: fv-card-pop 0.45s cubic-bezier(0.34,1.56,0.64,1) 0.35s both; }
.fv-card-2      { animation: fv-card-pop 0.45s cubic-bezier(0.34,1.56,0.64,1) 0.55s both; }
.fv-card-3      { animation: fv-card-pop 0.45s cubic-bezier(0.34,1.56,0.64,1) 0.75s both; }
.fv-card-4      { animation: fv-card-pop 0.45s cubic-bezier(0.34,1.56,0.64,1) 0.95s both; }
.fv-card-5      { animation: fv-card-pop 0.45s cubic-bezier(0.34,1.56,0.64,1) 1.15s both; }

/* ===========================================
   Speech Bubble Arrows (Service Timeline)
=========================================== */
.speech-bubble-left::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    margin-top: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}
.speech-bubble-right::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    margin-top: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

/* ===========================================
   Gradient Text Utility
=========================================== */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #1a202c, #4a5568);
}

/* ===========================================
   Problem Section Cards
=========================================== */
.problem-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 28px 36px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(8, 145, 178, 0.07), 0 1px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* Left teal gradient accent line */
.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 52%;
    background: linear-gradient(to bottom, #0891b2 0%, transparent 100%);
}

/* ===========================================
   Why Us Section
=========================================== */
.why-us-section {
    background: linear-gradient(160deg, #eef5ff 0%, #e8f0fb 100%);
}

.why-us-card {
    background: #f8faff;
    border-radius: 16px;
    padding: 22px 20px;
    border: 1px solid #e8f0fb;
    position: relative;
    overflow: hidden;
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 52%;
    background: linear-gradient(to bottom, #0891b2, transparent);
}

/* ===========================================
   Synergy Section Cards
=========================================== */
.synergy-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(8, 145, 178, 0.07), 0 1px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.synergy-tag {
    display: inline-block;
    padding: 5px 16px;
    background: #f0f6ff;
    border: 1px solid #d0e4f7;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.synergy-merit-box {
    border: 1.5px solid #0891b2;
    border-radius: 12px;
    padding: 14px 16px;
}

.synergy-merit-label {
    font-size: 11px;
    font-weight: 700;
    color: #0891b2;
    text-align: center;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

/* ===========================================
   Case Study Section
=========================================== */
.case-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(8, 145, 178, 0.07), 0 1px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef4ff;
    display: flex;
    flex-direction: column;
}

.case-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid #0891b2;
    line-height: 1.4;
}

.case-stats {
    display: flex;
    gap: 12px;
    background: #f0f6ff;
    border-radius: 12px;
    padding: 16px;
    margin-top: auto;
}

.case-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}
