/* ============================================================
   Product Pages - Shared CSS
   적용: air_conditioner_main, cool_heater_main,
         air_conditioner_detail, cool_heater_detail,
         air_conditioner_compare_popup,
         system_part/detail, solutions/solution_main
   ============================================================ */

/* ---- Base Reset ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Pretendard', sans-serif; color: #333; }
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }


/* ============================================================
   Product List Pages (air_conditioner_main, cool_heater_main)
   ============================================================ */

/* 상단 배너 */
.hero-banner { background: #f4f4f4; padding: 60px 40px; border-radius: 12px; margin-bottom: 40px; }
.hero-banner h1 { font-size: 32px; margin-bottom: 10px; }

/* 카테고리 탭 */
.category-tabs { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; margin-bottom: 30px; overflow-x: auto; }
.tab { min-width: 0; height: 120px; background: #f9f9f9; border-radius: 10px; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; border: 1px solid transparent; }
.tab.active { background: #333; color: #fff; }
.tab-icon { width: 40px; height: 40px; background: #ddd; border-radius: 50%; margin-bottom: 10px; }

/* 상품 그리드 */
.section-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-top: 40px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* 상품 카드 */
.product-card { border: 1px solid #eee; border-radius: 8px; overflow: hidden; background: #fff; transition: 0.3s; cursor: pointer; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.p-img-area { width: 100%; aspect-ratio: 1/1; background: #f8f8f8; position: relative; }
.p-content { padding: 15px; border-bottom: 1px solid #f4f4f4; }
.p-badges { margin-bottom: 8px; }
.badge { font-size: 10px; padding: 2px 5px; margin-right: 3px; color: #888; }
#keyWordTagList { display: contents; }

.p-title { font-weight: bold; font-size: 15px; margin-bottom: 5px; }
.p-model { font-size: 12px; color: #aaa; margin-bottom: 10px; }
.p-specs { font-size: 11px; color: #666; line-height: 1.5; }
.p-footer { padding: 12px; }
.btn-row { display: flex; gap: 5px; margin-bottom: 10px; }
.btn { flex: 1; padding: 10px 0; font-size: 12px; font-weight: bold; text-align: center; border-radius: 4px; text-decoration: none; }
.btn-black { background: #000; color: #fff; }
.btn-white { border: 1px solid #000; color: #000; }
.compare-label { display: flex; align-items: center; justify-content: flex-end; font-size: 12px; color: #777; }

/* 비교 바 */
.compare-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: #fff; border-top: 1px solid #ddd; box-shadow: 0 -5px 15px rgba(0,0,0,0.1); z-index: 1000; transition: transform 0.3s; }
.compare-bar.hidden { transform: translateY(100%); }
.compare-container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.compare-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.compare-title { font-size: 18px; font-weight: bold; }
.count-text { font-size: 14px; font-weight: normal; margin-left: 10px; color: #666; }
.compare-btns { display: flex; gap: 10px; align-items: center; }
.btn-clear { background: #eee; border: none; padding: 8px 15px; cursor: pointer; border-radius: 4px; }
.btn-submit { background: #000; color: #fff; border: none; padding: 8px 25px; cursor: pointer; border-radius: 4px; }
.compare-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.compare-item { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 8px; padding: 10px; position: relative; background: #f9f9f9; }
.item-img { width: 60px; height: 60px; background: #eee; margin-right: 12px; flex-shrink: 0; }
.item-info { font-size: 12px; overflow: hidden; }
.item-name { font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-remove { position: absolute; top: 5px; right: 8px; cursor: pointer; font-size: 16px; }
.empty-slot { border: 1px dashed #ccc; border-radius: 8px; height: 82px; display: flex; align-items: center; justify-content: center; text-align: center; color: #999; font-size: 11px; line-height: 1.4; }


/* ============================================================
   Detail Pages (air_conditioner_detail, cool_heater_detail)
   ============================================================ */

.detail-top { display: flex; gap: 50px; margin-bottom: 50px; }
.image-area { flex: 1; }
.info-area { flex: 1; }
.spec-summary { width: 100%; border-collapse: collapse; margin: 20px 0; }
.spec-summary td { padding: 10px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.spec-summary .label { color: #999; width: 100px; }
.spec-summary .val { font-weight: bold; text-align: right; }

.tab-menu { display: flex; border-top: 2px solid #000; margin-top: 50px; }
.tab-menu .tab { flex: 1; text-align: center; padding: 20px; cursor: pointer; background: #f9f9f9; border: 1px solid #eee; font-weight: bold; height: auto; border-radius: 0; flex-direction: row; }
.tab-menu .tab.active { background: #000; color: #fff; border-color: #000; }

.content-view { display: none; padding: 40px 0; }
.content-view.active { display: block; }

.spec-row { display: flex; border-bottom: 1px solid #eee; padding: 25px 0; }
.spec-category { width: 200px; font-size: 18px; font-weight: bold; }
.spec-details { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.detail-item { display: flex; flex-direction: column; gap: 5px; }
.detail-label { font-size: 13px; color: #999; }
.detail-value { font-size: 15px; font-weight: bold; }
.feature-tags { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; width: 100%; }


/* ============================================================
   Compare Popup (air_conditioner_compare_popup)
   ============================================================ */

.popup-inner { max-width: 1440px; margin: 0 auto; width: 100%; }
.popup-header { padding: 20px 32px; border-bottom: 1px solid #eee; position: sticky; top: 0; background: #fff; z-index: 10; }
.popup-header .popup-inner { display: flex; justify-content: space-between; align-items: center; }
.compare-body { padding: 30px 32px; }
.popup-footer { padding: 20px 32px; text-align: right; border-top: 1px solid #eee; position: sticky; bottom: 0; background: #fff; }
.category-title { margin-bottom: 30px; }
.compare-grid { display: grid; gap: 1px; background: #eee; border: 1px solid #eee; }
.compare-col { background: #fff; padding: 20px; min-width: 0; }
.product-summary { margin-bottom: 40px; }
.product-img { width: 100%; aspect-ratio: 1/1; background: #f4f4f4; margin-bottom: 20px; position: relative; }
.product-img::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top right, transparent calc(50% - 1px), #ddd, transparent calc(50% + 1px)), linear-gradient(to bottom right, transparent calc(50% - 1px), #ddd, transparent calc(50% + 1px)); }
.product-name { font-size: 16px; font-weight: bold; line-height: 1.4; margin-bottom: 8px; height: 45px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.spec-group-title { font-size: 18px; font-weight: bold; border-bottom: 2px solid #000; padding-bottom: 10px; margin-bottom: 20px; }
.spec-item { margin-bottom: 15px; }
.spec-label { font-size: 12px; color: #999; margin-bottom: 4px; display: block; }
.spec-value { font-size: 14px; font-weight: bold; line-height: 1.4; }


/* ============================================================
   System Part Detail (system_part/detail)
   ============================================================ */

:root {
    --page-bg: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: #eef3fb;
    --surface-strong: #dfe8f6;
    --line: #d7dfec;
    --text-main: #111111;
    --text-sub: #5a6473;
    --text-faint: #7e8ca0;
    --accent: #1f4db8;
    --accent-deep: #0d2f7a;
    --accent-soft: #e6efff;
    --hero-shadow: 0 28px 60px rgba(19, 47, 107, 0.14);
    --card-shadow: 0 18px 34px rgba(15, 34, 73, 0.08);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 20px;
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Pretendard", "Noto Sans KR", sans-serif;

    color: var(--text-main);
    overflow-x: hidden;
}

.product-page { min-height: 100vh; padding-bottom: 110px; }
.product-wrap { width: min(1440px, calc(100% - 48px)); margin: 0 auto; }

.product-breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 20px 0 18px; color: var(--text-faint); font-size: 15px; font-weight: 600; }
.product-breadcrumb .home { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: #ffffff; border: 1px solid var(--line); color: var(--accent-deep); font-size: 11px; }

.hero { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: linear-gradient(120deg, rgba(255,255,255,0.92) 18%, rgba(255,255,255,0.62) 44%, rgba(5,28,73,0.12) 100%), radial-gradient(circle at 14% 26%, rgba(124,226,255,0.42), transparent 20%), linear-gradient(135deg, #ddeafe 0%, #b7cffd 38%, #7b9ef0 74%, #3157af 100%); box-shadow: var(--hero-shadow); }
.hero::before { content: ""; position: absolute; inset: auto -8% -16% auto; width: 52%; height: 88%; background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0)), repeating-linear-gradient(90deg, rgba(76,133,255,0.62) 0, rgba(76,133,255,0.62) 4px, rgba(255,255,255,0.14) 4px, rgba(255,255,255,0.14) 18px); border: 2px solid rgba(255,255,255,0.44); border-radius: 20px; transform: perspective(900px) rotateY(-28deg) rotateX(8deg); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); opacity: 0.82; }
.hero::after { content: ""; position: absolute; left: 7%; top: 12%; width: 34%; height: 66%; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,0.52), rgba(255,255,255,0.18)), rgba(255,255,255,0.16); backdrop-filter: blur(9px); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.24); }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,640px) minmax(0,1fr); gap: 32px; align-items: end; min-height: 620px; padding: 74px 64px 70px; }
.hero-copy { max-width: 560px; }
.hero-kicker { display: inline-flex; margin-bottom: 14px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,0.82); color: var(--accent-deep); font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.hero-eyebrow { display: block; margin-bottom: 10px; color: #254b93; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.hero-title { margin: 0 0 18px; font-size: 84px; font-weight: 900; line-height: 0.96; letter-spacing: -0.06em; }
.hero-subtitle { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 22px; border-radius: 14px; background: rgba(31,77,184,0.94); color: #ffffff; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; }
.hero-button { display: inline-flex; align-items: center; justify-content: center; min-width: 208px; min-height: 58px; padding: 0 28px; border: 1px solid rgba(15,25,42,0.18); border-radius: 16px; background: rgba(255,255,255,0.86); color: #111111; font-size: 17px; font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px rgba(21,32,62,0.08); }
.hero-button.primary { background: #111111; color: #ffffff; }
.hero-blank { min-height: 100%; }

.top-tabs { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 18px; border: 1px solid #111111; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); }
.top-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 16px 20px; border-right: 1px solid #111111; color: #111111; font-size: 18px; font-weight: 800; text-decoration: none; }
.top-tab:last-child { border-right: 0; }
.top-tab.active { background: #111111; color: #ffffff; }

.content { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 34px; margin-top: 34px; align-items: start; min-width: 0; }
.main-content { display: flex; flex-direction: column; gap: 34px; min-width: 0; }
.side-panel { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.section-card, .side-card, .value-card, .partner-card, .principle-card, .spec-card { border: 1px solid rgba(200,214,235,0.9); border-radius: var(--radius-lg); background: rgba(255,255,255,0.96); box-shadow: var(--card-shadow); }
.section-card { padding: 38px; overflow: hidden; min-width: 0; }
.section-label { display: inline-flex; margin-bottom: 10px; color: var(--accent); font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.section-title { margin: 0 0 14px; font-size: 42px; font-weight: 900; line-height: 1.08; letter-spacing: -0.05em; }
.section-copy { margin: 0; color: var(--text-sub); font-size: 18px; line-height: 1.85; }

.value-grid { display: grid; gap: 20px; margin-top: 26px; }
.value-card { display: grid; grid-template-columns: 108px minmax(0,1fr); gap: 18px; align-items: center; padding: 26px 28px; background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(242,246,253,0.96)); }
.value-icon { display: flex; width: 92px; height: 92px; align-items: center; justify-content: center; border-radius: 24px; background: linear-gradient(145deg, #f4f8ff, #dfe9fb); color: var(--accent); font-size: 36px; font-weight: 900; box-shadow: inset 0 0 0 1px rgba(31,77,184,0.14); }
.value-title { margin: 0 0 8px; color: var(--accent); font-size: 30px; font-weight: 900; letter-spacing: -0.04em; }
.value-copy { margin: 0; color: #2c3440; font-size: 18px; line-height: 1.75; }

.diagram-box { margin-top: 28px; padding: 32px; border-radius: 30px; background: radial-gradient(circle at top left, rgba(31,77,184,0.08), transparent 34%), linear-gradient(180deg, #fafcff 0%, #edf3fe 100%); }
.diagram-stage { position: relative; min-height: 430px; overflow: hidden; border-radius: 26px; background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(232,240,252,0.92)), linear-gradient(135deg, #f6faff, #d8e7fb); box-shadow: inset 0 0 0 1px rgba(31,77,184,0.08); }
.diagram-stage::before { content: ""; position: absolute; left: 12%; top: 18%; width: 46%; height: 46%; border-radius: 18px; background: linear-gradient(135deg, rgba(198,226,255,0.9), rgba(255,255,255,0.94)); border: 1px solid rgba(67,115,205,0.18); transform: skew(-18deg); }
.diagram-stage::after { content: ""; position: absolute; right: 10%; bottom: 16%; width: 38%; height: 28%; border-radius: 16px; background: linear-gradient(140deg, rgba(126,176,255,0.42), rgba(255,255,255,0.78)); border: 1px solid rgba(67,115,205,0.18); transform: skew(-18deg); }
.diagram-node { position: absolute; display: inline-flex; align-items: center; justify-content: center; min-width: 104px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: #315cc6; color: #ffffff; font-size: 14px; font-weight: 800; box-shadow: 0 10px 20px rgba(49,92,198,0.24); }
.diagram-node.node-1 { left: 9%; top: 14%; }
.diagram-node.node-2 { left: 48%; top: 13%; }
.diagram-node.node-3 { right: 11%; top: 24%; }
.diagram-node.node-4 { left: 19%; top: 56%; }
.diagram-node.node-5 { left: 53%; top: 54%; }
.diagram-node.node-6 { right: 18%; bottom: 18%; }

.principle-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 18px; margin-top: 28px; }
.principle-card { padding: 24px 18px 22px; text-align: center; background: linear-gradient(180deg, #ffffff, #f6f9ff); }
.principle-badge { display: inline-flex; width: 88px; height: 88px; margin-bottom: 18px; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(180deg, #2f56bd, #163b98); color: #ffffff; font-size: 34px; font-weight: 900; }
.principle-title { margin: 0 0 12px; color: var(--accent-deep); font-size: 20px; font-weight: 900; line-height: 1.35; letter-spacing: -0.04em; }
.principle-list { margin: 0; color: var(--text-sub); font-size: 15px; line-height: 1.75; }

.spec-block { margin-top: 26px; overflow: hidden; }
.spec-heading { margin: 0 0 18px; font-size: 30px; font-weight: 900; letter-spacing: -0.04em; }
.spec-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x; border: 1px solid #cfd8e6; border-radius: 22px; background: #ffffff; box-shadow: var(--card-shadow); }
.spec-table-wrap table { width: 100%; min-width: 1100px; border-collapse: collapse; table-layout: fixed; }
.spec-table-wrap th, .spec-table-wrap td { padding: 14px; border: 1px solid #d7dfec; color: #243042; font-size: 15px; line-height: 1.55; text-align: center; vertical-align: middle; word-break: keep-all; background: #ffffff; }
.spec-table-wrap thead th { color: #ffffff; font-weight: 800; background: #111111; }
.spec-table-wrap thead tr:nth-child(2) th { background: #7c7c7c; }
.spec-table-wrap .row-head { font-weight: 800; background: #f5f7fb; }
.spec-table-wrap .row-group { font-weight: 800; background: #eef3fb; }
.spec-table-wrap .sub-head { color: #61718a; font-weight: 700; background: #fafcff; }

.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; margin-top: 26px; }
.partner-card { overflow: hidden; }
.partner-visual { height: 210px; background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(13,47,122,0.06)), linear-gradient(135deg, #b2cdf8 0%, #f4f8ff 38%, #c8d7f0 100%); }
.partner-meta { padding: 16px 18px 18px; }
.partner-row { display: grid; grid-template-columns: 66px minmax(0,1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid #edf2fb; }
.partner-row:last-child { border-bottom: 0; }
.partner-key { color: var(--accent); font-size: 14px; font-weight: 800; }
.partner-value { color: #283444; font-size: 15px; font-weight: 700; line-height: 1.5; }

.side-card { padding: 24px; }
.side-title { margin: 0 0 14px; font-size: 28px; font-weight: 900; letter-spacing: -0.04em; }
.side-copy { margin: 0; color: var(--text-sub); font-size: 16px; line-height: 1.75; }
.contact-list { display: grid; gap: 14px; margin-top: 18px; }
.contact-row { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 12px; align-items: start; color: #273342; font-size: 16px; font-weight: 700; }
.contact-icon { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 900; }
.side-actions { display: grid; gap: 12px; margin-top: 20px; }
.side-button { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 20px; border-radius: 16px; background: #111111; color: #ffffff; font-size: 16px; font-weight: 800; text-decoration: none; }
.side-button.secondary { background: #ffffff; border: 1px solid #111111; color: #111111; }
.sticky-actions { display: none; }

@media (max-width: 1320px) {
    .content { grid-template-columns: 1fr; }
    .side-panel { position: static; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
    .partner-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .principle-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 1080px) {
    .hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 52px 34px 46px; }
    .hero::after { width: 50%; height: 50%; }
    .hero-title { font-size: 62px; }
    .hero-eyebrow { font-size: 22px; }
    .hero-subtitle { font-size: 20px; }
    .principle-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 768px) {
    .product-page { padding-bottom: 92px; }
    .product-wrap { width: min(100%, calc(100% - 28px)); min-width: 0; }
    .product-breadcrumb { gap: 8px; padding: 16px 0 14px; font-size: 13px; }
    .hero { border-radius: 24px; }
    .hero::before { width: 72%; height: 46%; right: -18%; bottom: 2%; }
    .hero::after { left: 7%; top: 16%; width: 58%; height: 40%; }
    .hero-inner { padding: 38px 22px 30px; }
    .hero-kicker { font-size: 13px; }
    .hero-eyebrow { margin-bottom: 8px; font-size: 17px; }
    .hero-title { font-size: 42px; }
    .hero-subtitle { min-height: 44px; padding: 0 16px; font-size: 15px; }
    .hero-actions { display: none; }
    .top-tabs { margin-top: 14px; }
    .top-tab { min-height: 50px; padding: 12px 14px; font-size: 15px; }
    .content { gap: 22px; margin-top: 22px; }
    .main-content { gap: 22px; }
    .section-card { padding: 24px 18px; border-radius: 22px; }
    .section-title { font-size: 30px; }
    .section-copy, .value-copy { font-size: 15px; }
    .value-card { grid-template-columns: 1fr; padding: 22px 18px; }
    .value-icon { width: 72px; height: 72px; font-size: 28px; }
    .value-title { font-size: 24px; }
    .diagram-box { padding: 18px; }
    .diagram-stage { min-height: 290px; }
    .diagram-node { min-width: 86px; min-height: 34px; padding: 0 12px; font-size: 12px; }
    .principle-grid, .partner-grid, .side-panel { grid-template-columns: 1fr; }
    .principle-badge { width: 74px; height: 74px; font-size: 28px; }
    .principle-title { font-size: 18px; }
    .spec-heading { font-size: 24px; }
    .spec-table-wrap th, .spec-table-wrap td, .partner-key, .partner-value, .contact-row, .side-copy { font-size: 14px; }
    .spec-table-wrap { margin: 0 -2px; }
    .partner-visual { height: 168px; }
    .side-title { font-size: 24px; }
    .sticky-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); box-shadow: 0 -10px 24px rgba(12,24,52,0.08); }
    .sticky-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 14px; background: #111111; color: #ffffff; font-size: 15px; font-weight: 800; text-decoration: none; }
    .sticky-button.secondary { background: #ffffff; border: 1px solid #111111; color: #111111; }
}


/* ============================================================
   Solution Main (solutions/solution_main)
   ============================================================ */

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.page-top { background: #f5f5f5; border-bottom: 1px solid rgba(17,17,17,0.06); }
.page-top__inner { padding: 18px 0 20px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #8f8f8f; font-size: 12px; font-weight: 500; }
.breadcrumb span { color: #c0c0c0; }
.page-title { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -0.05em; }

.solution-page { padding: 22px 0 92px; }

.solution-tabs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: 18px; border: 1px solid #101010; overflow: hidden; }
.solution-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 16px; border-right: 1px solid #101010; background: #ffffff; color: #111111; font-size: 12px; font-weight: 700; text-align: center; letter-spacing: -0.03em; white-space: nowrap; cursor: pointer; }
.solution-tab:last-child { border-right: 0; }
.solution-tab.active, .solution-tab.is-active { background: #111111; color: #ffffff; }

.intro { margin: 0 auto 42px; max-width: 820px; text-align: center; }
.intro h2 { margin: 0 0 12px; font-size: 24px; font-weight: 800; line-height: 1.5; letter-spacing: -0.05em; word-break: keep-all; }
.intro p { margin: 0; color: #666666; font-size: 13px; line-height: 1.8; letter-spacing: -0.03em; word-break: keep-all; }

.lineup-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.lineup-card { position: relative; overflow: hidden; min-height: 188px; padding: 26px 22px 20px; border-radius: 16px; background: linear-gradient(180deg, #f2f2f2 0%, #ebebeb 100%); }
.lineup-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.35), transparent 56%), linear-gradient(0deg, rgba(255,255,255,0.08), rgba(255,255,255,0.08)); }
.lineup-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.11; mix-blend-mode: multiply; }
.lineup-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
.lineup-card__tag { align-self: flex-start; margin-bottom: 12px; padding: 5px 8px; border: 1px solid rgba(17,17,17,0.18); border-radius: 999px; background: rgba(255,255,255,0.72); color: #444444; font-size: 10px; font-weight: 700; letter-spacing: -0.02em; }
.lineup-card h3 { margin: 0 0 6px; font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -0.05em; word-break: keep-all; }
.lineup-card p { margin: 0; max-width: 360px; color: #4f4f4f; font-size: 12px; line-height: 1.7; letter-spacing: -0.03em; word-break: keep-all; }
.lineup-card__button { align-self: flex-end; margin-top: auto; padding: 8px 12px; border-radius: 8px; background: #111111; color: #ffffff; font-size: 11px; font-weight: 700; letter-spacing: -0.02em; }

.feature-list { display: grid; gap: 12px; }
.feature-row { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 18px; align-items: center; }
.feature-row__media { overflow: hidden; border-radius: 14px; background: linear-gradient(180deg, #f2f2f2 0%, #ebebeb 100%); aspect-ratio: 1 / 0.75; }
.feature-row__body h3 { margin: 0 0 8px; font-size: 24px; font-weight: 800; line-height: 1.25; letter-spacing: -0.05em; word-break: keep-all; }
.feature-row__body p { margin: 0; color: #4f4f4f; font-size: 12px; line-height: 1.7; letter-spacing: -0.03em; word-break: keep-all; }
.feature-row__button { display: inline-flex; align-items: center; justify-content: center; margin-top: 12px; padding: 8px 12px; border-radius: 8px; background: #111111; color: #ffffff; font-size: 11px; font-weight: 700; letter-spacing: -0.02em; }

.market-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.market-card { overflow: hidden; border-radius: 16px; background: linear-gradient(180deg, #f2f2f2 0%, #ebebeb 100%); }
.market-card__media { aspect-ratio: 1 / 0.82; background: rgba(255,255,255,0.18); }
.market-card__body { padding: 14px 12px 16px; text-align: center; }
.market-card__body h3 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.35; letter-spacing: -0.04em; word-break: keep-all; }

@media (max-width: 1024px) {
    .page-title { font-size: 30px; }
    .lineup-card h3 { font-size: 24px; }
    .feature-row { grid-template-columns: 240px minmax(0,1fr); }
    .market-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 767px) {
    .page-top { background: #ffffff; border-bottom: 0; }
    .page-top__inner { padding: 14px 0 12px; }
    .breadcrumb { display: none; }
    .page-title { font-size: 22px; }
    .solution-page { padding: 12px 0 54px; }
    .solution-tabs { display: flex; gap: 0; margin-right: -12px; margin-left: -12px; padding: 0 12px 4px; border: 0; overflow-x: auto; scrollbar-width: none; }
    .solution-tabs::-webkit-scrollbar { display: none; }
    .solution-tab { flex: 0 0 154px; min-height: 40px; border: 1px solid #111111; border-right: 0; font-size: 11px; }
    .solution-tab:last-child { border-right: 1px solid #111111; }
    .intro { margin-bottom: 28px; }
    .intro h2 { margin-bottom: 8px; font-size: 18px; line-height: 1.45; }
    .intro p { font-size: 11px; line-height: 1.7; }
    .lineup-grid { grid-template-columns: 1fr; gap: 10px; }
    .lineup-card { min-height: 150px; padding: 20px 16px 16px; border-radius: 14px; }
    .lineup-card__tag { margin-bottom: 10px; font-size: 9px; }
    .lineup-card h3 { margin-bottom: 5px; font-size: 22px; }
    .lineup-card p { font-size: 11px; line-height: 1.58; }
    .lineup-card__button { padding: 7px 10px; border-radius: 7px; font-size: 10px; }
    .feature-list { gap: 10px; }
    .feature-row { grid-template-columns: 1fr; gap: 10px; }
    .feature-row__media { border-radius: 12px; }
    .feature-row__body h3 { font-size: 20px; }
    .feature-row__body p { font-size: 11px; line-height: 1.58; }
    .feature-row__button { margin-top: 10px; padding: 7px 10px; border-radius: 7px; font-size: 10px; }
    .market-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
    .market-card { border-radius: 14px; }
    .market-card__body { padding: 12px 10px 14px; }
    .market-card__body h3 { font-size: 15px; }
}
