/* デジノバLP スタイル
   フォントは index.html の <link> で読み込む（Noto Sans JP / Gantari）。
   手書き系Webフォントの @import は未使用のため置かない（レンダーブロッキング削減）。
   .ec-lp ラッパにスコープし、他ページへ漏れないようにする */

.ec-lp { line-height: 1.8; font-size: 14px; overflow-x: hidden; }
.ec-lp img { max-width: 100%; display: block; }

.ec-lp .lp-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ========== Scroll Animation ========== */
[data-animate] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-animate="fade-in"] {
  transform: none;
}
[data-animate="scale-up"] {
  transform: scale(0.92);
}
[data-animate="slide-right"] {
  transform: translateX(-48px);
}
[data-animate="slide-left"] {
  transform: translateX(48px);
}
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-stagger] > *.is-visible {
  opacity: 1;
  transform: none;
}

/* ========== Floating Decoratives ========== */
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}
@keyframes float-med {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes float-fast {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse-soft {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.06); }
}
/* ========== Buttons ========== */
.ec-lp .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.ec-lp .btn-line {
  background: #0097B2;
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(0,151,178,0.25);
}
.ec-lp .btn-line:hover {
  background: #007A93;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px 0 rgba(0,151,178,0.35);
}
.ec-lp .btn .arrow {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  display: grid; place-items: center;
  font-size: 14px;
  transition: transform 0.3s;
}
.ec-lp .btn:hover .arrow { transform: translateX(3px); }
/* ========== Organic Wave Dividers ========== */
.ec-lp .wave-section {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  z-index: 2;
}
.ec-lp .wave-section svg {
  display: block;
  width: 100%;
  height: auto;
}
.ec-lp .wave-section.flip { transform: scaleY(-1); }

/* ========== Hero ========== */
.ec-lp .hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}
.ec-lp .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.ec-lp .hero h1 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 46px;
  line-height: 1.45;
  color: #372123;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}
.ec-lp .hero h1 .accent-blue {
  color: #2586CF;
  position: relative;
}
.ec-lp .hero h1 .accent-blue::after,
.ec-lp .hero h1 .accent-pink::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 8px;
  background: currentColor;
  opacity: 0.18;
  border-radius: 4px;
  z-index: -1;
}
.ec-lp .hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 300px;
}
.ec-lp .hero-cta .btn {
  width: 100%;
}

/* Hero Visual — blob mask */
.ec-lp .hero-visual {
  position: relative;
  min-height: 460px;
}
.ec-lp .hero-photo {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(37,134,207,0.15);
}
.ec-lp .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ========== Pain ========== */
.ec-lp .pain {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #F8EEE9 0%, #F4E5DD 100%);
  padding: 110px 0 130px;
  overflow: hidden;
  isolation: isolate;
}
.ec-lp .pain-inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  z-index: 2;
}
/* Header */
.ec-lp .pain-head {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}
.ec-lp .pain-title {
  font-size: 40px;
  line-height: 1.45;
  font-weight: 700;
  margin: 6px 0 22px;
  letter-spacing: 0.02em;
  color: #372123;
  text-align: center;
}
.ec-lp .pain-accent-word {
  color: #A6472F;
  position: relative;
  display: inline-block;
  padding: 0 4px;
}
.ec-lp .pain-ul {
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 14px;
  background: #E7D5BB;
  border-radius: 7px;
  display: block;
}
/* Grid 2×2 */
.ec-lp .pain-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 240px;
  row-gap: 70px;
  max-width: 1280px;
  margin: 70px auto 0;
}
/* Item = portrait + bubble */
.ec-lp .pain-item {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  min-width: 0;
}
.ec-lp .pain-item--right {
  flex-direction: row-reverse;
  text-align: left;
}
/* Portrait */
.ec-lp .pain-portrait {
  position: relative;
  width: 200px; height: 200px;
  flex: 0 0 200px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px -8px rgba(166,71,47,0.15);
}
.ec-lp .pain-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
}
/* Speech bubble */
.ec-lp .pain-bubble {
  position: relative;
  background: #fff;
  border: 1.5px solid #F0DDD3;
  border-radius: 28px;
  padding: 22px 22px 22px 54px;
  flex: 1 1 auto;
  min-width: 0;
  box-shadow: 0 14px 30px -18px rgba(166,71,47,0.25);
}
.ec-lp .pain-item--right .pain-bubble {
  padding: 22px 54px 22px 22px;
}
.ec-lp .pain-bubble::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px; height: 22px;
  background: #fff;
  border: 1.5px solid #F0DDD3;
  border-top: none; border-right: none;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 0 0 0 6px;
}
.ec-lp .pain-item:not(.pain-item--right) .pain-bubble::before { left: -12px; }
.ec-lp .pain-item--right .pain-bubble::before {
  right: -12px;
  border: 1.5px solid #F0DDD3;
  border-bottom: none; border-left: none;
  border-radius: 0 6px 0 0;
}
/* Icon badge */
.ec-lp .pain-badge {
  position: absolute;
  top: -16px;
  width: 46px; height: 46px;
  border-radius: 999px;
  background: #A6472F;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px -6px rgba(166,71,47,0.5);
}
.ec-lp .pain-badge svg {
  width: 22px; height: 22px;
}
.ec-lp .pain-item:not(.pain-item--right) .pain-badge { left: 18px; }
.ec-lp .pain-item--right .pain-badge { right: 18px; }
/* Bubble text */
.ec-lp .pain-bubble h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  margin: 6px 0 4px;
  color: #8F3422;
  letter-spacing: 0.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.ec-lp .pain-bubble p {
  font-size: 13px;
  line-height: 1.85;
  color: #5A5D67;
  margin: 0;
  letter-spacing: 0.03em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
/* ========== Section Common ========== */
.ec-lp .section {
  padding: 110px 0;
  position: relative;
}
.ec-lp .section-eyebrow {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #2586CF;
  text-align: center;
  margin-bottom: 10px;
}
.ec-lp .section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #372123;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.ec-lp .section-underline {
  display: block;
  margin: 16px auto 64px;
  width: 36px; height: 3px;
  background: #2586CF;
  border-radius: 2px;
}

/* ========== Service (LP Card Stack) ========== */
.ec-lp .service { background: #fff; }

.ec-lp .svc-header {
  position: relative;
  text-align: center;
  padding: 36px 40px 32px;
  overflow: visible;
}
.ec-lp .svc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #2586CF;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.26em;
  margin-bottom: 14px;
}
.ec-lp .svc-eyebrow::before,
.ec-lp .svc-eyebrow::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 6px;
  background-image: radial-gradient(circle, #2586CF 1.4px, transparent 1.6px);
  background-size: 8px 6px;
  background-repeat: repeat-x;
  opacity: 0.85;
}

.ec-lp .svc-headline {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 38px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #372123;
  margin: 0 auto 14px;
}
.ec-lp .svc-headline .accent { color: #2586CF; }
.ec-lp .svc-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ec-lp .svc-card {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(55,33,35,0.06), 0 2px 6px rgba(55,33,35,0.04);
  overflow: hidden;
}

.ec-lp .svc-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 220px;
}

.ec-lp .svc-media {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ec-lp .svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ec-lp .svc-text {
  padding: 30px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ec-lp .svc-num {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: #2586CF;
  letter-spacing: -0.02em;
}

.ec-lp .svc-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 6px;
}
.ec-lp .svc-head h3 {
  font-weight: 900;
  font-size: 26px;
  line-height: 1.3;
  color: #372123;
  letter-spacing: 0.04em;
  margin: 6px 0 0;
  white-space: nowrap;
}

.ec-lp .svc-card p {
  font-size: 13px;
  color: #4b5660;
  line-height: 1.85;
  letter-spacing: 0.04em;
  margin: 0;
}
.ec-lp .svc-flip .svc-media { order: -1; }

.ec-lp .svc-c1 { min-height: 240px; }
.ec-lp .svc-c2 { min-height: 270px; }
.ec-lp .svc-c3 { min-height: 240px; }
.ec-lp .svc-c4 { min-height: 220px; }
/* ========== Strength — Figma sample4 "特徴" faithful reproduction ========== */
.ec-lp .strength {
  background: #F1F5F9;
  padding: 0;
}

/* --- Header + Cards wrapper --- */
.ec-lp .str-header-bg {
  position: relative;
  padding: 110px 0 0;
  overflow: hidden;
}
.ec-lp .str-header {
  margin-bottom: 48px;
}

/* --- Summary Cards (Figma Component 2 — glass 3-col) --- */
.ec-lp .str-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-bottom: 80px;
}
.ec-lp .str-card {
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.ec-lp .str-card:hover {
  background: rgba(255,255,255,0.75);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.ec-lp .str-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5px;
  max-width: 384px;
}
.ec-lp .str-card-num {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 46px;
  font-weight: 700;
  color: #2586CF;
  line-height: 1.5;
}
.ec-lp .str-card-name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #372123;
  text-align: center;
  line-height: 1.5;
  margin: 0;
}
.ec-lp .str-card-img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 380 / 214;
  border-radius: 12px;
  overflow: hidden;
}
.ec-lp .str-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Detail Sections (Figma section#no1 / div#no2 / div#no3) --- */
.ec-lp .str-section {
  padding: 62px 0;
  border-bottom: 2px solid #fff;
  background: #F1F5F9;
}
.ec-lp .str-section--last {
  border-bottom: none;
}

.ec-lp .str-section-inner {
  display: grid;
  grid-template-columns: minmax(368px, 460px) 1fr;
  gap: 48px;
  align-items: flex-start;
}

.ec-lp .str-section-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ec-lp .str-section-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.ec-lp .str-section-num {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 80px;
  font-weight: 700;
  color: #2586CF;
  line-height: 1;
}
.ec-lp .str-section-heading {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #372123;
  line-height: 1.5;
}
.ec-lp .str-section-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #372123;
  line-height: 1.75;
}
/* Detail image */
.ec-lp .str-section-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.ec-lp #str-01 .str-section-img {
  transform: scale(1.1) translateX(72px) translateY(24px);
  transform-origin: top right;
}
.ec-lp .str-section-img--photo {
  aspect-ratio: auto;
  transform: scale(1.1) translateY(36px) translateX(30px);
  transform-origin: center center;
}
.ec-lp .str-section-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* --- Strong text within desc --- */
.ec-lp .str-section-desc strong {
  font-weight: 700;
  color: inherit;
}

/* --- Dark variant (02: soft mint) --- */
.ec-lp .str-section--dark {
  background: #EBF4FA;
}
.ec-lp .str-section--dark .str-section-num {
  color: #2586CF;
}
.ec-lp .str-section--dark .str-section-heading {
  color: #372123;
}
.ec-lp .str-section--dark .str-section-desc {
  color: #333;
}
.ec-lp .str-section--dark .str-section-img {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
/* ========== Pricing (card stack) ========== */
.ec-lp .pricing { background: #F9FAFB; }

/* Hero */
.ec-lp .price-hero {
  position: relative;
  text-align: center;
  padding: 14px 0 24px;
  overflow: visible;
}
.ec-lp .price-eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.ec-lp .price-arc {
  width: 90px;
  height: 18px;
  border-top: 2px solid #3D96D6;
  border-radius: 100% 100% 0 0 / 100% 100% 0 0;
}
.ec-lp .price-label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.32em;
  color: #3D96D6;
}

.ec-lp .price-headline {
  font-weight: 800;
  font-size: 36px;
  line-height: 1.4;
  margin: 0 0 8px;
  color: #372123;
  position: relative;
  z-index: 2;
  letter-spacing: 0.02em;
}
.ec-lp .price-headline .accent {
  color: #3D96D6;
  font-size: 56px;
  display: inline-block;
  line-height: 1;
  vertical-align: -6px;
  margin: 0 2px;
  font-weight: 900;
}
.ec-lp .price-headline .big {
  font-size: 48px;
  font-weight: 900;
}
.ec-lp .price-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 4px;
}
.ec-lp .price-feature-list li {
  font-size: 12px;
  color: #4b5563;
  line-height: 1.55;
  padding-left: 13px;
  position: relative;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: -0.05em;
  overflow: hidden;
  text-overflow: clip;
}
.ec-lp .price-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  opacity: 0.95;
}
.ec-lp .price-feature-list li::after {
  content: "";
  position: absolute;
  left: 1.8px;
  top: 6.5px;
  width: 4px;
  height: 1.8px;
  border-left: 1.3px solid #fff;
  border-bottom: 1.3px solid #fff;
  transform: rotate(-45deg);
}
/* ========== Flow ========== */
.ec-lp .flow {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 64px 0 48px;
}
.ec-lp .flow-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}
/* Flow header */
.ec-lp .flow-head { text-align: center; margin-bottom: 16px; }
.ec-lp .flow-h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 48px;
  letter-spacing: .06em;
  color: #372123;
  margin: 0;
  line-height: 1.1;
}
/* Steps grid */
.ec-lp .flow-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-bottom: 40px;
}
.ec-lp .flow-step {
  position: relative;
  text-align: center;
  padding: 0 6px;
}
.ec-lp .flow-num-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin-bottom: 2px;
}
.ec-lp .flow-num-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #2586CF;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .04em;
  z-index: 3;
  position: relative;
  box-shadow: 0 1px 0 rgba(55,33,35,.04);
}
.ec-lp .flow-step:not(:last-child) .flow-num-row::after {
  content: "";
  position: absolute;
  left: calc(50% + 34px);
  width: calc(100% - 4px);
  top: 50%;
  transform: translateY(-50%);
  height: 16px;
  background: no-repeat left center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 18' fill='none' stroke='%233D96D6' stroke-width='2.4' stroke-linecap='round'><line x1='0' y1='9' x2='176' y2='9' stroke-dasharray='5 7'/><polyline points='168,2 184,9 168,16' stroke-linejoin='round' stroke-linecap='round'/></svg>");
  background-size: 100% 100%;
  z-index: 1;
}
.ec-lp .flow-step-tag {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .22em;
  color: #2586CF;
  margin-top: 2px;
  margin-bottom: 14px;
}
.ec-lp .flow-icon-wrap {
  width: 100px;
  height: 100px;
  margin: 4px auto 10px;
  background: #EBF4FA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ec-lp .flow-icon-wrap img { width: 68px; height: 68px; object-fit: contain; }
.ec-lp .flow-step-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #372123;
  line-height: 1.4;
  margin: 4px 0 8px;
  letter-spacing: .04em;
  min-height: 48px;
}
.ec-lp .flow-step-body {
  font-size: 11px;
  line-height: 1.85;
  color: #372123;
  max-width: 170px;
  margin: 0 auto 12px;
  text-align: left;
  letter-spacing: .04em;
  min-height: 80px;
}
.ec-lp .flow-pill {
  display: inline-block;
  padding: 9px 16px 10px;
  border-radius: 999px;
  font-family: "Noto Sans JP", sans-serif;  /* 未読込のWebフォント指定を除去（実描画はNoto Sans JP） */
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  position: relative;
  white-space: nowrap;
  border: 1.8px dashed transparent;
  text-align: center;
}
.ec-lp .flow-pill-mint { background: #EBF4FA; border-color: #2586CF; color: #372123; }
.ec-lp .flow-pill-white { background: #ffffff; border-color: #2586CF; color: #372123; }
/* ========== FAQ ========== */
.ec-lp .faq-section { background: #F4F7F8; position: relative; overflow: hidden; }
.ec-lp .faq-stage {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px 60px;
  display: grid;
  grid-template-columns: 360px 1fr;
  grid-template-rows: auto auto;
  gap: 0 40px;
}
/* Left column */
.ec-lp .faq-left {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  position: relative;
  z-index: 5;
}
.ec-lp .faq-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #2586CF;
  color: #2586CF;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .2em;
  padding: 6px 30px 7px;
  border-radius: 999px;
  background: transparent;
}
.ec-lp .faq-h-yoku {
  margin: 16px 0 0;
  font-weight: 900;
  font-size: 68px;
  line-height: 1;
  color: #372123;
}
.ec-lp .faq-h-go {
  margin: 8px 0 0 36px;
  font-weight: 900;
  font-size: 68px;
  line-height: 1;
  color: #2586CF;
}
/* Right column: Q cards */
.ec-lp .faq-qlist {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 5;
}
.ec-lp .faq-qcard {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 20px 28px;
  box-shadow: 0 1px 3px rgba(37,134,207,.05), 0 6px 18px rgba(55,33,35,.06);
  gap: 18px;
  min-height: 72px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.ec-lp .faq-qcard:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(55,33,35,.12); }
.ec-lp .faq-qmark {
  flex: 0 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #2586CF;
  width: 30px;
}
.ec-lp .faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: #372123;
  letter-spacing: .02em;
}
.ec-lp .faq-plus {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  position: relative;
  color: #2586CF;
  transition: transform 0.3s;
}
.ec-lp .faq-plus::before,
.ec-lp .faq-plus::after { content: ""; position: absolute; background: currentColor; }
.ec-lp .faq-plus::before { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.ec-lp .faq-plus::after { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.ec-lp .faq-qcard:hover .faq-plus { transform: rotate(45deg); }

/* FAQ Overlay */
.ec-lp .faq-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(55,33,35, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: faq-fade-in 0.25s ease;
}
@keyframes faq-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes faq-card-in { from { opacity: 0; transform: translateY(24px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

.ec-lp .faq-overlay-card {
  background: #fff;
  border-radius: 20px;
  padding: 48px 44px;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(55,33,35, 0.25);
  animation: faq-card-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.ec-lp .faq-overlay-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: #F4F7F8;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
.ec-lp .faq-overlay-close:hover { background: #E4F0FA; }
.ec-lp .faq-overlay-close::before,
.ec-lp .faq-overlay-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: #372123;
  border-radius: 1px;
}
.ec-lp .faq-overlay-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.ec-lp .faq-overlay-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.ec-lp .faq-overlay-q {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 28px;
  font-size: 18px;
  font-weight: 700;
  color: #372123;
  line-height: 1.7;
}
.ec-lp .faq-overlay-q .faq-qmark {
  font-size: 22px;
  width: auto;
}
.ec-lp .faq-overlay-a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  color: #5A4340;
  line-height: 1.9;
  padding-top: 24px;
  border-top: 1px solid #E4F0FA;
}
.ec-lp .faq-amark {
  flex: 0 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #8F3422;  /* Q.=blue #2586CF と対のterracotta。黄はTEL専用のため使わない */
}

@media (max-width: 640px) {
  .ec-lp .faq-overlay-card {
    padding: 36px 24px;
  }
  .ec-lp .faq-overlay-q { font-size: 16px; }
  .ec-lp .faq-overlay-a { font-size: 15px; }
}
/* ========== LP Footer ========== */
.ec-lp .lp-footer {
  background: #2586CF;
  color: #fff;
}
.ec-lp .lp-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.ec-lp .lp-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.ec-lp .lp-footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ec-lp .lp-footer-company {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .05em;
  margin: 0;
}
.ec-lp .lp-footer-detail {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
  margin: 0;
}
.ec-lp .lp-footer-copy {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding: 20px 32px;
}
.ec-lp .lp-footer-copy p {
  margin: 0;
  font-size: 11px;
  opacity: 0.6;
  letter-spacing: .06em;
  font-family: "Noto Sans JP", sans-serif;
}
/* ========== Responsive ========== */

/* --- Tablet Landscape (≤980px) --- */
@media (max-width: 980px) {
  .ec-lp .lp-container { padding: 0 24px; }

  /* Hero: stack vertically, keep visual */
  .ec-lp .hero { padding: 60px 0 40px; }
  .ec-lp .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ec-lp .hero h1 { font-size: 36px; }  .ec-lp .hero-visual { min-height: 320px; }
  .ec-lp .hero-photo { max-width: 340px; margin: 0 auto; }  .ec-lp .hero-cta { flex-direction: row; max-width: 100%; gap: 12px; }
  .ec-lp .hero-cta .btn { width: auto; flex: 1; }

  /* Section common */
  .ec-lp .section { padding: 80px 0; }
  .ec-lp .section-underline { margin-bottom: 48px; }
  .ec-lp .section-title { font-size: 26px; }
  .ec-lp .wave-section svg { height: auto; min-height: 30px; }

  /* Pain */
  .ec-lp .pain { padding: 70px 0 80px; }
.ec-lp .pain-title { font-size: 30px; }
  .ec-lp .pain-grid { grid-template-columns: 1fr; column-gap: 0; row-gap: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
  .ec-lp .pain-item, .ec-lp .pain-item--right { flex-direction: row; }
  .ec-lp .pain-portrait { width: 130px; height: 130px; flex: 0 0 130px; }
  .ec-lp .pain-item--right .pain-bubble { padding: 22px 22px 22px 54px; }
  .ec-lp .pain-item--right .pain-badge { left: 18px; right: auto; }
  .ec-lp .pain-item--right .pain-bubble::before { left: -12px; right: auto; border: 1.5px solid #F0DDD3; border-top: none; border-right: none; border-radius: 0 0 0 6px; }
/* Service */
  .ec-lp .svc-header { padding: 24px 20px; }  .ec-lp .svc-headline { font-size: 28px; }
  .ec-lp .svc-card-row { grid-template-columns: 1fr; }
  .ec-lp .svc-media { min-height: 200px; }
  .ec-lp .svc-flip .svc-media { order: -1; }
  .ec-lp .svc-head h3 { white-space: normal; }

  /* Strength */
  .ec-lp .str-header-bg { padding-top: 80px; }
  .ec-lp .str-cards { grid-template-columns: repeat(3, 1fr); gap: 12px; padding-bottom: 48px; }
  .ec-lp .str-card-name { font-size: 16px; }
  .ec-lp .str-card-num { font-size: 36px; }
  .ec-lp .str-section-inner { grid-template-columns: 1fr; gap: 32px; }
  .ec-lp .str-section { padding: 40px 0; }
  .ec-lp .str-section-num { font-size: 56px; }
  .ec-lp .str-section-heading { font-size: 24px; }
  .ec-lp .str-section-text { max-width: 100%; }
  .ec-lp #str-01 .str-section-img { transform: none; }
  .ec-lp .str-section-img { max-width: 100%; }
.ec-lp .price-headline { font-size: 28px; }
  .ec-lp .price-headline .accent { font-size: 42px; }
  .ec-lp .price-headline .big { font-size: 36px; }
  /* Flow */
  .ec-lp .flow { padding: 48px 0 36px; }
  .ec-lp .flow-h2 { font-size: 38px; }
.ec-lp .flow-steps { grid-template-columns: repeat(3, 1fr); gap: 28px 12px; }
  .ec-lp .flow-step:not(:last-child) .flow-num-row::after { display: none; }
  .ec-lp .flow-icon-wrap { width: 80px; height: 80px; }
  .ec-lp .flow-icon-wrap img { width: 54px; height: 54px; }
  .ec-lp .flow-step-title { font-size: 15px; min-height: 42px; }
  .ec-lp .flow-step-body { font-size: 10px; min-height: 64px; }
  .ec-lp .flow-pill { font-size: 12px; padding: 8px 14px; }
  .ec-lp .flow-num-circle { width: 44px; height: 44px; font-size: 16px; }
/* FAQ: single column, keep illustration */
  .ec-lp .faq-stage { grid-template-columns: 1fr; padding: 56px 24px 48px; }
  .ec-lp .faq-left { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start; }
  .ec-lp .faq-pill { grid-column: 1; }
  .ec-lp .faq-h-yoku { grid-column: 1; font-size: 52px; }
  .ec-lp .faq-h-go { grid-column: 1; font-size: 52px; margin-left: 24px; }
.ec-lp .faq-qlist { grid-column: 1; grid-row: 2; margin-top: 24px; }
/* Footer */
  .ec-lp .lp-footer-inner { flex-direction: column; text-align: center; padding: 36px 24px 24px; }
  .ec-lp .lp-footer-logo { justify-content: center; }
}

/* --- Tablet Portrait (≤768px) --- */
@media (max-width: 768px) {
  .ec-lp .lp-container { padding: 0 20px; }

  /* Hero */
  .ec-lp .hero h1 { font-size: 32px; }
  .ec-lp .hero-visual { min-height: 280px; }
  .ec-lp .hero-photo { max-width: 280px; }  .ec-lp .hero-cta { flex-direction: column; }
  .ec-lp .hero-cta .btn { width: 100%; }
.ec-lp .pain-title { font-size: 26px; }
  .ec-lp .pain-portrait { width: 110px; height: 110px; flex: 0 0 110px; }
  .ec-lp .pain-bubble h3 { font-size: 15px; }

  /* Strength cards: stack */
  .ec-lp .str-cards { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; gap: 16px; }
/* FAQ: show illustration centered below text */
  .ec-lp .faq-left { display: block; }
/* SPは「よくあるご質問」を1行に（オーナー指示 2026-07-20） */
  .ec-lp .faq-h-yoku, .ec-lp .faq-h-go { font-size: 44px; display: inline-block; vertical-align: top; margin: 16px 0 0; }
/* Flow */
  .ec-lp .flow { padding: 40px 0 32px; }
  .ec-lp .flow-h2 { font-size: 32px; }
.ec-lp .flow-steps { grid-template-columns: repeat(3, 1fr); gap: 24px 8px; }
  .ec-lp .flow-step:not(:last-child) .flow-num-row::after { display: none; }
  .ec-lp .flow-icon-wrap { width: 72px; height: 72px; }
  .ec-lp .flow-icon-wrap img { width: 48px; height: 48px; }
  .ec-lp .flow-step-title { font-size: 14px; min-height: 40px; }
  .ec-lp .flow-step-body { font-size: 10px; min-height: 56px; }
  .ec-lp .flow-pill { font-size: 11px; padding: 7px 12px; }
  .ec-lp .flow-num-circle { width: 40px; height: 40px; font-size: 14px; }
.ec-lp .svc-headline { font-size: 24px; }
}

/* --- Mobile (≤640px) --- */
@media (max-width: 640px) {
  .ec-lp .lp-container { padding: 0 16px; }

  /* Hero */
  .ec-lp .hero { padding: 40px 0 28px; }
  .ec-lp .hero h1 { font-size: 26px; margin-bottom: 20px; }  .ec-lp .hero-visual { min-height: auto; }
  .ec-lp .hero-photo { max-width: 240px; }  /* Section */
  .ec-lp .section { padding: 56px 0; }
  .ec-lp .section-title { font-size: 22px; }
  .ec-lp .section-underline { margin-bottom: 36px; }
  .ec-lp .section-eyebrow { font-size: 11px; }

  /* Pain */
  .ec-lp .pain { padding: 48px 0 56px; }
.ec-lp .pain-inner { padding: 0 16px; }  .ec-lp .pain-title { font-size: 22px; }  .ec-lp .pain-grid { row-gap: 28px; margin-top: 40px; }
  .ec-lp .pain-portrait { width: 90px; height: 90px; flex: 0 0 90px; }
  .ec-lp .pain-bubble { padding: 18px 18px 18px 44px; border-radius: 20px; }
  .ec-lp .pain-item--right .pain-bubble { padding: 18px 18px 18px 44px; }
  .ec-lp .pain-bubble h3 { font-size: 14px; margin: 4px 0 6px; }
  .ec-lp .pain-bubble p { font-size: 12px; }
  .ec-lp .pain-badge { width: 38px; height: 38px; top: -12px; }
  .ec-lp .pain-badge svg { width: 18px; height: 18px; }  /* Service */
  .ec-lp .svc-headline { font-size: 22px; }
  .ec-lp .svc-head { gap: 10px; }
  .ec-lp .svc-num { font-size: 32px; }
  .ec-lp .svc-head h3 { font-size: 18px; }
  .ec-lp .svc-text { padding: 20px 16px; }
  .ec-lp .svc-card p { font-size: 12.5px; }
  .ec-lp .svc-media { min-height: 160px; }
.ec-lp .svc-card { border-radius: 16px; }

  /* Strength */
  .ec-lp .str-header-bg { padding-top: 56px; }
  .ec-lp .str-section-num { font-size: 44px; }
  .ec-lp .str-section-heading { font-size: 20px; }
  .ec-lp .str-section-desc { font-size: 14px; }
  .ec-lp .str-section { padding: 32px 0; }
.ec-lp .str-card-name { font-size: 15px; }
.ec-lp .price-headline { font-size: 22px; }
  .ec-lp .price-headline .accent { font-size: 34px; }
  .ec-lp .price-headline .big { font-size: 28px; }
  .ec-lp .price-feature-list { grid-template-columns: 1fr; }
/* Flow */
  .ec-lp .flow { padding: 36px 0 28px; }
  .ec-lp .flow-h2 { font-size: 26px; }
.ec-lp .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; margin-bottom: 28px; }
  .ec-lp .flow-step:not(:last-child) .flow-num-row::after { display: none; }
  .ec-lp .flow-icon-wrap { width: 64px; height: 64px; }
  .ec-lp .flow-icon-wrap img { width: 42px; height: 42px; }
  .ec-lp .flow-step-title { font-size: 13px; min-height: 36px; }
  .ec-lp .flow-step-body { font-size: 10px; min-height: auto; }
  .ec-lp .flow-pill { font-size: 11px; padding: 6px 10px; }
  .ec-lp .flow-num-circle { width: 36px; height: 36px; font-size: 13px; }
  .ec-lp .flow-step-tag { font-size: 10px; margin-bottom: 10px; }
/* FAQ */
  .ec-lp .faq-stage { padding: 36px 16px 28px; }
  .ec-lp .faq-h-yoku, .ec-lp .faq-h-go { font-size: 34px; }
  .ec-lp .faq-h-go { margin-left: 0; }  .ec-lp .faq-pill { font-size: 15px; padding: 5px 20px; }
.ec-lp .faq-qlist { margin-top: 20px; gap: 12px; }
  .ec-lp .faq-qcard { padding: 16px 18px; gap: 10px; min-height: 56px; border-radius: 12px; }
  .ec-lp .faq-qtext { font-size: 14px; }
  .ec-lp .faq-qmark { font-size: 17px; width: 24px; }
  .ec-lp .faq-plus { width: 16px; height: 16px; }
/* Footer */
  .ec-lp .lp-footer-inner { padding: 32px 16px 20px; gap: 20px; }  .ec-lp .lp-footer-company { font-size: 14px; }
  .ec-lp .lp-footer-detail { font-size: 11px; }
  .ec-lp .lp-footer-copy { padding: 16px; }

  /* FAQ Overlay */
  .ec-lp .faq-overlay { padding: 16px; }
  .ec-lp .faq-overlay-card { padding: 32px 20px; border-radius: 16px; }
  .ec-lp .faq-overlay-q { font-size: 15px; gap: 10px; margin-bottom: 20px; }
  .ec-lp .faq-overlay-q .faq-qmark { font-size: 18px; }
  .ec-lp .faq-overlay-a { font-size: 14px; gap: 10px; padding-top: 18px; }
  .ec-lp .faq-amark { font-size: 18px; }
}

/* --- Small Mobile (≤420px) --- */
@media (max-width: 420px) {
  .ec-lp .hero h1 { font-size: 23px; }  .ec-lp .hero-photo { max-width: 200px; }  .ec-lp .pain-title { font-size: 20px; }
  .ec-lp .pain-portrait { width: 76px; height: 76px; flex: 0 0 76px; }
  .ec-lp .pain-bubble { padding: 14px 14px 14px 38px; }
  .ec-lp .pain-item--right .pain-bubble { padding: 14px 14px 14px 38px; }
  .ec-lp .pain-bubble h3 { font-size: 13px; }
  .ec-lp .pain-bubble p { font-size: 11px; }
  .ec-lp .pain-badge { width: 34px; height: 34px; }
  .ec-lp .pain-badge svg { width: 16px; height: 16px; }  .ec-lp .svc-headline { font-size: 20px; }
  .ec-lp .svc-num { font-size: 28px; }
  .ec-lp .svc-head h3 { font-size: 16px; }
  .ec-lp .section-title { font-size: 20px; }
  .ec-lp .str-section-num { font-size: 36px; }
  .ec-lp .str-section-heading { font-size: 18px; }
  .ec-lp .str-section-desc { font-size: 13px; }
  .ec-lp .price-headline { font-size: 20px; }
  .ec-lp .price-headline .accent { font-size: 30px; }
  .ec-lp .price-headline .big { font-size: 24px; }  .ec-lp .faq-h-yoku, .ec-lp .faq-h-go { font-size: 28px; }
.ec-lp .flow { padding: 28px 0 20px; }
  .ec-lp .flow-h2 { font-size: 22px; }
.ec-lp .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 20px 8px; margin-bottom: 24px; }
  .ec-lp .flow-icon-wrap { width: 56px; height: 56px; }
  .ec-lp .flow-icon-wrap img { width: 36px; height: 36px; }
  .ec-lp .flow-step-title { font-size: 12px; min-height: 34px; }
  .ec-lp .flow-step-body { font-size: 9px; }
  .ec-lp .flow-pill { font-size: 10px; padding: 5px 8px; }
  .ec-lp .flow-num-circle { width: 32px; height: 32px; font-size: 12px; }
  .ec-lp .flow-step-tag { font-size: 9px; }
}
