/* あおぞら空港 ランディングページ(index.html / index_en.html 共通) */
:root {
  --sky-top: #5cc0f5;
  --sky-mid: #2a86e0;
  --sky-bot: #0d4fb8;
  --night: #071420;
  --teal: #6ecfc0;
  --teal-deep: #2a9d8f;
  --sun: #ffc94a;
  --coral: #f08a5d;
  --ink: #15283b;
  --ink-soft: #52687e;
  --card: #ffffff;
  --bg: #eef6fd;
  --line: #e2ecf5;
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(21, 40, 59, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--sky-mid); }
img { max-width: 100%; display: block; }
.wrap { width: min(1080px, 92vw); margin: 0 auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 740px;
  display: flex;
  align-items: center;
  padding: 100px 0 120px;
  background: #073969;
}
.hero-art {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* 正方形の元画像を横長に切り抜く。上空の旅客機・管制塔・ターミナルを残し、手前の駐機場を削る */
  object-position: 62% 10%;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, #073969 0%, rgba(7, 57, 105, .97) 20%, rgba(7, 57, 105, .82) 36%, rgba(7, 57, 105, .22) 62%, transparent 82%),
              linear-gradient(0deg, rgba(4, 31, 59, .5), transparent 35%);
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 52px;
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero .wrap { position: relative; }
.hero .wrap > :not(.app-icon) { max-width: 510px; }
.app-icon {
  width: 88px; height: 88px; margin: 0 0 24px;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(0, 20, 45, .3);
}
.hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  line-height: 1.25;
  margin: 0;
  color: #fff;
  letter-spacing: .04em;
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(0, 26, 59, .2);
}
.hero h1 .accent { color: #b7efff; }
.hero .en-name { color: #c4e9ff; letter-spacing: .3em; font-size: .8rem; font-weight: 600; margin: 12px 0 0; }
.hero .tagline { font-size: clamp(1.05rem, 2vw, 1.4rem); color: #fff; font-weight: 700; margin: 26px 0 10px; text-wrap: balance; }
.hero .sub { color: #e6f4ff; margin: 0 0 28px; font-size: .95rem; text-wrap: balance; }
@media (max-width: 720px) {
  .hero { min-height: 0; padding: 330px 0 84px; text-align: center; }
  .hero-art { width: 100%; height: 430px; object-position: center 32%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(7, 57, 105, .06) 0px, rgba(7, 57, 105, .04) 180px, rgba(7, 57, 105, .6) 290px, #073969 420px);
  }
  .hero::after { height: 30px; }
  .hero .wrap > :not(.app-icon) { max-width: 510px; margin-left: auto; margin-right: auto; }
  .app-icon { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 18px; }
  .hero h1 { font-size: clamp(2rem, 8.4vw, 3.2rem); }
  .hero .tagline { margin-top: 20px; }
}

.cta { display: inline-block; text-decoration: none; transition: transform .15s ease, filter .15s ease; }
.cta:hover { transform: translateY(-2px); filter: drop-shadow(0 12px 24px rgba(7, 20, 32, .35)); }
.cta img { height: 56px; width: auto; }
.cta-note { color: #e6f4ff; font-size: .82rem; margin-top: 14px; }

/* 言語切替 */
.lang-switch {
  position: absolute; top: 18px; right: max(16px, calc((100vw - 1080px) / 2));
  z-index: 3; display: inline-flex; gap: 2px;
  background: rgba(255, 255, 255, .25); border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px; padding: 4px; backdrop-filter: blur(6px);
}
.lang-switch a { text-decoration: none; color: #fff; font-weight: 700; font-size: .82rem; padding: 5px 14px; border-radius: 999px; line-height: 1; }
.lang-switch a.active { background: #fff; color: var(--ink); }

/* ---------- セクション共通 ---------- */
section.block { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); margin: 0 0 8px; }
.section-head p { color: var(--ink-soft); margin: 0; }

/* ---------- 遊び方(3ステップ) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; counter-reset: step; }
.step {
  position: relative; background: var(--card); border-radius: var(--radius); padding: 30px 24px 26px;
  box-shadow: var(--shadow); border: 1px solid var(--line); text-align: center;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--night); color: #fff; font-weight: 800;
}
.step .btn {
  display: inline-block; margin: 6px 0 12px; padding: 8px 20px; border-radius: 12px;
  background: var(--teal); color: var(--night); font-weight: 800; font-size: .95rem;
  box-shadow: inset 0 -3px 0 rgba(7, 20, 32, .15);
}
.step h3 { margin: 0 0 6px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- 特徴カード ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card { background: var(--card); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card .ic {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 1.5rem;
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .12);
}
.card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- スクリーンショット(横向き) ---------- */
.shots {
  display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 20px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.phone { flex: 0 0 auto; width: 460px; scroll-snap-align: center; text-align: center; }
.phone img {
  width: 100%; border-radius: 26px;
  border: 7px solid var(--night); background: var(--night);
  box-shadow: var(--shadow);
}
.tablet { flex: 0 0 auto; width: 440px; scroll-snap-align: center; text-align: center; }
.tablet img {
  width: 100%; border-radius: 20px;
  border: 11px solid var(--night); background: var(--night);
  box-shadow: var(--shadow);
}
.phone span, .tablet span { display: block; margin-top: 12px; color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 520px) { .phone { width: 82vw; } .tablet { width: 80vw; } }

/* ---------- 天気 ---------- */
.weather { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { padding: 8px 18px; border-radius: 999px; font-weight: 700; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ---------- 最終 CTA ---------- */
.final {
  background: linear-gradient(180deg, #123a5c, var(--night));
  text-align: center; padding: 72px 24px; color: #fff; border-radius: var(--radius);
  margin: 40px 0;
}
.final h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); margin: 0 0 10px; }
.final p { margin: 0 0 26px; color: #cfe3f2; }
.final .cta-note { color: #9fb6c9; }

/* ---------- サポート ---------- */
.support { background: var(--card); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 760px; margin: 0 auto; }
.support h3 { margin: 0 0 8px; }
.support p { margin: 0 0 10px; color: var(--ink-soft); }
.support dl { margin: 18px 0 0; }
.support dt { font-weight: 700; margin-top: 14px; }
.support dd { margin: 4px 0 0; color: var(--ink-soft); }

/* ---------- フッター ---------- */
footer { text-align: center; padding: 40px 0 56px; color: var(--ink-soft); font-size: .9rem; }
footer a { color: var(--ink-soft); margin: 0 10px; text-decoration: none; border-bottom: 1px solid #c9d6e2; }
footer a:hover { color: var(--sky-mid); }
footer .copy { margin-top: 18px; font-size: .82rem; color: #9fb0c0; }
