:root {
  --ink: #192033;
  --navy: #17365f;
  --blue: #2764e6;
  --blue-soft: #eaf2ff;
  --cream: #f8fbff;
  --paper: #f3f6ef;
  --white: #ffffff;
  --green: #1ea988;
  --line-green: #06c755;
  --orange: #f4a742;
  --pink: #ed8ea8;
  --muted: #66728a;
  --line: rgba(25, 32, 51, 0.12);
  --shadow: 0 22px 70px rgba(25, 32, 51, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcff;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif;
  line-height: 1.78;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(23, 54, 95, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 169, 136, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
  padding: 12px 28px;
  background: rgba(251, 252, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  line-height: 1.1;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 6px 0 rgba(39, 100, 230, 0.16);
  font-family: Georgia, serif;
  font-weight: 900;
}

.brand strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.header-nav a:hover {
  color: var(--blue);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 92px;
  background:
    linear-gradient(120deg, rgba(234, 242, 255, 0.9), rgba(255, 255, 255, 0.94) 48%, rgba(243, 246, 239, 0.8)),
    linear-gradient(180deg, #fbfcff, var(--white));
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(39, 100, 230, 0.08) 42px 43px),
    linear-gradient(180deg, transparent, rgba(23, 54, 95, 0.05));
  transform: skewY(-2deg);
}

.hero-marquee {
  display: flex;
  overflow: hidden;
  padding: 12px 0;
  color: rgba(23, 54, 95, 0.36);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: Georgia, serif;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.hero-marquee span {
  min-width: 100%;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.machine-layer {
  position: absolute;
  inset: 80px 0 auto;
  height: 520px;
  pointer-events: none;
}

.machine-tile {
  position: absolute;
  display: block;
  width: 86px;
  height: 58px;
  background:
    linear-gradient(90deg, rgba(39, 100, 230, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(39, 100, 230, 0.14) 1px, transparent 1px),
    rgba(255, 255, 255, 0.68);
  background-size: 12px 12px;
  border: 1px solid rgba(39, 100, 230, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(25, 32, 51, 0.1);
  animation: machineFloat 8s ease-in-out infinite;
}

.machine-tile::before,
.machine-tile::after {
  position: absolute;
  content: "";
  background: rgba(30, 169, 136, 0.42);
}

.machine-tile::before {
  left: 18px;
  right: 18px;
  top: -8px;
  height: 1px;
}

.machine-tile::after {
  left: 50%;
  bottom: -12px;
  width: 1px;
  height: 12px;
}

.tile-one {
  left: 5%;
  top: 70px;
}

.tile-two {
  right: 6%;
  top: 30px;
  animation-delay: -2.2s;
}

.tile-three {
  right: 18%;
  top: 360px;
  animation-delay: -4.4s;
}

@keyframes machineFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }
  50% {
    transform: translate3d(8px, -16px, 0) rotate(3deg);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 58px;
  align-items: center;
  padding-top: 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.digest-grid h2,
.sponsor-preview h2,
.editorial-layout h2,
.line-layout h2 {
  margin: 0;
  color: var(--navy);
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "Noto Serif JP",
    serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
}

.hero h1 {
  max-width: 760px;
  font-size: 4.15rem;
}

.hero-lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: #48566e;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.topic-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.topic-rail span,
.topic-rail a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 54, 95, 0.12);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.topic-rail span {
  color: var(--green);
  background: rgba(30, 169, 136, 0.1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.3;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 30px rgba(39, 100, 230, 0.24);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-visual::before {
  position: absolute;
  inset: 14px -10px -10px 14px;
  z-index: -1;
  content: "";
  background: #dff1ea;
  border-radius: var(--radius);
}

.hero-visual img {
  width: 100%;
  border-radius: 6px;
}

.floating-note {
  position: absolute;
  padding: 10px 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(25, 32, 51, 0.12);
  font-size: 0.82rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.note-top {
  top: 16px;
  right: 18px;
}

.note-bottom {
  right: 24px;
  bottom: 22px;
}

.thumb,
.category-visual,
.article-thumb {
  display: grid;
  place-items: center;
  min-height: 100px;
  color: var(--white);
  border-radius: var(--radius);
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0;
}

.thumb-ec,
.article-thumb.visual-ec {
  background: linear-gradient(135deg, #2764e6, #1ea988);
}

.article-thumb.visual-build {
  background: linear-gradient(135deg, #17365f, #f4a742);
}

.article-thumb.visual-realestate {
  background: linear-gradient(135deg, #845ec2, #2764e6);
}

.article-thumb.visual-beauty {
  background: linear-gradient(135deg, #ed8ea8, #f4a742);
}

.article-thumb.visual-legal {
  background: linear-gradient(135deg, #26324c, #6b7cff);
}

.article-thumb.visual-food {
  background: linear-gradient(135deg, #1ea988, #f4a742);
}

.section {
  padding: 86px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(234, 242, 255, 0.62), rgba(255, 255, 255, 0.82)),
    #f4f8fb;
}

.digest-section,
.latest-section {
  background: var(--white);
}

.digest-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.digest-grid h2,
.section-heading h2,
.sponsor-preview h2,
.editorial-layout h2,
.line-layout h2 {
  font-size: 2.45rem;
}

.digest-card,
.category-card,
.article-card,
.sponsor-slots div,
.workflow div,
.ad-card,
.source-card,
.side-block,
.line-mini-card,
.empty-state,
.category-transition-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 46px rgba(25, 32, 51, 0.08);
}

.digest-card {
  padding: 24px;
}

.digest-card span,
.category-card span,
.article-card span,
.sponsor-slots span,
.workflow span,
.ad-card span,
.source-card span,
.side-block span,
.line-mini-card span,
.category-transition-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.digest-card p,
.section-heading p,
.category-card p,
.article-card p,
.sponsor-preview p,
.workflow p,
.source-card p,
.ad-card p,
.line-preview p,
.side-block p,
.line-mini-card p,
.category-transition-card p,
.empty-state {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.category-section {
  position: relative;
  overflow: hidden;
}

.category-circuit {
  position: absolute;
  inset: 80px 4% auto auto;
  width: min(460px, 42vw);
  height: 180px;
  pointer-events: none;
  opacity: 0.68;
}

.category-circuit span {
  position: absolute;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(39, 100, 230, 0.35), rgba(30, 169, 136, 0.28), transparent);
  animation: circuitSlide 7s ease-in-out infinite;
}

.category-circuit span:nth-child(1) {
  top: 18px;
  right: 0;
  width: 86%;
}

.category-circuit span:nth-child(2) {
  top: 84px;
  right: 42px;
  width: 64%;
  animation-delay: -2s;
}

.category-circuit span:nth-child(3) {
  top: 148px;
  right: 92px;
  width: 42%;
  animation-delay: -4s;
}

@keyframes circuitSlide {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.28;
  }
  50% {
    transform: translateX(-24px);
    opacity: 0.9;
  }
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-card {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 18px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.category-card::after {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(39, 100, 230, 0.22) 1px, transparent 1px),
    linear-gradient(rgba(30, 169, 136, 0.18) 1px, transparent 1px);
  background-size: 8px 8px;
  border: 1px solid rgba(23, 54, 95, 0.08);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.category-card.featured {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 1)),
    var(--blue-soft);
}

.category-visual {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 1.62 / 1;
  margin-bottom: 18px;
  overflow: hidden;
  background: #f8fbff;
  border: 1px solid rgba(23, 54, 95, 0.08);
}

.category-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 420ms ease,
    filter 420ms ease;
}

.category-visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(12, 28, 52, 0.42));
}

.category-visual b {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(23, 54, 95, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(25, 32, 51, 0.16);
  font-size: 0.96rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.category-card:hover .category-visual img {
  filter: saturate(1.05);
  transform: scale(1.055);
}

.category-card h3 {
  margin: 8px 0 6px;
  color: var(--navy);
  font-size: 1.25rem;
}

.category-card p {
  margin: 0;
}

.latest-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
}

.article-list {
  display: grid;
  gap: 16px;
}

.article-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 16px;
}

.article-thumb {
  min-height: 112px;
  font-size: 1rem;
}

.article-card h3 {
  margin: 6px 0;
  color: var(--navy);
  line-height: 1.38;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.sponsor-preview {
  background:
    linear-gradient(135deg, rgba(39, 100, 230, 0.09), rgba(30, 169, 136, 0.09)),
    var(--cream);
}

.sponsor-grid,
.editorial-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 48px;
  align-items: start;
}

.sponsor-grid-full {
  grid-template-columns: 1fr;
  gap: 34px;
}

.sponsor-overview-copy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 28px;
  align-items: end;
}

.sponsor-overview-copy .section-kicker,
.sponsor-overview-copy h2,
.sponsor-overview-copy p {
  grid-column: 1;
}

.sponsor-overview-copy .button {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
}

.sponsor-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.sponsor-category-block {
  padding: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 54, 95, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 16px 46px rgba(25, 32, 51, 0.07);
}

.sponsor-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.sponsor-category-head span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 30px;
  padding: 0 10px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.sponsor-category-head strong {
  color: var(--navy);
  font-size: 1rem;
}

.sponsor-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sponsor-mini-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(234, 242, 255, 0.78)),
    var(--white);
  border: 1px solid rgba(23, 54, 95, 0.1);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(25, 32, 51, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.sponsor-mini-slot:hover {
  transform: translateY(-3px);
  border-color: rgba(39, 100, 230, 0.28);
  box-shadow: 0 18px 38px rgba(25, 32, 51, 0.12);
}

.sponsor-mini-slot img {
  width: calc(100% + 24px);
  max-width: none;
  height: 48%;
  margin: -12px -12px 8px;
  object-fit: cover;
  object-position: top;
}

.sponsor-mini-slot span {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sponsor-mini-slot strong {
  display: -webkit-box;
  overflow: hidden;
  margin: 5px 0 4px;
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sponsor-mini-slot p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sponsor-mini-slot.is-open {
  background:
    linear-gradient(135deg, rgba(30, 169, 136, 0.08), rgba(255, 255, 255, 0.95)),
    var(--white);
  border-style: dashed;
}

.sponsor-mini-slot.is-open strong {
  color: var(--green);
}

.company-section {
  background: var(--white);
}

.company-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 46px;
  align-items: start;
}

.company-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.company-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.company-card dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.company-card dl div:last-child {
  border-bottom: 0;
}

.company-card dt {
  color: var(--navy);
  font-weight: 900;
}

.company-card dd {
  margin: 0;
  color: var(--muted);
}

.sponsor-slots,
.workflow {
  display: grid;
  gap: 14px;
}

.sponsor-slots div,
.workflow div {
  padding: 22px;
}

.sponsor-slots strong,
.workflow strong {
  display: block;
  margin: 6px 0;
  color: var(--navy);
  font-size: 1.2rem;
}

.line-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(39, 100, 230, 0.08), rgba(30, 169, 136, 0.1)),
    #fbfcff;
}

.line-section::before {
  position: absolute;
  inset: 42px auto auto 5%;
  width: 210px;
  height: 138px;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(23, 54, 95, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(23, 54, 95, 0.1) 1px, transparent 1px);
  background-size: 16px 16px;
  border: 1px solid rgba(23, 54, 95, 0.1);
  border-radius: 8px;
  opacity: 0.42;
  transform: rotate(-6deg);
}

.line-signal {
  position: absolute;
  inset: auto 0 52px;
  height: 120px;
  pointer-events: none;
  opacity: 0.7;
}

.line-signal span {
  position: absolute;
  right: -80px;
  display: block;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 169, 136, 0.52), transparent);
  animation: lineSignal 8s ease-in-out infinite;
}

.line-signal span:nth-child(1) {
  top: 16px;
}

.line-signal span:nth-child(2) {
  top: 58px;
  animation-delay: -2.6s;
}

.line-signal span:nth-child(3) {
  top: 100px;
  animation-delay: -5.2s;
}

@keyframes lineSignal {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.2;
  }
  50% {
    transform: translateX(-18vw);
    opacity: 0.95;
  }
}

.line-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.line-category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.line-category-tags span,
.line-category-tags label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(23, 54, 95, 0.12);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(25, 32, 51, 0.06);
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
}

.line-category-tags input,
.line-mini-card input {
  width: 16px;
  height: 16px;
  accent-color: var(--line-green);
}

.line-save-button {
  margin-top: 18px;
}

[data-line-save],
[data-line-cta] {
  color: var(--white);
  background: var(--line-green);
  border-color: var(--line-green);
  box-shadow: 0 16px 30px rgba(6, 199, 85, 0.22);
}

[data-line-save]:hover,
[data-line-cta]:hover {
  box-shadow: 0 18px 34px rgba(6, 199, 85, 0.28);
}

.line-preview {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.line-illustration {
  position: relative;
  overflow: hidden;
  width: min(100%, 560px);
  padding: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(6, 199, 85, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(6, 199, 85, 0.14);
}

.line-illustration::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(6, 199, 85, 0.08), transparent 38%, rgba(39, 100, 230, 0.08));
}

.line-illustration img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.line-device {
  width: min(100%, 430px);
  padding: 18px;
  background: #f7f9fc;
  border: 1px solid rgba(23, 54, 95, 0.12);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.line-device-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 12px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 22px 22px 8px 8px;
}

.line-device-head span {
  font-weight: 900;
}

.line-device-head strong {
  color: #bdf3e4;
  font-size: 0.78rem;
}

.line-message {
  width: fit-content;
  max-width: 88%;
  margin: 10px 0 0 auto;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(23, 54, 95, 0.08);
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 10px 26px rgba(25, 32, 51, 0.08);
  font-size: 0.92rem;
  font-weight: 800;
}

.line-message.is-green {
  margin-right: auto;
  margin-left: 0;
  color: #073c31;
  background: #c9f5e8;
  border-color: rgba(30, 169, 136, 0.22);
  border-radius: 18px 18px 18px 4px;
}

.line-disabled {
  cursor: default;
}

.ad-list {
  display: grid;
  gap: 14px;
}

.side-block,
.line-mini-card,
.empty-state {
  padding: 22px;
}

.side-block h2,
.line-mini-card h2 {
  margin: 8px 0;
  color: var(--navy);
  font-size: 1.24rem;
}

.line-mini-card {
  display: grid;
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(6, 199, 85, 0.1), rgba(30, 169, 136, 0.12)),
    var(--white);
}

.line-mini-card label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--navy);
  font-weight: 900;
}

.line-mini-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(6, 199, 85, 0.18);
  border-radius: 6px;
  box-shadow: 0 14px 32px rgba(6, 199, 85, 0.12);
}

.line-mini-card .button {
  width: 100%;
}

.category-transition-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.category-transition-card {
  display: block;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.category-transition-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.category-transition-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.category-transition-card span,
.category-transition-card strong,
.category-transition-card p {
  margin-right: 16px;
  margin-left: 16px;
}

.category-transition-card span {
  display: block;
  margin-top: 16px;
}

.category-transition-card strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
}

.category-transition-card p {
  margin-top: 8px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  line-height: 1.62;
}

.site-policy {
  padding: 28px 0;
  background: #f6f8fb;
  border-top: 1px solid var(--line);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.policy-grid span {
  display: block;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.policy-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.course-lp-page {
  background:
    radial-gradient(circle at 12% 12%, rgba(39, 100, 230, 0.08), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(30, 169, 136, 0.1), transparent 30%),
    #fbfcff;
}

.course-lp-page .header-cta {
  color: #111827;
  background: linear-gradient(135deg, #ffe9a9, #f4a742 54%, #c7871b);
  box-shadow: 0 14px 28px rgba(244, 167, 66, 0.25);
}

.course-lp-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 84px;
  background:
    linear-gradient(120deg, rgba(234, 242, 255, 0.95), rgba(255, 255, 255, 0.92) 48%, rgba(223, 241, 234, 0.62)),
    #fbfcff;
  border-bottom: 1px solid var(--line);
}

.lp-orbit {
  position: absolute;
  inset: 88px 0 auto;
  height: 360px;
  pointer-events: none;
  opacity: 0.7;
}

.lp-orbit span {
  position: absolute;
  display: block;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(39, 100, 230, 0.18);
  border-radius: 50%;
  animation: machineFloat 9s ease-in-out infinite;
}

.lp-orbit span::after {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(30, 169, 136, 0.12);
}

.lp-orbit span:nth-child(1) {
  left: 5%;
  top: 28px;
}

.lp-orbit span:nth-child(2) {
  right: 9%;
  top: 12px;
  width: 240px;
  height: 240px;
  animation-delay: -3s;
}

.lp-orbit span:nth-child(3) {
  right: 26%;
  top: 220px;
  width: 112px;
  height: 112px;
  animation-delay: -5s;
}

.course-lp-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  gap: 54px;
  align-items: center;
}

.course-lp-copy h1 {
  max-width: 820px;
  margin: 0;
  color: var(--navy);
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "Noto Serif JP",
    serif;
  font-size: 3.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.16;
}

.course-lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.lp-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.lp-trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 54, 95, 0.12);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.course-lp-visual {
  position: relative;
  overflow: hidden;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.course-lp-visual img {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.course-lp-price {
  position: absolute;
  right: 20px;
  bottom: 20px;
  min-width: 196px;
  padding: 18px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(25, 32, 51, 0.16);
  backdrop-filter: blur(14px);
}

.course-lp-price span,
.lp-proof-grid span,
.lp-benefit-grid span,
.lp-curriculum-grid span,
.lp-target-card span,
.lp-checkout-card span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.course-lp-price strong {
  display: block;
  margin-top: 4px;
  color: #c7262d;
  font-size: 2.2rem;
  line-height: 1.1;
}

.course-lp-price small,
.lp-checkout-card small {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.lp-proof-band {
  padding: 24px 0;
  background: var(--navy);
}

.lp-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.lp-proof-grid div {
  padding: 22px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.lp-proof-grid span {
  color: #bdf3e4;
}

.lp-proof-grid strong {
  display: block;
  margin: 6px 0;
  color: var(--white);
  font-size: 1.34rem;
}

.lp-proof-grid p {
  margin: 0;
  font-size: 0.9rem;
}

.lp-two-column {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 44px;
  align-items: start;
}

.lp-benefit-grid,
.lp-curriculum-grid,
.lp-target-grid {
  display: grid;
  gap: 16px;
}

.lp-benefit-grid {
  grid-template-columns: repeat(2, 1fr);
}

.lp-benefit-grid article,
.lp-curriculum-grid article,
.lp-target-card,
.lp-checkout-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 46px rgba(25, 32, 51, 0.08);
}

.lp-benefit-grid h3,
.lp-curriculum-grid h3,
.lp-target-card h2 {
  margin: 8px 0;
  color: var(--navy);
  line-height: 1.38;
}

.lp-benefit-grid p,
.lp-curriculum-grid p {
  margin: 0;
  color: var(--muted);
}

.lp-curriculum-grid {
  grid-template-columns: repeat(5, 1fr);
}

.lp-target-grid {
  grid-template-columns: repeat(2, 1fr);
}

.lp-target-card.is-muted {
  background: #f7f9fc;
}

.lp-target-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.course-lp-offer {
  padding: 82px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 54, 95, 0.96), rgba(39, 100, 230, 0.88)),
    var(--navy);
}

.course-lp-offer .section-kicker {
  color: #bdf3e4;
}

.course-lp-offer-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 42px;
  align-items: center;
}

.course-lp-offer h2 {
  margin: 0;
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "Noto Serif JP",
    serif;
  font-size: 2.7rem;
  line-height: 1.2;
}

.course-lp-offer p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.lp-refund-note {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.lp-checkout-card {
  color: var(--navy);
}

.lp-checkout-card strong {
  display: block;
  margin: 8px 0 4px;
  color: #c7262d;
  font-size: 3.2rem;
  line-height: 1;
}

.lp-checkout-card .button {
  width: 100%;
  margin-top: 20px;
}

.course-lp-hero-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 8% 12%, rgba(244, 167, 66, 0.22), transparent 24%),
    radial-gradient(circle at 92% 16%, rgba(39, 100, 230, 0.26), transparent 28%),
    linear-gradient(135deg, #050914 0%, #0b1730 52%, #111827 100%);
  border-bottom-color: rgba(244, 167, 66, 0.28);
}

.course-lp-hero-dark::after {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(244, 167, 66, 0.08));
}

.course-lp-hero-dark .eyebrow,
.course-lp-offer-premium .section-kicker {
  color: #ffd777;
}

.course-lp-hero-dark .course-lp-copy h1 {
  color: var(--white);
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.lp-hero-sub {
  max-width: 780px;
  margin: 20px 0 0;
  color: #ffd777;
  font-size: 1.26rem;
  font-weight: 900;
  line-height: 1.58;
}

.course-lp-hero-dark .hero-lead {
  color: rgba(255, 255, 255, 0.78);
}

.lp-gold-button {
  color: #111827;
  background: linear-gradient(135deg, #ffe9a9, #f4a742 54%, #c7871b);
  box-shadow: 0 18px 38px rgba(244, 167, 66, 0.28);
}

.lp-dark-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.course-lp-hero-dark .lp-trust-row span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.lp-hero-ad {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(244, 167, 66, 0.1));
  border-color: rgba(244, 167, 66, 0.36);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  transform: rotate(0.6deg);
}

.lp-hero-ad img {
  aspect-ratio: auto;
  max-height: 660px;
  object-fit: contain;
  background: #050914;
}

.course-lp-hero-dark .course-lp-price {
  color: var(--white);
  background: rgba(5, 9, 20, 0.84);
  border-color: rgba(244, 167, 66, 0.36);
}

.course-lp-hero-dark .course-lp-price strong {
  color: #ffd777;
}

.course-lp-hero-dark .course-lp-price small {
  color: rgba(255, 255, 255, 0.72);
}

.lp-proof-band {
  background:
    linear-gradient(135deg, #050914, #111827),
    var(--navy);
}

.lp-copy-panel {
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 54, 95, 0.96), rgba(5, 9, 20, 0.95)),
    var(--navy);
  border: 1px solid rgba(244, 167, 66, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lp-copy-panel strong {
  display: block;
  color: #ffd777;
  font-size: 1.28rem;
}

.lp-copy-panel ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 1.2em;
}

.lp-copy-panel li {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.lp-point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lp-point-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(23, 54, 95, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(25, 32, 51, 0.1);
}

.lp-point-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.lp-point-card div {
  padding: 24px;
}

.lp-point-card span {
  color: #b07918;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lp-point-card h3 {
  margin: 8px 0;
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.4;
}

.lp-point-card p {
  margin: 0;
  color: var(--muted);
}

.lp-future-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 18%, rgba(244, 167, 66, 0.2), transparent 28%),
    radial-gradient(circle at 92% 24%, rgba(30, 169, 136, 0.16), transparent 30%),
    linear-gradient(135deg, #071022, #0b1730 58%, #050914);
}

.lp-future-grid,
.lp-value-grid,
.lp-toc-layout {
  display: grid;
  align-items: center;
  gap: 44px;
}

.lp-future-grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 1.06fr);
}

.lp-future-section .section-kicker {
  color: #ffd777;
}

.lp-future-section h2 {
  color: var(--white);
}

.lp-future-section p {
  color: rgba(255, 255, 255, 0.76);
}

.lp-future-card {
  position: relative;
  overflow: hidden;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(244, 167, 66, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.lp-future-card img,
.lp-value-visual img,
.lp-toc-visual {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.lp-future-card img {
  aspect-ratio: 1.32 / 1;
  object-fit: cover;
}

.lp-future-list {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(360px, calc(100% - 44px));
  padding: 22px;
  color: var(--white);
  background: rgba(5, 9, 20, 0.86);
  border: 1px solid rgba(244, 167, 66, 0.32);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.lp-future-list span,
.lp-value-stack span,
.lp-toc-grid summary span {
  color: #b07918;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lp-future-list strong {
  display: block;
  margin: 6px 0 12px;
  color: #ffd777;
  font-size: 1.22rem;
}

.lp-future-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
}

.lp-future-list li {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.lp-value-section {
  background:
    linear-gradient(180deg, #fff, rgba(247, 250, 255, 0.94)),
    var(--white);
}

.lp-value-grid {
  grid-template-columns: minmax(340px, 0.92fr) minmax(0, 1.08fr);
}

.lp-value-visual {
  padding: 8px;
  background: var(--white);
  border: 1px solid rgba(23, 54, 95, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 26px 78px rgba(25, 32, 51, 0.12);
}

.lp-value-visual img {
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
}

.lp-value-stack {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.lp-value-stack div {
  min-height: 96px;
  padding: 14px;
  background: var(--white);
  border: 1px solid rgba(23, 54, 95, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(25, 32, 51, 0.07);
}

.lp-value-stack strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 0.94rem;
  line-height: 1.35;
}

.lp-toc-section {
  background:
    linear-gradient(180deg, rgba(7, 16, 34, 0.03), rgba(255, 255, 255, 0.98)),
    #fff;
}

.lp-toc-layout {
  grid-template-columns: minmax(320px, 0.74fr) minmax(0, 1.26fr);
  align-items: start;
}

.lp-toc-visual {
  margin-top: 22px;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
  border: 1px solid rgba(244, 167, 66, 0.22);
  box-shadow: 0 24px 70px rgba(25, 32, 51, 0.13);
}

.lp-toc-grid {
  display: grid;
  gap: 12px;
}

.lp-toc-grid details {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(23, 54, 95, 0.12);
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(25, 32, 51, 0.07);
}

.lp-toc-grid summary {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 0 20px;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
  list-style: none;
}

.lp-toc-grid summary::-webkit-details-marker {
  display: none;
}

.lp-toc-grid summary::after {
  width: 28px;
  height: 28px;
  margin-left: auto;
  color: #b07918;
  content: "+";
  display: grid;
  place-items: center;
  background: rgba(244, 167, 66, 0.12);
  border-radius: 999px;
  font-weight: 900;
}

.lp-toc-grid details[open] summary::after {
  content: "-";
}

.lp-toc-grid ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0 20px 22px 42px;
  color: var(--muted);
}

.lp-toc-grid li {
  padding-left: 4px;
  font-size: 0.92rem;
  line-height: 1.58;
}

.lp-curriculum-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96)),
    #fff;
}

.lp-curriculum-grid-premium article {
  position: relative;
  overflow: hidden;
  border-color: rgba(244, 167, 66, 0.22);
}

.lp-curriculum-grid-premium article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, #f4a742, #ffe9a9);
}

.lp-reference-section {
  color: var(--white);
  background:
    radial-gradient(circle at 0 0, rgba(244, 167, 66, 0.18), transparent 34%),
    linear-gradient(135deg, #050914, #102044 64%, #050914);
}

.lp-reference-section .section-kicker {
  color: #ffd777;
}

.lp-reference-section h2 {
  margin: 0;
  color: var(--white);
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "Noto Serif JP",
    serif;
  font-size: 2.55rem;
  line-height: 1.24;
}

.lp-reference-section p {
  color: rgba(255, 255, 255, 0.78);
}

.lp-reference-grid {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 40px;
  align-items: center;
}

.lp-reference-grid img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  background: #050914;
  border: 1px solid rgba(244, 167, 66, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.34);
}

.course-lp-offer-premium {
  background:
    radial-gradient(circle at 85% 16%, rgba(244, 167, 66, 0.2), transparent 30%),
    linear-gradient(135deg, #071022, #050914);
}

.lp-checkout-card img {
  width: 100%;
  margin-bottom: 18px;
  border: 1px solid rgba(23, 54, 95, 0.12);
  border-radius: 6px;
}

.sponsor-ad-image,
.ad-card-image {
  width: 100%;
  margin: 10px 0 12px;
  background: #050914;
  border: 1px solid rgba(244, 167, 66, 0.24);
  border-radius: 6px;
}

.sponsor-ad-image {
  aspect-ratio: 1 / 1.16;
  object-fit: cover;
  object-position: top;
}

.ad-card-image {
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: top;
}

.site-footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand,
.footer-brand small {
  color: var(--white);
}

.site-footer p {
  margin: 16px 0 0;
}

.site-footer nav {
  display: grid;
  gap: 10px;
  min-width: 220px;
}

.site-footer nav a {
  color: var(--white);
  font-weight: 800;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 48px;
  background:
    linear-gradient(120deg, rgba(234, 242, 255, 0.9), rgba(255, 255, 255, 0.92)),
    var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(30, 169, 136, 0.1) 34px 35px);
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  gap: 42px;
  align-items: center;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--navy);
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  font-size: 3rem;
  line-height: 1.18;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
}

.page-hero-visual {
  overflow: hidden;
  padding: 8px;
  background: var(--white);
  border: 1px solid rgba(23, 54, 95, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.page-hero-visual img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.category-page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 34px;
  align-items: start;
}

.category-articles {
  display: grid;
  gap: 16px;
}

.side-column {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 96px;
}

.ad-card,
.source-card {
  padding: 22px;
}

.ad-card h2,
.source-card h2 {
  margin: 8px 0;
  color: var(--navy);
  font-size: 1.24rem;
}

.ad-card strong {
  display: block;
  margin: 10px 0;
  color: var(--navy);
}

.ad-card .button {
  width: 100%;
  margin-top: 12px;
}

.sponsor-page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
}

.sponsor-rules {
  display: grid;
  gap: 14px;
}

.sponsor-rules div {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sponsor-rules h2 {
  margin: 0 0 8px;
  color: var(--navy);
}

@media (max-width: 1080px) {
  .header-nav {
    display: none;
  }

  .hero-grid,
  .digest-grid,
  .latest-layout,
  .sponsor-grid,
  .sponsor-overview-copy,
  .editorial-layout,
  .company-layout,
  .line-layout,
  .page-hero-grid,
  .category-page-layout,
  .sponsor-page-grid,
  .course-lp-hero-grid,
  .lp-two-column,
  .course-lp-offer-grid,
  .lp-reference-grid,
  .lp-future-grid,
  .lp-value-grid,
  .lp-toc-layout {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-transition-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sponsor-board {
    grid-template-columns: 1fr;
  }

  .sponsor-overview-copy .section-kicker,
  .sponsor-overview-copy h2,
  .sponsor-overview-copy p,
  .sponsor-overview-copy .button {
    grid-column: auto;
    grid-row: auto;
  }

  .lp-proof-grid,
  .lp-curriculum-grid,
  .lp-target-grid,
  .lp-point-grid,
  .lp-value-stack {
    grid-template-columns: 1fr;
  }

  .side-column {
    position: static;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .hero {
    padding-bottom: 62px;
  }

  .hero-grid {
    padding-top: 48px;
  }

  .hero h1,
  .page-hero h1,
  .course-lp-copy h1 {
    font-size: 2.35rem;
  }

  .digest-grid h2,
  .section-heading h2,
  .sponsor-preview h2,
  .editorial-layout h2,
  .line-layout h2,
  .course-lp-offer h2,
  .lp-reference-section h2,
  .lp-future-section h2 {
    font-size: 1.82rem;
  }

  .article-card,
  .footer-grid,
  .company-card dl div,
  .policy-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-transition-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-mini-grid {
    grid-template-columns: repeat(3, minmax(92px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .sponsor-mini-slot {
    min-width: 92px;
  }

  .course-lp-hero {
    padding: 54px 0 62px;
  }

  .lp-benefit-grid {
    grid-template-columns: 1fr;
  }

  .lp-future-list {
    position: static;
    width: auto;
    margin-top: 8px;
  }

  .lp-toc-grid summary {
    align-items: flex-start;
    min-height: auto;
    padding: 18px;
    line-height: 1.45;
  }

  .lp-toc-grid summary span {
    flex: 0 0 auto;
    margin-top: 3px;
  }

  .lp-toc-grid ol {
    grid-template-columns: 1fr;
    padding: 0 18px 20px 38px;
  }

  .course-lp-price {
    position: static;
    margin-top: 12px;
  }

  .lp-hero-sub {
    font-size: 1.05rem;
  }

  .lp-reference-grid img {
    max-height: none;
  }
}

/* EC Brand Academy LP v2 */
.ec-lp-page {
  --lp-ink: #172033;
  --lp-navy: #102044;
  --lp-blue: #2457d6;
  --lp-gold: #d8a23a;
  --lp-gold-soft: #fff5d9;
  --lp-mint: #1ea988;
  --lp-mint-soft: #e9f8f3;
  --lp-bg: #fbfcff;
  --lp-soft: #f4f7fb;
  --lp-line: rgba(23, 32, 51, 0.12);
  --lp-muted: #657189;
  --lp-shadow: 0 22px 60px rgba(23, 32, 51, 0.1);
  --lp-radius: 8px;
  color: var(--lp-ink);
  background:
    linear-gradient(rgba(16, 32, 68, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 169, 136, 0.025) 1px, transparent 1px),
    var(--lp-bg);
  background-size: 40px 40px;
}

.ec-lp-page p {
  color: var(--lp-muted);
}

.ec-lp-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 12px 28px;
  background: rgba(251, 252, 255, 0.9);
  border-bottom: 1px solid var(--lp-line);
  backdrop-filter: blur(18px);
}

.ec-lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--lp-navy);
  line-height: 1.1;
}

.ec-lp-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, var(--lp-navy), #1b3d7a);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 0 rgba(36, 87, 214, 0.12);
  font-weight: 900;
}

.ec-lp-brand strong,
.ec-lp-brand small {
  display: block;
}

.ec-lp-brand strong {
  font-size: 1rem;
  font-weight: 900;
}

.ec-lp-brand small {
  margin-top: 4px;
  color: var(--lp-muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.ec-lp-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--lp-muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.ec-lp-nav a,
.ec-lp-footer nav a {
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.ec-lp-nav a:hover,
.ec-lp-footer nav a:hover {
  color: var(--lp-blue);
}

.ec-lp-header-cta,
.ec-lp-button,
.ec-lp-mobile-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.2;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.ec-lp-header-cta,
.ec-lp-button-primary,
.ec-lp-mobile-cta a {
  color: #111827;
  background: linear-gradient(135deg, #fff1bc, #e9b44c 55%, #c98b1b);
  box-shadow: 0 16px 34px rgba(216, 162, 58, 0.28);
}

.ec-lp-button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.ec-lp-header-cta:hover,
.ec-lp-button:hover,
.ec-lp-mobile-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(216, 162, 58, 0.34);
}

.ec-lp-kicker {
  margin: 0 0 12px;
  color: var(--lp-blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ec-lp-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 58px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 16, 34, 0.98), rgba(16, 32, 68, 0.96) 58%, rgba(5, 9, 20, 0.98)),
    #071022;
}

.ec-lp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(216, 162, 58, 0.12) 18% 18.4%, transparent 18.4% 100%),
    linear-gradient(135deg, transparent 0 54%, rgba(255, 255, 255, 0.05) 54% 55%, transparent 55% 100%);
}

.ec-lp-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.72fr);
  gap: 48px;
  align-items: center;
}

.ec-lp-hero-copy h1,
.ec-lp-section-head h2,
.ec-lp-final-card h2,
.ec-lp-offer-copy h2 {
  margin: 0;
  color: var(--lp-navy);
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "Noto Serif JP",
    serif;
  font-weight: 900;
  line-height: 1.24;
}

.ec-lp-hero-copy h1 {
  max-width: 820px;
  color: #fff;
  font-size: 3.65rem;
}

.ec-lp-hero .ec-lp-kicker,
.ec-lp-offer .ec-lp-kicker,
.ec-lp-final .ec-lp-kicker {
  color: #f7d77d;
}

.ec-lp-hero-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
}

.ec-lp-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ec-lp-hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
}

.ec-lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ec-lp-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.ec-lp-trust-strip div {
  min-height: 92px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--lp-radius);
}

.ec-lp-trust-strip strong,
.ec-lp-trust-strip span {
  display: block;
}

.ec-lp-trust-strip strong {
  color: #f7d77d;
  font-size: 1.38rem;
  line-height: 1.2;
}

.ec-lp-trust-strip span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 800;
}

.ec-lp-hero-visual {
  position: relative;
  overflow: hidden;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(216, 162, 58, 0.32);
  border-radius: var(--lp-radius);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.ec-lp-hero-visual img {
  width: 100%;
  max-height: 650px;
  object-fit: contain;
  background: #050914;
  border-radius: 6px;
}

.ec-lp-price-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(230px, calc(100% - 44px));
  padding: 18px;
  color: #fff;
  background: rgba(5, 9, 20, 0.86);
  border: 1px solid rgba(216, 162, 58, 0.34);
  border-radius: var(--lp-radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.ec-lp-price-badge span,
.ec-lp-price-badge small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.ec-lp-price-badge strong {
  display: block;
  color: #f7d77d;
  font-size: 2.05rem;
  line-height: 1.1;
}

.ec-lp-benefit-band {
  padding: 24px 0;
  background: #fff;
  border-bottom: 1px solid var(--lp-line);
}

.ec-lp-benefit-grid,
.ec-lp-problem-grid,
.ec-lp-reason-grid,
.ec-lp-detail-grid,
.ec-lp-fit-grid,
.ec-lp-bonus-grid,
.ec-lp-flow-grid,
.ec-lp-voice-grid {
  display: grid;
  gap: 16px;
}

.ec-lp-benefit-grid {
  grid-template-columns: repeat(3, 1fr);
}

.ec-lp-benefit-grid article {
  padding: 24px;
  background: var(--lp-soft);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
}

.ec-lp-benefit-grid span,
.ec-lp-reason-grid span,
.ec-lp-detail-grid span,
.ec-lp-fit-card span,
.ec-lp-proof-stats span,
.ec-lp-voice-grid span,
.ec-lp-bonus-grid span,
.ec-lp-flow-grid span,
.ec-lp-checkout span {
  color: var(--lp-blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ec-lp-benefit-grid h2,
.ec-lp-problem-grid h3,
.ec-lp-reason-grid h3,
.ec-lp-detail-grid h3,
.ec-lp-fit-card h2,
.ec-lp-bonus-grid h3,
.ec-lp-flow-grid h3,
.ec-lp-voice-grid h3 {
  margin: 8px 0;
  color: var(--lp-navy);
  line-height: 1.42;
}

.ec-lp-benefit-grid h2 {
  font-size: 1.18rem;
}

.ec-lp-benefit-grid p,
.ec-lp-problem-grid p,
.ec-lp-reason-grid p,
.ec-lp-detail-grid p,
.ec-lp-bonus-grid p,
.ec-lp-flow-grid p,
.ec-lp-voice-grid p {
  margin: 0;
}

.ec-lp-section {
  padding: 88px 0;
}

.ec-lp-section-head {
  max-width: 820px;
}

.ec-lp-section-head h2,
.ec-lp-offer-copy h2,
.ec-lp-final-card h2 {
  font-size: 2.48rem;
}

.ec-lp-section-head p {
  margin: 18px 0 0;
}

.ec-lp-center {
  margin: 0 auto 34px;
  text-align: center;
}

.ec-lp-problem {
  background: linear-gradient(180deg, #fff, #f7faff);
}

.ec-lp-problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.ec-lp-problem-grid article,
.ec-lp-detail-grid article,
.ec-lp-fit-card,
.ec-lp-bonus-grid article,
.ec-lp-flow-grid article,
.ec-lp-voice-grid article {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  box-shadow: 0 16px 44px rgba(23, 32, 51, 0.07);
}

.ec-lp-mini-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--lp-navy);
  background: var(--lp-gold-soft);
  border: 1px solid rgba(216, 162, 58, 0.28);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
}

.ec-lp-section-cta {
  max-width: 860px;
  margin: 34px auto 0;
  padding: 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
}

.ec-lp-section-cta p {
  margin: 0 0 16px;
  color: var(--lp-navy);
  font-weight: 900;
}

.ec-lp-solution {
  background:
    linear-gradient(135deg, rgba(233, 248, 243, 0.86), rgba(255, 255, 255, 0.94)),
    #fff;
}

.ec-lp-solution-grid,
.ec-lp-curriculum-layout,
.ec-lp-proof-layout,
.ec-lp-offer-grid,
.ec-lp-faq-layout {
  display: grid;
  align-items: center;
  gap: 44px;
}

.ec-lp-solution-grid {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.ec-lp-image-card,
.ec-lp-section-head img,
.ec-lp-roadmap {
  overflow: hidden;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
}

.ec-lp-image-card img,
.ec-lp-section-head img,
.ec-lp-roadmap {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.ec-lp-before-after {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 14px;
  align-items: stretch;
  margin-top: 26px;
}

.ec-lp-before-after div:not(.ec-lp-arrow) {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  box-shadow: 0 12px 34px rgba(23, 32, 51, 0.07);
}

.ec-lp-before-after span {
  color: var(--lp-blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ec-lp-before-after strong {
  display: block;
  margin: 8px 0;
  color: var(--lp-navy);
  font-size: 1.05rem;
  line-height: 1.42;
}

.ec-lp-arrow {
  display: grid;
  place-items: center;
  align-self: center;
  height: 56px;
  color: #fff;
  background: var(--lp-navy);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ec-lp-reason {
  background: #fff;
}

.ec-lp-reason-grid {
  grid-template-columns: repeat(3, 1fr);
}

.ec-lp-reason-grid article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
}

.ec-lp-reason-grid img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
}

.ec-lp-reason-grid div {
  padding: 24px;
}

.ec-lp-curriculum {
  background:
    linear-gradient(180deg, #f7faff, #fff),
    #fff;
}

.ec-lp-curriculum-layout {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
}

.ec-lp-roadmap {
  margin-top: 22px;
}

.ec-lp-toc {
  display: grid;
  gap: 12px;
}

.ec-lp-toc details,
.ec-lp-faq-list details,
.ec-lp-legal-note details {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  box-shadow: 0 14px 38px rgba(23, 32, 51, 0.06);
}

.ec-lp-toc summary,
.ec-lp-faq-list summary,
.ec-lp-legal-note summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 20px;
  color: var(--lp-navy);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.ec-lp-toc summary::-webkit-details-marker,
.ec-lp-faq-list summary::-webkit-details-marker,
.ec-lp-legal-note summary::-webkit-details-marker {
  display: none;
}

.ec-lp-toc summary::after,
.ec-lp-faq-list summary::after,
.ec-lp-legal-note summary::after {
  width: 28px;
  height: 28px;
  margin-left: auto;
  color: var(--lp-blue);
  content: "+";
  display: grid;
  place-items: center;
  background: var(--lp-blue-soft, #eaf2ff);
  border-radius: 50%;
  flex: 0 0 auto;
}

.ec-lp-toc details[open] summary::after,
.ec-lp-faq-list details[open] summary::after,
.ec-lp-legal-note details[open] summary::after {
  content: "-";
}

.ec-lp-toc summary span {
  color: var(--lp-gold);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.ec-lp-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  margin: 0;
  padding: 0 20px 22px 42px;
  color: var(--lp-muted);
}

.ec-lp-toc li {
  font-size: 0.92rem;
  line-height: 1.62;
}

.ec-lp-details {
  background: #fff;
}

.ec-lp-detail-grid {
  grid-template-columns: repeat(2, 1fr);
}

.ec-lp-detail-grid article {
  position: relative;
  overflow: hidden;
}

.ec-lp-detail-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--lp-gold), #f8d987);
}

.ec-lp-detail-grid ul,
.ec-lp-fit-card ul,
.ec-lp-offer-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 1.2em;
  color: var(--lp-muted);
}

.ec-lp-detail-grid li,
.ec-lp-fit-card li,
.ec-lp-offer-list li {
  line-height: 1.62;
}

.ec-lp-fit {
  background: var(--lp-soft);
}

.ec-lp-fit-grid {
  grid-template-columns: repeat(2, 1fr);
}

.ec-lp-fit-card.is-muted {
  background: #fffaf1;
  border-color: rgba(216, 162, 58, 0.22);
}

.ec-lp-proof {
  color: #fff;
  background:
    linear-gradient(135deg, #071022, #102044 62%, #050914),
    var(--lp-navy);
}

.ec-lp-proof .ec-lp-section-head h2,
.ec-lp-proof .ec-lp-section-head p,
.ec-lp-offer h2,
.ec-lp-offer p,
.ec-lp-final h2,
.ec-lp-final p {
  color: #fff;
}

.ec-lp-proof .ec-lp-section-head p,
.ec-lp-offer p,
.ec-lp-final p {
  color: rgba(255, 255, 255, 0.76);
}

.ec-lp-proof-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
}

.ec-lp-proof .ec-lp-section-head img {
  margin-top: 22px;
  border-color: rgba(216, 162, 58, 0.24);
}

.ec-lp-proof-stats {
  display: grid;
  gap: 14px;
}

.ec-lp-proof-stats div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--lp-radius);
}

.ec-lp-proof-stats span {
  color: #f7d77d;
}

.ec-lp-proof-stats strong {
  display: block;
  margin: 6px 0;
  color: #fff;
  font-size: 2.15rem;
  line-height: 1.1;
}

.ec-lp-proof-stats p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.ec-lp-voice {
  background: #fff;
}

.ec-lp-voice-grid {
  grid-template-columns: repeat(3, 1fr);
}

.ec-lp-voice-grid article {
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.ec-lp-bonus {
  background:
    linear-gradient(135deg, rgba(233, 248, 243, 0.9), rgba(255, 245, 217, 0.68)),
    #fff;
}

.ec-lp-bonus-grid,
.ec-lp-flow-grid {
  grid-template-columns: repeat(3, 1fr);
}

.ec-lp-offer {
  padding: 92px 0;
  background:
    linear-gradient(135deg, #102044, #071022),
    var(--lp-navy);
}

.ec-lp-offer-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
}

.ec-lp-offer-list {
  color: rgba(255, 255, 255, 0.82);
}

.ec-lp-checkout {
  padding: 24px;
  color: var(--lp-navy);
  background: #fff;
  border: 1px solid rgba(216, 162, 58, 0.24);
  border-radius: var(--lp-radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.ec-lp-checkout img {
  width: 100%;
  margin-bottom: 18px;
  background: #050914;
  border: 1px solid var(--lp-line);
  border-radius: 6px;
}

.ec-lp-checkout strong {
  display: block;
  margin: 6px 0 2px;
  color: #c72b34;
  font-size: 3.1rem;
  line-height: 1;
}

.ec-lp-checkout small {
  display: block;
  color: var(--lp-muted);
  font-weight: 900;
}

.ec-lp-checkout .ec-lp-button {
  width: 100%;
  margin-top: 20px;
}

.ec-lp-checkout p {
  margin: 16px 0 0;
  font-size: 0.88rem;
}

.ec-lp-flow {
  background: #fff;
}

.ec-lp-flow-grid article {
  min-height: 180px;
}

.ec-lp-faq {
  background: #f7faff;
}

.ec-lp-faq-layout {
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1fr);
  align-items: start;
}

.ec-lp-faq-list {
  display: grid;
  gap: 12px;
}

.ec-lp-faq-list p,
.ec-lp-legal-note p {
  margin: 0;
  padding: 0 20px 20px;
}

.ec-lp-final {
  padding: 92px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 16, 34, 0.95), rgba(16, 32, 68, 0.95)),
    var(--lp-navy);
}

.ec-lp-final-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 46px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--lp-radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.ec-lp-final-card p {
  max-width: 700px;
  margin: 18px auto 0;
}

.ec-lp-final-card .ec-lp-button {
  margin-top: 28px;
}

.ec-lp-final-card small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 900;
}

.ec-lp-footer {
  padding: 44px 0 92px;
  color: rgba(255, 255, 255, 0.78);
  background: #071022;
}

.ec-lp-footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.ec-lp-footer strong {
  display: block;
  color: #fff;
}

.ec-lp-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.ec-lp-footer nav {
  display: grid;
  gap: 8px;
  min-width: 220px;
}

.ec-lp-footer nav a {
  color: #fff;
  font-weight: 800;
}

.ec-lp-legal-note {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.ec-lp-legal-note details {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.ec-lp-legal-note summary {
  color: #fff;
  min-height: 54px;
}

.ec-lp-legal-note p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.ec-lp-mobile-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 70;
  display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 252, 255, 0.9);
  border-top: 1px solid var(--lp-line);
  backdrop-filter: blur(18px);
}

.ec-lp-mobile-cta a {
  width: 100%;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1080px) {
  .ec-lp-nav {
    display: none;
  }

  .ec-lp-hero-grid,
  .ec-lp-solution-grid,
  .ec-lp-curriculum-layout,
  .ec-lp-proof-layout,
  .ec-lp-offer-grid,
  .ec-lp-faq-layout {
    grid-template-columns: 1fr;
  }

  .ec-lp-benefit-grid,
  .ec-lp-problem-grid,
  .ec-lp-reason-grid,
  .ec-lp-voice-grid,
  .ec-lp-bonus-grid,
  .ec-lp-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ec-lp-detail-grid,
  .ec-lp-fit-grid,
  .ec-lp-legal-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .ec-lp-page {
    padding-bottom: 72px;
  }

  .ec-lp-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .ec-lp-brand-mark {
    width: 38px;
    height: 38px;
  }

  .ec-lp-brand strong {
    font-size: 0.92rem;
  }

  .ec-lp-brand small {
    display: none;
  }

  .ec-lp-header-cta {
    display: none;
  }

  .ec-lp-hero {
    padding: 54px 0 42px;
  }

  .ec-lp-hero-copy h1 {
    font-size: 2.35rem;
  }

  .ec-lp-section-head h2,
  .ec-lp-offer-copy h2,
  .ec-lp-final-card h2 {
    font-size: 1.82rem;
  }

  .ec-lp-hero-lead {
    font-size: 0.98rem;
  }

  .ec-lp-cta-row,
  .ec-lp-button {
    width: 100%;
  }

  .ec-lp-trust-strip,
  .ec-lp-benefit-grid,
  .ec-lp-problem-grid,
  .ec-lp-reason-grid,
  .ec-lp-detail-grid,
  .ec-lp-fit-grid,
  .ec-lp-voice-grid,
  .ec-lp-bonus-grid,
  .ec-lp-flow-grid {
    grid-template-columns: 1fr;
  }

  .ec-lp-price-badge {
    position: static;
    width: auto;
    margin-top: 8px;
  }

  .ec-lp-section {
    padding: 62px 0;
  }

  .ec-lp-before-after {
    grid-template-columns: 1fr;
  }

  .ec-lp-arrow {
    justify-self: center;
  }

  .ec-lp-toc summary,
  .ec-lp-faq-list summary,
  .ec-lp-legal-note summary {
    align-items: flex-start;
    min-height: auto;
    padding: 18px;
    line-height: 1.45;
  }

  .ec-lp-toc summary span {
    flex: 0 0 auto;
    margin-top: 2px;
  }

  .ec-lp-toc ol {
    grid-template-columns: 1fr;
    padding: 0 18px 20px 38px;
  }

  .ec-lp-final,
  .ec-lp-offer {
    padding: 66px 0;
  }

  .ec-lp-final-card {
    padding: 30px 22px;
  }

  .ec-lp-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ec-lp-mobile-cta {
    display: block;
  }
}

/* AI NAVI MEDIA static build */
.ai-navi-page {
  --media-ink: #172033;
  --media-navy: #102044;
  --media-paper: #f7f4ed;
  --media-soft: #f5f7f8;
  --media-line: rgba(23, 32, 51, 0.12);
  --media-muted: #687283;
  --media-green: #06c755;
  --media-blue: #315c9a;
  --media-shadow: 0 22px 70px rgba(23, 32, 51, 0.1);
  color: var(--media-ink);
  background:
    linear-gradient(rgba(16, 32, 68, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 68, 0.025) 1px, transparent 1px),
    #fbfcfb;
  background-size: 42px 42px;
}

.media-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
  padding: 14px 28px;
  background: rgba(251, 252, 251, 0.88);
  border-bottom: 1px solid var(--media-line);
  backdrop-filter: blur(18px);
}

.media-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 0 0 auto;
  width: clamp(158px, 15vw, 188px);
  height: 50px;
  max-width: min(188px, 54vw);
  color: var(--media-navy);
  line-height: 1.08;
}

.media-brand-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.media-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--media-navy);
  border-radius: 50%;
  font-weight: 900;
  box-shadow: 0 7px 0 rgba(49, 92, 154, 0.14);
}

.media-brand strong,
.media-brand small {
  display: block;
}

.media-brand strong {
  font-weight: 900;
}

.media-brand small {
  margin-top: 4px;
  color: var(--media-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.media-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--media-muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.media-nav a {
  transition: color 0.2s ease;
}

.media-nav a:hover {
  color: var(--media-navy);
}

.nav-pill {
  min-height: 38px;
  padding: 8px 14px;
  color: var(--media-navy);
  background: #fff;
  border: 1px solid var(--media-line);
  border-radius: 999px;
}

.nav-pill.is-dark {
  color: #fff;
  background: var(--media-navy);
  border-color: var(--media-navy);
}

.media-menu-button {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  color: var(--media-navy);
  background: #fff;
  border: 1px solid var(--media-line);
  border-radius: 999px;
  font-weight: 900;
}

.media-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 64px;
  background:
    radial-gradient(circle at 90% 12%, rgba(6, 199, 85, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfcfb, var(--media-paper));
}

.media-marquee {
  position: absolute;
  inset: 30px 0 auto;
  overflow: hidden;
  color: rgba(16, 32, 68, 0.06);
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 900;
  white-space: nowrap;
}

.media-marquee span {
  display: inline-block;
  animation: mediaMarquee 28s linear infinite;
}

@keyframes mediaMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.media-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.86fr);
  gap: 54px;
  align-items: center;
}

.media-kicker {
  margin: 0 0 12px;
  color: var(--media-blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.media-hero-copy h1,
.media-section-head h2,
.category-detail-hero h1,
.article-detail-hero h1,
.sponsor-hero h1,
.contact-band-card h2,
.line-free-mini-card h2 {
  margin: 0;
  color: var(--media-navy);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.17;
}

.media-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(3.1rem, 6.2vw, 6.5rem);
}

.media-hero-copy p {
  max-width: 760px;
  color: var(--media-muted);
  font-size: 1.05rem;
}

.media-hero-tags,
.topic-chip-row,
.line-free-list,
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.media-hero-tags {
  margin-top: 24px;
}

.media-hero-tags span,
.topic-chip-row span,
.line-free-list span,
.article-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: var(--media-navy);
  background: #fff;
  border: 1px solid var(--media-line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
}

.media-actions,
.split-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.media-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 34px;
}

.media-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.2;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.media-button.primary {
  color: #fff;
  background: var(--media-navy);
  box-shadow: 0 18px 40px rgba(16, 32, 68, 0.22);
}

.media-button.secondary {
  color: var(--media-navy);
  background: #fff;
  border: 1px solid var(--media-line);
}

.media-button.text {
  min-height: 40px;
  padding: 0;
  color: var(--media-navy);
}

.media-button.line {
  color: #fff;
  background: linear-gradient(135deg, #06c755, #02a848);
  box-shadow: 0 18px 34px rgba(6, 199, 85, 0.2);
}

.media-hero-visual,
.line-phone-card,
.media-article-card,
.media-category-card,
.service-card,
.contact-band-card,
.category-detail-card,
.sponsor-menu-card {
  background: #fff;
  border: 1px solid var(--media-line);
  border-radius: 8px;
  box-shadow: var(--media-shadow);
}

.media-hero-visual {
  position: relative;
  overflow: hidden;
  padding: 8px;
  transform: rotate(0.6deg);
}

.media-hero-visual img,
.line-phone-card img,
.article-image img,
.article-detail-hero img {
  width: 100%;
  object-fit: cover;
}

.media-hero-visual img {
  aspect-ratio: 1.35 / 1;
  border-radius: 6px;
}

.media-hero-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(16, 32, 68, 0.88);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.media-section {
  padding: 86px 0;
}

.media-section-head {
  max-width: 840px;
}

.media-section-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.media-section-head p {
  margin: 18px 0 0;
  color: var(--media-muted);
}

.line-free-section, 
.popular-section, 
.about-media,
.howto-section {
  background: #fff;
}

.ai-dev-cta-section {
  padding: 26px 0 8px;
  background: #fff;
}

.ai-dev-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  min-height: 176px;
  overflow: hidden;
  padding: 34px 38px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(230, 0, 18, 0.32), transparent 28%),
    linear-gradient(135deg, #0f1729 0%, #102044 48%, #161616 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(16, 32, 68, 0.22);
}

.ai-dev-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 80%, transparent);
  opacity: 0.24;
}

.ai-dev-banner::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -64px;
  width: 210px;
  height: 210px;
  border: 28px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.ai-dev-banner > * {
  position: relative;
  z-index: 1;
}

.ai-dev-banner .media-kicker {
  color: rgba(255, 255, 255, 0.74);
}

.ai-dev-banner h2 {
  margin: 0;
  color: #fff;
  font-size: 3.15rem;
  line-height: 1.05;
}

.ai-dev-banner p {
  max-width: 740px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.ai-dev-banner-tags {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px;
}

.ai-dev-banner-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.ai-dev-banner strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  color: #fff;
  background: #e60012;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(230, 0, 18, 0.28);
  white-space: nowrap;
}

.line-free-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.line-free-list {
  margin: 24px 0;
}

.line-free-section small {
  display: block;
  margin-top: 14px;
  color: var(--media-muted);
  font-weight: 800;
}

.line-phone-card {
  overflow: hidden;
  padding: 8px;
}

.line-phone-card img {
  aspect-ratio: 1.45 / 1;
  border-radius: 6px;
}

.line-flow {
  display: grid;
  grid-template-columns: 0.8fr 0.72fr 0.86fr minmax(190px, 1.35fr);
  gap: 10px;
  align-items: center;
  padding: 16px;
}

.line-flow b {
  color: var(--media-navy);
}

.line-flow span {
  padding: 8px 10px;
  background: var(--media-soft);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.howto-grid article {
  min-height: 220px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 1)),
    var(--media-paper);
  border: 1px solid var(--media-line);
  border-radius: 8px;
  box-shadow: var(--media-shadow);
}

.howto-grid span,
.article-popular-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #7b5b18;
  background: #fff4ce;
  border: 1px solid rgba(123, 91, 24, 0.16);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.howto-grid h3 {
  margin: 16px 0 8px;
  color: var(--media-navy);
  font-size: 1.35rem;
}

.howto-grid p {
  margin: 0;
  color: var(--media-muted);
}

.featured-category-grid,
.compact-category-grid,
.media-article-grid,
.service-grid,
.media-feature-grid,
.placement-grid {
  display: grid;
  gap: 16px;
}

.featured-category-grid {
  grid-template-columns: repeat(4, 1fr);
}

.compact-category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-category-card {
  overflow: hidden;
  position: relative;
}

.media-category-card::before,
.service-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: var(--cat, var(--media-navy));
}

.category-main-link {
  display: block;
  padding: 22px;
}

.category-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  color: #fff;
  background: var(--cat, var(--media-navy));
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 900;
}

.category-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compact-category-grid .media-category-card {
  min-width: 0;
}

.compact-category-grid .category-main-link {
  min-height: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 14px;
}

.compact-category-grid .category-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
}

.compact-category-grid .category-icon svg {
  width: 23px;
  height: 23px;
}

.compact-category-grid .media-category-card h3 {
  margin: 6px 0 0;
  font-size: clamp(0.82rem, 1.45vw, 1.05rem);
  line-height: 1.35;
}

.compact-category-grid .media-category-card small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.compact-category-grid .media-category-card p,
.compact-category-grid .media-category-card b {
  display: none;
}

.media-category-card small,
.media-category-card b,
.article-meta,
.service-card span {
  color: var(--media-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.media-category-card h3,
.media-article-card h3,
.service-card h3 {
  margin: 8px 0;
  color: var(--media-navy);
  line-height: 1.4;
}

.media-article-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.media-category-card p,
.media-article-card p,
.service-card p,
.media-feature-grid p {
  margin: 0;
  color: var(--media-muted);
}

.category-card-actions {
  display: grid;
  gap: 8px;
  padding: 0 22px 22px;
}

.category-card-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--media-navy);
  background: var(--media-soft);
  border-radius: 999px;
  font-weight: 900;
}

.media-article-grid {
  grid-template-columns: repeat(3, 1fr);
}

.media-article-card {
  overflow: hidden;
}

.article-image img {
  aspect-ratio: 1.55 / 1;
}

.article-card-body {
  padding: 22px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.featured-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 20px;
}

.media-article-card.is-large h3 {
  font-size: 1.65rem;
}

.featured-side {
  display: grid;
  gap: 14px;
}

.popular-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.popular-row {
  display: grid;
  grid-template-columns: 78px 148px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 132px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--media-line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(16, 32, 68, 0.07);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.popular-row:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 32, 68, 0.16);
  box-shadow: 0 20px 48px rgba(16, 32, 68, 0.1);
}

.popular-rank {
  height: 100%;
  min-height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--media-navy);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.92)),
    var(--media-paper);
  border: 1px solid var(--media-line);
  border-radius: 6px;
}

.popular-rank small {
  color: var(--media-muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.popular-rank strong {
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.popular-row.is-top-rank .popular-rank {
  color: #7b5b18;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 250, 229, 0.94)),
    #f3d57b;
  border-color: rgba(165, 118, 24, 0.3);
}

.popular-thumb {
  height: 112px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--media-soft);
}

.popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.popular-row:hover .popular-thumb img {
  transform: scale(1.04);
}

.popular-copy {
  min-width: 0;
  padding-right: 8px;
}

.popular-copy h3 {
  margin: 6px 0;
  color: var(--media-navy);
  font-size: clamp(1.02rem, 1.8vw, 1.32rem);
  line-height: 1.42;
}

.popular-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--media-muted);
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.popular-copy .article-tags {
  margin-top: 10px;
}

.solution-section,
.latest-media-section,
.all-categories,
.media-page-hero {
  background: var(--media-paper);
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 0 26px 26px;
}

.service-card .media-button {
  width: 100%;
  margin-top: 18px;
}

.service-thumb {
  display: block;
  width: calc(100% + 52px);
  margin: 0 -26px 22px;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--media-line);
}

.service-thumb img {
  width: 100%;
  aspect-ratio: 1.9 / 1;
  object-fit: contain;
  transition: transform 0.24s ease;
}

.service-card:hover .service-thumb img {
  transform: scale(1.04);
}

.sponsor-band {
  color: #fff;
  background: var(--media-navy);
}

.sponsor-band-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.sponsor-band h2,
.sponsor-band p,
.sponsor-band .media-kicker {
  color: #fff;
}

.media-feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.media-feature-grid article,
.placement-grid span {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--media-line);
  border-radius: 8px;
}

.media-feature-grid b {
  display: block;
  margin-bottom: 8px;
  color: var(--media-navy);
  font-size: 1.08rem;
}

.contact-band {
  background: #fff;
}

.contact-band-card,
.line-free-mini-card {
  padding: 42px;
  text-align: center;
}

.contact-hero {
  padding-bottom: 34px;
}

.contact-form-section {
  padding-top: 34px;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: start;
}

.contact-form-copy {
  position: sticky;
  top: 102px;
  padding: 34px;
  background: var(--media-paper);
  border: 1px solid var(--media-line);
  border-radius: 8px;
}

.contact-form-copy h2 {
  margin: 0;
  color: var(--media-navy);
  font-size: 2.1rem;
  line-height: 1.25;
}

.contact-form-copy p {
  color: var(--media-muted);
}

.contact-support-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-support-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--media-navy);
  font-weight: 900;
}

.contact-support-list span::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--media-blue);
  border-radius: 50%;
}

.contact-form-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--media-line);
  border-radius: 8px;
  box-shadow: var(--media-shadow);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.is-full,
.contact-form-card .media-button,
.contact-form-card small,
.contact-form-status {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--media-navy);
  font-size: 0.9rem;
  font-weight: 900;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--media-navy);
  background: #fbfcfb;
  border: 1px solid var(--media-line);
  border-radius: 8px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: #fff;
  border-color: var(--media-blue);
  box-shadow: 0 0 0 4px rgba(49, 92, 154, 0.1);
}

.contact-form-card button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-form-card small,
.contact-form-status {
  margin: 0;
  color: var(--media-muted);
  font-size: 0.86rem;
}

.contact-form-status:not(:empty) {
  padding: 12px 14px;
  color: var(--media-navy);
  background: var(--media-paper);
  border: 1px solid var(--media-line);
  border-radius: 8px;
}

.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.media-page-hero {
  padding: 84px 0 52px;
}

.media-page-hero h1,
.category-detail-hero h1,
.article-detail-hero h1,
.sponsor-hero h1 {
  max-width: 980px;
  font-size: clamp(2.6rem, 5vw, 5rem);
  overflow-wrap: anywhere;
}

.article-detail-hero p,
.article-detail-meta span,
.breadcrumb a,
.breadcrumb span {
  overflow-wrap: anywhere;
}

.category-detail-hero,
.article-detail-hero,
.sponsor-hero {
  padding: 84px 0 62px;
  background:
    radial-gradient(circle at 90% 0, color-mix(in srgb, var(--cat, #102044), transparent 82%), transparent 36%),
    var(--media-paper);
}

.category-detail-grid,
.article-detail-grid,
.sponsor-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 44px;
  align-items: center;
}

.category-detail-grid > *,
.article-detail-grid > *,
.sponsor-hero-grid > *,
.article-content-layout > *,
.article-body,
.article-body section,
.article-body aside,
.article-body div {
  min-width: 0;
}

.category-detail-card, 
.sponsor-menu-card {
  padding: 28px;
}

.category-detail-thumb {
  width: 100%;
  aspect-ratio: 1.9 / 1;
  margin-bottom: 18px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--media-line);
  border-radius: 6px;
}

.category-detail-card b,
.article-service-cta span {
  color: var(--cat, var(--media-blue));
  font-weight: 900;
}

.category-detail-card h2,
.article-service-cta h2 {
  margin: 8px 0;
  color: var(--media-navy);
}

.category-detail-card a {
  color: var(--media-blue);
  font-weight: 900;
}

.line-free-mini-card {
  background: #fff;
  border: 1px solid var(--media-line);
  border-radius: 8px;
  box-shadow: var(--media-shadow);
}

.sponsor-menu-card {
  display: grid;
  gap: 10px;
}

.sponsor-menu-card b {
  color: var(--media-navy);
  font-size: 1.25rem;
}

.sponsor-menu-card span,
.placement-grid span {
  font-weight: 900;
}

.placement-grid {
  grid-template-columns: repeat(3, 1fr);
}

.article-detail-hero img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: var(--media-shadow);
}

.breadcrumb,
.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--media-muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.article-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 760px);
  gap: 52px;
  align-items: start;
  padding-top: 70px;
  padding-bottom: 40px;
  max-width: 100%;
}

.article-toc {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 10px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--media-line);
  border-radius: 8px;
}

.article-toc b {
  color: var(--media-navy);
}

.article-toc a {
  color: var(--media-muted);
  font-weight: 900;
}

.article-body {
  color: var(--media-ink);
  font-size: 1.03rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.article-body * {
  box-sizing: border-box;
  max-width: 100%;
}

.article-body h2 {
  margin: 40px 0 12px;
  color: var(--media-navy);
  font-size: 1.65rem;
  overflow-wrap: anywhere;
}

.article-body h3,
.article-body p,
.article-body li,
.article-body dd,
.article-body blockquote {
  color: var(--media-muted);
  overflow-wrap: anywhere;
}

.article-body a {
  color: var(--media-blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-body figure {
  margin: 30px 0;
  overflow: hidden;
  border: 1px solid var(--media-line);
  border-radius: 8px;
  background: #f8fafc;
}

.article-body figure img {
  display: block;
  width: 100%;
  max-height: 420px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body figcaption {
  display: none;
}

.article-body img,
.article-body video,
.article-body iframe {
  max-width: 100%;
  height: auto;
}

.article-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.article-body pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
}

.article-body code {
  overflow-wrap: anywhere;
}

.inline-line-cta,
.article-service-cta {
  margin: 34px 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--media-line);
  border-radius: 8px;
  box-shadow: var(--media-shadow);
  overflow-wrap: anywhere;
}

.article-service-cta.is-with-image {
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 18px;
}

.article-service-thumb {
  display: block;
  overflow: hidden;
  background: var(--media-paper);
  border: 1px solid var(--media-line);
  border-radius: 8px;
}

.article-service-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

.article-service-copy {
  min-width: 0;
  padding: 10px 10px 10px 0;
}

.article-service-copy .media-button {
  margin-top: 16px;
}

.article-ai-dev-banner {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
  margin: 26px 0 38px;
  padding: 28px;
  color: #fff;
  text-decoration: none;
}

.article-body a.article-ai-dev-banner {
  color: #fff;
  text-decoration: none;
}

.article-ai-dev-banner h2 {
  margin: 0;
  color: #fff;
  font-size: 2.18rem;
  line-height: 1.08;
}

.article-ai-dev-banner p {
  color: rgba(255, 255, 255, 0.8);
}

.article-ai-dev-banner .media-kicker {
  color: rgba(255, 255, 255, 0.74);
}

.article-ai-dev-banner .ai-dev-banner-tags {
  grid-template-columns: repeat(2, minmax(0, max-content));
}

.share-row a {
  color: var(--media-blue);
  font-weight: 900;
}

.media-footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--media-navy);
}

.media-footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.media-footer .media-brand,
.media-footer a,
.media-footer strong {
  color: #fff;
}

.media-footer .footer-brand {
  display: inline-flex;
  width: 188px;
  height: 58px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
}

.media-footer p,
.media-footer small {
  color: rgba(255, 255, 255, 0.72);
}

.media-footer nav {
  display: grid;
  gap: 8px;
  min-width: 240px;
}

.media-footer-bottom {
  margin-top: 28px;
  font-size: 0.86rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .media-marquee span {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1080px) {
  .media-menu-button {
    display: inline-flex;
    align-items: center;
  }

  .media-nav {
    position: fixed;
    inset: 76px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--media-line);
    border-radius: 8px;
    box-shadow: var(--media-shadow);
  }

  .media-nav.is-open {
    display: flex;
  }

  .contact-form-layout {
    grid-template-columns: 1fr;
  }

  .contact-form-copy {
    position: static;
  }

  .media-hero-grid,
  .line-free-grid,
  .featured-article-layout,
  .category-detail-grid,
  .article-detail-grid,
  .sponsor-hero-grid,
  .article-content-layout {
    grid-template-columns: 1fr;
  }

  .featured-category-grid, 
  .compact-category-grid, 
  .media-article-grid, 
  .service-grid, 
  .media-feature-grid,
  .howto-grid,
  .placement-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compact-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-toc {
    position: static;
  }
}

@media (max-width: 700px) {
  .media-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .media-brand-mark {
    width: 38px;
    height: 38px;
  }

  .media-brand {
    width: min(142px, calc(100vw - 116px));
    height: 42px;
    max-width: min(142px, calc(100vw - 116px));
  }

  .media-brand-logo {
    width: 100%;
  }

  .media-brand small {
    display: none;
  }

  .media-hero {
    padding: 58px 0 44px;
  }

  .media-hero-copy h1 {
    font-size: 2.72rem;
  }

  .media-actions,
  .split-head,
  .sponsor-band-grid,
  .line-flow,
  .media-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .media-button,
  .media-actions a {
    width: 100%;
  }

  .featured-category-grid, 
  .compact-category-grid, 
  .media-article-grid, 
  .service-grid, 
  .media-feature-grid,
  .howto-grid,
  .placement-grid {
    grid-template-columns: 1fr;
  }

  .popular-row {
    grid-template-columns: 58px 94px 1fr;
    gap: 10px;
    min-height: 104px;
    padding: 8px;
  }

  .popular-rank {
    min-height: 88px;
  }

  .popular-rank small {
    font-size: 0.54rem;
  }

  .popular-rank strong {
    font-size: 1.45rem;
  }

  .popular-thumb {
    height: 88px;
  }

  .popular-copy h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.98rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .popular-copy p,
  .popular-copy .article-tags {
    display: none;
  }

  .media-section {
    padding: 62px 0;
  }

  .about-media {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .about-media .media-section-head {
    margin-bottom: 26px;
    padding-right: 22px;
    padding-left: 22px;
  }

  .about-media .media-section-head h2 {
    max-width: 9.5em;
    margin-right: auto;
    margin-left: auto;
    font-size: 2.05rem;
    line-height: 1.28;
  }

  .about-media .media-feature-grid {
    padding-right: 18px;
    padding-left: 18px;
  }

  .compact-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .compact-category-grid .category-main-link {
    padding: 14px 8px;
  }

  .compact-category-grid .category-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .compact-category-grid .category-icon svg {
    width: 20px;
    height: 20px;
  }

  .compact-category-grid .media-category-card h3 {
    font-size: 0.78rem;
  }

  .compact-category-grid .media-category-card small {
    font-size: 0.62rem;
  }

  .contact-band-card,
  .line-free-mini-card {
    padding: 28px 20px;
  }

  .contact-form-section {
    padding-top: 22px;
  }

  .contact-form-copy,
  .contact-form-card {
    padding: 24px 18px;
  }

  .contact-form-card {
    grid-template-columns: 1fr;
  }

  .contact-form-copy h2 {
    font-size: 1.72rem;
  }

  .ai-dev-cta-section {
    padding: 18px 0 0;
  }

  .ai-dev-banner {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 28px 20px;
  }

  .ai-dev-banner h2 {
    font-size: 2.25rem;
  }

  .ai-dev-banner-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-dev-banner-tags span,
  .ai-dev-banner strong {
    justify-content: center;
  }

  .article-content-layout {
    padding-top: 42px;
  }

  .article-service-cta.is-with-image {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .article-service-copy {
    padding: 2px 2px 4px;
  }

  .article-service-thumb img {
    aspect-ratio: 16 / 9;
  }

  .article-ai-dev-banner {
    padding: 24px 18px;
  }

  .article-ai-dev-banner h2 {
    font-size: 1.82rem;
  }
}

@media (max-width: 390px) {
  .about-media .media-section-head h2 {
    font-size: 1.86rem;
  }

  .media-brand {
    width: min(132px, calc(100vw - 106px));
    height: 40px;
    max-width: min(132px, calc(100vw - 106px));
  }

  .media-brand-logo {
    width: 100%;
  }
}

/* Internal Social Lab */
.social-lab-page {
  background:
    linear-gradient(rgba(16, 32, 68, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 68, 0.025) 1px, transparent 1px),
    #fbfcfb;
  background-size: 42px 42px;
}

.social-lab {
  padding-top: 78px;
}

.social-lab-hero {
  padding: 86px 0 54px;
  background: linear-gradient(135deg, #f7f4ed 0%, #eef5f0 100%);
  border-bottom: 1px solid var(--media-line);
}

.social-lab-hero h1 {
  max-width: 880px;
  margin: 0 0 18px;
  color: var(--media-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.social-lab-hero p {
  max-width: 760px;
  color: var(--media-muted);
  font-weight: 800;
}

.social-lab-workspace {
  padding: 64px 0;
}

.social-lab-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 28px;
  align-items: start;
}

.social-lab-panel,
.social-output-card,
.lab-note {
  background: #fff;
  border: 1px solid var(--media-line);
  border-radius: 8px;
  box-shadow: var(--media-shadow);
}

.social-lab-panel {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
  padding: 22px;
}

.social-lab-panel label {
  color: var(--media-navy);
  font-size: 0.82rem;
  font-weight: 1000;
}

.social-lab-panel select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--media-ink);
  background: var(--media-soft);
  border: 1px solid var(--media-line);
  border-radius: 8px;
  font-weight: 900;
}

.social-lab-source {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: #f7f4ed;
  border-radius: 8px;
}

.social-lab-source b {
  color: var(--media-navy);
  line-height: 1.5;
}

.social-lab-source span,
.social-lab-source p {
  margin: 0;
  color: var(--media-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.social-lab-results {
  display: grid;
  gap: 20px;
}

.social-output-card {
  padding: 24px;
}

.social-output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.social-output-head button {
  min-height: 36px;
  padding: 0 14px;
  color: #fff;
  background: var(--media-navy);
  border: 0;
  border-radius: 999px;
  font-weight: 1000;
  cursor: pointer;
}

.social-output {
  display: grid;
  gap: 12px;
  color: var(--media-ink);
  white-space: pre-wrap;
}

.social-output article {
  padding: 16px;
  background: var(--media-soft);
  border: 1px solid var(--media-line);
  border-radius: 8px;
}

.social-output article b {
  display: block;
  color: var(--media-navy);
  margin-bottom: 4px;
}

.social-output article p {
  margin: 0;
  color: var(--media-muted);
}

.lab-note {
  padding: 28px;
}

.lab-note h2 {
  margin: 0 0 10px;
  color: var(--media-navy);
}

.lab-note p {
  margin: 0;
  color: var(--media-muted);
}

@media (max-width: 900px) {
  .social-lab-grid {
    grid-template-columns: 1fr;
  }

  .social-lab-panel {
    position: static;
  }
}

/* LINE LIFF Category Setting */
.line-liff-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(6, 199, 85, 0.12), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(16, 32, 68, 0.08), transparent 34%),
    var(--media-paper);
}

.line-liff-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 34px 16px;
}

.line-liff-card {
  width: min(760px, 100%);
  padding: clamp(28px, 6vw, 58px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--media-line);
  border-radius: 8px;
  box-shadow: var(--media-shadow);
}

.line-liff-card h1 {
  margin: 10px 0 14px;
  color: var(--media-navy);
  font-size: clamp(2.15rem, 8vw, 4rem);
  letter-spacing: 0;
  line-height: 1.08;
}

.line-liff-lead,
.line-liff-note {
  margin: 0;
  color: var(--media-muted);
}

.line-liff-status {
  margin: 24px 0;
  padding: 14px 16px;
  color: var(--media-navy);
  background: var(--media-soft);
  border: 1px solid var(--media-line);
  border-radius: 8px;
  font-weight: 800;
}

.line-liff-status[data-tone="success"] {
  color: #076b35;
  background: rgba(6, 199, 85, 0.1);
  border-color: rgba(6, 199, 85, 0.26);
}

.line-liff-status[data-tone="warn"] {
  color: #7a4b00;
  background: rgba(244, 167, 66, 0.13);
  border-color: rgba(244, 167, 66, 0.36);
}

.line-liff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.line-liff-loading {
  grid-column: 1 / -1;
  padding: 18px;
  color: var(--media-muted);
  font-weight: 800;
  text-align: center;
  background: #fff;
  border: 1px solid var(--media-line);
  border-radius: 8px;
}

.line-liff-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--media-line);
  border-radius: 8px;
  cursor: pointer;
}

.line-liff-option input {
  grid-row: span 2;
  width: 18px;
  height: 18px;
  accent-color: #06c755;
}

.line-liff-option span {
  color: var(--media-navy);
  font-weight: 900;
}

.line-liff-option small {
  color: var(--media-muted);
  font-weight: 800;
}

.line-liff-form .media-button {
  width: 100%;
}

.line-liff-form .media-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.line-liff-note {
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 800;
}

@media (max-width: 640px) {
  .line-liff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .line-liff-grid {
    grid-template-columns: 1fr;
  }
}
