/* ===== Office Match LP ===== */
:root {
  --orange: #F6A14E;          /* ブランドオレンジ */
  --pink: #EA5B75;            /* ブランドピンク */
  --pink-deep: #E23B5E;
  --vermilion: #F05A28;       /* 重なりの朱色 */
  --orange-soft: #FFF3E6;
  --pink-soft: #FDEBEF;
  --orange-dark: #E88A2E;
  --green: #34C759;
  --green-soft: #EAF9EE;
  --bg: #FFFBF6;
  --ink: #3A3340;
  --ink-soft: #8A7F8C;
  --white: #fff;
  --radius: 22px;
  --radius-lg: 30px;
  --grad: linear-gradient(120deg, var(--pink) 0%, var(--vermilion) 55%, var(--orange) 100%);
  --shadow: 0 10px 30px rgba(234, 91, 117, .10);
  --shadow-lg: 0 24px 60px rgba(234, 91, 117, .18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
.pc-only { display: inline; }
@media (max-width: 768px) { .pc-only { display: none; } }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }

/* ===== reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; font-weight: 700; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad);
  color: #fff; box-shadow: 0 8px 20px rgba(234, 91, 117, .4);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(234, 91, 117, .5); }
.btn-ghost { background: #fff; color: var(--ink); border: 3px solid #FFE0D1; }
.btn-ghost:hover { border-color: var(--orange); color: var(--vermilion); }
.btn-white { background: #fff; color: var(--pink-deep); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ===== header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.header-inner {
  max-width: 1080px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; }
.brand-logo { width: 36px; height: 36px; object-fit: contain; transition: transform .3s; }
.brand:hover .brand-logo { transform: rotate(-12deg) scale(1.1); }
.brand-text em { font-style: normal; color: var(--pink-deep); }
.brand-sub {
  font-size: 10px; font-weight: 700; color: #fff;
  background: var(--green); border-radius: 999px; padding: 3px 10px;
  vertical-align: middle; margin-left: 4px; letter-spacing: .06em;
}
.header-nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 500; }
.header-nav a { color: var(--ink-soft); transition: color .2s; }
.header-nav a { position: relative; padding-bottom: 2px; }
.header-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 3px;
  border-radius: 999px; background: var(--grad); transition: width .3s;
}
.header-nav a:hover { color: var(--pink-deep); }
.header-nav a:hover::after { width: 100%; }
.header-cta { white-space: nowrap; }
@media (max-width: 820px) { .header-nav { display: none; } .header-cta { margin-left: auto; } }

/* ===== hero ===== */
.hero {
  position: relative; padding: 130px 24px 90px; overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(246,161,78,.14) 0 110px, transparent 111px),
    radial-gradient(circle at 88% 72%, rgba(234,91,117,.12) 0 130px, transparent 131px),
    linear-gradient(180deg, #FFF3EC 0%, var(--bg) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(234,91,117,.16) 2.5px, transparent 2.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 62%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 62%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.blob-1 { width: 420px; height: 420px; background: #FFD8C4; top: -120px; right: -80px; animation: blobmove 14s ease-in-out infinite; }
.blob-2 { width: 320px; height: 320px; background: #FBD0DA; bottom: -60px; left: -100px; animation: blobmove 18s ease-in-out infinite reverse; }
.blob-3 { width: 220px; height: 220px; background: #FFE9D6; top: 40%; left: 45%; animation: blobmove 20s ease-in-out infinite; }
@keyframes blobmove {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px, -25px) scale(1.08); }
}
.hero-inner {
  position: relative; max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--pink-deep); font-weight: 800; font-size: 13px;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 22px;
  border: 2.5px solid var(--pink); box-shadow: 4px 4px 0 rgba(234,91,117,.25);
  transform: rotate(-1.5deg);
}
.badge-logo { width: 20px; height: 20px; object-fit: contain; }
.hero-title { font-size: clamp(32px, 5vw, 52px); font-weight: 900; line-height: 1.4; letter-spacing: .02em; }
.marker {
  background: linear-gradient(transparent 60%, rgba(246, 161, 78, .5) 60%);
  background-repeat: no-repeat;
  color: var(--pink-deep);
}
.hero-lead { margin: 22px 0 30px; font-size: 16px; color: var(--ink-soft); }
.hero-lead strong { color: var(--ink); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.hero-points i { color: var(--green); margin-right: 4px; }

/* hero phone */
.hero-phone-wrap { position: relative; display: flex; justify-content: center; }
.hero-float-card {
  position: absolute; background: #fff; border-radius: 16px; padding: 10px 16px;
  font-size: 13px; font-weight: 700; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.hero-float-card { border: 2.5px solid var(--pink-soft); }
.hero-float-1 { top: 14%; left: -8%; color: var(--ink); animation: floaty 4s ease-in-out infinite; transform: rotate(-4deg); }
.hero-float-1 i { color: var(--vermilion); }
.hero-float-1 strong { color: var(--pink-deep); }
.hero-float-2 { bottom: 18%; right: -6%; color: var(--green); animation: floaty 5s ease-in-out infinite .8s; transform: rotate(3deg); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== phone mock ===== */
.phone {
  width: 290px; background: #1a1a1e; border-radius: 44px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #333;
  position: relative;
}
.phone-hero { transform: rotate(3deg); animation: phoneIn 1s ease both .3s; }
@keyframes phoneIn { from { opacity: 0; transform: rotate(8deg) translateY(40px); } to { opacity: 1; transform: rotate(3deg) translateY(0); } }
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 24px; background: #1a1a1e; border-radius: 0 0 16px 16px; z-index: 5;
}
.phone-screen {
  background: var(--bg); border-radius: 34px; overflow: hidden;
  height: 560px; display: flex; flex-direction: column; position: relative;
}

/* app UI parts */
.app-header {
  background: #fff; padding: 34px 16px 12px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #F0F1F3; flex-shrink: 0;
}
.app-header-title { font-weight: 800; font-size: 15px; }
.app-header-icon { position: relative; color: var(--ink-soft); font-size: 15px; }
.badge-dot { position: absolute; top: -2px; right: -4px; width: 8px; height: 8px; background: var(--pink); border-radius: 50%; }
.app-search {
  margin: 10px 12px 6px; background: #fff; border-radius: 12px; padding: 9px 14px;
  font-size: 12px; color: #9CA3AF; border: 1px solid #EEF0F2; flex-shrink: 0;
}
.app-search i { margin-right: 6px; }
.app-chips { display: flex; gap: 6px; padding: 6px 12px; flex-shrink: 0; overflow: hidden; }
.chip {
  font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: #fff; color: var(--ink-soft); border: 1px solid #EEF0F2; white-space: nowrap;
}
.chip-on { background: var(--grad); color: #fff; border-color: transparent; }
.job-card {
  background: #fff; border-radius: 16px; padding: 12px 14px; margin: 8px 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,.05);
}
.job-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.job-tag { font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.tag-orange { background: var(--orange-soft); color: var(--orange-dark); }
.tag-green { background: var(--green-soft); color: #23A046; }
.tag-blue { background: #EAF2FF; color: #3B82F6; }
.tag-purple { background: #F3EAFF; color: #8B5CF6; }
.job-pay { font-weight: 900; color: var(--pink-deep); font-size: 15px; }
.job-pay small { font-size: 10px; color: var(--ink-soft); font-weight: 500; }
.job-title { font-weight: 700; font-size: 13px; line-height: 1.5; }
.job-meta { font-size: 10.5px; color: var(--ink-soft); margin-top: 3px; }
.job-meta i { color: #C4C9D0; margin-right: 2px; }
.app-bottomnav {
  margin-top: auto; background: #fff; border-top: 1px solid #F0F1F3;
  display: flex; padding: 8px 6px 14px; flex-shrink: 0;
}
.bnav {
  flex: 1; text-align: center; font-size: 9px; color: #9CA3AF; font-weight: 600;
  display: flex; flex-direction: column; gap: 3px; align-items: center;
}
.bnav i { font-size: 15px; }
.bnav.on { color: var(--pink-deep); }

.float-slow { animation: floaty 5s ease-in-out infinite; }
.float-slow.d1 { animation-delay: 1s; }
.float-slow.d2 { animation-delay: 2s; }

/* scroll hint */
.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid #D1D5DB; border-radius: 999px;
}
.scroll-hint span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 9px; background: var(--pink); border-radius: 999px;
  animation: scrolldot 1.8s ease-in-out infinite;
}
@keyframes scrolldot { 0% { opacity: 1; top: 8px; } 70% { opacity: 0; top: 24px; } 100% { opacity: 0; top: 8px; } }

/* ===== sections common ===== */
.section { padding: 96px 0; }
.section-label {
  text-align: center; font-weight: 900; font-size: 13px; letter-spacing: .22em;
  color: var(--pink); margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.section-label::before, .section-label::after {
  content: ""; width: 14px; height: 14px; border-radius: 5px;
  background: var(--grad); opacity: .8; transform: rotate(15deg);
}
.section-label.green { color: var(--green); }
.section-title { text-align: center; font-size: clamp(26px, 4vw, 38px); font-weight: 900; line-height: 1.5; letter-spacing: .02em; }
.section-lead { text-align: center; color: var(--ink-soft); margin-top: 16px; font-size: 15px; }
.text-orange { color: var(--pink-deep); }
.text-green { color: var(--green); }

/* ===== problems ===== */
.problems { background: #fff; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.problem-card {
  background: var(--bg); border-radius: var(--radius-lg); padding: 34px 26px; text-align: center;
  border: 2.5px solid #FFEDE0;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.problem-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow-lg); border-color: var(--orange); }
.problem-icon {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 26px;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: 28px;
  box-shadow: 6px 6px 0 rgba(246,161,78,.3);
  transform: rotate(-4deg); transition: transform .3s;
}
.problem-card:hover .problem-icon { transform: rotate(4deg) scale(1.08); }
.problem-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.problem-card p { font-size: 13.5px; color: var(--ink-soft); }
.problem-arrow { color: #D1D5DB; margin: 14px 0 10px; font-size: 14px; }
.problem-solve {
  display: inline-block; background: var(--green-soft); color: #23A046 !important;
  font-weight: 800 !important; font-size: 13px !important; padding: 8px 18px; border-radius: 999px;
}
.problem-solve i { margin-right: 5px; }

/* ===== showcase (scroll-linked) ===== */
.features { padding-bottom: 0; }
.showcase { margin-top: 60px; }
.showcase-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: start;
}
.showcase-phone-col {
  position: sticky; top: 90px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 20px 0 40px;
}
.phone-showcase { width: 300px; }
.phone-showcase .phone-screen { height: 590px; }
.showcase-dots { display: flex; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 999px; background: #D1D5DB; transition: all .3s; }
.dot.active { background: var(--grad); width: 26px; }

/* screens switching */
.screens { position: relative; flex: 1; display: flex; flex-direction: column; }
.screen {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; transform: translateX(40px) scale(.97); pointer-events: none;
  transition: opacity .5s ease, transform .5s ease;
}
.screen.active { opacity: 1; transform: translateX(0) scale(1); pointer-events: auto; }
.screen.prev { transform: translateX(-40px) scale(.97); }

.jobs-scroll { flex: 1; overflow: hidden; position: relative; }

/* steps column */
.showcase-steps { display: flex; flex-direction: column; }
.step { min-height: 78vh; display: flex; align-items: center; }
.step-card {
  background: #fff; border-radius: var(--radius-lg); padding: 40px 36px;
  box-shadow: var(--shadow); width: 100%; border: 2.5px solid transparent;
  opacity: .35; transform: translateY(16px) scale(.98);
  transition: opacity .5s, transform .5s, box-shadow .5s, border-color .5s;
}
.step.in-view .step-card { opacity: 1; transform: translateY(0) scale(1); box-shadow: 10px 10px 0 rgba(246,161,78,.18); border-color: #FFE3CC; }
.step-emoji { font-size: 40px; display: block; margin-bottom: 12px; }
.step-card h3 { font-size: 26px; font-weight: 900; }
.step-sub { color: var(--pink-deep); font-weight: 800; font-size: 14px; margin: 6px 0 14px; }
.step-card > p:not(.step-sub) { color: var(--ink-soft); font-size: 14.5px; }
.step-list { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.step-list li { font-size: 14px; font-weight: 600; }
.step-list i {
  color: #fff; background: var(--green); border-radius: 50%;
  width: 20px; height: 20px; display: inline-grid; place-items: center;
  font-size: 10px; margin-right: 9px;
}

/* screen2: post form */
.post-form { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; overflow: hidden; }
.post-form label { font-size: 10.5px; font-weight: 800; color: var(--ink-soft); margin-top: 7px; }
.form-input {
  background: #fff; border: 1.5px solid #EEF0F2; border-radius: 12px;
  padding: 9px 12px; font-size: 12.5px; min-height: 38px;
  display: flex; align-items: center; gap: 6px;
}
.form-input i { color: var(--vermilion); font-size: 11px; }
.form-input.filled { color: var(--ink); font-weight: 600; }
.form-input.sm { min-height: 34px; padding: 7px 10px; font-size: 11.5px; }
.form-input.textarea { align-items: flex-start; min-height: 66px; font-size: 11px; line-height: 1.6; color: var(--ink-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.form-row label { margin-top: 7px; display: block; }
.caret { width: 2px; height: 15px; background: var(--pink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.app-btn {
  border: none; border-radius: 14px; padding: 12px; font-weight: 800; font-size: 13px;
  font-family: inherit; margin-top: 10px; cursor: pointer;
}
.app-btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(234,91,117,.4); }
.pulse-btn { animation: pulsebtn 2s ease-in-out infinite; }
@keyframes pulsebtn { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* screen3: chat */
.chat-header { gap: 10px; justify-content: flex-start; }
.chat-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--green-soft);
  color: var(--green); display: grid; place-items: center; font-size: 13px;
}
.chat-header .app-header-title { display: flex; flex-direction: column; line-height: 1.3; }
.chat-header small.online { font-size: 9px; color: var(--green); font-weight: 600; }
.chat-body { flex: 1; padding: 12px; overflow: hidden; display: flex; flex-direction: column; gap: 9px; }
.chat-date { text-align: center; font-size: 9.5px; color: #9CA3AF; background: #EEF0F2; border-radius: 999px; padding: 3px 12px; align-self: center; }
.msg { max-width: 78%; position: relative; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s; }
.screen-chat.active .msg { opacity: 1; transform: translateY(0); }
.screen-chat.active .msg:nth-child(2) { transition-delay: .15s; }
.screen-chat.active .msg:nth-child(3) { transition-delay: .55s; }
.screen-chat.active .msg:nth-child(4) { transition-delay: .95s; }
.screen-chat.active .msg:nth-child(5) { transition-delay: 1.35s; }
.screen-chat.active .msg-typing { transition-delay: 1.8s; }
.msg p { padding: 9px 13px; border-radius: 16px; font-size: 11.5px; line-height: 1.6; }
.msg time { font-size: 8.5px; color: #9CA3AF; margin-top: 2px; display: block; }
.msg-in { align-self: flex-start; }
.msg-in p { background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.msg-out { align-self: flex-end; text-align: right; }
.msg-out p { background: var(--grad); color: #fff; border-bottom-right-radius: 4px; text-align: left; }
.msg-typing {
  align-self: flex-start; background: #fff; border-radius: 16px; border-bottom-left-radius: 4px;
  padding: 11px 14px; display: flex; gap: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.msg-typing span { width: 6px; height: 6px; background: #C4C9D0; border-radius: 50%; animation: typing 1.2s ease-in-out infinite; }
.msg-typing span:nth-child(2) { animation-delay: .2s; }
.msg-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
.chat-input {
  margin: 0 12px 10px; background: #fff; border-radius: 999px; padding: 9px 16px;
  font-size: 11.5px; color: #9CA3AF; display: flex; justify-content: space-between; align-items: center;
  border: 1px solid #EEF0F2; flex-shrink: 0;
}
.chat-input i { color: var(--pink); }

/* screen4: mypage */
.mypage-hero {
  background: var(--grad);
  padding: 42px 16px 20px; text-align: center; color: #fff; flex-shrink: 0;
}
.mypage-avatar {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.25);
  display: inline-grid; place-items: center; font-size: 22px; margin-bottom: 6px;
  border: 2px solid rgba(255,255,255,.6);
}
.mypage-name { font-weight: 900; font-size: 15px; }
.mypage-role { font-size: 10px; opacity: .9; }
.mypage-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
.stat-card { background: #fff; border-radius: 16px; padding: 12px; text-align: center; box-shadow: 0 3px 12px rgba(0,0,0,.05); }
.stat-label { font-size: 10px; color: var(--ink-soft); font-weight: 700; }
.stat-value { font-size: 21px; font-weight: 900; color: var(--pink-deep); }
.stat-value small { font-size: 11px; }
.mypage-limit { background: #fff; border-radius: 16px; margin: 0 12px; padding: 13px 14px; box-shadow: 0 3px 12px rgba(0,0,0,.05); }
.limit-head { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 800; margin-bottom: 7px; }
.limit-num { color: var(--green); }
.limit-bar { height: 9px; background: #EEF0F2; border-radius: 999px; overflow: hidden; }
.limit-fill {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--green), #6FDB8C); border-radius: 999px;
  transition: width 1.4s cubic-bezier(.2,.8,.2,1) .3s;
}
.screen-mypage.active .limit-fill { width: 31%; }
.limit-note { font-size: 9.5px; color: var(--ink-soft); margin-top: 7px; }
.limit-note i { color: var(--green); }
.mypage-history { padding: 12px; flex: 1; overflow: hidden; }
.history-title { font-size: 11px; font-weight: 800; color: var(--ink-soft); margin-bottom: 8px; }
.history-item {
  background: #fff; border-radius: 14px; padding: 10px 12px; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px; box-shadow: 0 3px 12px rgba(0,0,0,.05);
}
.history-name { font-size: 11.5px; font-weight: 700; flex: 1; }
.history-pay { font-size: 12px; font-weight: 900; color: var(--green); }

/* ===== admin ===== */
.admin {
  background:
    radial-gradient(circle at 90% 12%, rgba(52,199,89,.08) 0 120px, transparent 121px),
    radial-gradient(circle at 6% 80%, rgba(246,161,78,.08) 0 100px, transparent 101px),
    linear-gradient(180deg, var(--bg), #EFF7F1 60%, var(--bg));
}
.dash-window {
  margin-top: 52px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.dash-titlebar {
  background: #F3F4F6; padding: 11px 16px; display: flex; align-items: center; gap: 7px;
}
.dash-titlebar span { width: 11px; height: 11px; border-radius: 50%; background: #E5E7EB; }
.dash-titlebar span:nth-child(1) { background: #FF6B5E; }
.dash-titlebar span:nth-child(2) { background: #FFC24A; }
.dash-titlebar span:nth-child(3) { background: #35C75A; }
.dash-titlebar p { font-size: 12px; color: var(--ink-soft); font-weight: 600; margin-left: 8px; }
.dash-body { display: grid; grid-template-columns: 180px 1fr; }
.dash-side { background: #FAFBFC; border-right: 1px solid #F0F1F3; padding: 16px 10px; display: flex; flex-direction: column; gap: 4px; }
.dside { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); padding: 9px 12px; border-radius: 10px; }
.dside i { width: 18px; margin-right: 5px; }
.dside.on { background: var(--green-soft); color: #23A046; font-weight: 800; }
.dash-main { padding: 20px; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.dstat { background: var(--bg); border-radius: 16px; padding: 14px 16px; }
.dstat-label { font-size: 11px; font-weight: 700; color: var(--ink-soft); }
.dstat-label i { color: var(--green); margin-right: 4px; }
.dstat-num { font-size: 24px; font-weight: 900; color: var(--ink); }
.dstat-num small { font-size: 12px; color: var(--ink-soft); }
.dash-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash-panel { background: var(--bg); border-radius: 16px; padding: 16px; }
.dpanel-title { font-size: 13px; font-weight: 800; margin-bottom: 12px; }
.hbar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hbar-name { font-size: 11.5px; font-weight: 700; width: 58px; flex-shrink: 0; }
.hbar { flex: 1; height: 10px; background: #E9EBEE; border-radius: 999px; overflow: hidden; }
.hbar-fill { display: block; height: 100%; width: 0; border-radius: 999px; transition: width 1.3s cubic-bezier(.2,.8,.2,1) .2s; }
.hbar-fill.ok { background: linear-gradient(90deg, var(--green), #6FDB8C); }
.hbar-fill.warn { background: linear-gradient(90deg, #FFB020, #FFC94A); }
.hbar-fill.danger { background: linear-gradient(90deg, var(--pink-deep), var(--vermilion)); }
.hbar-val { font-size: 11px; font-weight: 800; width: 62px; text-align: right; flex-shrink: 0; }
.hbar-val .fa-triangle-exclamation { color: #FFB020; }
.hbar-val .fa-circle-exclamation { color: var(--pink-deep); }
.dpanel-note { font-size: 10.5px; color: var(--ink-soft); margin-top: 4px; }
.pay-row {
  display: flex; align-items: center; gap: 8px; background: #fff;
  border-radius: 12px; padding: 9px 12px; margin-bottom: 8px;
}
.pay-name { font-size: 12px; font-weight: 700; flex: 1; }
.pay-amt { font-size: 12.5px; font-weight: 900; }
.pay-check { font-size: 10.5px; font-weight: 700; color: #9CA3AF; }
.pay-check.done { color: var(--green); }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.admin-card {
  background: #fff; border-radius: var(--radius); padding: 28px 22px;
  box-shadow: var(--shadow); border: 2.5px solid #E5F5E9;
  transition: transform .3s, border-color .3s;
}
.admin-card:hover { transform: translateY(-5px) rotate(.5deg); border-color: var(--green); }
.admin-icon {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 14px;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-size: 21px;
}
.admin-card h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 8px; }
.admin-card p { font-size: 13px; color: var(--ink-soft); }

/* ===== flow ===== */
.flow { background: #fff; }
.flow-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px; align-items: stretch; margin-top: 52px;
}
.flow-card {
  position: relative; background: var(--bg); border-radius: var(--radius-lg);
  padding: 44px 26px 30px; text-align: center;
  border: 2.5px dashed #FFD9BC; transition: border-color .3s, transform .3s;
}
.flow-card:hover { border-color: var(--pink); transform: translateY(-4px); }
.flow-num {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%) rotate(-8deg);
  width: 46px; height: 46px; border-radius: 16px;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 20px;
  box-shadow: 4px 4px 0 rgba(246,161,78,.35);
}
.flow-icon {
  width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 22px;
  background: #fff; color: var(--vermilion); display: grid; place-items: center;
  font-size: 26px; box-shadow: var(--shadow);
}
.flow-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.flow-card p { font-size: 13.5px; color: var(--ink-soft); }
.flow-arrow { display: grid; place-items: center; color: var(--orange); font-size: 24px; animation: arrowbounce 1.6s ease-in-out infinite; }
@keyframes arrowbounce { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* ===== FAQ ===== */
.faq-for { display: block; font-size: 15px; color: var(--ink-soft); font-weight: 700; margin-top: 6px; }
.faq-list { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; border: 2.5px solid #FFF0E2; transition: border-color .3s;
}
.faq-item[open] { border-color: var(--orange); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-weight: 800; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; color: #fff; font-weight: 900;
  background: var(--grad); width: 30px; height: 30px; border-radius: 10px;
  display: inline-grid; place-items: center; flex-shrink: 0; font-size: 14px;
  transform: rotate(-6deg);
}
.faq-item summary i { color: #C4C9D0; transition: transform .3s; flex-shrink: 0; margin-left: auto; }
.faq-item[open] summary i { transform: rotate(180deg); color: var(--pink); }
.faq-item summary { gap: 12px; justify-content: flex-start; }
.faq-item p { padding: 0 24px 20px 66px; font-size: 14px; color: var(--ink-soft); position: relative; }
.faq-item p::before {
  content: "A"; color: #fff; font-weight: 900;
  background: var(--green); width: 30px; height: 30px; border-radius: 10px;
  display: inline-grid; place-items: center; font-size: 14px;
  position: absolute; left: 24px; top: -4px; transform: rotate(6deg);
}

/* ===== CTA band ===== */
.cta-band {
  background: var(--grad);
  padding: 84px 0; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.1);
}
.cta-band::before { width: 300px; height: 300px; top: -120px; left: -80px; }
.cta-band::after { width: 240px; height: 240px; bottom: -100px; right: -60px; }
.cta-band h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 900; }
.cta-band p { margin: 14px 0 30px; opacity: .95; }

/* ===== footer ===== */
.site-footer { background: #3A3340; color: #C9CBD3; padding: 64px 0 0; }
.footer-logo {
  width: 190px; background: #fff; border-radius: 16px; padding: 4px 10px;
  display: block; margin-bottom: 14px;
}
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.cocolococo-logo { font-size: 20px; font-weight: 900; color: #fff; letter-spacing: .04em; }
.cocolococo-logo span { color: var(--orange); }
.footer-app { font-weight: 700; margin-top: 8px; color: #fff; }
.footer-desc { font-size: 13px; margin-top: 8px; color: #9296A3; }
.footer-links-title { font-weight: 800; color: #fff; margin-bottom: 14px; font-size: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.footer-links a { color: #C9CBD3; transition: color .2s; }
.footer-links a:hover { color: var(--orange); padding-left: 4px; transition: all .2s; }
.footer-contact p { font-size: 13.5px; margin-bottom: 16px; }
.footer-contact i { color: var(--orange); margin-right: 6px; }
.footer-copy { text-align: center; padding: 20px; border-top: 1px solid #4A4250; font-size: 12px; color: #9296A3; }

/* ===== responsive ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-phone-wrap { margin-top: 30px; }
  .hero-float-1 { left: 0; }
  .hero-float-2 { right: 0; }

  /* --- showcase: 固定スマホとカードの重なり対策 --- */
  .showcase-inner { grid-template-columns: 1fr; gap: 0; padding: 0 16px; }
  .showcase-phone-col {
    position: sticky; top: 58px; z-index: 5;
    padding: 8px 0 6px;
    background: var(--bg);                       /* 透けないベタ背景 */
    box-shadow: 0 14px 14px -12px rgba(58, 51, 64, .14); /* 下端に境界影 */
    border-radius: 0 0 24px 24px;
    gap: 8px;
  }
  /* フルサイズ(300px)のまま scale で縮小→レイアウト比率を完全維持 */
  .phone-showcase {
    transform: scale(.68);
    transform-origin: top center;
    margin-bottom: calc(-618px * .32);  /* 縮小で空く下余白を相殺 (本体高さ≈618px) */
  }
  .showcase-dots { gap: 6px; margin-top: 0; }
  .step { min-height: auto; padding: 14px 0 26px; }
  .step:first-child { padding-top: 24px; }
  .step-card { opacity: 1; position: relative; z-index: 1; }

  .problem-grid { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr 1fr; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid #F0F1F3; -webkit-overflow-scrolling: touch; }
  .dside { white-space: nowrap; font-size: 11.5px; padding: 7px 10px; }
  .dash-stats { grid-template-columns: 1fr; gap: 8px; }
  .dash-panels { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; gap: 34px; }
  .flow-arrow { transform: rotate(90deg); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 24px; }
  .section-lead { font-size: 13.5px; padding: 0 6px; }

  /* --- header --- */
  .header-inner { padding: 10px 16px; gap: 12px; }
  .brand { font-size: 17px; gap: 7px; }
  .brand-logo { width: 30px; height: 30px; }
  .brand-sub { font-size: 9px; padding: 2px 8px; }
  .btn-sm { padding: 8px 14px; font-size: 12.5px; }

  /* --- hero --- */
  .hero { padding: 96px 18px 60px; }
  .hero-badge { font-size: 11px; padding: 7px 14px; }
  .hero-title { font-size: 30px; }
  .hero-lead { font-size: 14px; margin: 18px 0 24px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .btn-lg { padding: 15px 26px; font-size: 15px; }
  .hero-points { justify-content: center; gap: 10px 14px; font-size: 12px; }
  .phone-hero {
    transform: scale(.8) rotate(3deg);
    transform-origin: center center;
    margin: calc(-618px * .1) 0;
  }
  @keyframes phoneIn {
    from { opacity: 0; transform: scale(.8) rotate(8deg) translateY(40px); }
    to { opacity: 1; transform: scale(.8) rotate(3deg) translateY(0); }
  }
  .hero-float-card { font-size: 10.5px; padding: 7px 11px; }
  .hero-float-1 { top: 8%; }
  .hero-float-2 { bottom: 10%; }

  /* --- showcase（小さな画面ではさらにコンパクトに） --- */
  .showcase-phone-col { top: 54px; }
  .phone-showcase {
    transform: scale(.6);
    margin-bottom: calc(-618px * .4);
  }
  .dot { width: 7px; height: 7px; }
  .dot.active { width: 20px; }
  .step-emoji { font-size: 32px; }
  .step-card { padding: 26px 20px; }
  .step-card h3 { font-size: 21px; }
  .step-card > p:not(.step-sub) { font-size: 13.5px; }
  .step-list li { font-size: 13px; }

  /* --- problems --- */
  .problem-card { padding: 28px 20px; }

  /* --- admin --- */
  .admin-grid { grid-template-columns: 1fr; }
  .dash-main { padding: 14px; }
  .dstat { padding: 11px 14px; }
  .dstat-num { font-size: 20px; }
  .dash-panel { padding: 13px; }
  .hbar-name { width: 52px; font-size: 10.5px; }
  .hbar-val { width: 56px; font-size: 10px; }

  /* --- flow --- */
  .flow-card { padding: 40px 20px 26px; }

  /* --- FAQ --- */
  .faq-item summary { padding: 16px 16px; font-size: 13.5px; line-height: 1.55; }
  .faq-item summary::before { width: 26px; height: 26px; font-size: 12px; border-radius: 8px; }
  .faq-item p { padding: 0 16px 16px 56px; font-size: 13px; }
  .faq-item p::before { width: 26px; height: 26px; font-size: 12px; left: 16px; border-radius: 8px; }
  .faq-for { font-size: 13px; }

  /* --- CTA / footer --- */
  .cta-band { padding: 60px 0; }
  .cta-band .btn-lg { width: calc(100% - 36px); max-width: 320px; justify-content: center; }
  .footer-logo { width: 160px; }
}
