/*
 * JUNCTION+ ティザー (docs: 【PC】/【SP】junction_teaser.ai)
 * PC は 1366×992、SP は 320×607 のアートボード実測値を基準にしている。
 * 背景はアートボードのメッシュグラデーションをそのまま書き出した PNG。
 */

:root {
  --white: #fff;
  --ink: #1a1a1a;
  --font-en: 'Jost', 'Futura', 'Futura PT', 'Avenir Next', 'Helvetica Neue', sans-serif;
  --font-ja:
    'Noto Sans JP', '游ゴシック体', YuGothic, '游ゴシック', 'Yu Gothic',
    'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--white);
  background-image: url('/assets/bg-sp.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  font-family: var(--font-ja);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 画面には出さず支援技術・検索・コピーには残すテキスト */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

img {
  display: block;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 23px 20px 8px;
  padding-top: calc(23px + env(safe-area-inset-top));
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
}

/* ---------- header ---------- */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 137px;
  height: auto;
}

.follow {
  display: flex;
  align-items: center;
  gap: 22px;
}

.follow__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.follow__link:hover {
  opacity: 0.7;
}

.follow__link img {
  width: 100%;
  height: auto;
}

/* ---------- main ---------- */

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lead {
  margin: 50px 0 0;
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 15px;
  line-height: 25px;
  letter-spacing: 0.1em;
}

.lead__line {
  display: block;
}

/* 「JUNCTION+」はロゴと同じく .ai の Futura PT Demi のアウトライン (インライン SVG)。
   アートボード実測: 22px 組みで字面の高さ 15.33pt (cap height 15.0)、ベースライン下 0.33pt */
.lead__brand {
  display: inline-block;
  vertical-align: baseline;
}

.lead__brand-svg {
  display: inline-block;
  height: 0.697em;
  width: auto;
  vertical-align: -0.015em;
}

.video {
  width: 100%;
  margin-top: 28px;
}

.video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 280 / 166;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video__coming {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tagline {
  margin: 68px 0 0;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.2em;
}

/* ---------- footer ---------- */

.footer {
  padding-top: 40px;
  text-align: center;
}

.footer__handle {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.08em;
}

/* ---------- PC (アートボード 1366×992 基準) ---------- */

@media (min-width: 768px) {
  body {
    background-image: url('/assets/bg-pc.png');
  }

  .page {
    padding: 42px 56px 18px;
  }

  .header {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
  }

  .logo img {
    width: 309px;
  }

  .follow {
    gap: 32px;
  }

  .follow__link {
    width: 24px;
    height: 24px;
  }

  .lead {
    margin-top: 94px;
    font-size: 22px;
    line-height: 38px;
  }

  .lead__break {
    display: none;
  }

  .video {
    width: 100%;
    max-width: 754px;
    margin-top: 56px;
  }

  .video__frame {
    aspect-ratio: 754 / 394;
  }

  .video__coming {
    font-size: 22px;
  }

  .tagline {
    margin-top: 90px;
    font-size: 20px;
  }

  .footer {
    padding-top: 100px;
  }

  .footer__handle {
    font-size: 12px;
  }
}
