﻿@font-face {
  font-family: "Pretendard Variable";
  src: url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/woff2/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --black: #000000;
  --mint: #18c6b3;
  --background: #ffffff;
  --border: #f2f2f2;
  --text: #222222;
  --muted: #666666;
  --surface: #f8f8f8;
  --max: 1200px;
  --pad: 40px;
  --section-gap: 140px;
  --section-pad: 80px;
  --radius-image: 24px;
  --radius-button: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 400;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container,
.header-inner {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  row-gap: 0;
  padding: 24px 0 20px;
}
.logo,
.footer-logo { display: inline-flex; align-items: center; }
.site-header .logo {
  width: 100%;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.logo img { width: 92.4px; }
.footer-logo img { width: 60px; }
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 6vw, 64px);
  width: 100%;
  font-size: 15.4px;
  font-weight: 700;
  white-space: nowrap;
  padding-top: 10px;
}
.header-nav a {
  transition: color .2s ease;
}
.header-nav a:hover,
.header-nav a[aria-current="page"] {
  color: var(--mint);
}
.footer-links a,
.text-link,
.download-button,
.primary-button {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-links a:hover,
.text-link:hover { color: var(--mint); }

.button-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.store-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.store-badges.center {
  justify-content: center;
  margin-top: 34px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  height: 58px;
  transition: transform .2s ease, opacity .2s ease;
}
.store-badge:hover { transform: scale(1.02); }
.store-badge img {
  width: auto;
  height: 100%;
  object-fit: contain;
}
.download-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--black);
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--black);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}
.download-button.secondary,
.primary-button.dark { background: transparent; color: var(--black); }
.download-button:hover,
.primary-button:hover {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--white);
}

.section-block { padding: var(--section-pad) 0; }
.section-block + .section-block { margin-top: calc(var(--section-gap) - (var(--section-pad) * 2)); }
.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}
.hero h1 {
  margin: 0;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 800;
}
.download-area {
  width: min(100%, 660px);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid #d6d6d6;
  border-radius: var(--radius-image);
  background: var(--white);
}
.download-badges {
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  margin: 0;
}
.feature-download-area {
  margin-top: 32px;
}
.hero-image-wrap { display: flex; justify-content: center; }
.hero-image { width: min(100%, 660px); border-radius: var(--radius-image); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  gap: 28px;
  align-items: start;
}
.feature-grid img {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #d6d6d6;
  object-fit: contain;
}
.feature-grid img,
.service-image,
.hero-image,
.story-thumb {
  border-radius: var(--radius-image);
  background: var(--surface);
  transition: transform .2s ease;
}
.feature-grid img:hover,
.service-image:hover,
.hero-image:hover,
.story-card:hover .story-thumb { transform: scale(1.02); }
.section-action { display: flex; justify-content: center; margin-top: 40px; }
.text-link { color: var(--black); font-size: 18px; font-weight: 600; }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.section-heading h1,
.section-heading h2,
.download-panel h2,
.contact-panel h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 650;
}
.stories-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.story-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-image);
  background: var(--white);
}
.story-card a { display: block; }
.story-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.story-body { padding: 18px 18px 20px; }
.story-body h3 {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 18px;
  line-height: 1.38;
  font-weight: 600;
  letter-spacing: 0;
}
.story-body p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.story-card.skeleton { min-height: 280px; background: var(--surface); }
.story-empty {
  grid-column: 1 / -1;
  padding: 46px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-image);
  text-align: center;
  color: var(--muted);
  background: var(--surface);
}

.service-list { display: grid; gap: var(--section-gap); }
.service-row {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 560px);
  align-items: center;
  gap: 80px;
}
.service-row:nth-child(even) { grid-template-columns: minmax(360px, 560px) 1fr; }
.service-row:nth-child(even) .service-image { grid-column: 1; }
.service-spacer { min-height: 1px; }
.service-image {
  width: 100%;
  border: 1px solid #d6d6d6;
}

.download-panel,
.contact-panel {
  padding: 80px;
  border-radius: 24px;
  text-align: center;
  background: var(--surface);
}
.download-panel { border: 1px solid #d6d6d6; }
.download-panel .store-badges {
  gap: 20px;
  flex-wrap: nowrap;
}
.contact-panel p { margin: 24px 0 0; color: var(--text); font-size: 18px; font-weight: 400; }
.contact-panel p a:hover { color: var(--mint); }
.button-row.center { justify-content: center; margin-top: 32px; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0;
  background: var(--white);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 40px;
  row-gap: 24px;
}
.footer-inner small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 14px;
}
.footer-links {
  align-self: center;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

@media (max-width: 1199px) {
  :root { --pad: 32px; --section-gap: 120px; }
  .header-inner { padding: 18px 0; }
  .hero { min-height: auto; }
  .hero-grid { gap: 28px; }
  .hero-image-wrap { justify-content: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid img { width: min(100%, 560px); margin: 0 auto; }
  .stories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-row,
  .service-row:nth-child(even) { grid-template-columns: 1fr; gap: 0; }
  .service-row:nth-child(even) .service-image { grid-column: auto; }
  .service-spacer { display: none; }
}

@media (max-width: 767px) {
  :root { --pad: 20px; --section-gap: 80px; --section-pad: 80px; }
  .logo img { width: 83.6px; }
  .header-nav { gap: 20px; font-size: 14.3px; }
  .download-button { flex: 1; min-height: 46px; padding: 0 12px; font-size: 14px; }
  .hero h1 { font-size: 46px; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .store-badges { justify-content: center; gap: 12px; margin-top: 34px; }
  .download-badges,
  .download-panel .store-badges { gap: 12px; }
  .download-badges { margin-top: 0; }
  .download-area { padding: 24px; }
  .store-badge { height: 52px; }
  .primary-button { width: 100%; }
  .section-heading h1,
  .section-heading h2,
  .download-panel h2,
  .contact-panel h1 { font-size: 40px; }
  .feature-grid img:hover,
  .service-image:hover { transform: none; }
  .stories-grid { grid-template-columns: 1fr; }
  .download-panel,
  .contact-panel { padding: 64px 20px; }
}


