:root {
  --color-primary: #0d76c7;
  --color-primary-dark: #095c9c;
  --color-primary-soft: #eaf4fe;
  --color-accent: #ff9a3d;
  --color-accent-soft: #fff1e3;
  --color-text: #1f2a37;
  --color-text-muted: #5d6b7a;
  --color-surface: #ffffff;
  --color-surface-alt: #f5f9fc;
  --color-border: #d6e3ee;
  --color-border-strong: #bad2e4;
  --color-success: #1f8b6e;
  --shadow-soft: 0 12px 30px rgba(13, 118, 199, 0.08);
  --shadow-card: 0 18px 44px rgba(15, 62, 103, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: 1160px;
  --font-base: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", YuGothic, sans-serif;
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9) 32%, transparent 50%),
    linear-gradient(180deg, #f8fbff 0%, #f2f7fb 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

main,
section,
div {
  min-width: 0;
}

br.sp-br {
  display: none;
}

br.pc-br {
  display: block;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
}

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

.section {
  padding: 96px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(234, 244, 254, 0.58));
}

.section-heading {
  max-width: 790px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.aligned-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-heading p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 220;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 255, 0.86);
  border-bottom: 1px solid rgba(214, 227, 238, 0.7);
}

.site-topbar {
  background: linear-gradient(135deg, #0d76c7, #168fe6);
  color: #fff;
}

.topbar-copy {
  margin: 0;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: inline-grid;
  gap: 6px;
  align-items: start;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-logo {
  display: block;
  width: min(220px, 42vw);
  max-width: 100%;
  min-width: 0;
  height: auto;
}

.brand-copy {
  display: block;
  width: max-content;
  max-width: none;
  margin-bottom: 10px;
  color: var(--color-text-muted);
  font-size: 0.76rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-nav a:not(.button) {
  padding: 10px 30px;
  border-radius: 999px;
  color: var(--color-text-muted);
  transition: background var(--transition), color var(--transition);
}

.header-nav a:not(.button):hover,
.header-nav a:not(.button):focus-visible {
  color: var(--color-primary);
  background: rgba(13, 118, 199, 0.08);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(186, 210, 228, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  z-index: 260;
}

.menu-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.menu-toggle span:nth-child(1) {
  top: 17px;
}

.menu-toggle span:nth-child(2) {
  top: 24px;
}

.menu-toggle span:nth-child(3) {
  top: 31px;
}

.menu-toggle.is-open span:nth-child(1) {
  top: 24px;
  transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  top: 24px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background-color: #f5faff;
  background-image: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-nav {
  display: grid;
  gap: 0;
  width: min(100%, 560px);
  padding: 72px 0 0;
  transform: translateY(18px);
  transition: transform 240ms ease;
}

.mobile-menu.is-open .mobile-menu-nav {
  transform: translateY(0);
}

.mobile-menu-nav a {
  display: block;
  padding: 16px 4px;
  color: var(--color-text);
  border-bottom: 1px solid rgba(214, 227, 238, 0.72);
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus-visible {
  color: var(--color-primary);
}

.mobile-menu-nav a:last-child {
  border-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--color-primary), #2390df);
  color: #fff;
  box-shadow: 0 12px 24px rgba(13, 118, 199, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 28px rgba(13, 118, 199, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--color-border-strong);
  color: var(--color-primary);
}

.button-tertiary {
  background: transparent;
  border-color: rgba(13, 118, 199, 0.24);
  color: var(--color-text);
}

.hero-scroll-wrap {
  display: flex;
  justify-content: center;
  margin-top: -38px;
  position: relative;
  z-index: 2;
}

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(186, 210, 228, 0.92);
  box-shadow: var(--shadow-card);
  color: var(--color-primary);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
  transform: translateY(2px);
  box-shadow: 0 12px 28px rgba(15, 62, 103, 0.16);
  background: #ffffff;
}

.hero-scroll-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-scroll-icon {
  position: relative;
  width: 24px;
  height: 36px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.hero-scroll-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  animation: scroll-indicator 1.5s ease-in-out infinite;
}

.hero {
  padding: 0px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 480px;
  height: 480px;
  right: -140px;
  top: -60px;
  background: radial-gradient(circle, rgba(13, 118, 199, 0.16), transparent 62%);
}

.hero::after {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(255, 154, 61, 0.12), transparent 64%);
}

.hero-grid {
  display: block;
  position: relative;
  background-image: url("img/bg02.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 700px;
}

.hero-copy {
  width: 100%;
  max-width: 100%;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 100%;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(214, 227, 238, 0.8);
  box-shadow: var(--shadow-soft);
  font-size: 0.94rem;
  font-weight: 600;
}

.hero-points span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-success);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 60px;
}

.hero-actions .button {
  min-width: 250px;
  min-height: 60px;
  padding: 0 30px;
  font-size: 1.02rem;
}

.button-cta {
  gap: 10px;
  box-shadow: 0 14px 30px rgba(15, 62, 103, 0.12);
  animation: cta-float 2.8s ease-in-out infinite;
}

.button-cta:nth-child(2) {
  animation-delay: 0.25s;
}

.button-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  line-height: 1;
}

.button-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-tertiary .button-icon {
  background: rgba(13, 118, 199, 0.12);
}

.hero-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.hero-support div {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(214, 227, 238, 0.85);
}

.hero-support strong {
  display: block;
  margin-bottom: 6px;
}

.hero-support p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

.trust-strip {
  padding: 18px 0;
  background: linear-gradient(90deg, rgba(13, 118, 199, 0.08), rgba(255, 154, 61, 0.1));
  border-top: 1px solid rgba(214, 227, 238, 0.8);
  border-bottom: 1px solid rgba(214, 227, 238, 0.8);
}

.trust-strip p {
  margin: 0;
  text-align: center;
  color: var(--color-text-muted);
  font-weight: 600;
}

.news-strip {
  padding: 12px 0;
  /* border-top: 1px solid rgba(214, 227, 238, 0.8); */
  border-bottom: 1px solid rgba(214, 227, 238, 0.8);
  background: rgba(255, 255, 255, 0.72);
}

.news-strip-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.news-strip-label {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.84rem;
  font-weight: 800;
  flex-shrink: 0;
}

.news-strip-carousel {
  flex: 1 1 auto;
  min-width: 0;
  height: 1.7em;
  overflow: hidden;
}

.news-strip-track {
  display: grid;
  transition: transform 420ms ease;
  will-change: transform;
}

.news-strip-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  height: 1.7em;
  color: var(--color-text);
}

.news-strip-link time {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.news-strip-link span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-strip-archive {
  margin-left: auto;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  flex-shrink: 0;
}

.news-strip-archive:hover,
.news-strip-archive:focus-visible,
.news-strip-link:hover,
.news-strip-link:focus-visible {
  color: var(--color-primary);
}

.works-section {
  overflow: hidden;
}

.works-slider {
  display: grid;
  gap: 26px;
}

.works-slider-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.works-slider-copy strong {
  display: block;
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.works-slider-copy p {
  margin: 0;
  color: var(--color-text-muted);
}

.works-slider-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.works-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(186, 210, 228, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.works-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.works-arrow:hover,
.works-arrow:focus-visible {
  transform: translateY(-1px);
  background: var(--color-primary);
  color: #fff;
}

.works-arrow:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.works-viewport {
  overflow: hidden;
}

.works-track {
  display: flex;
  gap: 22px;
  transition: transform 420ms ease;
  will-change: transform;
}

.work-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(214, 227, 238, 0.92);
  box-shadow: var(--shadow-soft);
}

.work-card-media {
  aspect-ratio: 4 / 3;
  background: #dfeaf3;
}

.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card-body {
  padding: 20px 20px 22px;
}

.work-card-tag {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.work-card-location {
  margin: 0 0 6px;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.work-card-body h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
  line-height: 1.4;
}

.work-card-body p:last-child {
  margin: 0;
  color: var(--color-text-muted);
}

.works-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.works-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(13, 118, 199, 0.22);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), width var(--transition);
}

.works-dot.is-active {
  width: 28px;
  background: var(--color-primary);
}

.feature-grid,
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.info-card,
.reason-card {
  height: 100%;
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 227, 238, 0.86);
  box-shadow: var(--shadow-soft);
}

.reason-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.reason-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reason-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

@media (min-width: 1101px) {
  .reason-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .reason-card {
    grid-column: span 2;
  }

  .reason-card:nth-child(4):nth-last-child(2) {
    grid-column: 2 / span 2;
  }

  .reason-card:nth-child(5):last-child {
    grid-column: 4 / span 2;
  }
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.84rem;
  font-weight: 800;
}

.info-card h3,
.reason-card h3,
.pain-item h3,
.flow-item h3 {
  margin: 18px 0 10px;
  font-size: 1.2rem;
  line-height: 1.35;
}

.info-card p,
.reason-card p,
.pain-item p,
.flow-item p {
  margin: 0;
  color: var(--color-text-muted);
}

.pain-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.pain-list {
  display: grid;
  gap: 18px;
}

.pain-item {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(214, 227, 238, 0.88);
}

.pain-item h3 {
  margin-top: 0;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(214, 227, 238, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.plan-card-lite {
  transform: translateY(16px);
}

.plan-card-standard {
  border-color: rgba(13, 118, 199, 0.3);
  background:
    linear-gradient(180deg, rgba(13, 118, 199, 0.05), rgba(255, 255, 255, 0.96) 25%);
  box-shadow: 0 22px 52px rgba(13, 118, 199, 0.18);
}

.plan-card-premium {
  background: linear-gradient(180deg, rgba(255, 154, 61, 0.08), rgba(255, 255, 255, 0.94) 26%);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), #ffb25f);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(255, 154, 61, 0.24);
}

.plan-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.plan-price {
  margin: 30px 0 15px;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-align: center;
}

.plan-price span,
.plan-price small {
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--color-text-muted);
}

.plan-target {
  margin: 0;
  color: var(--color-text-muted);
  min-height: 72px;
}

.plan-billing-note {
  margin: -6px 0 18px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: center;
}

.plan-billing-note span {
  color: var(--color-primary);
  font-weight: 700;
}

.plan-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 28px;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding-left: 24px;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--color-success);
}

.plan-card .button {
  margin-top: auto;
}

.plan-options {
  margin-top: 28px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(214, 227, 238, 0.9);
  box-shadow: var(--shadow-soft);
}

.plan-options-heading {
  margin-bottom: 20px;
}

.plan-options-heading h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
  line-height: 1.35;
}

.plan-options-heading p {
  margin: 0;
  color: var(--color-text-muted);
}

.plan-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.plan-option-card {
  border-radius: 20px;
  background: rgba(245, 249, 252, 0.82);
  border: 1px solid rgba(214, 227, 238, 0.86);
  overflow: hidden;
}

.plan-option-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}

.plan-option-summary::-webkit-details-marker {
  display: none;
}

.plan-option-summary-main {
  min-width: 0;
}

.plan-option-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.plan-option-toggle::before,
.plan-option-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.8px;
  border-radius: 999px;
  background: var(--color-primary);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.plan-option-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.plan-option-card[open] .plan-option-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
}

.plan-option-body {
  display: grid;
  gap: 16px;
  padding: 0 22px 22px;
}

.plan-option-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 10;
  background: rgba(214, 227, 238, 0.42);
}

.plan-option-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plan-option-content {
  display: grid;
  gap: 10px;
}

@media (min-width: 861px) {
  .plan-option-body {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 450px);
    align-items: start;
  }

  .plan-option-body:not(:has(.plan-option-visual)),
  .plan-option-body:has(.plan-option-visual img[src=""]) {
    grid-template-columns: 1fr;
  }

  .plan-option-visual {
    order: 2;
    justify-self: end;
    width: min(100%, 450px);
    aspect-ratio: 1 / 1;
  }

  .plan-option-body:has(.plan-option-visual img[src=""]) .plan-option-visual {
    display: none;
  }

  .plan-option-content {
    order: 1;
    min-width: 0;
  }
}

.plan-option-name,
.plan-option-price,
.plan-option-text {
  margin: 0;
}

.plan-option-name {
  font-size: 1rem;
  font-weight: 700;
}

.plan-option-price {
  margin-top: 8px;
  color: var(--color-primary);
  font-weight: 800;
}

.plan-option-text {
  margin-top: 8px;
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.plan-option-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-option-points li {
  position: relative;
  padding-left: 18px;
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.7;
}

.plan-option-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(13, 118, 199, 0.78);
}

.plan-table-wrapper {
  position: relative;
  margin-top: 32px;
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid rgba(214, 227, 238, 0.92);
  background: rgba(255, 255, 255, 0.9);
}

.plan-table-wrapper::before,
.plan-table-wrapper::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.plan-table-wrapper.is-scrollable::before {
  content: "→";
  top: 14px;
  right: 18px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(13, 118, 199, 0.92);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 1;
  animation: plan-scroll-hint 1.8s ease-in-out infinite;
}

.plan-table-wrapper.is-scrollable::after {
  top: 0;
  right: 0;
  width: 44px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(13, 118, 199, 0.12));
  opacity: 1;
}

.plan-table-wrapper.is-scrolled::before,
.plan-table-wrapper.is-scrolled::after {
  opacity: 0;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.plan-table td {
  font-size: 16px !important;
}

.plan-table caption {
  padding: 18px 20px 18px;
  text-align: left;
  font-weight: 700;
}

.plan-table th,
.plan-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(214, 227, 238, 0.84);
  text-align: left;
}

.plan-table thead th {
  background: rgba(234, 244, 254, 0.68);
  text-align: center;
}

.plan-table tbody tr:nth-child(even) td,
.plan-table tbody tr:nth-child(even) th {
  background: rgba(245, 249, 252, 0.66);
}

.plan-table .is-featured {
  background: rgba(13, 118, 199, 0.08);
  font-weight: 700;
}

.plan-subnote {
  display: inline-block;
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0.82;
}

.plan-note {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: 20px;
  background: rgba(245, 249, 252, 0.86);
  border: 1px solid rgba(214, 227, 238, 0.9);
}

.plan-note p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.payment-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 18px;
  padding: 20px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 227, 238, 0.9);
  box-shadow: var(--shadow-soft);
}

.payment-method h3,
.payment-method p {
  margin: 0;
}

.payment-method h3 {
  font-size: 1.08rem;
  line-height: 1.4;
}

.payment-method p {
  margin-top: 6px;
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

.payment-method img {
  width: min(360px, 42%);
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.page-card > .payment-method {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.plan-detail-link {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}

.plan-detail-link .button {
  min-height: 58px;
  padding: 0 32px;
  font-size: 1rem;
  box-shadow: 0 16px 30px rgba(13, 118, 199, 0.2);
}

.faq-detail-link {
  width: 100%;
  grid-column: 1 / -1;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.flow-item {
  position: relative;
  padding: 24px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(214, 227, 238, 0.9);
  box-shadow: var(--shadow-soft);
}

.flow-step {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.flow-step strong {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(13, 118, 199, 0.18);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
  /* background-image: url("img/bg03.png"); */
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
}

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

.faq-item {
  padding: 5px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(214, 227, 238, 0.9);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: rgba(13, 118, 199, 0.14);
}

.faq-item p {
  margin: 0 0 22px;
  color: var(--color-text-muted);
}

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

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 154, 61, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(13, 118, 199, 0.1), rgba(255, 255, 255, 0) 44%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: 40px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(186, 210, 228, 0.92);
  box-shadow: var(--shadow-card);
}

.contact-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
}

.contact-copy p:last-child {
  margin: 0;
  color: var(--color-text-muted);
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-link {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(214, 227, 238, 0.88);
  background: #fff;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(13, 118, 199, 0.22);
  box-shadow: var(--shadow-soft);
}

.contact-link strong,
.contact-link span {
  display: block;
}

.contact-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.contact-link-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link span {
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

.contact-link.line strong {
  color: #148257;
}

.contact-link.line .contact-link-icon {
  color: #148257;
}

.contact-link.phone strong {
  color: var(--color-primary);
}

.contact-link.phone .contact-link-icon {
  color: var(--color-primary);
}

.contact-link.form strong {
  color: #9a5c19;
}

.contact-link.form .contact-link-icon {
  color: #9a5c19;
}

.mid-cta-section {
  padding-top: 55px;
  padding-bottom: 28px;
}

.mid-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px 36px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(13, 118, 199, 0.94), rgba(35, 144, 223, 0.94));
  color: #fff;
  box-shadow: 0 22px 44px rgba(13, 118, 199, 0.2);
  isolation: isolate;
}

.mid-cta-card::before,
.mid-cta-card::after {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border: 1px solid rgba(13, 118, 199, 0.34);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: mid-cta-ripple 5.6s ease-out infinite;
}

.mid-cta-card::after {
  animation-delay: 2.8s;
}

.mid-cta-card .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.mid-cta-card .eyebrow::before {
  background: currentColor;
}

.mid-cta-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  line-height: 1.25;
}

.mid-cta-copy p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.mid-cta-actions {
  display: grid;
  gap: 12px;
  min-width: 280px;
}

.mid-cta-actions .button-cta {
  animation: none;
}

.mid-cta-actions .button-primary,
.page-cta-actions .button-primary {
  min-height: 56px;
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(8, 68, 116, 0.22);
}

.mid-cta-button {
  min-height: 56px;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 22px;
  color: #fff;
}

.mid-cta-actions .button,
.mid-cta-actions .mid-cta-button {
  justify-content: flex-start;
  align-items: center;
  text-align: left;
}

.mid-cta-actions .button-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.mid-cta-button .button-icon {
  background: rgba(255, 255, 255, 0.18);
}

.mid-cta-button-phone {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.mid-cta-button-form {
  background: rgba(255, 154, 61, 0.2);
  border-color: rgba(255, 209, 159, 0.34);
}

.page-main {
  padding: 42px 0 84px;
}

.page-hero {
  margin-bottom: 28px;
  padding: 38px 40px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(13, 118, 199, 0.95), rgba(35, 144, 223, 0.92));
  color: #fff;
  box-shadow: 0 18px 40px rgba(13, 118, 199, 0.18);
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.page-hero .eyebrow::before {
  background: currentColor;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

.page-hero p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.page-card {
  padding: 30px 32px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(214, 227, 238, 0.9);
  box-shadow: var(--shadow-soft);
}

.page-card + .page-card {
  margin-top: 18px;
}

.page-card-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.page-card h2 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.35;
}

.page-card h3 {
  margin: 22px 0 8px;
  font-size: 1.08rem;
  line-height: 1.45;
}

.page-card p {
  margin: 0;
  /* padding-bottom: 10px; */
  color: var(--color-text-muted);
  line-height: 1.8;
}

.page-card p + p,
.page-card p + ul,
.page-card ul + p,
.page-card table + p {
  margin-top: 12px;
}

.page-card p:last-child {
  padding-bottom: 20px;
}

.page-card ul {
  margin: 12px 0 0;
  padding-left: 1.2rem;
  color: var(--color-text-muted);
}

.page-card li + li {
  margin-top: 6px;
}

.plan-summary-grid,
.plan-detail-grid,
.page-cta-actions {
  display: grid;
  gap: 16px;
}

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

.plan-summary-card,
.plan-detail-box {
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(245, 249, 252, 0.82);
  border: 1px solid rgba(214, 227, 238, 0.9);
}

.plan-summary-card.is-featured {
  background: linear-gradient(180deg, rgba(13, 118, 199, 0.08), rgba(245, 249, 252, 0.92));
  border-color: rgba(13, 118, 199, 0.26);
}

.plan-summary-label,
.plan-detail-label,
.plan-detail-badge,
.plan-detail-price,
.plan-detail-lead,
.plan-summary-card strong,
.plan-summary-card p:last-child,
.plan-detail-box ul {
  margin: 0;
}

.plan-summary-label,
.plan-detail-label {
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-summary-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
  line-height: 1.5;
}

.plan-summary-card p:last-child {
  margin-top: 8px;
  color: var(--color-text-muted);
}

.plan-card-emphasis {
  background: linear-gradient(180deg, rgba(13, 118, 199, 0.05), rgba(255, 255, 255, 0.96));
  border-color: rgba(13, 118, 199, 0.26);
  box-shadow: 0 18px 42px rgba(13, 118, 199, 0.12);
}

.plan-detail-price {
  flex-shrink: 0;
  color: var(--color-text);
  font-size: clamp(2.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: right;
}

.plan-detail-price span,
.plan-detail-price small {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  letter-spacing: 0;
}

.plan-detail-pricing {
  flex-shrink: 0;
  text-align: right;
}

.plan-detail-billing-note {
  margin: 10px 0 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.plan-detail-billing-note span {
  color: var(--color-primary);
  font-weight: 700;
}

.plan-detail-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), #ffb25f);
  color: #fff !important;
  font-size: 0.84rem;
  font-weight: 800;
}

.plan-detail-lead {
  margin-top: 14px;
  color: var(--color-text-muted);
}

.plan-detail-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.plan-detail-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(214, 227, 238, 0.9);
  box-shadow: var(--shadow-soft);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
}

.plan-detail-points span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-success);
}

.plan-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.plan-detail-card {
  display: grid;
  gap: 24px;
}

.plan-detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.58fr);
  gap: 28px;
  align-items: center;
}

.plan-detail-intro {
  min-width: 0;
}

.plan-detail-visual {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  justify-self: end;
  width: min(100%, 320px);
  border-radius: 24px;
}

.plan-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-detail-box h3 {
  margin: 0 0 12px;
  font-size: 1.06rem;
}

.plan-detail-box ul {
  padding-left: 1.2rem;
  color: var(--color-text-muted);
}

.page-cta-card {
  text-align: center;
}

.page-note-card h2 {
  margin-bottom: 8px;
  color: var(--color-text-muted);
  font-size: 1rem;
  font-weight: 700;
}

.page-note-card p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
  opacity: 0.92;
}

.page-cta-card p {
  max-width: 760px;
  margin: 0 auto;
}

.page-cta-actions {
  grid-template-columns: repeat(2, minmax(0, auto));
  justify-content: center;
  margin-top: 22px;
}

.about-summary-grid,
.about-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-section {
  padding: 0;
}

.about-section + .about-section {
  margin-top: 78px;
}

.about-intro .section-heading {
  margin-bottom: 34px;
}

.about-intro .section-heading h1 {
  margin: 0 0 14px;
  color: var(--color-text);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-summary-card,
.about-compare-card,
.about-story-note {
  padding: 24px 26px;
  border-radius: 24px;
  border: 1px solid rgba(214, 227, 238, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96));
  box-shadow: var(--shadow-soft);
}

.about-summary-card strong,
.about-compare-card h3,
.about-story-note h3 {
  color: var(--color-text);
}

.about-summary-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.about-summary-card p,
.about-compare-card p,
.about-story-note p {
  margin: 0;
}

.about-story-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.about-story-copy p + p {
  margin-top: 14px;
}

.about-story-note {
  position: relative;
  overflow: hidden;
  width: min(100%, 760px);
}

.about-story-note::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(13, 118, 199, 0.12), transparent 46%),
    linear-gradient(135deg, rgba(13, 118, 199, 0.05), rgba(35, 144, 223, 0.02));
  pointer-events: none;
}

.about-story-note > * {
  position: relative;
}

.about-story-note h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.1vw, 1.95rem);
  line-height: 1.45;
}

.about-story-note p {
  font-size: 1.04rem;
  line-height: 1.9;
}

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

.about-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-support-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.about-support-points span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(13, 118, 199, 0.08);
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 700;
}

@media (min-width: 641px) {
  .about-summary-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(100%, calc((100% - 18px) / 2));
    justify-self: center;
  }

  .about-story-note {
    padding: 30px 32px;
    justify-self: start;
  }
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 16px 0;
  border-bottom: 1px solid rgba(214, 227, 238, 0.88);
  vertical-align: top;
  text-align: left;
}

.info-table th {
  width: 28%;
  padding-right: 18px;
  color: var(--color-text);
  font-weight: 700;
}

.info-table td {
  color: var(--color-text-muted);
}

.site-footer {
  padding: 36px 0 52px;
}

.footer-local-section {
  margin-bottom: 28px;
  padding: 10px 0 4px;
}

.footer-local-eyebrow {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-local-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  gap: 28px;
  align-items: center;
}

.footer-local-copy h2 {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.6;
}

.footer-local-copy p {
  margin: 10px 0 0;
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.9;
}

.footer-local-visual {
  margin: 0;
  min-height: 220px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(13, 118, 199, 0.08), rgba(13, 118, 199, 0.02)),
    radial-gradient(circle at 24% 30%, rgba(13, 118, 199, 0.12), transparent 26%),
    radial-gradient(circle at 72% 62%, rgba(255, 154, 61, 0.14), transparent 28%),
    #f5f9fc;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.footer-local-visual span {
  color: rgba(31, 42, 55, 0.46);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-local-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-area-list {
  margin-top: 18px;
}

.footer-area-title {
  margin: 0 0 10px;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.footer-area-group p {
  margin: 0;
}

.footer-area-pref {
  margin-bottom: 4px !important;
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 700;
}

.footer-area-group p:last-child {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.footer-area-note {
  margin: 12px 0 0;
  color: var(--color-text-muted);
  font-size: 0.84rem;
  line-height: 1.9;
}

.kasukabe-hero {
  overflow: hidden;
}

.kasukabe-mv-wrap {
  width: 100%;
  margin-bottom: 0;
  text-align: center;
}

.page-main.kasukabe-lp {
  padding-top: 0;
}

.kasukabe-mv {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.page-main.about-page {
  padding-top: 0;
}

.about-mv-wrap {
  width: 100%;
  margin-bottom: 28px;
  text-align: center;
}

.about-mv {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.kasukabe-hero-layout,
.kasukabe-local-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 28px;
  align-items: center;
}

.kasukabe-hero-copy,
.kasukabe-local-copy {
  min-width: 0;
}

.kasukabe-hero-lead {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  line-height: 1.85;
}

.kasukabe-hero-actions {
  margin-top: 22px;
}

.kasukabe-hero-visual,
.kasukabe-local-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.18);
}

.kasukabe-hero-visual img,
.kasukabe-local-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kasukabe-section {
  padding-top: 22px;
  padding-bottom: 22px;
}

.kasukabe-problem-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kasukabe-local-card {
  padding: 34px;
}

.kasukabe-local-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.kasukabe-local-points span,
.kasukabe-plan-note {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.kasukabe-local-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(234, 244, 254, 0.86);
  border: 1px solid rgba(214, 227, 238, 0.9);
}

.kasukabe-plan-note {
  margin: 18px 0 0;
  text-align: center;
  line-height: 1.8;
}

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

.kasukabe-case-grid > .page-card + .page-card {
  margin-top: 0;
}

.kasukabe-case-card h3 {
  margin: 10px 0 16px;
  font-size: 1.2rem;
  line-height: 1.5;
}

.kasukabe-case-card {
  padding: 0;
  overflow: hidden;
}

.kasukabe-case-card > :not(.kasukabe-case-visual) {
  padding-inline: 30px;
}

.kasukabe-case-card .work-card-tag {
  margin: 24px 0 0;
  margin-left: 30px;
  margin-right: 30px;
}

.kasukabe-case-visual {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  justify-self: stretch;
  border-radius: 0;
}

.kasukabe-case-card dl {
  padding: 0 30px 30px;
}

.kasukabe-case-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.kasukabe-case-card dl div {
  display: grid;
  gap: 4px;
}

.kasukabe-case-card dt {
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.kasukabe-case-card dd {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.kasukabe-final-cta .page-cta-card {
  background: linear-gradient(135deg, rgba(13, 118, 199, 0.95), rgba(35, 144, 223, 0.92));
}

.footer-page-links {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(214, 227, 238, 0.9);
}

.footer-page-links-title {
  margin: 0 0 12px;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-page-nav a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-page-nav a:hover,
.footer-page-nav a:focus-visible {
  color: var(--color-primary);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
}

.footer-brand {
  display: block;
  width: min(140px, 36vw);
  height: auto;
  margin: 0 0 8px;
}

.footer-inner p {
  margin: 0;
  color: var(--color-text-muted);
}

.footer-meta {
  display: grid;
  gap: 6px;
  text-align: right;
}

.footer-nav-wrap {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(214, 227, 238, 0.9);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 34px;
  align-items: start;
  width: 100%;
  max-width: none;
  margin: 0;
}

.footer-link-group {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links-grid a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-links-grid a:hover,
.footer-links-grid a:focus-visible {
  color: var(--color-primary);
}

.mobile-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: min(330px, calc(100vw - 40px));
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(214, 227, 238, 0.96);
  box-shadow: 0 20px 38px rgba(15, 62, 103, 0.2);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.mobile-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-cta-link {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 12px;
  border-radius: 18px;
  font-size: 0.9rem;
  font-weight: 800;
}

.mobile-cta-desktop {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 18px 34px rgba(15, 62, 103, 0.18);
}

.mobile-cta-desktop img {
  display: block;
  width: 100%;
  height: auto;
}

.mobile-cta-link.line {
  background: linear-gradient(180deg, rgba(20, 130, 87, 0.16), rgba(20, 130, 87, 0.08));
  color: #148257;
}

.mobile-cta-link.phone {
  background: linear-gradient(180deg, rgba(13, 118, 199, 0.16), rgba(13, 118, 199, 0.08));
  color: var(--color-primary);
}

.mobile-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  flex-shrink: 0;
}

.mobile-cta-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-cta-body {
  display: grid;
  gap: 2px;
}

.mobile-cta-body strong,
.mobile-cta-body small {
  display: block;
}

.mobile-cta-body small {
  font-size: 0.74rem;
  font-weight: 700;
  opacity: 0.82;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.marker-highlight {
  display: inline;
  padding: 0 0.12em;
  background-image: linear-gradient(
    transparent 58%,
    rgba(255, 221, 87, 0.92) 58%,
    rgba(255, 221, 87, 0.92) 92%,
    transparent 92%
  );
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 820ms cubic-bezier(0.22, 1, 0.36, 1);
  font-weight: bold;
}

.marker-highlight.is-marked {
  background-size: 100% 100%;
}

@keyframes scroll-indicator {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

@keyframes cta-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes plan-scroll-hint {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-8px);
  }
}

@keyframes mid-cta-ripple {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  12% {
    opacity: 0.48;
  }

  48% {
    opacity: 0;
    transform: scale(1.035);
  }

  100% {
    opacity: 0;
    transform: scale(1.035);
  }
}

@media (max-width: 1100px) {
  .feature-grid,
  .reason-grid,
  .plan-grid,
  .plan-options-grid,
  .plan-summary-grid,
  .plan-detail-grid,
  .about-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-detail-top {
    grid-template-columns: 1fr;
  }

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

  .pain-grid,
  .faq-layout,
  .contact-inner,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .page-card-head {
    align-items: start;
  }

  .about-story-layout {
    grid-template-columns: 1fr;
  }

  .mid-cta-card {
    grid-template-columns: 1fr;
  }

  .work-card {
    flex-basis: calc((100% - 22px) / 2);
  }
}

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

  .header-inner {
    gap: 12px;
  }

  .brand {
    max-width: calc(100% - 64px);
  }

  .brand-copy {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
    flex-shrink: 0;
    margin-left: auto;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-grid {
    background-image: none;
  }

  .hero-support {
    grid-template-columns: 1fr;
  }

  .works-slider-head {
    flex-direction: column;
    align-items: stretch;
  }

  .works-slider-controls {
    justify-content: flex-end;
  }

  .plan-card-lite {
    transform: none;
  }

  .contact-inner {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  br.sp-br {
    display: block;
  }

  br.pc-br {
    display: none;
  }

  #features {
    background-position: center top;
    background-size: min(360px, 74vw);
  }

  .plan-table-wrapper.is-scrollable::before {
    top: 15px;
    right: 25px;
    padding: 6px 10px;
    font-size: 0.68rem;
  }

  .trust-strip p {
    text-align: left;
  }

  .hero-scroll-wrap {
    margin-top: -28px;
  }

  .hero-scroll {
    width: 92px;
    height: 92px;
    gap: 8px;
  }

  .hero-scroll-text {
    font-size: 0.64rem;
  }

  .section {
    padding: 64px 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 10vw, 3.3rem);
  }

  .topbar-copy {
    padding: 10px 0;
    font-size: 0.78rem;
  }

  .brand {
    gap: 4px;
  }

  .brand-logo {
    width: min(164px, 44vw);
  }

  .feature-grid,
  .reason-grid,
  .plan-grid,
  .flow-list,
  .plan-options-grid,
  .plan-summary-grid,
  .plan-detail-grid,
  .page-cta-actions,
  .about-summary-grid,
  .about-compare-grid,
  .about-support-grid,
  .about-feature-grid {
    grid-template-columns: 1fr;
  }

  .plan-detail-top {
    gap: 18px;
  }

  .plan-detail-visual {
    justify-self: stretch;
    width: 100%;
  }

  .page-card-head {
    display: grid;
  }

  .plan-detail-price {
    text-align: left;
  }

  .plan-detail-pricing {
    text-align: left;
  }

  .work-card {
    flex-basis: 84%;
  }

  .hero-card,
  .contact-inner {
    border-radius: 26px;
  }

  .mid-cta-card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .mid-cta-actions {
    min-width: 100%;
  }

  .info-card,
  .reason-card,
  .pain-item,
  .plan-card,
  .flow-item,
  .faq-item {
    border-radius: 20px;
  }

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

  .payment-method {
    align-items: flex-start;
    flex-direction: column;
  }

  .plan-option-body {
    padding: 0 18px 18px;
  }

  .plan-option-summary {
    padding: 18px;
  }

  .payment-method img {
    width: min(100%, 320px);
  }

  .hero-actions {
    gap: 12px;
  }

  .button {
    min-height: 52px;
  }

  .hero-actions .button {
    min-width: 100%;
    min-height: 56px;
    padding: 0 24px;
  }

  .mobile-menu {
    padding: 20px 14px;
  }

  .mobile-menu-nav {
    width: 100%;
    padding-top: 74px;
  }

  .menu-toggle {
    /* top: 70px;
    right: 14px; */
  }

  .news-strip-inner {
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: baseline;
  }

  .news-strip {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.58);
  }

  .news-strip-label {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(13, 118, 199, 0.08);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .news-strip-carousel {
    flex: 1 1 calc(100% - 78px);
    height: 1.55em;
  }

  .news-strip-link {
    gap: 8px;
    height: 1.55em;
    font-size: 0.82rem;
  }

  .news-strip-link time {
    font-size: 0.76rem;
  }

  .news-strip-archive {
    width: 100%;
    margin-left: 0;
    padding-left: 72px;
    font-size: 0.76rem;
    line-height: 1.3;
    opacity: 0.82;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .works-arrow {
    width: 46px;
    height: 46px;
  }

  .mobile-cta {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
  }

  .mobile-cta-desktop {
    display: none;
  }

  .mobile-cta-link {
    display: flex;
  }

  .site-footer {
    padding-bottom: 124px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-local-section {
    padding: 6px 0 2px;
  }

  .footer-local-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-area-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-local-visual {
    min-height: 180px;
  }

  .footer-meta {
    text-align: left;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    max-width: 640px;
    margin: 0 auto;
  }

  .footer-link-group {
    gap: 8px;
  }

  .footer-links-grid a {
    font-size: 0.94rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

.footer-copy {
  margin: 18px 0 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.archive-main,
.single-main,
.page-main {
  padding: 28px 0 96px;
}

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

.archive-grid-news {
  grid-template-columns: 1fr;
}

.archive-card {
  border: 1px solid rgba(214, 227, 238, 0.9);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.archive-card-media {
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  background: rgba(234, 244, 254, 0.8);
}

.works-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.archive-card-media img,
.single-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.archive-card-body h2,
.single-article h1 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 0.6vw, 2.3rem);
  line-height: 1.3;
}

.archive-card.archive-card-work .archive-card-body h2 {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.5;
}

.archive-card-body p:last-child {
  margin-bottom: 0;
}

.archive-card-action {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.archive-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(13, 118, 199, 0.22);
  background: linear-gradient(135deg, rgba(13, 118, 199, 0.12), rgba(13, 118, 199, 0.04));
  color: #0b5f9e;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}

.archive-readmore::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.8px solid currentColor;
  border-right: 1.8px solid currentColor;
  transform: rotate(45deg);
}

.archive-readmore:hover,
.archive-readmore:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(13, 118, 199, 0.4);
  background: linear-gradient(135deg, rgba(13, 118, 199, 0.18), rgba(13, 118, 199, 0.08));
}

.archive-meta {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.single-article {
  max-width: 900px;
  margin: 0 auto;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.single-content-column {
  min-width: 0;
}

.single-layout .single-article,
.single-layout .single-post-nav {
  max-width: none;
}

.single-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
  width: 320px;
  justify-self: end;
}

.single-sidebar-box {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(214, 227, 238, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.single-sidebar-eyebrow {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-sidebar-box h2 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.5;
}

.single-sidebar-box p {
  margin: 12px 0 0;
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.single-sidebar-links {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.single-sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(245, 249, 252, 0.88);
  color: var(--color-text);
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.single-sidebar-links a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.7px solid currentColor;
  border-right: 1.7px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.single-sidebar-links a:hover,
.single-sidebar-links a:focus-visible {
  transform: translateY(-1px);
  color: var(--color-primary);
  background: rgba(234, 244, 254, 0.96);
}

.single-sidebar-links-archive a {
  padding: 11px 14px;
}

.single-sidebar-links-archive a span {
  min-width: 0;
}

.single-sidebar-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.single-sidebar-actions .button {
  width: 100%;
}

.sidebar-apply-banner {
  display: block;
  overflow: hidden;
  /* border-radius: 24px; */
  box-shadow: var(--shadow-soft);
}

.sidebar-apply-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.single-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 22px auto 0;
}

.single-post-nav-link {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(214, 227, 238, 0.9);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.single-post-nav-link:hover,
.single-post-nav-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(13, 118, 199, 0.22);
  box-shadow: var(--shadow-card);
}

.single-post-nav-link.next {
  text-align: right;
}

.single-post-nav-link.is-empty {
  visibility: hidden;
  pointer-events: none;
}

.single-post-nav-label {
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.single-post-nav-date {
  color: var(--color-text-muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.single-post-nav-link strong {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.7;
}

.single-hero-media {
  overflow: hidden;
  border-radius: 24px;
  margin: 24px 0 28px;
  aspect-ratio: 1.45 / 1;
}

.single-body {
  color: var(--color-text);
}

.entry-content h2 {
  margin: 32px 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.entry-content h3 {
  margin: 24px 0 10px;
  font-size: 1.15rem;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 16px 1.2em;
  padding: 0;
}

.entry-content li + li {
  margin-top: 8px;
}

.entry-content code {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(13, 118, 199, 0.08);
  color: var(--color-primary-dark);
  font-size: 0.95rem;
}

.terms-page .page-hero {
  margin-bottom: 32px;
}

.terms-content {
  line-height: 1.9;
}

.terms-content > p:first-child {
  margin-top: 0;
}

.terms-content hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid rgba(214, 227, 238, 0.88);
}

.terms-content h2 {
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 4px solid rgba(13, 118, 199, 0.45);
}

.terms-content p {
  color: var(--color-text-muted);
}

.terms-content ul,
.terms-content ol {
  margin-bottom: 18px;
}

.terms-content li {
  color: var(--color-text);
}

.terms-content .info-table {
  margin-top: 8px;
}

.terms-content .info-table th,
.terms-content .info-table td {
  padding: 16px 0;
}

@media (max-width: 767px) {
  .terms-content hr {
    margin: 24px 0;
  }

  .terms-content h2 {
    padding-left: 12px;
  }
}

.single-work-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.post-pagination {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.posts-navigation,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(13, 118, 199, 0.14);
  background: #fff;
}

.page-numbers.current {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
}

.empty-state {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.page-section-title {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.3;
}

.plan-comparison-section {
  margin: 28px 0 36px;
}

.plan-comparison-section .plan-table-wrapper {
  margin-top: 0;
}

.plan-options-section {
  margin-top: 8px;
}

.plan-options-section h2 {
  margin-bottom: 20px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.apply-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.contact-panel,
.apply-side-panel {
  /* width: 320px; */
  justify-self: end;
}

.apply-form-area {
  display: grid;
  gap: 22px;
}

.apply-intro {
  display: grid;
  gap: 18px;
}

.apply-intro-block {
  padding: 24px 26px;
  border: 1px solid rgba(186, 211, 231, 0.9);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 251, 255, 0.96) 100%);
  box-shadow: 0 16px 36px rgba(15, 62, 103, 0.06);
}

.apply-intro-soft {
  background: rgba(241, 248, 254, 0.9);
  box-shadow: none;
}

.apply-intro-block h2,
.apply-intro-block h3 {
  margin: 0 0 12px;
}

.apply-intro-block p {
  margin: 0;
}

.apply-check-list {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
}

.apply-form-shell .entry-content > p:first-child {
  margin-top: 0;
}

.apply-side-panel {
  display: grid;
  gap: 16px;
}

.apply-side-box {
  padding: 22px 24px;
  border: 1px solid rgba(186, 211, 231, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 36px rgba(15, 62, 103, 0.06);
}

.apply-side-box h2 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.apply-side-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.apply-side-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(245, 249, 252, 0.88);
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.apply-side-list a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.7px solid currentColor;
  border-right: 1.7px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.apply-side-list a:hover,
.apply-side-list a:focus-visible {
  transform: translateY(-1px);
  color: var(--color-primary);
  background: rgba(234, 244, 254, 0.96);
}

.contact-form-shell {
  min-height: 320px;
}

.contact-form-shell .mw_wp_form,
.contact-form-shell form {
  display: grid;
  gap: 16px;
}

.contact-form-shell input[type="text"],
.contact-form-shell input[type="email"],
.contact-form-shell input[type="tel"],
.contact-form-shell textarea,
.contact-form-shell select {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
}

.contact-form-shell textarea {
  min-height: 180px;
}

.contact-form-shell input[type="submit"],
.contact-form-shell button[type="submit"] {
  min-height: 56px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.thanks-card {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.legal-table {
  display: grid;
  gap: 14px;
}

.legal-table div {
  display: grid;
  grid-template-columns: minmax(170px, 220px) 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(214, 227, 238, 0.72);
}

.legal-table dt {
  font-weight: 700;
}

.legal-table dd {
  margin: 0;
  color: var(--color-text-muted);
}

.asweb-admin-fields label {
  display: inline-block;
  margin-bottom: 6px;
}

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

  .kasukabe-hero-layout,
  .kasukabe-local-layout {
    grid-template-columns: 1fr;
  }

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

  .apply-page-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel,
  .apply-side-panel {
    width: auto;
    justify-self: stretch;
  }
}

@media (max-width: 860px) {
  .archive-main,
  .single-main,
  .page-main {
    padding: 20px 0 84px;
  }

  .single-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .single-sidebar {
    display: none;
  }

  .single-work-meta,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .single-post-nav {
    grid-template-columns: 1fr;
  }

  .single-post-nav-link.next {
    text-align: left;
  }

  .kasukabe-problem-grid,
  .kasukabe-case-grid {
    grid-template-columns: 1fr;
  }

  .kasukabe-case-card > :not(.kasukabe-case-visual) {
    padding-inline: 22px;
  }

  .kasukabe-case-card .work-card-tag {
    margin-left: 22px;
    margin-right: 22px;
  }

  .kasukabe-case-card dl {
    padding: 0 22px 24px;
  }

  .legal-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    max-width: none;
  }

  .footer-link-group {
    gap: 8px;
  }
}

.asweb-form {
  padding: 32px;
  border: 1px solid #d6e3ee;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 44px rgba(15, 62, 103, 0.08);
}

.asweb-form-header {
  margin-bottom: 28px;
  text-align: left;
}

.asweb-form-eyebrow {
  margin: 0 0 10px;
  color: #0d76c7;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.asweb-form-title {
  margin: 0 0 10px;
  color: #1f2a37;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.25;
}

.asweb-form-lead {
  margin: 0;
  color: #5d6b7a;
  font-size: 0.98rem;
  line-height: 1.8;
}

.asweb-form-section {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid rgba(214, 227, 238, 0.8);
}

.asweb-form-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.asweb-form-section-soft {
  padding: 22px;
  border: 1px solid #dce8f2;
  border-radius: 20px;
  background: #f5f9fc;
}

.asweb-form-section-title {
  margin: 0 0 18px;
  color: #1f2a37;
  font-size: 1.1rem;
  font-weight: 700;
}

.asweb-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.asweb-form-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.asweb-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.asweb-form-field-full {
  grid-column: 1 / -1;
}

.asweb-form-field label {
  color: #1f2a37;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.asweb-required {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  margin-left: 8px;
  border-radius: 999px;
  background: rgba(13, 118, 199, 0.1);
  color: #0d76c7;
  font-size: 0.74rem;
  font-weight: 700;
  vertical-align: middle;
}

.asweb-input,
.asweb-textarea,
.asweb-form input[type="text"],
.asweb-form input[type="email"],
.asweb-form input[type="tel"],
.asweb-form select,
.asweb-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #d6e3ee;
  border-radius: 16px;
  background: #ffffff;
  color: #1f2a37;
  font-size: 1rem;
  line-height: 1.6;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.asweb-form textarea,
.asweb-textarea {
  min-height: 180px;
  resize: vertical;
}

.asweb-form input:focus,
.asweb-form select:focus,
.asweb-form textarea:focus {
  outline: none;
  border-color: #0d76c7;
  box-shadow: 0 0 0 4px rgba(13, 118, 199, 0.12);
  background: #fff;
}

.asweb-form ::placeholder {
  color: #8a98a8;
}

.asweb-choice .mwform-radio-field,
.asweb-choice .mwform-checkbox-field {
  display: inline-flex;
  margin: 0 16px 10px 0;
}

.asweb-choice label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f2a37;
  font-size: 0.95rem;
  font-weight: 500;
}

.asweb-choice-vertical .mwform-checkbox-field {
  display: flex;
  margin: 0;
}

.asweb-agree-box {
  padding: 14px 16px;
  border: 1px solid #d6e3ee;
  border-radius: 16px;
  background: #ffffff;
}

.asweb-form-note {
  margin-top: 24px;
  color: #5d6b7a;
  font-size: 0.9rem;
  line-height: 1.8;
}

.asweb-form-note p {
  margin: 0;
}

.asweb-form-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.asweb-form-actions .button,
.asweb-form-actions input[type="submit"] {
  min-width: 220px;
  min-height: 56px;
}

.mw_wp_form .error,
.mw_wp_form .mwform-error {
  display: block;
  margin-top: 6px;
  color: #d64545;
  font-size: 0.84rem;
  font-weight: 500;
}

.mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 0 !important;
}

@media (max-width: 767px) {
  .asweb-form {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .asweb-form-stack,
  .asweb-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .asweb-form-actions {
    flex-direction: column;
  }

  .asweb-form-actions .button,
  .asweb-form-actions input[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}
