/* 韓国語 home の頁固有レイアウト。 */
.hero5 {
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(34px, 5.5vw, 76px) clamp(18px, 2vw, 24px) clamp(26px, 4vw, 44px);
    display: flex;
    flex-wrap: wrap;
    gap: 36px 52px;
    align-items: center;
  }
  .hero5-copy {
    flex: 1 1 390px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .hero5 h1 {
    font-size: clamp(30px, 3.6vw, 45px);
    line-height: 1.3;
    letter-spacing: -0.032em;
  }
  .hero5-lead {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--ink2);
    max-width: 29em;
  }
  .hero5-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .hero5-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 4px;
  }
  .hero5-cta small {
    font-size: 12.5px;
    color: var(--mute-strong);
    line-height: 1.55;
  }
  .hero5-alt {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-d);
  }
  .hero5-alt:hover { text-decoration: underline; text-underline-offset: 3px; }
  .hero5-m {
    align-self: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .hero5-m p {
    margin: 0;
    font-size: 12px;
    color: var(--mute-strong);
    text-align: center;
  }


  .hero5-demo {
    flex: 1.35 1 480px;
    min-width: 0;
    padding: 10px;
    border-radius: 22px;
  }
  .hero5-demo-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px 10px;
  }
  .hero5-demo-head span + span {
    font-size: 12px;
    color: var(--mute-strong);
  }
  .demo {
    position: relative;
    aspect-ratio: 640 / 380;
    border-radius: 14px;
    border: 1px solid var(--line);
    overflow: hidden;
    background: #EEF2F7;
    line-height: 1.45;
  }
  .dm-stage {
    position: absolute;
    left: 0;
    top: 0;
    width: 640px;
    height: 380px;
    transform-origin: 0 0;
  }
  .dm-stage > * { position: absolute; }
  .dm-ex {
    left: 20px; top: 20px; width: 404px; height: 274px;
    background: #fff; border: 1px solid #D6DEE8; border-radius: 9px;
    box-shadow: 0 8px 24px rgba(20, 40, 80, .08); overflow: hidden;
    display: flex; flex-direction: column;
  }
  .dm-title {
    height: 30px; display: flex; align-items: center; gap: 7px;
    padding: 0 10px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600;
  }
  .dm-win { margin-left: auto; display: flex; gap: 12px; color: var(--mute); font-size: 11px; }
  .dm-cols {
    height: 24px; display: flex; align-items: center; padding: 0 12px;
    background: var(--bg); border-bottom: 1px solid var(--line); font-size: 10.5px; color: var(--mute);
  }
  .dm-cols span:first-child, .dm-row .nm { flex: 1; }
  .dm-cols span:last-child, .dm-row .ty { width: 104px; }
  .dm-row {
    height: 30px; display: flex; align-items: center; gap: 8px;
    padding: 0 12px; font-size: 12px; border-bottom: 1px solid #F1F4F8;
  }
  .dm-row.fold { height: 0; overflow: hidden; opacity: 0; }
  .dm-row .ext {
    width: 26px; height: 16px; border-radius: 4px; background: var(--blue);
    color: #fff; font-size: 8px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  }
  .dm-row .ty { font-size: 11px; color: var(--mute-strong); border-radius: 4px; padding: 1px 6px; }
  .dm-menu {
    left: 118px; top: 88px; width: 196px; padding: 4px; background: #fff;
    border: 1px solid #D6DEE8; border-radius: 8px; box-shadow: 0 10px 30px rgba(20, 40, 80, .15);
    font-size: 12px; opacity: 0;
  }
  .dm-menu > div { height: 27px; display: flex; align-items: center; padding: 0 10px; color: var(--ink2); border-radius: 5px; }
  .dm-menu .mi { gap: 7px; color: var(--ink); font-weight: 600; }
  .dm-menu .ind { padding-left: 30px; }
  .dm-menu .sep { height: 1px; background: var(--line); margin: 3px 6px; padding: 0; }
  .dm-op {
    left: 168px; top: 100px; width: 356px; background: #fff;
    border: 1px solid #D6DEE8; border-radius: 9px; box-shadow: 0 14px 36px rgba(20, 40, 80, .16);
    overflow: hidden; opacity: 0;
  }
  .dm-op-h {
    height: 27px; display: flex; align-items: center; gap: 6px; padding: 0 10px;
    background: var(--bg); border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700;
  }
  .dm-op-h span { margin-left: auto; color: var(--mute); font-weight: 400; }
  .dm-op-b { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 7px; }
  .dm-line { display: flex; align-items: baseline; font-size: 11.5px; }
  .dm-line > span:first-child { flex: 1; font-weight: 600; }
  .dm-cnt { font-size: 11px; color: var(--ink2); font-variant-numeric: tabular-nums; }
  .dm-pb { height: 6px; border-radius: 3px; background: #E8EDF3; overflow: hidden; }
  .dm-pb div { height: 100%; width: 0; background: var(--blue); border-radius: 3px; }
  .dm-moji { border-radius: 7px; background: var(--bg); padding: 6px 9px; display: flex; flex-direction: column; font-size: 11.5px; }
  .dm-moji > div { position: relative; height: 22px; display: flex; align-items: center; overflow: hidden; }
  .dm-moji .bad { position: absolute; left: 0; font-family: var(--font-mono); color: var(--mute-strong); }
  .dm-moji b { position: absolute; left: 0; opacity: 0; }
  .dm-moji .fx { position: absolute; right: 0; font-size: 10px; font-weight: 700; color: var(--blue-d); opacity: 0; }
  .dm-foot { display: flex; align-items: center; font-size: 10.5px; min-height: 18px; }
  .dm-tag { color: var(--blue-d); background: var(--tint); border-radius: 999px; padding: 2px 8px; font-weight: 600; opacity: 0; }
  .dm-done { margin-left: auto; color: var(--done); font-weight: 700; opacity: 0; }
  .dm-term {
    left: 258px; top: 20px; width: 362px; height: 302px; border-radius: 10px; overflow: hidden; opacity: 0;
    background: linear-gradient(180deg, #1C2129, #161A20);
    box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 18px 44px rgba(12,18,28,.35);
    display: flex; flex-direction: column;
  }
  .dm-tabs { height: 30px; display: flex; align-items: flex-end; padding-left: 8px; background: #12161C; }
  .dm-tab { height: 24px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border-radius: 7px 7px 0 0; background: #1C2129; font-size: 10px; color: #C4CBD4; }
  .dm-tab i { width: 6px; height: 6px; border-radius: 50%; background: #D97757; }
  .dm-body { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 10.5px; line-height: 1.6; color: #D5DBE3; }
  .dm-in { border: 1px solid #3A3F48; border-radius: 6px; padding: 4px 9px; display: flex; gap: 7px; min-height: 22px; }
  .dm-or { color: #D97757; }
  .dm-say { display: flex; gap: 7px; opacity: 0; }
  .dm-tool { border-radius: 7px; background: rgba(255,255,255,.04); padding: 8px 11px; display: flex; flex-direction: column; gap: 6px; opacity: 0; }
  .dm-cmd { flex: 1; min-width: 0; color: #C4CBD4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-mono); }
  .dm-perm { display: flex; align-items: center; gap: 10px; padding-left: 14px; color: #8E98A6; font-size: 10px; opacity: 0; }
  .dm-yes { padding: 0 8px; border-radius: 4px; border: 1px solid #3A3F48; color: #E7EBF0; }
  .dm-out { display: grid; grid-template-columns: 1fr auto 14px; column-gap: 12px; row-gap: 3px; padding-left: 14px; color: #A8B2C0; }
  .dm-out > span { display: contents; }
  .dm-out > span > span { opacity: 0; }
  .dm-out .ok { color: #72C08F; }
  .dm-agents { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-top: 1px solid rgba(255,255,255,.06); font-size: 9.5px; color: #8E98A6; }
  .dm-rip { left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; pointer-events: none; }
  .dm-cur { left: 0; top: 0; filter: drop-shadow(0 1px 2px rgba(0,0,0,.28)); }


  .stats { max-width: 1080px; margin: 0 auto; padding: 0 clamp(14px, 2vw, 24px) clamp(32px, 4.5vw, 56px); }
  .stats-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 16px;
  }
  .stats-bar > * {
    padding: 17px 22px;
    display: flex;
    align-items: baseline;
    gap: 11px;
  }
  .stats-bar > * + * { border-left: 1px solid var(--line); }
  .stats-bar b { font-size: 25px; font-weight: 800; color: var(--ink); line-height: 1.2; font-variant-numeric: tabular-nums; flex: none; }
  .stats-bar span { font-size: 13.5px; color: var(--ink2); line-height: 1.45; }
  .stats-bar small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--mute-strong); }


  .chart { border-radius: 16px; background: var(--soft); padding: 24px 24px 16px; display: flex; flex-direction: column; gap: 10px; margin: 0; }
  .chart-t { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--ink); }
  .bars { height: 196px; display: flex; align-items: flex-end; gap: 6%; padding: 0 4%; border-bottom: 1px solid var(--ls); }
  .bar-c { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; }
  .bar-v { font-size: 12px; font-weight: 700; color: var(--ink2); font-variant-numeric: tabular-nums; }
  .bar { width: 100%; background: var(--ls); border-radius: 5px 5px 0 0; }
  .bar.is-kz { background: var(--blue); }
  .bar-c.is-kz .bar-v { color: var(--blue-d); font-weight: 800; }
  .bar-names { display: flex; gap: 6%; padding: 0 4%; }
  .bar-names span { flex: 1; text-align: center; font-size: 12px; color: var(--ink2); }
  .bar-names .is-kz { font-weight: 800; color: var(--ink); }
  .chart-note { margin: 4px 0 0; font-size: 12px; color: var(--mute-strong); line-height: 1.6; }


  .gtabs { display: flex; flex-direction: column; border-left: 1px solid var(--line); margin-top: 6px; }
  .gtab {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 44px; padding: 0 12px 0 16px; border: 0; background: none;
    font-size: 14px; color: var(--ink2); cursor: pointer; text-align: left;
  }
  .gtab span { font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; }
  .gtab[aria-selected="true"] {
    padding-left: 15px; margin-left: -1px; border-left: 2px solid var(--ink);
    font-weight: 700; color: var(--ink);
  }
  .tools-list { display: flex; flex-direction: column; gap: 8px; }
  .tool-row {
    display: flex; align-items: center; gap: 16px; padding: 17px 20px;
    border-radius: 14px; background: var(--soft); transition: background .15s, transform .15s;
  }
  .tool-row:hover { background: var(--soft-h); transform: translateX(3px); }
  .tool-row[hidden] { display: none !important; }
  .tool-ico {
    width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--blue);
    display: flex; align-items: center; justify-content: center; flex: none; font-weight: 800; font-size: 13px;
  }
  .tool-row b { flex: 1; font-size: 15px; }
  .tool-row .open-lbl { font-size: 13px; color: var(--ink2); font-weight: 600; }


  .search5 {
    height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 16px;
    border-radius: 12px; background: #fff; border: 1px solid var(--ls); margin-bottom: 12px;
  }
  .search5:focus-within { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(43,111,214,.14); }
  .search5 input { flex: 1; border: 0; outline: 0; font-size: 14.5px; color: var(--ink); }

  @media (max-width: 720px) {
    .stats-bar { grid-template-columns: 1fr; }
    .stats-bar > * + * { border-left: 0; border-top: 1px solid var(--line); }
    .gtabs { flex-direction: row; border-left: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
    .gtab[aria-selected="true"] { border-left: 0; border-bottom: 2px solid var(--ink); margin-left: 0; margin-bottom: -1px; }
  }

.ko-home-1{color:#6B7482}
.ko-home-2{display:flex;gap:7px}
.ko-home-3{color:#fff}
.ko-home-4{height:86%}
.ko-home-5{height:33%}
.ko-home-6{height:29.5%}
.ko-home-7{height:7.3%}
.ko-home-8{height:7.1%}
.ko-home-9{align-self:flex-end}
.ko-home-10{justify-content:center}
