/* ==========================================================
   MinukuForm  Landing Page Styles
   ========================================================== */

:root {
  --blue: #1a56db;
  --blue-dark: #1240a8;
  --blue-light: #eaf1fd;
  --blue-pale: #f4f8fe;
  --navy: #16294d;
  --text: #26334d;
  --text-sub: #5b6b85;
  --red: #e94b4b;
  --red-light: #fdeeee;
  --yellow: #ffd94d;
  --white: #ffffff;
  --border: #dbe4f0;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(22, 41, 77, 0.08);
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--blue); }
ul, ol { list-style: none; }

.text-blue { color: var(--blue); }
.pc-only { display: inline; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(26, 86, 219, 0.35);
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(26, 86, 219, 0.45);
}
.btn--white {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.btn--white:hover { transform: translateY(-2px); }
.btn--large { padding: 18px 56px; font-size: 18px; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.header__logo-text {
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.header__logo-text strong { color: var(--blue); font-weight: 900; }
.header__nav { display: flex; align-items: center; gap: 28px; }
.header__nav ul { display: flex; gap: 24px; }
.header__nav ul a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.header__nav ul a:hover { color: var(--blue); }
.header__cta { padding: 10px 24px; font-size: 14px; }
.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.header__menu-btn.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header__menu-btn.is-open span:nth-child(2) { opacity: 0; }
.header__menu-btn.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, #f7faff 0%, var(--blue-pale) 55%, #edf3fd 100%);
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}
.hero__tagline {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}
.hero__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.hero__brand-name {
  font-size: 44px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.hero__brand-name strong { color: var(--blue); font-weight: 900; }
.hero__title {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.hero__sub {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}
.marker {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  padding: 0 2px;
}
.hero__points {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.hero__points li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  box-shadow: var(--shadow);
}
.hero__points img { flex-shrink: 0; }
.hero__easy {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.hero__easy-title {
  color: var(--blue);
  font-weight: 900;
  font-size: 17px;
  text-align: center;
  margin-bottom: 12px;
}
.hero__easy-body {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 500;
}
.hero__easy-body strong { font-weight: 900; color: var(--navy); }
.hero__easy-body small { color: var(--text-sub); font-size: 12px; }
.hero__cta { text-align: center; }
.hero__cta-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-sub);
}

/* hero visual (flow) */
.hero__visual {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.hero__visual-title {
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 14.5px;
  margin-bottom: 20px;
}
.flow {
  display: flex;
  align-items: stretch;
  gap: 6px;
}
.flow__step {
  flex: 1;
  background: var(--blue-pale);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
.flow__step p {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}
.flow__arrow {
  align-self: center;
  color: var(--blue);
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}
.flow__results {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flow__result {
  flex: 1;
  border-radius: 12px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.flow__result p {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}
.flow__result small { font-weight: 500; }
.flow__result--ok {
  background: var(--blue-light);
  border: 1px solid #bcd2f5;
  color: var(--blue-dark);
}
.flow__result--ng {
  background: var(--red-light);
  border: 1px solid #f5c6c6;
  color: var(--red);
}
.hero__visual-note {
  margin-top: 20px;
  background: var(--blue-light);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  font-size: 14px;
  color: var(--navy);
}
.hero__visual-note strong { color: var(--blue); }

/* ---------- band ---------- */
.band {
  background: var(--blue-light);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.band p { font-size: 15px; color: var(--navy); }
.band strong { color: var(--blue); font-weight: 900; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section--gray { background: var(--blue-pale); }
.section__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.section__inner--narrow { max-width: 860px; }
.section__title {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 48px;
  letter-spacing: 0.03em;
}

/* ---------- problems ---------- */
.problems {
  max-width: 760px;
  margin: 0 auto 40px;
  display: grid;
  gap: 14px;
}
.problems li {
  background: var(--blue-pale);
  border-radius: var(--radius);
  padding: 18px 24px 18px 56px;
  position: relative;
  font-size: 15.5px;
}
.problems li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 15h-2v-2h2Zm0-4h-2V7h2Z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 15h-2v-2h2Zm0-4h-2V7h2Z"/></svg>') center / contain no-repeat;
}
.problems li strong { color: var(--red); }
.problems__answer {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
}

/* ---------- feature cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.card img { margin-bottom: 18px; }
.card h3 {
  font-size: 19px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
}
.card p {
  font-size: 14.5px;
  color: var(--text-sub);
  text-align: left;
}

/* ---------- mechanism ---------- */
.mechanism {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
.mechanism li {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--blue-pale);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.mechanism__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mechanism h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}
.mechanism p { font-size: 14.5px; color: var(--text-sub); }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  position: relative;
}
.step__num {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}
.step h3 {
  font-size: 16.5px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}
.step p { font-size: 13.5px; color: var(--text-sub); }

/* ---------- monitor ---------- */
.monitor { text-align: center; }
.monitor__badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  font-size: 14px;
  padding: 6px 22px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}
.monitor .section__title { margin-bottom: 24px; }
.monitor__lead { font-size: 16.5px; margin-bottom: 36px; }
.monitor__free {
  color: var(--red);
  font-size: 1.25em;
  font-weight: 900;
}
.monitor__terms {
  max-width: 620px;
  margin: 0 auto 36px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: left;
}
.monitor__terms h3 {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  margin-bottom: 14px;
}
.monitor__terms ul { display: grid; gap: 8px; }
.monitor__terms ul li {
  padding-left: 28px;
  position: relative;
  font-size: 14.5px;
}
.monitor__terms ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 17px;
  height: 17px;
  background: var(--blue);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.6-4.4-4.4 1.7-1.7 2.7 2.7 5.9-5.9 1.7 1.7Z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.6-4.4-4.4 1.7-1.7 2.7 2.7 5.9-5.9 1.7 1.7Z"/></svg>') center / contain no-repeat;
}
.monitor__terms-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
}
.monitor__cta-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-sub);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq__item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq__q {
  padding: 20px 56px 20px 58px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  position: relative;
  font-size: 15.5px;
  user-select: none;
}
.faq__q::before {
  content: "Q";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-weight: 900;
  font-size: 19px;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s;
}
.faq__item.is-open .faq__q::after { transform: translateY(-30%) rotate(225deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px 0 58px;
  font-size: 14.5px;
  color: var(--text-sub);
  position: relative;
}
.faq__item.is-open .faq__a { padding-bottom: 22px; }

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, #2f6fe8 60%, #4a86f0 100%);
  padding: 72px 24px;
}
.cta-band__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.cta-band h2 {
  color: var(--white);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 30px;
  letter-spacing: 0.03em;
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy);
  color: #b9c5da;
  padding: 48px 24px 32px;
}
.footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 20px;
}
.footer__brand strong { color: #7fa8ef; font-weight: 900; }
.footer__links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.footer__links a {
  color: #b9c5da;
  text-decoration: none;
  font-size: 13.5px;
}
.footer__links a:hover { color: var(--white); text-decoration: underline; }
.footer__company { font-size: 13px; margin-bottom: 6px; }
.footer__copy { font-size: 12px; color: #7688a5; }

/* ---------- legal pages ---------- */
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px 88px;
}
.legal h1 {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
  text-align: center;
}
.legal__lead {
  font-size: 14.5px;
  color: var(--text-sub);
  margin-bottom: 40px;
  text-align: center;
}
.legal h2 {
  font-size: 19px;
  font-weight: 900;
  color: var(--navy);
  margin: 40px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
}
.legal p, .legal li { font-size: 15px; }
.legal ol {
  list-style: decimal;
  padding-left: 24px;
  display: grid;
  gap: 8px;
}
.legal ul {
  list-style: disc;
  padding-left: 24px;
  display: grid;
  gap: 8px;
}
.legal__date {
  margin-top: 48px;
  text-align: right;
  color: var(--text-sub);
  font-size: 14px;
}
.legal__back {
  display: block;
  text-align: center;
  margin-top: 48px;
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .pc-only { display: none; }

  .header__nav {
    position: fixed;
    inset: 68px 0 auto 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(22, 41, 77, 0.1);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  .header__nav.is-open { transform: none; }
  .header__nav ul { flex-direction: column; gap: 0; }
  .header__nav ul a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
  }
  .header__cta { margin-top: 16px; }
  .header__menu-btn { display: flex; }

  .hero { padding: 40px 0 56px; }
  .hero__tagline { font-size: 16px; }
  .hero__brand img { width: 44px; height: 44px; }
  .hero__brand-name { font-size: 32px; }
  .hero__title { font-size: 25px; }
  .hero__sub { font-size: 16.5px; }
  .hero__points { flex-direction: column; }
  .hero__easy-body { flex-direction: column; text-align: center; }

  .flow { flex-direction: column; }
  .flow__arrow { transform: rotate(90deg); padding: 2px 0; }
  .flow__step { flex-direction: row; justify-content: center; gap: 14px; padding: 12px; }
  .flow__step p { font-size: 12.5px; }

  .section { padding: 60px 0; }
  .section__title { font-size: 24px; margin-bottom: 32px; }
  .steps { grid-template-columns: 1fr; }
  .mechanism li { padding: 20px; gap: 14px; }
  .problems__answer { font-size: 19px; }
  .monitor__terms { padding: 22px 20px; }
  .cta-band h2 { font-size: 21px; }
  .btn--large { padding: 16px 36px; font-size: 16px; width: 100%; max-width: 360px; }
}
