/* =========================================================
   ミルタグ 工事中ページ（apex のトップ）
   公開用のサービスサイトができるまでの仮ページ。色とフォントは LP（style.css）に合わせる
   ========================================================= */

:root{
  --green:      #6fb23f;
  --green-soft: #eaf6df;
  --teal:       #2f5d54;
  --yellow:     #ffc93c;
  --orange:     #ff7a2f;
  --sky-soft:   #d5f0fd;
  --cream:      #fffdf5;
  --ink:        #2b3a33;
  --ink-soft:   #5c6b63;
  --font: "M PLUS Rounded 1c",-apple-system,"Hiragino Maru Gothic ProN","Hiragino Kaku Gothic ProN",sans-serif;
}

*{ box-sizing: border-box; }

html, body{ margin: 0; }

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 12%, #fff 0 60px, transparent 61px),
    radial-gradient(circle at 82% 20%, #fff 0 44px, transparent 45px),
    linear-gradient(180deg, var(--sky-soft) 0%, var(--cream) 62%, var(--green-soft) 100%);
}

.cs{
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 16px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ロゴ画像は白背景なので、白いパネルに載せて背景のグラデーションとなじませる */
.cs-logo{
  width: min(260px, 64vw);
  height: auto;
  padding: 10px 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(47,93,84,.10);
}

/* ---------- 工事現場の演出 ---------- */
.cs-scene{
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 230px;
  margin: 32px 0 28px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.cs-ground{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  border-radius: 999px;
  background: #d9c9a3;
  z-index: 0;
}

.cs-cone,
.cs-mascot,
.cs-barricade{
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
}

.cs-cone{ width: 54px; height: auto; }

.cs-mascot{
  width: 190px;
  height: auto;
  transform-origin: 50% 100%;
  animation: cs-bob 2.4s ease-in-out infinite;
}

.cs-barricade{ width: 210px; height: auto; }

.cs-sign{
  font-family: var(--font);
  font-weight: 800;
  font-size: 22px;
  fill: var(--teal);
}

@keyframes cs-bob{
  0%, 100%{ transform: translateY(0) rotate(0); }
  50%     { transform: translateY(-8px) rotate(-2deg); }
}

@media (prefers-reduced-motion: reduce){
  .cs-mascot{ animation: none; }
}

/* ---------- 文言 ---------- */
.cs-title{
  margin: 0;
  font-size: clamp(26px, 5.2vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--teal);
}

.cs-br{ display: none; }

.cs-lead{
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--ink-soft);
}

/* 狭い画面でも文節の途中で折り返さない */
.cs-phrase{ display: inline-block; }

.cs-footer{
  padding: 20px 16px;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- スマートフォン ---------- */
@media (max-width: 560px){
  .cs{ padding-top: 36px; }
  .cs-scene{ height: 150px; gap: 4px; }
  .cs-cone{ width: 30px; }
  .cs-mascot{ width: 118px; }
  .cs-barricade{ width: 128px; }
  .cs-br{ display: inline; }
  .cs-lead{ font-size: 14px; }
}
