/* 해외(일본어·영어) 페이지 공통 — 카이로스 홈페이지 톤(남색·아이보리·파랑 포인트) */
:root {
  --k: #101820;
  --ivory: #f6f4ee;
  --blue: #4d8dff;
  --blue2: #2f6fe8;
  --red: #e5484d;
  --g: #5a606b;
  --line: #e3e6ec;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { color: var(--k); background: #fff; font-family: Pretendard, -apple-system, 'Segoe UI', sans-serif; word-break: keep-all; -webkit-font-smoothing: antialiased; }
html[lang="ja"] body { font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', YuGothic, Meiryo, Pretendard, sans-serif; line-break: strict; word-break: normal; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.inner { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

/* 머리말 */
.g-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.g-header .inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.g-logo img { height: 22px; }
.g-nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 700; }
.g-nav a:hover { color: var(--blue2); }
.lang-sw { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; }
.lang-sw a { padding: 6px 9px; border-radius: 6px; color: #8a909b; }
.lang-sw a.on { color: var(--k); background: var(--ivory); }
.lang-sw a:hover { color: var(--k); }

/* 공통 */
.sec { padding: 110px 0; }
.sec.ivory { background: var(--ivory); }
.sec.dark { background: var(--k); color: #fff; }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .08em; color: var(--blue2); }
.eyebrow.red { color: var(--red); letter-spacing: .02em; }
.sec-tit { margin-top: 14px; font-size: 40px; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
.sec-lead { margin-top: 16px; font-size: 18px; line-height: 1.75; color: var(--g); }
.dark .sec-lead { color: rgba(255, 255, 255, .72); }
.note { margin-top: 28px; font-size: 14px; line-height: 1.7; color: #8a909b; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 28px; border-radius: 26px; font-size: 16px; font-weight: 700; transition: background .2s ease, color .2s ease; }
.btn.pri { background: var(--blue); color: #fff; }
.btn.pri:hover { background: #3a78ea; }
.btn.line { border: 1.5px solid var(--k); }
.btn.line:hover { background: var(--k); color: #fff; }
.btn .arr::after { content: "→"; }

/* 첫 화면 */
.hero { position: relative; overflow: hidden; background: var(--ivory); padding: 96px 0 110px; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 40%, rgba(77, 141, 255, .16), transparent 52%); }
.hero .inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { margin-top: 18px; font-size: 50px; font-weight: 800; line-height: 1.32; letter-spacing: -.015em; }
html[lang="ja"] .hero h1 { font-size: 44px; line-height: 1.42; }
.hero .desc { margin-top: 24px; font-size: 18px; line-height: 1.8; color: #3d434c; max-width: 640px; }
.hero .btns { display: flex; gap: 12px; margin-top: 34px; }
.stats { display: flex; gap: 14px; margin-top: 44px; }
.stats div { min-width: 150px; padding: 18px 22px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(16, 24, 32, .06); }
.stats strong { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; }
.stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--g); }
.hero-phones { position: relative; height: 540px; }
.hero-phones .ph { position: absolute; width: 240px; border-radius: 30px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 30px 60px rgba(16, 24, 32, .18); }
.hero-phones .ph:nth-child(1) { left: 10px; top: 40px; transform: rotate(-5deg); }
.hero-phones .ph:nth-child(2) { right: 10px; top: 0; transform: rotate(4deg); }

/* 고객사 로고 */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 44px; }
.logos.big { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logos div { display: flex; align-items: center; justify-content: center; height: 96px; padding: 16px 22px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(16, 24, 32, .07); }
.logos.big div { height: 128px; }
.logos img { max-height: 46px; width: auto; }
.logos.big img { max-height: 60px; }
.logos .txt { font-size: 17px; font-weight: 800; color: #6b7180; }

/* 실적 카드 */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; margin-top: 44px; }
.works.four { grid-template-columns: repeat(4, 1fr); }
.work .th { aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: #eee; box-shadow: 0 0 0 1px rgba(16, 24, 32, .06); }
.work .th img { width: 100%; height: 100%; object-fit: cover; }
.work .cl { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--blue2); }
.work strong { display: block; margin-top: 6px; font-size: 19px; font-weight: 800; line-height: 1.45; }

/* 자체 앱 카드 */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.app-card { display: flex; gap: 26px; padding: 34px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(16, 24, 32, .08); transition: box-shadow .2s ease, transform .2s ease; }
.app-card:hover { box-shadow: 0 0 0 2px var(--blue), 0 18px 40px rgba(16, 24, 32, .1); transform: translateY(-2px); }
.app-card .icon { flex: 0 0 96px; height: 96px; border-radius: 22px; overflow: hidden; box-shadow: 0 6px 16px rgba(16, 24, 32, .15); }
.app-card h3 { font-size: 24px; font-weight: 800; }
.app-card p { margin-top: 10px; font-size: 16px; line-height: 1.7; color: var(--g); }
.app-card .more { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--blue2); }
.app-card .more::after { content: " →"; }

/* 스토어 버튼 */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.store { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 10px; background: var(--k); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.15; }
.store svg { width: 20px; height: 20px; flex-shrink: 0; }
.store small { display: block; font-size: 10px; font-weight: 500; opacity: .75; }
.store:hover { background: #2a3442; }
.store.off { background: #e6e8ec; color: #8a909b; cursor: default; pointer-events: none; }

/* 일본 실적 */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 44px; padding: 38px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(16, 24, 32, .07); }
.feature .img { border-radius: 14px; overflow: hidden; }
.feature h3 { font-size: 26px; font-weight: 800; }
.feature p { margin-top: 14px; font-size: 16px; line-height: 1.8; color: var(--g); }
.feature ul { margin-top: 18px; list-style: none; }
.feature li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.9; }
.feature li::before { content: ""; position: absolute; left: 0; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.sub-tit { margin-top: 72px; font-size: 26px; font-weight: 800; }
.sub-lead { margin-top: 10px; font-size: 16px; color: var(--g); }
.travel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.travel .t { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(16, 24, 32, .07); }
.travel .t .img { aspect-ratio: 16 / 12; overflow: hidden; background: #f3f4f7; }
.travel .t .img img { width: 100%; height: 100%; object-fit: cover; }
.travel .t .tx { padding: 20px 22px 24px; }
.travel strong { font-size: 18px; font-weight: 800; }
.travel p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--g); }
.travel .tag { display: inline-block; margin-top: 12px; padding: 3px 10px; border-radius: 12px; border: 1px solid #d5dae3; font-size: 12px; font-weight: 700; color: #3d434c; }

/* 보안(영어) */
.sec-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.sec-cards div { padding: 30px 32px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.sec-cards strong { display: block; font-size: 40px; font-weight: 800; color: #8fb6ff; }
.sec-cards p { margin-top: 10px; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .82); }

/* 회사 개요 표 */
.co-table { width: 100%; margin-top: 40px; border-top: 2px solid var(--k); border-collapse: collapse; }
.co-table th, .co-table td { padding: 20px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 16px; line-height: 1.6; vertical-align: top; }
.co-table th { width: 200px; font-weight: 700; color: #3d434c; background: #fafbfc; }
.co-table a { color: var(--blue2); text-decoration: underline; text-underline-offset: .15em; }
.co-info { margin-top: 32px; font-size: 17px; line-height: 2; }
.co-info a { color: var(--blue2); text-decoration: underline; text-underline-offset: .15em; }

/* 앱 페이지 */
.app-hero { background: var(--ivory); padding: 80px 0 90px; }
.app-hero .inner { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: center; }
.app-hero .icon { width: 108px; height: 108px; border-radius: 26px; overflow: hidden; box-shadow: 0 10px 24px rgba(16, 24, 32, .18); }
.app-hero h1 { margin-top: 26px; font-size: 44px; font-weight: 800; line-height: 1.25; }
.app-hero .subname { margin-top: 8px; font-size: 18px; font-weight: 700; color: var(--g); }
.app-hero .one { margin-top: 22px; font-size: 20px; line-height: 1.75; }
.app-hero .ph { border-radius: 34px; overflow: hidden; border: 9px solid #fff; box-shadow: 0 30px 60px rgba(16, 24, 32, .18); }
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 18px; margin-top: 44px; }
.step { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(16, 24, 32, .07); }
.step .shot { background: #f3f4f7; }
.step .shot img { width: 100%; }
.step .tx { padding: 18px 18px 22px; }
.step em { font-style: normal; font-size: 13px; font-weight: 900; color: var(--blue2); }
.step strong { display: block; margin-top: 6px; font-size: 17px; font-weight: 800; line-height: 1.4; }
.step p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--g); }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-top: 36px; list-style: none; }
.feat-list li { position: relative; padding: 18px 20px 18px 54px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(16, 24, 32, .07); font-size: 16px; line-height: 1.6; }
.feat-list li::before { content: ""; position: absolute; left: 20px; top: 20px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.5 10.5l3 3 6-7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain; }
.maker { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 38px; border-radius: 22px; background: var(--k); color: #fff; }
.maker p { font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .82); }
.maker p b { color: #fff; }
.maker .btn.pri { flex-shrink: 0; }

/* 꼬리말 */
.g-footer { padding: 56px 0 64px; background: var(--k); color: rgba(255, 255, 255, .6); font-size: 14px; line-height: 1.9; }
.g-footer .inner { display: flex; justify-content: space-between; gap: 32px; }
.g-footer img { height: 20px; margin-bottom: 14px; }
.g-footer b { color: #fff; }
.g-footer a:hover { color: #fff; }

@media (max-width: 760px) {
  .inner { width: calc(100% - 32px); }
  .g-header .inner { height: 58px; gap: 10px; }
  .g-logo img { height: 18px; }
  .g-nav { display: none; }
  .lang-sw { margin-left: auto; font-size: 12px; }
  .lang-sw a { padding: 6px 6px; }
  .sec { padding: 64px 0; }
  .sec-tit { font-size: 26px; }
  .sec-lead { font-size: 16px; }
  .hero { padding: 48px 0 60px; }
  .hero .inner { grid-template-columns: 1fr; }
  .hero h1, html[lang="ja"] .hero h1 { font-size: 28px; }
  .hero .desc { font-size: 16px; }
  .hero .btns .btn.line, .hero-phones { display: none; }
  .hero .btns .btn { width: 100%; }
  .stats { gap: 8px; margin-top: 30px; }
  .stats div { flex: 1; min-width: 0; padding: 14px 12px; }
  .stats strong { font-size: 22px; }
  .stats span { font-size: 12px; }
  .logos, .logos.big { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .logos div, .logos.big div { height: 80px; }
  .logos img, .logos.big img { max-height: 40px; }
  .works, .works.four { grid-template-columns: 1fr; gap: 26px; }
  .work .th { aspect-ratio: 4 / 3; }
  .apps { grid-template-columns: 1fr; }
  .app-card { flex-direction: column; gap: 18px; padding: 26px; }
  .app-card .icon { flex-basis: auto; width: 76px; height: 76px; border-radius: 18px; }
  .feature { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .travel { grid-template-columns: 1fr; }
  .sec-cards { grid-template-columns: 1fr; }
  .co-table th { width: 96px; padding: 14px 10px; font-size: 14px; }
  .co-table td { padding: 14px 10px; font-size: 14px; }
  .app-hero { padding: 44px 0 56px; }
  .app-hero .inner { grid-template-columns: 1fr; gap: 32px; }
  .app-hero h1 { font-size: 30px; }
  .app-hero .one { font-size: 17px; }
  .app-hero .ph { width: 62%; margin: 0 auto; }
  .steps { grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: -16px; }
  .step { scroll-snap-align: start; }
  .feat-list { grid-template-columns: 1fr; }
  .maker { flex-direction: column; align-items: stretch; padding: 26px; }
  .maker .btn { width: 100%; }
  .g-footer .inner { flex-direction: column; }
}
