:root {
  --navy: #1a2856;
  --navy-dark: #0f1a3a;
  --navy-mid: #243570;
  --pink: #e8437c;
  --pink-dark: #c73366;
  --pink-light: #fdf0f4;
  --pink-pale: #fff5f8;
  --blue: #3b8bd4;
  --blue-light: #e8f4fd;
  --blue-bg: #d4eaf7;
  --yellow: #ffd93a;
  --yellow-light: #fff4bd;
  --white: #ffffff;
  --cream: #fdfaf3;
  --gray-50: #f7f8fa;
  --gray-100: #eef0f4;
  --gray-200: #dde0e6;
  --gray-400: #9ca3af;
  --gray-600: #6b7280;
  --gray-800: #374151;
  --text: #2d2d3f;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-sm: 0 2px 8px rgba(26,40,86,0.06);
  --shadow: 0 4px 20px rgba(26,40,86,0.08);
  --shadow-lg: 0 8px 40px rgba(26,40,86,0.12);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

*,*::before,*::after { margin:0;padding:0;box-sizing:border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  font-family: 'Noto Sans JP', -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.85;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width:100%; display:block; }
a { text-decoration: none; }
.round { font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif; }
.serif { font-family: 'Kaisei Decol', serif; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--transition), transform 0.7s var(--transition); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }

@keyframes bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
.bounce { animation: bounce-soft 2.5s ease-in-out infinite; }

/* Stripe backgrounds - more textured */
.stripe-pink {
  background-color: var(--pink-pale);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 10px,
    rgba(232,67,124,0.05) 10px, rgba(232,67,124,0.05) 12px
  );
}
.stripe-cream {
  background-color: var(--cream);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 14px,
    rgba(26,40,86,0.02) 14px, rgba(26,40,86,0.02) 16px
  );
}
.stripe-blue {
  background-color: var(--blue-light);
  background-image: repeating-linear-gradient(
    45deg,
    transparent, transparent 14px,
    rgba(59,139,212,0.04) 14px, rgba(59,139,212,0.04) 16px
  );
}

/* Hand-drawn accents */
.marker-line {
  position: relative;
  display: inline-block;
  margin-left: 0.08em;
  white-space: nowrap;
}
.marker-line::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 0.1em;
  height: 0.32em;
  background: var(--yellow);
  z-index: -1;
  border-radius: 20px 8px 16px 10px;
  transform: rotate(-1deg);
}
.pink-marker::after { background: rgba(232,67,124,0.25); }

.circle-highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}
.circle-highlight::before {
  content: '';
  position: absolute;
  left: -10px;
  right: -10px;
  top: -8px;
  bottom: -8px;
  border: 3px solid var(--pink);
  border-radius: 50%;
  transform: rotate(-2deg);
  z-index: -1;
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 2px solid rgba(255,255,255,0.08);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.logo-img {
  width: 50px;
  height: auto;
  margin-right: -4px;
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.9)) drop-shadow(0 0 6px rgba(255,255,255,0.7));
  display: block;
}
.logo-text-jp { color: #fff; font-weight: 900; font-size: 17px; letter-spacing: 1px; }
.logo-text-dx { color: #fff; font-weight: 900; font-size: 19px; font-family: 'M PLUS Rounded 1c', sans-serif; letter-spacing: 2px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: rgba(255,255,255,0.75);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: var(--radius-xs);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,0.1); }
.nav-cta {
  background: var(--pink) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  margin-left: 10px !important;
}
.nav-cta:hover { background: var(--pink-dark) !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 60px;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  font-family: inherit;
  line-height: 1.35;
}
.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-md { padding: 14px 32px; font-size: 14px; }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-dark); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--pink); }
.btn-arrow::after { content: '→'; margin-left: 4px; }

/* Sections */
.sec { padding: 100px 28px; position: relative; }
.sec-inner { max-width: 1000px; margin: 0 auto; position: relative; }
.sec-title {
  font-size: clamp(28px, 2.25vw, 32px);
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  line-height: 1.45;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.sec-lead {
  font-size: 15px;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.9;
}
.pink-text { color: var(--pink); }
.navy-text { color: var(--navy); }

/* HERO */
.hero {
  padding: 96px 28px 76px;
  min-height: 1020px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--pink-pale);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 10px,
    rgba(232,67,124,0.05) 10px, rgba(232,67,124,0.05) 12px
  );
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-pre {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero h1 {
  font-size: clamp(38px, 3.15vw, 46px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero h1 .pink-em {
  color: var(--pink);
  font-size: 1.12em;
  display: inline-block;
  transform: rotate(-1deg);
}
.hero-desc {
  font-size: 15px;
  color: var(--gray-800);
  margin-bottom: 18px;
  line-height: 2;
  padding-left: 16px;
  border-left: 4px solid var(--navy);
}
.hero-target {
  display: inline-block;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.7;
  padding: 10px 18px;
  margin: 0 0 24px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual {
  position: relative;
  width: min(100%, 500px);
  padding-top: 18px;
}
.hero-speech {
  position: absolute;
  top: -4px;
  right: 18px;
  background: var(--white);
  border: 2.5px solid var(--navy);
  border-radius: 22px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  box-shadow: 5px 5px 0 rgba(26,40,86,0.16);
  transform: rotate(1.5deg);
  z-index: 6;
  text-align: center;
  white-space: nowrap;
}
.hero-speech::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 58%;
  transform: translateX(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background: var(--white);
  border-right: 2.5px solid var(--navy);
  border-bottom: 2.5px solid var(--navy);
}
.hero-check-board {
  position: relative;
  margin-top: 54px;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 26px;
  box-shadow: 10px 10px 0 rgba(232,67,124,0.22);
  overflow: hidden;
}
.hero-check-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--navy);
  color: #fff;
}
.hero-check-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.hero-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}
.hero-check-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}
.hero-check-body {
  position: relative;
  padding: 26px 24px 24px;
  background:
    radial-gradient(circle at 14% 22%, rgba(232,67,124,0.09), transparent 24%),
    radial-gradient(circle at 84% 78%, rgba(59,139,212,0.11), transparent 28%),
    #fff;
}
.hero-mascot-area {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}
.hero-hacho {
  width: 148px;
  justify-self: center;
  z-index: 2;
  animation: bounce-soft 3s ease-in-out infinite;
}
.hero-mini-tag {
  display: inline-block;
  width: fit-content;
  background: var(--yellow-light);
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 900;
  box-shadow: 4px 4px 0 rgba(26,40,86,0.12);
  transform: rotate(-1deg);
  white-space: nowrap;
}
.hero-check-list {
  display: grid;
  gap: 10px;
}
.hero-check-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  background: var(--pink-pale);
  border: 2px solid rgba(26,40,86,0.12);
  border-radius: 16px;
}
.hero-check-item:nth-child(2) {
  background: var(--blue-light);
}
.hero-check-item:nth-child(3) {
  background: var(--yellow-light);
}
.hero-check-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}
.hero-check-item strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}
.hero-check-item small {
  display: block;
  color: var(--gray-600);
  font-size: 11px;
  line-height: 1.55;
  margin-top: 2px;
}
.hero-ui-mini {
  margin-top: 16px;
  border: 2px solid var(--navy);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.hero-ui-top {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  background: var(--navy-dark);
  color: #fff;
}
.hero-ui-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}
.hero-ui-top span:nth-child(2) { background: var(--yellow); }
.hero-ui-top span:nth-child(3) { background: var(--blue); }
.hero-ui-top b {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.hero-ui-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px;
}
.hero-ui-grid div {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 10px 4px;
  text-align: center;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
}
.hero-ui-grid div:nth-child(1) { border-color: rgba(232,67,124,0.35); background: var(--pink-pale); }
.hero-ui-grid div:nth-child(2) { border-color: rgba(59,139,212,0.35); background: var(--blue-light); }
.hero-ui-grid div:nth-child(3) { border-color: rgba(255,217,58,0.75); background: var(--yellow-light); }


/* PROBLEM */
.problem {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.problem::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 14px,
    rgba(255,255,255,0.03) 14px, rgba(255,255,255,0.03) 16px
  );
}
.problem-head {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}
.problem-hacho {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 24px;
  padding: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(18,32,78,0.35);
}
.problem-speech {
  display: inline-block;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 20px;
  padding: 24px 40px;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.6;
  box-shadow: 6px 6px 0 rgba(255,255,255,0.3);
  position: relative;
}
.problem-speech::after {
  content: '';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 24px;
  height: 24px;
  background: var(--white);
  border-top: 3px solid var(--navy);
  border-left: 3px solid var(--navy);
}
.problem-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
}
.stat-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  border: 3px solid var(--navy);
  box-shadow: 8px 8px 0 var(--pink);
}
.stat-num {
  font-size: 84px;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
  letter-spacing: -3px;
  text-shadow: 3px 3px 0 var(--yellow);
}
.stat-pct { font-size: 38px; font-weight: 900; }
.stat-desc {
  font-size: 15px;
  color: var(--navy);
  margin-top: 16px;
  font-weight: 700;
  line-height: 1.7;
}
.stat-src {
  font-size: 10px;
  color: var(--gray-600);
  margin-top: 16px;
  line-height: 1.5;
}
.cost-list { display: flex; flex-direction: column; gap: 14px; }
.cost-label {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}
.cost-card {
  background: var(--white);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--navy);
  border: 2px solid transparent;
  transition: all 0.3s;
}
.cost-card:hover { transform: translateX(6px); border-color: var(--yellow); }
.cost-amt {
  font-size: 22px;
  font-weight: 900;
  color: var(--pink);
  min-width: 110px;
  white-space: nowrap;
}
.cost-arrow {
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}
.cost-txt {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
}
.cost-txt strong { color: var(--pink); font-weight: 900; }

/* 3 POINTS */
.points-intro {
  text-align: center;
  margin-bottom: 60px;
}
.points-intro-label {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.points-3big {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}
.point-big-card {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: transform 0.3s;
}
.point-big-card:hover { transform: translateY(-6px); }
.point-big-num {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--navy);
}
.point-big-card h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  margin: 12px 0 8px;
  line-height: 1.5;
}
.point-big-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Point block (detailed) */
.point-block {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 24px;
  padding: 48px;
  margin-bottom: 48px;
  position: relative;
}
.point-block-num {
  position: absolute;
  top: -24px;
  left: 40px;
  background: var(--navy);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 900;
}
.point-block-num .num-pink { color: var(--pink); }
.point-block-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
  padding-top: 16px;
}
.point-block-sub {
  font-size: 15px;
  color: var(--pink);
  text-align: center;
  font-weight: 700;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Before After */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: stretch;
}
.ba-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.ba-vs-circle {
  width: 56px; height: 56px;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--navy);
}
.ba-card {
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s;
}
.ba-before {
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
}
.ba-after {
  background: var(--blue-light);
  border: 3px solid var(--navy);
  position: relative;
}
.ba-after::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 80px;
  background: var(--pink);
  border-radius: 16px 0 0 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.ba-after::after {
  content: 'こっち';
  position: absolute;
  top: 14px;
  left: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  transform: rotate(-45deg);
}
.ba-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.ba-before .ba-tag { background: var(--gray-200); color: var(--gray-800); }
.ba-after .ba-tag { background: var(--navy); color: #fff; }

/* UI Mockup */
.ui-frame {
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.ui-titlebar {
  background: var(--navy-dark);
  color: #fff;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ui-dots { display: flex; gap: 4px; }
.ui-dot { width: 8px; height: 8px; border-radius: 50%; }
.ui-dot.r { background: #ef4444; }
.ui-dot.y { background: #f59e0b; }
.ui-dot.g { background: #22c55e; }
.ui-body { padding: 14px; }
.ui-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ui-btn-block {
  text-align: center;
  padding: 8px 4px;
  border-radius: 4px;
  font-size: 8px;
  line-height: 1.3;
  border: 1px solid var(--gray-200);
  background: var(--white);
}
.ui-icon-block {
  text-align: center;
  padding: 12px 4px 8px;
  border-radius: 10px;
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: box-shadow 0.2s;
}
.ui-icon-block:hover { box-shadow: var(--shadow); }
.ui-icon-shape {
  width: 36px; height: 36px;
  border-radius: 50%;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ui-icon-shape.pink { background: #fce8ef; }
.ui-icon-shape.pink::before { content: ''; width: 16px; height: 16px; background: var(--pink); border-radius: 50%; }
.ui-icon-shape.cyan { background: #e0f7f7; }
.ui-icon-shape.cyan::before { content: ''; width: 14px; height: 14px; background: #0891b2; border-radius: 3px; }
.ui-icon-shape.yellow { background: #fef3c7; }
.ui-icon-shape.yellow::before { content: ''; width: 14px; height: 14px; background: #d97706; border-radius: 3px; transform: rotate(45deg); }
.ui-icon-shape.gray { background: var(--gray-100); }
.ui-icon-shape.gray::before { content: ''; width: 14px; height: 14px; border: 2px solid var(--gray-600); border-radius: 50%; }
.ui-icon-name { font-size: 10px; font-weight: 900; color: var(--navy); }
.ui-icon-detail { font-size: 7px; color: var(--gray-400); margin-top: 2px; }
.ui-notification {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 9px;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 10px;
}

.ba-verdict {
  text-align: center;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 900;
}
.ba-before .ba-verdict { color: var(--gray-600); }
.ba-after .ba-verdict { color: var(--navy); }

/* Summary box */
.summary-box {
  background: var(--yellow-light);
  border: 3px solid var(--navy);
  border-radius: 20px;
  padding: 32px 40px;
  text-align: center;
  margin-top: 40px;
  position: relative;
}
.summary-hacho {
  width: 80px;
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}
.summary-tag {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  padding: 5px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 900;
  margin: 20px 0 14px;
}
.summary-text {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.8;
}
/* 「情シス〜守られる」を一行で（狭いスマホのみ折り返し許可してはみ出し防止） */
.nw-tsumari { white-space: nowrap; }
@media (max-width: 768px) { .nw-tsumari { white-space: normal; } }

/* Standard features */
.std-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.std-card {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}
.std-card:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--pink); }
.std-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 4px 18px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
}
.std-card h4 {
  font-size: 17px;
  font-weight: 900;
  color: var(--navy);
  margin: 12px 0 10px;
  line-height: 1.5;
}
.std-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Point 3 Cost */
.cost-scenario {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 20px;
  padding: 32px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.cost-scenario-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
}
.cost-scenario-big {
  font-size: 40px;
  font-weight: 900;
  color: var(--pink);
  line-height: 1.2;
  margin: 8px 0;
}
.cost-scenario-note {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* MID CTA */
.mid-cta {
  padding: 80px 28px;
  text-align: center;
  position: relative;
  overflow: visible;
  background: var(--navy);
  color: #fff;
}
.mid-cta::before {
  content:'';
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 14px,
    rgba(255,255,255,0.04) 14px, rgba(255,255,255,0.04) 16px
  );
}
.mid-cta-inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: end;
}
/* 特大ハチョくん：帯の下端からどんとはみ出す */
.mid-cta-hacho {
  width: 280px;
  height: 280px;
  object-fit: contain;
  padding: 28px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  margin-bottom: -56px;
  position: relative;
  z-index: 2;
}
.mid-cta-content {
  text-align: left;
}
.mid-cta-catch {
  margin-bottom: 16px;
  line-height: 1.1;
}
.mid-cta-catch .yellow-hl {
  background: var(--yellow);
  color: var(--navy);
  padding: 7px 18px;
  border-radius: 6px;
  display: inline-block;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
}
.mid-cta-copy {
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.45;
  color: #fff;
}
.mid-cta-main {
  display: inline-block;
  white-space: nowrap;
}
.mid-cta-em {
  display: inline-block;
  margin-top: 10px;
  background: var(--yellow);
  color: var(--navy);
  padding: 4px 10px;
  border-radius: 6px;
}

/* PRICING */
.pricing-sec { background: var(--cream); }
.price-wrap { max-width: 580px; margin: 0 auto; }
.price-box {
  background: var(--white);
  border-radius: 20px;
  border: 3px solid var(--navy);
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--pink);
}
.price-head {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 24px;
}
.price-head h3 { font-size: 18px; font-weight: 900; letter-spacing: 2px; }
.price-head-sub { font-size: 12px; opacity: 0.7; margin-top: 4px; }
.price-body { padding: 12px 32px 32px; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px dashed var(--gray-200);
}
.price-row:last-of-type { border-bottom: none; }
.price-label { font-size: 14px; font-weight: 700; color: var(--navy); }
.price-val { text-align: right; }
.price-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--pink);
  letter-spacing: -1px;
}
.price-unit { font-size: 13px; color: var(--gray-600); font-weight: 500; }
.price-note {
  background: var(--yellow-light);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 12px;
  color: var(--gray-800);
  line-height: 1.8;
  margin-top: 8px;
}

/* 料金シミュレーター（人数選択） */
.price-sim {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px dashed var(--gray-200);
}
.price-sim-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 14px;
}
.price-sim-btns {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}
.price-sim-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: 30px;
  padding: 9px 13px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.price-sim-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
}
.price-sim-btn.is-active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}
.price-sim-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--navy);
  border-radius: 14px;
  padding: 18px 26px;
  color: #fff;
}
.price-sim-result-label {
  font-size: 14px;
  font-weight: 700;
}
.price-sim-result-val {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.price-sim-result-val #priceSimAmount {
  font-size: 30px;
  color: var(--yellow);
  margin-right: 2px;
}
.price-sim-tax {
  font-size: 12px;
  opacity: 0.7;
  margin-left: 4px;
}
.price-sim-note {
  font-size: 11.5px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-top: 12px;
}
@media (max-width: 768px) {
  .price-sim-result { flex-direction: column; align-items: flex-start; gap: 6px; }
  .price-sim-btns { flex-wrap: wrap; gap: 8px; }
  .price-sim-btn { font-size: 13px; padding: 10px 14px; }
}

/* COMPARE TABLE */
.compare-sec { background: var(--navy); }
.compare-sec .sec-title { color: #fff; }
.compare-sec .sec-lead { color: rgba(255,255,255,0.7); }
.compare-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--white);
  box-shadow: 8px 8px 0 var(--pink);
}
.ctable {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--white);
}
.ctable thead th {
  padding: 16px 14px;
  font-weight: 700;
  text-align: center;
  background: var(--gray-50);
  border-bottom: 3px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 12px;
}
.ctable thead th:first-child { text-align: left; padding-left: 24px; width: 22%; }
.ctable thead th.th-hacho {
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
}
.ctable tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--gray-100);
  text-align: center;
  vertical-align: middle;
  font-size: 12px;
}
.ctable tbody td:first-child {
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  background: var(--gray-50);
  padding-left: 24px;
}
.ctable tbody td:nth-child(2) {
  background: var(--pink-pale);
  font-weight: 700;
  font-size: 13px;
}
.ctable tbody tr:last-child td { border-bottom: none; }
.ctable tbody tr:hover td:nth-child(2) { background: var(--pink-light); }
.mark { font-size: 18px; display: block; margin-bottom: 2px; font-weight: 900; }
.mark-g { color: var(--pink); }
.mark-o { color: #f59e0b; }
.mark-b { color: #9ca3af; }
.ctable .sub { font-size: 10px; color: var(--gray-400); display: block; font-weight: 400; }

/* FEATURES */
.feat-sec { background: var(--cream); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--navy);
  transition: all 0.3s;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: 6px 6px 0 var(--navy); }
.feat-thumb {
  aspect-ratio: 16/9;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 2px solid var(--navy);
  position: relative;
}
.feat-vid-label {
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}
.feat-play {
  width: 56px; height: 56px;
  background: var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--pink);
  cursor: pointer;
  transition: all 0.3s;
}
.feat-card:hover .feat-play { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(232,67,124,0.3); }
.feat-play::after {
  content:'';
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.feat-info { padding: 20px; }
.feat-info h4 {
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}
.feat-info p { font-size: 12.5px; color: var(--gray-600); line-height: 1.7; }
.feat-tag {
  display: inline-block;
  background: var(--pink-pale);
  color: var(--pink);
  border: 1px solid rgba(232,67,124,0.22);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.feat-card.main-video { border-width: 3px; box-shadow: 6px 6px 0 var(--yellow); }

.wf-box {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 20px;
  padding: 40px;
  margin-top: 48px;
  text-align: center;
}
.wf-box h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
}
.wf-image-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
}
.wf-image-frame {
  width: 100%;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(26,40,86,0.10);
}
.wf-image {
  width: 100%;
  height: auto;
  display: block;
}
.wf-caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.8;
}
.wf-scroll-note {
  display: none;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
}

/* CASE STUDY */
.case-sec {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 216, 62, 0.24) 0 150px, transparent 151px),
    radial-gradient(circle at 88% 18%, rgba(49, 175, 224, 0.16) 0 170px, transparent 171px),
    var(--pink-pale);
  position: relative;
  overflow: hidden;
}
.case-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 15px,
    rgba(232,67,124,0.055) 15px,
    rgba(232,67,124,0.055) 17px
  );
  pointer-events: none;
}
.case-sec .sec-inner { position: relative; z-index: 1; }
.sec-kicker {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.case-list {
  display: grid;
  gap: 30px;
  margin-top: 42px;
}
.case-item {
  background: rgba(255,255,255,0.96);
  border: 3px solid var(--navy);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 10px 10px 0 rgba(232,67,124,0.18);
  position: relative;
  overflow: hidden;
}
.case-item::after {
  content: 'CASE';
  position: absolute;
  right: -8px;
  top: -28px;
  font-size: 82px;
  font-weight: 900;
  color: rgba(26,40,86,0.045);
  letter-spacing: 0.04em;
}
.case-item-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.case-no {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.case-item-title {
  color: var(--navy);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.case-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 420px;
  flex-shrink: 0;          /* 見出しに押されてタグが2列に折り返すのを防ぐ */
}
/* 見出しの末尾1文字が孤立するのを防ぐ */
.case-item-title .nbk { white-space: nowrap; }
.case-tags span {
  display: inline-block;
  background: var(--yellow-light);
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 3px 3px 0 rgba(26,40,86,0.10);
}
.case-item-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 62px 1fr;
  gap: 16px;
  align-items: stretch;
}
.case-panel {
  border: 3px solid var(--navy);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 5px 5px 0 rgba(26,40,86,0.10);
}
.case-panel.problem {
  background: linear-gradient(135deg, #fff, var(--pink-pale));
}
.case-panel.solution {
  background: linear-gradient(135deg, var(--blue-light), #fff 72%);
}
.case-panel-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 14px;
  box-shadow: 3px 3px 0 var(--yellow);
}
.case-panel.problem .case-panel-label {
  background: var(--pink);
  color: #fff;
  border: 2px solid var(--navy);
}
.case-panel.solution .case-panel-label {
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
}
.case-panel h4 {
  color: var(--navy);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.55;
  margin-bottom: 14px;
}
.case-panel ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.case-panel li {
  position: relative;
  padding-left: 24px;
  color: var(--gray-800);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}
.case-panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  transform: translateY(-50%);
}
.case-panel.solution li::before { background: var(--blue); }
.case-arrow {
  align-self: center;
  justify-self: center;
  width: 56px;
  height: 56px;
  background: var(--yellow);
  border: 3px solid var(--navy);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  box-shadow: 4px 4px 0 rgba(26,40,86,0.12);
}
.case-result-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.case-result-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 14px;
  border: 2px solid var(--navy);
  font-size: 13px;
  font-weight: 900;
}
.case-result-badge.pink { background: var(--pink); color: #fff; }
.case-result-badge.yellow { background: var(--yellow); color: var(--navy); }
.case-result-badge.blue { background: var(--blue-light); color: var(--navy); }

/* AI */
.ai-sec {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ai-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent, transparent 14px,
    rgba(255,255,255,0.03) 14px, rgba(255,255,255,0.03) 16px
  );
}
.ai-sec .sec-title { color: #fff; }
.ai-sec .sec-lead { color: rgba(255,255,255,0.7); }
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.ai-feats { display: flex; flex-direction: column; gap: 16px; }
.ai-feat {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border-radius: 14px;
  padding: 18px 22px;
  transition: all 0.3s;
  color: var(--navy);
  border: 2px solid var(--white);
}
.ai-feat:hover { border-color: var(--pink); transform: translateX(4px); }
.ai-feat-num {
  width: 40px; height: 40px;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}
.ai-feat h4 { font-size: 15px; font-weight: 900; margin-bottom: 2px; }
.ai-feat p { font-size: 12px; color: var(--gray-600); line-height: 1.6; }

.ai-chat {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  color: var(--text);
  border: 3px solid var(--white);
  box-shadow: 8px 8px 0 var(--pink);
}
.ai-chat-head {
  background: var(--blue);
  color: #fff;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
}
.ai-chat-body { padding: 20px; }
.chat-bubble {
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 13px;
  margin-bottom: 12px;
  max-width: 85%;
  line-height: 1.6;
}
.chat-bot-msg { background: var(--gray-50); border: 1px solid var(--gray-100); }
.chat-btns { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.chat-opt {
  border: 1.5px solid var(--blue);
  color: var(--blue);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.chat-opt:hover { background: var(--blue); color: #fff; }
.ai-chat-input {
  border-top: 1px solid var(--gray-100);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-chat-input input {
  flex: 1;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  outline: none;
  font-family: inherit;
}
.ai-chat-input button {
  width: 32px; height: 32px;
  background: var(--blue);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}

/* ANXIETY */
.anxiety {
  background: var(--cream);
  text-align: center;
  position: relative;
}
.anxiety-hacho {
  width: 120px;
  margin: 0 auto 24px;
}
.anx-items {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.anx-item {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 14px;
  padding: 18px 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  box-shadow: 4px 4px 0 var(--navy);
}
.trial-box {
  background: var(--pink);
  border-radius: 20px;
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
  border: 3px solid var(--navy);
  box-shadow: 8px 8px 0 var(--navy);
  color: #fff;
}
.trial-box h3 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1.5;
}
.trial-box h3 .yellow-hl {
  background: var(--yellow);
  color: var(--navy);
  padding: 2px 10px;
  border-radius: 4px;
  display: inline-block;
}
.trial-box p {
  font-size: 15px;
  opacity: 0.95;
  margin-bottom: 28px;
  line-height: 1.8;
}

/* Q&A */
.qa-list { max-width: 740px; margin: 0 auto; }
.qa-item {
  background: var(--white);
  border-radius: 14px;
  border: 2px solid var(--navy);
  padding: 24px 28px;
  margin-bottom: 16px;
}
.qa-row { display: flex; gap: 14px; align-items: flex-start; }
.qa-badge {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  flex-shrink: 0;
  color: #fff;
}
.qa-q .qa-badge { background: var(--navy); }
.qa-a .qa-badge { background: var(--pink); }
.qa-q-text { font-size: 15px; font-weight: 700; color: var(--navy); padding-top: 6px; }
.qa-a-text { font-size: 14px; color: var(--gray-800); padding-top: 8px; line-height: 1.9; }
.qa-a { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--gray-200); }

/* FLOW */
.flow-sec { background: var(--cream); }
.flow-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.flow-step {
  text-align: center;
  flex: 1;
  max-width: 190px;
}
.flow-circle {
  width: 60px; height: 60px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  margin: 0 auto 16px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--navy);
}
.flow-circle.goal {
  background: var(--pink);
  box-shadow: 0 0 0 3px var(--pink);
}
.flow-step h4 { font-size: 13px; font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.flow-step p { font-size: 11px; color: var(--gray-600); line-height: 1.5; }
.flow-line {
  width: 32px;
  padding-top: 26px;
  color: var(--navy);
  font-size: 18px;
  flex-shrink: 0;
  text-align: center;
}

/* CONTACT */
.contact-sec {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 14px,
    rgba(255,255,255,0.03) 14px, rgba(255,255,255,0.03) 16px
  );
}
.contact-sec .sec-title { color: #fff; }
.contact-sec .sec-lead { color: rgba(255,255,255,0.7); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 740px;
  margin: 0 auto;
  position: relative;
}
/* カードが1枚のとき：中央に大きく配置 */
.contact-grid-single {
  grid-template-columns: 1fr;
  max-width: 520px;
}
.contact-grid-single .contact-card {
  padding: 52px 44px;
}
.contact-grid-single .contact-card-hacho {
  width: 120px;
}
.contact-card {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 36px;
  text-align: center;
  transition: all 0.3s;
  border: 3px solid var(--white);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--pink); }
.contact-card-hacho {
  width: 100px;
  margin: 0 auto 16px;
}
.contact-card h3 { font-size: 18px; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.contact-card p { font-size: 13px; color: var(--gray-600); margin-bottom: 24px; line-height: 1.7; }

/* FOOTER */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 48px 28px;
  font-size: 12px;
}
.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.footer-logo-img { width: 50px; margin-right: -6px; filter: drop-shadow(0 0 3px rgba(255,255,255,0.9)) drop-shadow(0 0 6px rgba(255,255,255,0.7)); }
.footer a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.footer a:hover { color: #fff; }

/* Mascot wave */
.hacho-wave {
  width: 60px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}



/* Strategic copy additions */
.hero-target { display:inline-block; background:var(--white); border:2px solid var(--navy); color:var(--navy); font-size:13px; font-weight:700; padding:8px 16px; border-radius:999px; margin:-12px 0 24px; box-shadow:3px 3px 0 var(--navy); }
.problem-reason { max-width:720px; margin:48px auto 0; background:var(--white); color:var(--navy); border:3px solid var(--pink); border-radius:20px; padding:28px 34px; text-align:center; box-shadow:6px 6px 0 rgba(232,67,124,0.35); }
.problem-reason-title { font-size:22px; font-weight:900; line-height:1.6; margin-bottom:10px; }
.problem-reason-text { font-size:15px; line-height:1.9; color:var(--gray-800); }
.compare-lead, .compare-conclusion, .price-trust, .case-lead { text-align:center; line-height:1.9; }
.compare-lead { color:#fff; font-size:18px; font-weight:700; margin:-24px 0 32px; }
.compare-conclusion { color:#fff; font-size:17px; margin-top:28px; }
.price-trust { max-width:660px; margin:28px auto 0; background:var(--yellow-light); border:3px solid var(--navy); border-radius:18px; padding:24px 28px; color:var(--navy); font-weight:700; }
.price-risk { max-width:620px; margin:30px auto 0; padding:0; list-style:none; display:grid; gap:10px; }
.price-risk li { background:var(--white); border:2px solid var(--gray-200); border-radius:12px; padding:14px 18px; color:var(--gray-800); font-weight:700; }
.price-risk li::before { content:'⚠'; color:var(--pink); margin-right:8px; }
.case-lead { font-size:16px; color:var(--navy); font-weight:700; margin:-24px 0 36px; }
.final-cta-box { margin:48px auto 0; max-width:720px; background:var(--pink); border:3px solid var(--navy); border-radius:24px; padding:44px 36px; color:#fff; text-align:center; box-shadow:8px 8px 0 var(--navy); }
.final-cta-box h2 { font-size:28px; font-weight:900; line-height:1.5; margin-bottom:14px; }
.final-cta-box p { font-size:15px; line-height:1.9; margin-bottom:26px; }


/* Line-break cleanup: keep important Japanese copy together on desktop. */
@media (min-width: 769px) {
  .hero h1,
  .sec-title,
  .point-block-title,
  .problem-speech,
  .mid-cta-text,
  .trial-box h3,
  .final-cta-box h2,
  .compare-lead,
  .compare-conclusion,
  .price-trust,
  .case-lead {
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .sec-title,
  .point-block-title,
  .compare-lead,
  .compare-conclusion,
  .price-trust,
  .case-lead,
  .sec-lead {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }

  .problem-speech {
    max-width: 900px;
  }

  .point-big-card h3 {
    min-height: auto;
    white-space: nowrap;
    font-size: 17px;
  }

  .flow-step p {
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    padding: 92px 20px 58px;
    min-height: auto;
  }
  /* 長いCTAラベルがモバイルで整って収まるよう微調整 */
  .btn-lg { padding: 16px 28px; font-size: 15px; }
  .hero-btns .btn-lg,
  .trial-box .btn-lg,
  .final-cta-box .btn-lg { width: 100%; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-copy {
    text-align: left;
  }
  .hero-target {
    border-radius: 18px;
  }
  .hero-visual {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
  }
  .hero-speech {
    position: relative;
    top: auto;
    right: auto;
    display: inline-block;
    margin: 0 auto 12px;
    left: 50%;
    transform: translateX(-50%) rotate(1deg);
    font-size: 13px;
    padding: 10px 18px;
  }
  .hero-speech::after {
    left: 50%;
  }
  .hero-check-board {
    margin-top: 0;
    box-shadow: 6px 6px 0 rgba(232,67,124,0.22);
  }
  .hero-check-head {
    align-items: flex-start;
  }
  .hero-check-title {
    font-size: 12px;
  }
  .hero-check-body {
    padding: 18px 14px 16px;
  }
  .hero-mascot-area {
    grid-template-columns: 92px 1fr;
    gap: 12px;
  }
  .hero-hacho {
    width: 92px;
  }
  .hero-mini-tag {
    font-size: 12px;
    padding: 8px 12px;
  }
  .hero-check-item {
    grid-template-columns: 34px 1fr;
    padding: 11px 12px;
  }
  .hero-check-num {
    width: 32px;
    height: 32px;
    font-size: 10px;
  }
  .hero-check-item strong {
    font-size: 13px;
  }
  .hero-check-item small {
    font-size: 10px;
  }
  .hero-ui-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .hero h1,
  .sec-title,
  .point-block-title,
  .problem-speech,
  .mid-cta-text,
  .trial-box h3,
  .final-cta-box h2,
  .compare-lead,
  .compare-conclusion,
  .price-trust,
  .case-lead {
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .point-big-card h3 {
    white-space: normal;
  }

  .nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 30px; }
  /* モバイルでは「現場に」を本文と同じサイズに揃え、改行時のベースラインのズレを防ぐ */
  .hero h1 .pink-em { font-size: 1em; }
  .problem-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-vs { transform: rotate(90deg); padding: 8px 0; }
  .points-3big, .std-grid, .feat-grid, .case-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .flow-track { flex-direction: column; align-items: center; }
  .flow-line { transform: rotate(90deg); padding: 0; height: 24px; width: auto; }
  .sec { padding: 64px 20px; }
  .wf-box { padding: 24px 14px; }
  .wf-image-frame { width: 760px; max-width: none; }
  .wf-scroll-note { display: block; }
  .point-block { padding: 28px 20px; }
  .sec-title { font-size: 24px; }
  .mid-cta-inner { grid-template-columns: 1fr; text-align: center; }
  .mid-cta-content { text-align: center; }
  .mid-cta-hacho { width: 190px; height: 190px; padding: 20px; margin: 0 auto 8px; }
  .mid-cta-catch .yellow-hl { font-size: 30px; }
  .mid-cta-copy { font-size: 19px; line-height: 1.5; }
  .mid-cta-main { white-space: normal; }
  .mid-cta-em { margin-top: 8px; }
  .anx-items { flex-direction: column; align-items: center; }
}

@media (max-width: 900px) {
  .case-item-head,
  .case-item-body {
    grid-template-columns: 1fr;
  }
  .case-tags {
    justify-content: flex-start;
    max-width: none;
  }
  .case-arrow {
    margin: 0 auto;
    transform: rotate(90deg);
  }
}
@media (max-width: 560px) {
  .case-item { padding: 24px 18px; border-radius: 22px; }
  .case-panel { padding: 20px 18px; }
  .case-item-title { font-size: 22px; }
}


/* ============================================
   SCREENS：実際の画面紹介セクション
   ============================================ */
.screens-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.screen-item {
  margin: 0;
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.25s, box-shadow 0.25s;
}
.screen-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(18,32,78,0.14);
}
.screen-item-wide { grid-column: 1 / -1; }
.screen-head {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.5;
  padding: 11px 14px;
}
.screen-item img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--gray-200);
}
.screen-item figcaption {
  padding: 13px 14px;
  font-size: 12px;
  color: var(--gray-800);
  line-height: 1.75;
}
.screen-item figcaption .nbk { white-space: nowrap; }
.screen-item figcaption strong {
  color: var(--navy);
  font-weight: 700;
}

/* ライトボックス（クリックで拡大表示） */
.screen-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14,20,44,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 9999;
  cursor: zoom-out;
}
.screen-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.screen-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
}
.screen-lightbox-close {
  position: absolute;
  top: 16px;
  right: 26px;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}
@media (max-width: 768px) {
  .screens-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== 行末の泣き別れ対策（末尾1文字の孤立行を解消） ===== */
.std-card p { font-size: 12px; text-wrap: balance; }
.flow-step p { font-size: 10px; text-wrap: balance; }
.case-panel h4 { font-size: 17px; text-wrap: balance; }
.xl-limit-card p { text-wrap: balance; }
.feat-info p { font-size: 11.5px; text-wrap: balance; }
.screen-item figcaption { text-wrap: balance; }

/* ===== ファーストビュー背景：ハチョくん散りばめ ===== */
.hero-hachos {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1280px;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-hachos img {
  position: absolute;
  width: auto;
  display: block;
  filter: drop-shadow(0 3px 5px rgba(26,40,86,0.10));
}

/* 散りばめハチョくんの吹き出し（しゃべり・群衆） */
.hero-hachos .hh-bubble {
  position: absolute;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 12px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--navy);
  box-shadow: 2.5px 2.5px 0 rgba(26,40,86,0.13);
  white-space: nowrap;
  text-align: center;
  z-index: 7;
}
.hero-hachos .hh-bubble::after {
  content: '';
  position: absolute;
  width: 11px; height: 11px;
  background: var(--white);
}
/* 下向きしっぽ（吹き出しがハチョくんの上） */
.hero-hachos .hh-bubble.down::after {
  left: 50%; bottom: -6.5px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
}
/* 上向きしっぽ（吹き出しがハチョくんの下） */
.hero-hachos .hh-bubble.up::after {
  left: 50%; top: -6.5px;
  transform: translateX(-50%) rotate(45deg);
  border-left: 2px solid var(--navy);
  border-top: 2px solid var(--navy);
}
/* 右向きしっぽ（吹き出しがハチョくんの左） */
.hero-hachos .hh-bubble.right::after {
  top: 50%; right: -6.5px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
}
/* 左向きしっぽ（吹き出しがハチョくんの右） */
.hero-hachos .hh-bubble.left::after {
  top: 50%; left: -6.5px;
  transform: translateY(-50%) rotate(45deg);
  border-left: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
}

@media (max-width: 768px) { .hero-hachos { display: none; } }

/* ===== タブレット〜小型ノート(769〜1279px)：散りばめは1280px専用のため非表示にし、ヒーローを縦積みに ===== */
@media (min-width: 769px) and (max-width: 1279px) {
  /* ファーストビュー：1280pxデザインを比率保持で縮小表示（散りばめも表示） */
  .hero-fit { overflow: hidden; }
  .hero {
    width: 1280px;
    transform-origin: top left;
  }
  .hero-hachos { display: block; }
  /* mid-cta：中間幅では縦積みにし、長文の折り返しを許可 */
  .mid-cta-inner { grid-template-columns: 1fr; text-align: center; }
  .mid-cta-content { text-align: center; }
  .mid-cta-hacho { width: 220px; height: 220px; padding: 22px; margin: 0 auto 8px; }
  .mid-cta-main { white-space: normal; }
  /* problem：吹き出しが画面幅を超えないように */
  .problem-speech { max-width: min(900px, 100%); }
  /* 3つのポイント：見出しのnowrapを解除して狭いタブレットでも3カラムが収まるように */
  .point-big-card h3 { white-space: normal; }
}

/* ===== お問い合わせフォーム ===== */
.contact-note-lead { text-align: center; color: var(--gray-600); font-size: 15px; line-height: 1.9; margin-bottom: 28px; }
.contact-form { max-width: 640px; margin: 0 auto; text-align: left; }
.cf-row { margin-bottom: 20px; }
.cf-label { display: block; font-weight: 700; color: var(--navy); font-size: 15px; margin-bottom: 8px; }
.cf-req { display: inline-block; background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 7px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; }
.cf-input { width: 100%; box-sizing: border-box; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 15px; color: var(--text); font-family: inherit; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.cf-input::placeholder { color: var(--gray-400); }
.cf-input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(232,67,124,0.12); }
.cf-input + .cf-input { margin-top: 10px; }
.cf-input-sm { max-width: 220px; }
.cf-textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.cf-checks { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 6px; }
.cf-check { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text); cursor: pointer; }
.cf-check input { width: 18px; height: 18px; accent-color: var(--pink); cursor: pointer; flex: none; }
.cf-hint { font-size: 13px; color: var(--gray-600); margin: 4px 0 10px; }
.cf-agree { margin: 26px 0 22px; padding: 20px; background: var(--gray-50); border-radius: var(--radius-sm); }
.cf-agree-text { font-size: 13px; color: var(--gray-800); line-height: 1.8; margin-bottom: 12px; }
.cf-agree-text a { color: var(--pink); text-decoration: underline; }
.cf-agree-check { justify-content: center; font-weight: 700; color: var(--navy); }
.cf-submit-wrap { text-align: center; margin-top: 8px; }
.cf-submit-wrap .btn { min-width: 260px; }
@media (max-width: 768px) {
  .contact-form { max-width: 100%; }
  .cf-input-sm { max-width: 100%; }
  .cf-submit-wrap .btn { width: 100%; min-width: 0; }
}


/* ===== スマホ表示の最適化（余白・改行位置） ===== */
@media (max-width: 768px) {
  /* PC用の余白のままで本文幅が不足し、単語が途中で割れていたため縮小 */
  .trial-box { padding: 32px 20px; }
  .final-cta-box { padding: 32px 20px; }
  .contact-grid-single .contact-card { padding: 36px 22px; }
  /* 日本語を文節単位で改行（Chrome/Edge。非対応ブラウザは従来どおり） */
  .hero-desc, .hero-target, .sec-lead,
  .trial-box h3, .trial-box p,
  .final-cta-box h2, .final-cta-box p,
  .contact-card h3, .contact-card p,
  .qa-q-text, .qa-a-text, .price-trust,
  .case-item-title, .case-lead {
    word-break: auto-phrase;
  }
  /* 全ブラウザ共通：割れてほしくない語句 */
  .nbk { white-space: nowrap; }
}

@media (max-width: 768px) {
  .footer a { white-space: nowrap; }
  .footer p { word-break: auto-phrase; }
}

/* 374px以下：適合チェックの見出しタグが縮まずヒーローがはみ出すため折り返しを許可 */
@media (max-width: 374px) {
  .hero-mini-tag { white-space: normal; }
}

/* ===== ポリシーモーダル（LP単体で動作する用） =====
   既存サイトの共通JS配下に設置しそちらを使う場合は、
   このブロックと HTML内のモーダル、JSの該当処理を削除してください。 */
.lp-policy-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.62);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lp-policy-modal.is-open { display: flex; }
.lp-policy-inner {
  position: relative;
  background: #fff;
  width: min(1160px, 100%);
  max-height: 76vh;
  overflow-y: auto;
  padding: 40px 48px 44px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
  text-align: left;
}
.lp-policy-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: 0;
  font-size: 30px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  padding: 4px 8px;
}
.lp-policy-title {
  color: #1668c4;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.lp-policy-inner p { margin: 0 0 4px; }
.lp-policy-list { margin: 18px 0 0; padding-left: 22px; }
.lp-policy-list > li { margin-bottom: 16px; }
.lp-policy-list > li > b { font-weight: 700; }
.lp-policy-list > li > p { margin: 2px 0 0; padding-left: 2px; }
.lp-policy-sublist { list-style: lower-roman; margin: 10px 0 0; padding-left: 26px; }
.lp-policy-sublist > li { margin-bottom: 10px; }
.lp-policy-sign { margin-top: 24px; }
@media (max-width: 768px) {
  .lp-policy-modal { padding: 12px; }
  .lp-policy-inner { padding: 34px 20px 28px; max-height: 84vh; font-size: 13px; }
  .lp-policy-title { font-size: 17px; }
}

.lp-policy-sub { margin-top: 14px !important; font-weight: 700; }
.lp-policy-link { margin-top: 8px !important; word-break: break-all; }
.lp-policy-link a { color: #1668c4; text-decoration: underline; }
