/* くもまち LP。空の色の1つの形（ダークモードは作らない）。主の色は橙1つ、線は細いか無し、影はぼかし。 */
@font-face { font-family: "CT Sans"; src: url("fonts/ct-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "CT Sans"; src: url("fonts/ct-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "CT Sans"; src: url("fonts/ct-sans-900.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }
:root {
  --ink: #23324a;
  --ink-soft: #55657d;
  --sky-1: #5fb3ec;
  --sky-2: #1d64a8;
  --sky-pale: #eaf5fd;
  --cream: #fff8e8;
  --accent: #ff9a3c;
  --accent-ink: #b85c0e;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(29, 70, 120, 0.14), 0 2px 6px rgba(29, 70, 120, 0.08);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "CT Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--sky-pale);
  line-height: 1.8;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-2); }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.nb { display: inline-block; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* 頭の帯（sticky。上に jan-quest の帯が入るので fixed にしない） */
.site-head {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 14px rgba(29, 70, 120, 0.10);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { border-radius: 10px; }
.brand b { display: block; font-size: 18px; font-weight: 900; line-height: 1.1; }
.nav-play { display: none; }
.brand small { display: block; font-size: 10px; letter-spacing: 0.18em; color: var(--ink-soft); }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; padding: 12px 10px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover { background: var(--sky-pale); }

/* 最初の画面：空の地に、題字がいちばん大きい字。絵は主役の大きさ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--sky-1) 0%, #3f8fd0 55%, var(--sky-2) 100%);
  color: #fff;
  padding: 56px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgba(255, 246, 214, 0.45), rgba(255, 246, 214, 0));
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.kick { margin: 0 0 4px; font-weight: 700; color: #ffe39a; letter-spacing: 0.08em; }
.logo {
  margin: 0; font-weight: 900; font-size: clamp(60px, 7.4vw, 108px); line-height: 1.05; letter-spacing: 0.02em; white-space: nowrap;
  color: var(--cream);
  text-shadow: 0 0 18px rgba(8, 40, 90, 0.35), 0 2px 4px rgba(8, 40, 90, 0.25);
}
.logo small { display: block; font-size: 0.17em; letter-spacing: 0.4em; font-weight: 700; color: #d9eeff; margin-top: 6px; text-shadow: none; }
.tagline { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.5; margin: 20px 0 12px; }
.hero .lead { color: #eaf5ff; margin: 0 0 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.status {
  /* 押せない札：枠も塗りも無い字と、小さな雲の印だけ（ボタンに見せない） */
  display: inline-flex; align-items: center; gap: 8px; padding: 0; background: none;
  color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 0.08em;
}
.status::before {
  content: ""; width: 18px; height: 11px; flex: none;
  background:
    radial-gradient(circle at 30% 70%, #fff 34%, transparent 36%),
    radial-gradient(circle at 58% 42%, #fff 40%, transparent 42%),
    radial-gradient(circle at 80% 72%, #fff 30%, transparent 32%);
}
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 800; text-decoration: none;
  box-shadow: 0 8px 20px rgba(184, 92, 14, 0.30);
}
.btn:hover { filter: brightness(1.05); }
.hero-art { margin: 0; position: relative; }
.hero-art img { border-radius: 28px; box-shadow: 0 24px 60px rgba(6, 30, 70, 0.35); width: 100%; }
.hero-art figcaption { position: absolute; right: 14px; bottom: 10px; font-size: 11px; color: rgba(255, 255, 255, 0.85); }
/* 雲の形の段の境目 */
.cloud-edge {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background:
    radial-gradient(60px 46px at 6% 100%, var(--sky-pale) 98%, transparent 100%),
    radial-gradient(90px 70px at 18% 100%, var(--sky-pale) 98%, transparent 100%),
    radial-gradient(70px 50px at 31% 100%, var(--sky-pale) 98%, transparent 100%),
    radial-gradient(110px 80px at 46% 100%, var(--sky-pale) 98%, transparent 100%),
    radial-gradient(80px 56px at 61% 100%, var(--sky-pale) 98%, transparent 100%),
    radial-gradient(100px 74px at 76% 100%, var(--sky-pale) 98%, transparent 100%),
    radial-gradient(70px 52px at 90% 100%, var(--sky-pale) 98%, transparent 100%),
    linear-gradient(transparent 70%, var(--sky-pale) 70%);
}

/* 段 */
.sec { padding: 56px 0; position: relative; }
/* 空の色の段：上下を雲の縁で受ける（となりの段と境目が見える） */
.sec.sky { background: #d4eafb; padding: 96px 0; }
.sec.sky::before, .sec.sky::after {
  content: ""; position: absolute; left: 0; right: 0; height: 48px; pointer-events: none;
  background:
    radial-gradient(70px 40px at 8% 0%, var(--sky-pale) 98%, transparent 100%),
    radial-gradient(100px 48px at 26% 0%, var(--sky-pale) 98%, transparent 100%),
    radial-gradient(80px 40px at 47% 0%, var(--sky-pale) 98%, transparent 100%),
    radial-gradient(110px 50px at 68% 0%, var(--sky-pale) 98%, transparent 100%),
    radial-gradient(76px 40px at 90% 0%, var(--sky-pale) 98%, transparent 100%);
}
.sec.sky::before { top: -1px; }
.sec.sky::after { bottom: -1px; transform: scaleY(-1); }
.folio { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-weight: 800; color: var(--accent-ink); letter-spacing: 0.06em; }
.folio .no {
  width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 16px; box-shadow: 0 4px 10px rgba(184, 92, 14, 0.25);
}
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.35; margin: 0 0 14px; font-weight: 900; }
h3 { font-size: 21px; line-height: 1.45; margin: 0 0 8px; font-weight: 800; }
.lead { font-size: 17px; color: var(--ink-soft); max-width: 46em; margin: 0 0 28px; }
.note { font-size: 13px; color: var(--ink-soft); margin: 16px 0 0; }

/* 住人 */
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.people li {
  background: radial-gradient(circle at 50% 30%, #ffffff 0%, #e6f3fd 70%);
  border-radius: var(--radius); padding: 16px 10px 12px; text-align: center; box-shadow: var(--shadow);
}
.people img { margin: 0 auto 8px; max-height: 190px; width: auto; }
.people span { font-size: 13px; font-weight: 700; word-break: keep-all; overflow-wrap: normal; display: block; line-height: 1.5; }
.people.mini { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.people.mini li { padding: 12px 6px; }
.people.mini img { max-height: 130px; margin: 0 auto; }

/* 縦の画面の写真 */
.phone { margin: 0; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.phone img { width: 100%; }

/* 遊び方 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.step .phone { margin-bottom: 18px; }
.step .no {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--accent-ink); font-weight: 900; font-size: 18px; box-shadow: var(--shadow); margin-bottom: 8px;
}
.step p { margin: 0; color: var(--ink-soft); }
.more-shots { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px; align-items: center; }
.more-shots h3 { grid-column: 1 / -1; margin: 0; }
.more-shots figure { margin: 0; max-width: 340px; }
.more-shots figcaption { font-size: 14px; margin-top: 8px; color: var(--ink-soft); }

/* 見どころ */
.moments { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.moment .phone { margin-bottom: 16px; }
.moment p { margin: 0; color: var(--ink-soft); }

/* 特長 */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature {
  background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.feature h3 { margin: 4px 0 0; }
.feature p { margin: 0; color: var(--ink-soft); }
.feature .pic { margin: 0; border-radius: 16px; overflow: hidden; }
/* 特長の札：絵の場所の高さを 280px にそろえる（札の下に空きを作らない） */
.feature .vis { margin: 0; height: 280px; border-radius: 16px; overflow: hidden; background: var(--sky-pale); }
.feature .vis img { width: 100%; height: 100%; object-fit: cover; }
.feature .vis.phone-crop img { object-position: 50% 42%; }
.feature .vis.book img { object-position: 50% 40%; }
.feature .vis.chains { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 12px; }
.feature .vis.chains .chain { margin: 0; background: #fff; }
.feature .vis.chains img { width: calc((100% - 24px) / 7); height: auto; object-fit: contain; }
.feature .phone.small { border-radius: 20px; max-width: 240px; margin: 0 auto; }
.chain { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; padding: 10px 12px; background: var(--sky-pale); border-radius: 16px; margin-bottom: 10px; }
.chain img { width: calc((100% - 24px) / 7); }

/* よくある質問 */
.faq { margin: 0; display: grid; gap: 14px; max-width: 860px; }
.faq div { background: var(--card); border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow); }
.faq dt { font-weight: 800; font-size: 17px; }
.faq dt::before { content: "Q"; color: var(--accent); font-weight: 900; margin-right: 10px; }
.faq dd { margin: 6px 0 0; color: var(--ink-soft); }

/* 締めの段：空の色の大きな段 */
.release {
  margin-top: 24px; padding: 88px 0 96px; text-align: center; color: #fff;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 100%);
  position: relative; overflow: hidden;
}
.release::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 70px;
  background:
    radial-gradient(80px 60px at 10% 0%, var(--sky-pale) 98%, transparent 100%),
    radial-gradient(110px 70px at 30% 0%, var(--sky-pale) 98%, transparent 100%),
    radial-gradient(90px 60px at 52% 0%, var(--sky-pale) 98%, transparent 100%),
    radial-gradient(120px 76px at 74% 0%, var(--sky-pale) 98%, transparent 100%),
    radial-gradient(80px 56px at 93% 0%, var(--sky-pale) 98%, transparent 100%);
}
.release .wrap { position: relative; }
.release-icon { margin: 0 auto 18px; border-radius: 26px; box-shadow: 0 14px 36px rgba(6, 30, 70, 0.35); }
.release h2 { color: var(--cream); font-size: clamp(28px, 4vw, 44px); text-shadow: 0 0 16px rgba(8, 40, 90, 0.3); }
.status.big { margin-top: 12px; font-size: 16px; }
.people.closing { max-width: 420px; margin: 0 auto 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.people.closing li { background: rgba(255, 255, 255, 0.16); box-shadow: none; }
.people.closing img { max-height: 120px; margin: 0 auto; }

.site-foot { padding: 28px 0 40px; font-size: 13px; color: var(--ink-soft); }
.site-foot p { margin: 6px 0 0; }

/* 狭い画面（390 幅）：写真を上、文を下に積む */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; gap: 36px; max-width: 420px; }
  .more-shots { grid-template-columns: 1fr; }
  .moments { grid-template-columns: 1fr; max-width: 420px; }
  .features { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .site-nav { display: none; }
  .nav-play { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; color: var(--ink); font-weight: 800; text-decoration: none; background: var(--sky-pale); }
  .hero-art img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 45%; }
  .hero { padding: 36px 0 100px; }
  .sec { padding: 52px 0; }
  .feature { padding: 18px; }
  .feature .vis.wide { height: auto; }
  .feature .vis.chains { height: auto; padding: 12px; }
  .feature .vis.wide img { height: auto; }
  .people img { max-height: 150px; }
}
