:root {
  --sky: #66ccff;
  --sky-deep: #0d80b8;
  --sky-soft: #eaf7ff;
  --bee: #FAC90F;
  --bee-deep: #c99300;
  --bg: #eaf7ff;
  --bg2: #f4fbff;
  --card: #ffffff;
  --line: rgba(13, 80, 120, .12);
  --text: #0e2d40;
  --muted: #5d7c8d;
  --brand: #66ccff;
  --brand2: #0d80b8;
  --accent: #FAC90F;
  --green: #15a55b;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(18, 90, 130, .18);
  --maxw: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Meiryo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

  /* 日本語の自然な改行（対応ブラウザ用フォールバック） */
  word-break: auto-phrase;
  overflow-wrap: break-word;
}

/* 文節の途中で改行させないための保護クラス */
.ib {
  display: inline-block;
  white-space: nowrap; /* これにより要素内での不自然な改行を完全に防ぎます */
}

/* 540px以下では長いフレーズが画面幅より広くなり、文字が見えない形で
   切れてしまう（overflow-x:hiddenでクリップされる）ため、狭い画面では
   文節保護よりも「文字が読めること」を優先し折り返しを許可する。 */
@media (max-width: 540px) {
  .ib {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--brand2);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .01em;
}

.section-lead {
  color: var(--muted);
  max-width: 660px;
  margin-top: 14px;
  font-size: 1.02rem;
}

.kw {
  font-weight: 800;
  color: var(--bee-deep);
  background: linear-gradient(transparent 58%, rgba(250, 201, 15, .4) 0);
  padding: 0 .12em;
  border-radius: 2px;
  white-space: nowrap;
}

section {
  padding: 96px 0;
  position: relative;
}

/* ===== Header ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.2rem;
}

.logo .mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff url('ABeeIcon1.png') center/cover no-repeat;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 18px rgba(13, 128, 184, .35);
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: .92rem;
  color: var(--muted);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--sky-deep);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--bee), #ffdc4d);
  color: #3a2c00;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: .9rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(250, 201, 15, .45);
  white-space: nowrap;
}

/* ===== モバイルナビゲーション（ハンバーガーメニュー） ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    white-space: normal;
    transition: max-height .25s ease;
  }

  .nav-links.open {
    max-height: 480px;
    padding: 8px 24px 18px;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }
}

/* ===== Hero ===== */
.hero {
  padding: 160px 0 90px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #66ccff 0%, #9bdcff 60%, #c7edff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}

/* grid子要素は既定でmin-width:autoのため、折り返し禁止テキスト(.ib)の
   最小幅より縮まずページがはみ出す。min-width:0で正しく縮小・折り返しさせる。 */
.hero-grid > * {
  min-width: 0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  z-index: 0;
}

.glow.a {
  width: 520px;
  height: 520px;
  background: #ffe487;
  top: -160px;
  right: -120px;
}

.glow.b {
  width: 420px;
  height: 420px;
  background: #ffffff;
  bottom: -180px;
  left: -120px;
}

.hero-grid > * {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(21, 165, 91, .45);
  color: #0e7a44;
  font-size: .82rem;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(21, 165, 91, .25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

h1.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .005em;
  color: #0c3146;
}

h1.hero-title .grad {
  background: linear-gradient(120deg, #0a6390, var(--bee-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: #13455d;
  font-size: 1.12rem;
  margin-top: 24px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--bee), #ffdc4d);
  color: #3a2c00;
  box-shadow: 0 12px 30px rgba(250, 201, 15, .5);
}

.btn-ghost {
  border: 1px solid rgba(12, 49, 70, .25);
  color: #0c3146;
  background: rgba(255, 255, 255, .6);
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 46px;
  flex-wrap: wrap;
}

.hero-stats .stat .num {
  font-size: 1.9rem;
  font-weight: 900;
  color: #075d87;
}

.hero-stats .stat .lbl {
  font-size: .82rem;
  color: #1d5066;
}

/* ===== Phone mockup ===== */
.phone {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  background: #ffffff;
  border: 9px solid #ffffff;
  border-radius: 42px;
  box-shadow: 0 24px 60px rgba(12, 60, 90, .28);
  padding: 14px 12px 22px;
  position: relative;
}

/* リッチメニューのデモ用スマホは、ダミー応答がスクロールなしで
   読めるようひとまわり大きくする（ヒーロー側の.phoneには影響しない） */
.phone-lg {
  max-width: 340px;
}

.chat-body-demo {
  height: 190px;
  overflow-y: auto;
}

.phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 7px;
  border-radius: 99px;
  background: #d6eefc;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 8px 12px;
  border-bottom: 1px solid var(--line);
}

.chat-head .av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff url('ABeeIcon2.png') center/cover no-repeat;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.chat-head .nm {
  font-weight: 800;
  font-size: .95rem;
  color: var(--text);
}

.chat-head .st {
  font-size: .72rem;
  color: var(--green);
}

.chat-body {
  padding: 16px 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bubble {
  font-size: .84rem;
  padding: 11px 13px;
  border-radius: 16px;
  max-width: 90%;
  line-height: 1.6;
}

.bubble.bot {
  background: #f0f6fb;
  border: 1px solid var(--line);
  border-top-left-radius: 4px;
  align-self: flex-start;
  color: var(--text);
}

.bubble.me {
  background: linear-gradient(135deg, #3bb4ec, #0d80b8);
  color: #fff;
  border-top-right-radius: 4px;
  align-self: flex-end;
}

.bubble .ttl {
  font-weight: 800;
  color: var(--sky-deep);
  display: block;
  margin-bottom: 4px;
}

.bubble small {
  color: var(--muted);
}

.tag {
  display: inline-block;
  font-size: .68rem;
  background: rgba(250, 201, 15, .22);
  color: #8a6800;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 6px;
}

/* ===== rich menu mockup ===== */
.rm-phone-row {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.rm-phone-row > * {
  min-width: 0;
}
@media (max-width: 900px) {
  .rm-phone-row { grid-template-columns: 1fr; gap: 40px; }
}
.richmenu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 6px 4px;
}
.richmenu-grid > * {
  min-width: 0;
}
.rm-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--sky-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 4px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.rm-btn .rm-ic { font-size: 1.3rem; }
.rm-btn .rm-lbl { font-size: .68rem; font-weight: 700; color: var(--text); }
.rm-btn.opt {
  background: #ffffff;
  border: 1px dashed rgba(250, 201, 15, .7);
}
.rm-btn.active {
  background: var(--sky);
  border-color: var(--sky-deep);
}
.rm-btn.active .rm-lbl { color: #ffffff; }
.rm-btn.opt.active {
  background: rgba(250, 201, 15, .55);
  border-style: solid;
  border-color: rgba(250, 201, 15, .9);
}
.rm-btn .rm-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: .55rem;
  font-weight: 800;
  color: #8a6800;
  background: rgba(250, 201, 15, .3);
  padding: 1px 5px;
  border-radius: 999px;
}
.rm-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rm-input-bar .rm-input {
  flex: 1;
  background: #f0f6fb;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .78rem;
  color: var(--muted);
}
.rm-input-bar .rm-send {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3bb4ec, #0d80b8);
  display: grid;
  place-items: center;
  font-size: .8rem;
  color: #fff;
  flex-shrink: 0;
}

/* ===== generic cards ===== */
.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .cols-3, .cols-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 24px rgba(18, 90, 130, .06);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(102, 204, 255, .7);
  box-shadow: 0 16px 36px rgba(18, 90, 130, .14);
}

.card .ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background: rgba(102, 204, 255, .18);
  border: 1px solid rgba(102, 204, 255, .5);
}

.card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: .96rem;
}

/* ===== problem strip ===== */
.problem { background: #ffffff; }
.problem .grid { margin-top: 40px; }
.pcard {
  background: var(--sky-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.pcard .q { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.pcard .a { color: var(--muted); font-size: .92rem; margin-top: 10px; display: flex; gap: 8px; }
.pcard .a .arrow { color: var(--sky-deep); font-weight: 900; }

/* ===== roadmap ===== */
.roadmap { background: #ffffff; }
.rm-list { margin-top: 50px; display: flex; flex-direction: column; gap: 18px; }
.rm-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 22px;
  align-items: center;
  background: var(--sky-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 26px;
}
.rm-item > * {
  min-width: 0;
}
@media (max-width: 760px) {
  .rm-item { grid-template-columns: 48px 1fr; }
  .rm-item .status { grid-column: 2; }
}
.rm-no {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.4rem;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--muted);
}
.rm-item.live {
  background: linear-gradient(135deg, rgba(102, 204, 255, .22), rgba(250, 201, 15, .16));
  border-color: rgba(102, 204, 255, .6);
}
.rm-item.live .rm-no {
  background: linear-gradient(135deg, var(--sky), var(--sky-deep));
  color: #fff;
  border: none;
}
.rm-body h4 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.rm-body p { color: var(--muted); font-size: .92rem; }
.status {
  font-size: .78rem;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.status.live { background: rgba(21, 165, 91, .16); color: #0e7a44; border: 1px solid rgba(21, 165, 91, .45); }
.status.next { background: rgba(13, 128, 184, .14); color: var(--sky-deep); border: 1px solid rgba(13, 128, 184, .4); }
.status.plan { background: rgba(250, 201, 15, .18); color: #8a6800; border: 1px solid rgba(250, 201, 15, .45); }
.status.done { background: rgba(93, 124, 141, .14); color: var(--muted); border: 1px solid rgba(93, 124, 141, .35); }

/* ===== how it works ===== */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.flow > * { min-width: 0; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, 1fr); } }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  position: relative;
  box-shadow: 0 8px 24px rgba(18, 90, 130, .06);
}
.step .n { font-size: .8rem; font-weight: 800; color: var(--sky-deep); }
.step h4 { margin: 8px 0 8px; font-size: 1.08rem; font-weight: 800; }
.step p { color: var(--muted); font-size: .9rem; }

/* ===== tech ===== */
.tech { background: var(--bg2); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.chip {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: .9rem;
  color: var(--muted);
}
.chip b { color: var(--text); }
.pillars { margin-top: 48px; }
.pillar .ic { background: rgba(250, 201, 15, .18); border-color: rgba(250, 201, 15, .45); }

/* ===== CTA ===== */
.cta { text-align: center; }
.cta-box {
  background: linear-gradient(135deg, rgba(102, 204, 255, .4), rgba(250, 201, 15, .28));
  border: 1px solid rgba(102, 204, 255, .5);
  border-radius: 28px;
  padding: 64px 32px;
  position: relative;
  overflow: hidden;
}
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: #0c3146; }
.cta p { color: #1d5066; margin: 16px auto 32px; max-width: 560px; }

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  color: var(--muted);
  font-size: .85rem;
  background: #ffffff;
}
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }

/* ===== use cases (scenes) ===== */
.usecase { background: linear-gradient(165deg, #66ccff, #8ed7ff); }
.usecase .section-lead { color: #13455d; }
.scene {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 40px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(12, 60, 90, .22);
}
.scene > * {
  min-width: 0;
}
.scene.flip .scene-art { order: 2; }
@media (max-width: 860px) {
  .scene { grid-template-columns: 1fr; }
  .scene.flip .scene-art { order: 0; }
}
.scene-art {
  background: radial-gradient(120% 120% at 50% 0%, #d6f0ff 0%, #b6e4ff 70%);
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.scene-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .35), transparent 60%);
  pointer-events: none;
}
.scene-txt { padding: 42px 40px; display: flex; flex-direction: column; justify-content: center; }
.scene-txt .who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 800;
  color: var(--sky-deep);
  margin-bottom: 14px;
}
.scene-txt .who .pill {
  background: rgba(102, 204, 255, .16);
  border: 1px solid rgba(102, 204, 255, .5);
  padding: 3px 11px;
  border-radius: 999px;
}
.scene-txt h3 { font-size: 1.45rem; font-weight: 800; line-height: 1.4; margin-bottom: 14px; }
.scene-txt p { color: var(--muted); font-size: .98rem; }
.scene-txt .moment {
  margin-top: 18px;
  font-size: .88rem;
  color: var(--text);
  background: var(--sky-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--bee);
  border-radius: 10px;
  padding: 12px 16px;
}
.scene-txt .moment b { color: var(--bee-deep); }
.mini {
  width: 100%;
  max-width: 330px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(12, 60, 90, .18);
  overflow: hidden;
}
.mini-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--sky-soft);
  border-bottom: 1px solid var(--line);
}
.mini-head .av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff url('ABeeIcon2.png') center/cover no-repeat;
  display: grid;
  place-items: center;
  font-size: .95rem;
}
.mini-head .nm { font-weight: 800; font-size: .86rem; color: var(--text); }
.mini-head .nm small { display: block; color: var(--green); font-weight: 600; font-size: .68rem; }
.mini-body { padding: 15px; display: flex; flex-direction: column; gap: 10px; background: #ffffff; }
.mb { font-size: .8rem; line-height: 1.6; padding: 10px 12px; border-radius: 14px; max-width: 92%; }
.mb.bot { background: #f0f6fb; border: 1px solid var(--line); border-top-left-radius: 4px; align-self: flex-start; color: var(--text); }
.mb.me { background: linear-gradient(135deg, #3bb4ec, #0d80b8); color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.mb .h { display: block; font-weight: 800; color: var(--sky-deep); margin-bottom: 3px; }
.mb small { color: var(--muted); }
.mb.me small { color: rgba(255, 255, 255, .85); }
.chiprow { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.qbtn {
  font-size: .7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(13, 128, 184, .4);
  color: var(--sky-deep);
  background: rgba(102, 204, 255, .12);
}
.qbtn.solid { background: linear-gradient(135deg, var(--bee), #ffdc4d); color: #3a2c00; border: none; }

/* ===== concept (coming soon) cards ===== */
.concept { background: var(--bg2); }
.ccards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 46px; }
.ccards > * { min-width: 0; }
@media (max-width: 860px) { .ccards { grid-template-columns: 1fr; } }
.ccard {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 24px rgba(18, 90, 130, .06);
}
.ccard:hover { transform: translateY(-4px); border-color: rgba(250, 201, 15, .6); box-shadow: 0 16px 36px rgba(18, 90, 130, .14); }
.ccard::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 201, 15, .22), transparent 70%);
  pointer-events: none;
}
.soon {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #8a6800;
  background: rgba(250, 201, 15, .18);
  border: 1px solid rgba(250, 201, 15, .5);
  padding: 5px 12px;
  border-radius: 999px;
}
.ccard .chead { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.ccard .cic {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: rgba(250, 201, 15, .16);
  border: 1px solid rgba(250, 201, 15, .45);
}
.ccard .chead h3 { font-size: 1.18rem; font-weight: 800; }
.ccard .priono { font-size: .72rem; color: var(--muted); font-weight: 700; }
.ccard > p { color: var(--muted); font-size: .94rem; margin: 6px 0 18px; }
.ccard .mini { max-width: 100%; }
.ccard .mini-body { padding: 13px; }
.ccard .mb { font-size: .78rem; }

/* ===== custom development ===== */
.custom { background: linear-gradient(165deg, #0d80b8, #0a6390); color: #eaf7ff; }
.custom .eyebrow { color: #bce6ff; }
.custom .section-title { color: #ffffff; }
.custom .section-lead { color: #cfeaf9; }
.custom .ccol {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 28px;
}
.custom .ccol .ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background: rgba(250, 201, 15, .22);
  border: 1px solid rgba(250, 201, 15, .5);
}
.custom .ccol h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 10px; color: #ffffff; }
.custom .ccol p { color: #cfeaf9; font-size: .95rem; }
.custom .lead-strong { color: #fff; font-weight: 800; }
.custom .custom-cta { display: inline-flex; margin-top: 44px; }

/* ===== contact ===== */
.contact { background: #ffffff; }
.contact-form {
  max-width: 640px;
  margin: 46px auto 0;
  background: var(--sky-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: 0 8px 24px rgba(18, 90, 130, .06);
}
@media (max-width: 640px) { .contact-form { padding: 28px 20px; } }
.contact-form .field { margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.contact-form label { font-size: .92rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.contact-form .req {
  font-size: .66rem;
  font-weight: 800;
  color: #b4452f;
  background: rgba(220, 80, 55, .12);
  border: 1px solid rgba(220, 80, 55, .35);
  padding: 2px 8px;
  border-radius: 6px;
}
.contact-form .opt {
  font-size: .66rem;
  font-weight: 700;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 6px;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  font: inherit;
  font-size: .96rem;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(102, 204, 255, .25);
}
.contact-form textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.contact-form .btn { width: 100%; border: none; cursor: pointer; margin-top: 6px; }
.contact-form .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.contact-form .form-note { font-size: .82rem; color: var(--muted); margin-top: 16px; line-height: 1.6; }
.contact-form .form-note b { color: var(--bee-deep); }
.form-status {
  margin-top: 18px;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 14px 16px;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(21, 165, 91, .12); border: 1px solid rgba(21, 165, 91, .45); color: #0e7a44; }
.form-status.ng { background: rgba(220, 80, 55, .1); border: 1px solid rgba(220, 80, 55, .4); color: #b4452f; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ===== 小画面（スマートフォン）向け微調整 ===== */
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 120px 0 60px; }
  section { padding: 64px 0; }
  .hero-stats { gap: 20px; }
  .cta-box { padding: 44px 20px; }
  .scene-txt { padding: 28px 22px; }
  .contact-form { padding: 22px 16px; }
}

/* ===== 極小画面（280〜320px）: ヘッダーCTAが2行に折り返されるため縮小 ===== */
@media (max-width: 340px) {
  .nav-cta { padding: 7px 12px; font-size: .74rem; }
  .logo { font-size: 1rem; gap: 8px; }
  .logo .mark { width: 32px; height: 32px; }
  .nav-actions { gap: 8px; }
}
