:root {
  --font-main: "Inter", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --title-fluid-size: clamp(1.82rem, 3.8vw, 3.2rem);
  --ink-900: #0e1f44;
  --ink-700: #2f4069;
  --blue-900: #0058a8;
  --blue-800: #006dc9;
  --blue-700: #0087ef;
  --blue-600: #1ca9ff;
  --sky-100: #f5f8ff;
  --sky-200: #e9f0ff;
  --line: #d8e5ff;
  --white: #ffffff;
  --shadow-soft: 0 20px 40px rgba(18, 66, 130, 0.12);
  --shadow-card: 0 12px 28px rgba(22, 62, 120, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --gutter: clamp(16px, 3.2vw, 34px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-main);
  color: var(--ink-900);
  background: linear-gradient(180deg, #fcfdff 0%, #f8fbff 75%, #f5f8ff 100%);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body.is-menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

p {
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.top-strip {
  background: var(--blue-900);
  color: #ecf5ff;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.top-strip .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--gutter);
}

.top-strip__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-strip__left,
.top-strip__right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-strip__logo {
  width: 41px;
  height: 28px;
  display: inline-block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f1f4fd;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.site-header .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--gutter);
}

.site-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  color: var(--ink-900);
  white-space: nowrap;
}

.brand__logo {
  display: block;
  width: clamp(190px, 16vw, 250px);
  height: auto;
}

.site-footer .brand__logo {
  width: clamp(186px, 14vw, 230px);
}

.mobile-menu__brand .brand__logo {
  width: clamp(230px, 58vw, 320px);
}

.brand--inverse {
  color: #f8fbff;
}

.global-nav {
  margin-left: auto;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}

.global-nav li {
  display: flex;
  align-items: center;
}

.global-nav li + li::before {
  content: "\FF5C";
  margin-inline: clamp(10px, 1.2vw, 18px);
  color: #8ea0be;
}

.global-nav a {
  position: relative;
  display: inline-block;
  padding-block: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #3a4f74;
  transition: color 0.25s ease;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--blue-700);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.global-nav a:hover,
.global-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--blue-700);
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  transform: scaleX(1);
}

.global-nav a[aria-current="page"],
.footer-nav a[aria-current="page"] {
  color: var(--blue-800);
  font-weight: 700;
}

.contact-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 134px;
  height: 57px;
  padding: 14px 25px;
  border-radius: 5px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 0.875rem;
  letter-spacing: 0;
  color: #fff;
  background: #036EB8;
  box-shadow: 0 8px 16px rgba(0, 106, 203, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-btn:hover,
.contact-btn:focus-visible,
.cta-primary:hover,
.cta-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 106, 203, 0.32);
}

.contact-btn--light {
  color: var(--blue-900);
  background: #fff;
  box-shadow: 0 10px 18px rgba(3, 36, 77, 0.25);
}

.menu-toggle {
  margin-left: auto;
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink-900);
  cursor: pointer;
  padding: 2px;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  display: block;
  content: "";
}

.menu-toggle__icon::before {
  transform: translateY(-7px);
}

.menu-toggle__icon::after {
  transform: translateY(5px);
}

.menu-toggle__label {
  display: block;
  margin-top: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.section-pad {
  padding-block: clamp(74px, 10vw, 122px);
}

.problem,
.services,
.pricing {
  position: relative;
}

.problem {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f1f2ff;
}

.pricing {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services {
  background: var(--white);
}

.services.section-shape--right::after {
  content: none;
}

.services.section-shape--right::before {
  content: "";
  position: absolute;
  width: 734px;
  height: 734px;
  right: -97px;
  bottom: -70px;
  background: url("../img/service-bg.png") no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin: 0;
  font-size: var(--title-fluid-size);
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.section-lead {
  max-width: 1061px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--ink-700);
  font-size: 0.875rem;
}

.section-lead__break {
  display: inline;
}

.section-lead__break-sp {
  display: none;
}

.section-shape {
  position: relative;
  overflow: clip;
}

#hero.section-shape--left::before {
  content: "";
  position: absolute;
  width: 734px;
  height: 734px;
  left: calc(var(--hero-edge) - var(--hero-bg-left-offset));
  bottom: -70px;
  border-radius: 0;
  transform: none;
  transform-origin: initial;
  background: url("../img/hero-bg.png") no-repeat center / contain;
  opacity: 1;
  z-index: 2;
}

.section-shape--right::after {
  content: "";
  position: absolute;
  width: min(540px, 64vw);
  aspect-ratio: 1 / 1;
  right: -180px;
  bottom: -120px;
  border-radius: 56% 44% 57% 43%;
  background:
    radial-gradient(circle at 30% 30%, rgba(231, 189, 255, 0.53) 0%, rgba(188, 224, 255, 0.72) 45%, rgba(176, 241, 255, 0.65) 100%);
  z-index: -1;
}

.section-shape--bubble::after {
  content: "";
  position: absolute;
  width: min(420px, 48vw);
  aspect-ratio: 1;
  right: -120px;
  bottom: -200px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, rgba(255, 164, 220, 0.8), rgba(173, 231, 255, 0.65));
}

.section-shape--bubble::before {
  content: "";
  position: absolute;
  left: 72px;
  top: -45px;
  width: 71px;
  height: 68px;
  border-radius: 50%;
  transform: none;
  background: linear-gradient(
    100deg,
    rgba(198, 248, 255, 0.22) 10%,
    rgba(255, 157, 219, 0.72) 37%,
    #ffd000 100%
  );
}

.lizard-deco {
  position: relative;
}

.lizard-part {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 11;
}

.lizard-part--hand-right {
  top: -27px;
  right: 22px;
  width: 81px;
  height: 75px;
}

.lizard-part--hand-left {
  top: -48px;
  left: 12px;
  width: 117px;
  height: 110px;
}

.lizard-part--tail-left {
  left: 8px;
  bottom: -34px;
  width: 101px;
  height: 83px;
}

.price-card--ssl {
  position: relative;
  overflow: visible;
}

.price-card--ssl .lizard-part--head {
  right: -4px;
  bottom: -24px;
  width: 109px;
  height: 53px;
}

.hero {
  height: 630px;
  padding: 0;
  background-color: var(--white);
  --hero-edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
  --hero-bg-left-offset: clamp(152px, 14vw, 210px);
  --hero-illust-right-offset: clamp(88px, 8.1vw, 112px);
}

.hero__bubble {
  position: absolute;
  right: 149px;
  bottom: -19px;
  width: 71px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(
    278deg,
    #c6f8ff 0%,
    #ff9ddb 32%,
    #fff1b2 86%
  );
  z-index: 3;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 698px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(8px, 1.6vw, 22px);
  height: 100%;
  z-index: 2;
}

#hero.section-shape--left::after {
  content: "";
  position: absolute;
  right: calc(var(--hero-edge) - var(--hero-illust-right-offset));
  bottom: -6px;
  width: 870px;
  aspect-ratio: 833 / 580;
  background: url("../img/hero-image.png") no-repeat center / contain;
  z-index: 1;
  pointer-events: none;
}

.hero__copy {
  max-width: 698px;
  min-height: 409px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 82.5px;
  position: relative;
  z-index: 1;
}

.hero__copy h1 {
  margin: 0;
  font-size: var(--title-fluid-size);
  letter-spacing: 0.02em;
  line-height: 71px;
  white-space: nowrap;
}

.hero__title-second {
  display: inline;
}

.hero__copy p {
  margin-top: 20px;
  color: #3a4f74;
  font-size: 16px;
  line-height: 32px;
}

.cta-primary {
  margin-top: 30px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 143px;
  min-width: 143px;
  padding: 14px 0;
  border-radius: 5px;
  color: #fff;
  font-weight: 800;
  line-height: 1;
  background: #036EB8;
  box-shadow: 0 10px 18px rgba(5, 100, 184, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-primary--large {
  width: min(100%, 400px);
  min-width: 0;
  font-size: clamp(1rem, 1.6vw, 1.26rem);
  padding-block: 18px;
}

.card-grid {
  margin-top: 48px;
  display: grid;
  gap: 22px;
}

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

.info-card,
.service-card,
.price-card,
.price-main {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid #f0f4fe;
  box-shadow: var(--shadow-card);
}

.info-card {
  --info-icon-size: 92px;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: var(--info-icon-size) 1fr;
  column-gap: 16px;
  row-gap: 10px;
  align-items: center;
}

.info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--info-icon-size);
  height: var(--info-icon-size);
}

.info-card__icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: translate(var(--icon-x, 0), var(--icon-y, 0)) scale(var(--icon-scale, 1));
  transform-origin: center;
}

.icon-problem01 {
  --icon-scale: 1;
  --icon-x: -4px;
  --icon-y: 2px;
}

.icon-problem02 {
  --icon-scale: 1;
  --icon-x: 0;
  --icon-y: 0;
}

.icon-problem03 {
  --icon-scale: 1;
  --icon-x: 0;
  --icon-y: 0;
}

.info-card h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.35;
  min-height: var(--info-icon-size);
  display: flex;
  align-items: center;
  padding-top: 3px;
}

.info-card p {
  grid-column: 1 / -1;
  margin: 40px 0 50px;
  color: var(--ink-700);
  font-size: 0.92rem;
}

.service-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.service-card {
  padding: 20px 16px 18px;
  min-height: 170px;
  background-color: #f6f7f9;
  box-shadow: 0 15px 10px #d2e5ff;
}

.service-card h3 {
  margin: 0;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4.375rem;
  padding-bottom: 7px;
  text-align: center;
  font-weight: 400;
  line-height: 1.4;
  font-size: 0.9375rem;
  letter-spacing: 0;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
}

.service-card__title {
  display: inline-block;
}

.service-card--01 h3 {
  background-image: url("../img/service_h1_01.svg");
}

.service-card--02 h3 {
  background-image: url("../img/service_h1_02.svg");
}

.service-card--03 h3 {
  background-image: url("../img/service_h1_03.svg");
}

.service-card--04 h3 {
  background-image: url("../img/service_h1_04.svg");
}

.service-card p {
  margin-top: 8px;
  color: var(--ink-700);
  font-size: 0.9rem;
  line-height: 1.62;
}

.pricing {
  background: #f1f2ff;
}

.price-main {
  padding: 30px clamp(22px, 3vw, 42px);
  position: relative;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: none;
}

.price-main h2 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.3;
}

.price-main__line {
  margin-top: 18px;
  color: #2f4467;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.price-main__text {
  margin-top: 8px;
  padding-right: 140px;
  color: var(--ink-700);
  font-size: 0.92rem;
}

.price-main__link {
  position: absolute;
  right: clamp(22px, 3vw, 42px);
  bottom: 28px;
  color: var(--blue-700);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.price-main__link span {
  font-size: 1.45em;
  vertical-align: -2px;
}

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

.price-card {
  padding: 26px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: none;
}

.price-card h3 {
  margin: 0;
  line-height: 1.35;
  font-size: 1.75rem;
}

.price-card__value {
  margin-top: 14px;
  color: #30486e;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.price-card p {
  font-size: 0.94rem;
  color: var(--ink-700);
}

.pricing__note {
  margin-top: 30px;
  text-align: center;
  color: #435a80;
  /* font-size: 0.9rem; */
}

.final-cta {
  background: #fff;
}

.final-cta__inner {
  text-align: center;
}

.final-cta__inner p {
  margin: 0;
  font-size: 1.875rem;
  line-height: 1.35;
  color: #2f4568;
}

.final-cta__inner .cta-primary {
  display: flex;
  margin: 26px auto 0;
}

.site-footer {
  background: linear-gradient(135deg, #0058a8 0%, #004c94 100%);
  color: #e7f2ff;
  padding-block: 30px 22px;
  position: relative;
  z-index: 1;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px 34px;
}

.footer-nav {
  justify-self: end;
}

.footer-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  font-size: 0.9rem;
}

.site-footer__copy {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.78rem;
  color: #c8def9;
}

.site-footer__tagline-sp {
  display: none;
  margin: 0;
}

.page-top {
  position: fixed;
  right: 10px;
  bottom: 0;
  width: 63px;
  height: 228px;
  border-radius: 30px 30px 0 0;
  background: #fff;
  color: #0c67bd;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 25px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(28, 148, 255, 0.18), 0 0 20px rgba(28, 148, 255, 0.1);
  display: inline-grid;
  place-items: center;
  writing-mode: vertical-rl;
  --page-top-offset: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(var(--page-top-offset));
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 45;
}

.page-top.is-visible {
  --page-top-offset: 0;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 36, 89, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, background-color 0.24s ease;
  z-index: 70;
}

.mobile-menu.is-open,
.mobile-menu.is-closing {
  pointer-events: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  background: rgba(0, 36, 89, 0.45);
}

.mobile-menu__panel {
  position: absolute;
  inset: 0;
  background: #0059aa;
  color: #f4f9ff;
  padding: 26px 28px 34px;
  transform-origin: 100% 10%;
  transform: translateX(24px) scale(0.985) rotate(0.15deg);
  opacity: 0;
}

.mobile-menu.is-open .mobile-menu__panel {
  animation: lizard-menu-in 0.42s cubic-bezier(0.18, 0.84, 0.22, 1) forwards;
}

.mobile-menu.is-closing .mobile-menu__panel {
  animation: lizard-menu-out 0.24s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes lizard-menu-in {
  0% {
    opacity: 0;
    transform: translateX(24px) scale(0.985) rotate(0.15deg);
  }
  58% {
    opacity: 1;
    transform: translateX(-6px) scale(1.005) rotate(-0.1deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0deg);
  }
}

@keyframes lizard-menu-out {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateX(22px) scale(0.99) rotate(0.1deg);
  }
}

.mobile-menu__close {
  margin-left: auto;
  display: grid;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.mobile-menu__close-icon {
  font-size: 2.2rem;
  line-height: 0.8;
  font-weight: 400;
}

.mobile-menu__close-label {
  justify-self: end;
  margin-top: 2px;
  font-size: 0.95rem;
  font-weight: 700;
}

.mobile-menu__catch {
  margin-top: 22px;
  font-size: clamp(2.18rem, 10vw, 3rem);
  line-height: 1.54;
  font-weight: 700;
}

.mobile-menu__brand {
  margin-top: 26px;
  font-size: clamp(2rem, 9vw, 3.4rem);
}

.mobile-menu__nav {
  margin-top: 24px;
}

.mobile-menu__nav li {
  border-top: 1px solid #fff;
  margin-right: -28px;
  padding-right: 28px;
}

.mobile-menu__nav li:last-child {
  border-bottom: 1px solid #fff;
}

.mobile-menu__nav a {
  display: block;
  padding: 19px 0;
  font-size: clamp(1.62rem, 7vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.mobile-menu__contact {
  margin-top: 38px;
  margin-left: auto;
  width: fit-content;
  min-width: 168px;
  border-radius: 10px;
  font-size: 0.875rem;
  padding: 25px;
}

.mobile-menu__tagline {
  margin-top: auto;
  padding-top: 40px;
  text-align: right;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  opacity: 0.95;
}

.mobile-menu__tagline-logo {
  display: inline-block;
  width: auto;
  height: 1.15em;
  vertical-align: -0.1em;
}

.mobile-menu__panel {
  display: flex;
  flex-direction: column;
}

.sub-hero {
  padding-block: clamp(66px, 12vw, 130px) clamp(44px, 7vw, 86px);
  position: relative;
  overflow: clip;
}

.sub-hero::before {
  content: "";
  position: absolute;
  width: min(560px, 80vw);
  aspect-ratio: 1 / 1;
  right: -190px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(233, 193, 255, 0.7), rgba(170, 225, 255, 0.55));
  z-index: -1;
}

.sub-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.3;
}

.sub-hero p {
  margin-top: 18px;
  max-width: 900px;
  color: #364c72;
  font-size: clamp(0.95rem, 1.45vw, 1.08rem);
}

.sub-section {
  padding-block: clamp(56px, 8.5vw, 98px);
}

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

.simple-card {
  background: #fff;
  border: 1px solid #eef3ff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 22px;
}

.simple-card h2,
.simple-card h3 {
  margin: 0;
  line-height: 1.4;
  font-size: clamp(1.28rem, 2.2vw, 1.85rem);
}

.simple-card p {
  margin-top: 8px;
  color: #445b81;
  font-size: 0.95rem;
}

.contact-entry {
  margin-top: 28px;
  background: #fff;
  border: 1px solid #e9f0ff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(22px, 4vw, 40px);
}

.contact-entry p {
  color: #40587f;
  font-size: clamp(0.94rem, 1.3vw, 1.04rem);
}

.contact-entry .contact-btn {
  margin-top: 18px;
}

.contact-note {
  margin-top: 22px;
  color: #47608a;
  font-size: 0.88rem;
}

@media (min-width: 821px) {
  .site-footer .container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-left: var(--gutter);
    padding-right: clamp(80px, 9vw, 100px);
  }

  .footer-nav ul {
    gap: 0;
  }

  .footer-nav li {
    display: flex;
    align-items: center;
  }

  .footer-nav li + li::before {
    content: "\FF5C";
    margin-inline: clamp(10px, 1.2vw, 18px);
    color: #c8def9;
  }

  .site-footer__copy {
    text-align: right;
  }
}

@media (max-width: 1080px) {
  .global-nav ul {
    gap: 14px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
    gap: 20px;
    min-height: 560px;
  }

  #hero.section-shape--left::after {
    width: min(700px, 62vw);
  }

  .hero__copy {
    max-width: 620px;
    min-height: auto;
    display: block;
    padding-top: 0;
  }

  .hero__copy p {
    font-size: 15px;
    line-height: 30px;
  }

  .card-grid--3,
  .price-grid,
  .simple-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  :root {
    --sp-header-height: 84px;
    --title-fluid-size: clamp(1.25rem, 5.6vw, 1.5625rem);
  }

  html,
  body {
    overflow-x: hidden;
  }

  .top-strip {
    display: none;
  }

  .site-header {
    position: relative;
    top: auto;
    z-index: auto;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 0;
    box-shadow: none;
  }

  .site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--white);
    z-index: 20;
    pointer-events: none;
  }

  .site-header .container {
    padding-inline: 14px;
  }

  .site-header__inner {
    min-height: 84px;
    gap: 8px;
    position: relative;
    z-index: 60;
    padding-right: 40px;
  }

  .brand {
    line-height: 1;
  }

  .site-header .brand__logo {
    width: clamp(178px, 58vw, 240px);
  }

  .site-footer .brand__logo {
    width: clamp(184px, 62vw, 255px);
  }

  .mobile-menu__brand .brand__logo {
    width: clamp(220px, 72vw, 300px);
  }

  .global-nav,
  .site-header .contact-btn {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 30px;
    margin-left: 0;
    position: fixed;
    top: 38px;
    right: 26px;
    z-index: 80;
    padding: 0;
    transition: top 0.24s ease, right 0.24s ease, color 0.24s ease;
  }

  .menu-toggle__icon,
  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    width: 30px;
    height: 3px;
    transition: transform 0.24s ease, background-color 0.24s ease;
  }

  .menu-toggle__icon::before {
    transform: translateY(-8px);
  }

  .menu-toggle__icon::after {
    transform: translateY(5px);
  }

  .menu-toggle__label {
    margin-top: 6px;
    font-size: 0.6875rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    transition: opacity 0.2s ease;
  }

  body.is-menu-open .menu-toggle {
    top: 38px;
    right: 26px;
    color: #f4f9ff;
    z-index: 90;
  }

  body.is-menu-open .menu-toggle__icon {
    background: transparent;
  }

  body.is-menu-open .menu-toggle__icon::before {
    transform: translateY(0) rotate(45deg);
  }

  body.is-menu-open .menu-toggle__icon::after {
    transform: translateY(0) rotate(-45deg);
  }

  .hero {
    height: auto;
    padding-block: 0 30px;
    --hero-image-width: min(430px, 108vw);
    --hero-image-ratio: calc(580 / 833);
    --hero-image-bottom-offset: 24px;
  }

  .hero__bubble {
    display: block;
    right: calc(58 / 360 * 100vw);
    bottom: -22px;
    z-index: 11;
    transform: scale(.6);
  }

  .hero.section-shape--left {
    overflow: visible;
  }

  #hero.section-shape--left::before {
    width: 420px;
    height: 572px;
    left: auto;
    right: calc(58 / 360 * 100vw);
    top: calc(-1 * (var(--sp-header-height) + 20px));
    background: url("../img/hero-bg_sp.svg") no-repeat right top / 140% auto;
    border-radius: 0;
    z-index: 30;
  }

  .services.section-shape--right::before {
    width: 330px;
    height: 449px;
    right: -128px;
    bottom: -24px;
  }

  .lizard-part--hand-right {
    top: -18px;
    right: 8px;
    width: 56px;
    height: auto;
  }

  .lizard-part--hand-left {
    top: -32px;
    left: 6px;
    width: 78px;
    height: auto;
  }

  .lizard-part--tail-left {
    left: 2px;
    bottom: -24px;
    width: 72px;
    height: auto;
  }

  .price-card--ssl .lizard-part--head {
    right: -4px;
    bottom: -18px;
    width: 84px;
    height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding-top: 18px;
    padding-bottom: calc((var(--hero-image-width) * var(--hero-image-ratio)) + var(--hero-image-bottom-offset));
    z-index: 40;
  }

  #hero.section-shape--left::after {
    right: 50%;
    bottom: 0;
    width: var(--hero-image-width);
    transform: translateX(50%);
    z-index: 10;
  }

  .hero__copy {
    max-width: none;
    min-height: auto;
    padding-top: 20px;
    padding-left: 20px;
    z-index: 40;
  }

  .hero__copy h1 {
    max-width: 9.1em;
    font-size: var(--title-fluid-size);
    line-height: 35px;
    white-space: normal;
  }

  .hero__title-second {
    display: block;
  }

  .hero__copy p {
    margin-top: 16px;
    max-width: none;
    font-size: 15px;
    line-height: 32px;
  }

  .hero__copy .cta-primary {
    margin-top: 20px;
    margin-inline: auto;
    padding: 18px 0;
    display: flex;
    width: 143px;
    min-width: 143px;
    border-radius: 5px;
  }

  .section-lead {
    text-align: left;
    margin-top: 18px;
  }

  .section-lead__break {
    display: none;
  }

  .section-lead__break-sp {
    display: inline;
  }

  .problem .container {
    width: calc(100% - 60px);
    margin-inline: auto;
  }

  .problem {
    z-index: 20;
  }

  .problem .section-lead {
    line-height: 1.5625rem;
  }

  .problem .info-card h3 {
    font-size: 1.125rem;
  }

  .card-grid,
  .service-grid,
  .price-grid,
  .simple-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services .container {
    width: calc(100% - 30px);
    margin-inline: auto;
  }

  .services .section-lead {
    line-height: 1.5625rem;
  }

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

  .services.section-shape--right::before {
    background: url("../img/service-bg_sp.svg") no-repeat center / contain;
  }

  .info-card,
  .service-card,
  .price-card {
    padding: 20px 18px;
  }

  .info-card {
    --info-icon-size: 74px;
    grid-template-columns: var(--info-icon-size) 1fr;
    column-gap: 12px;
    row-gap: 8px;
  }

  .info-card__icon {
    width: var(--info-icon-size);
    height: var(--info-icon-size);
  }

  .info-card__icon img {
    max-height: 100%;
  }

  .info-card p {
    margin: 15px 0;
  }

  .icon-problem01 {
    --icon-scale: 1;
    --icon-x: -3px;
    --icon-y: 1px;
  }

  .service-card {
    padding-inline: 12px;
    min-height: 0;
  }

  .service-card h3 {
    font-size: 0.8125rem;
    padding-left: 2.375rem;
  }

  .service-card__omit-sp {
    display: none;
  }

  .service-card--01 h3 {
    background-image: url("../img/service_h1_01_sp.svg");
  }

  .service-card--02 h3 {
    background-image: url("../img/service_h1_02_sp.svg");
  }

  .service-card--03 h3 {
    background-image: url("../img/service_h1_03_sp.svg");
  }

  .service-card--04 h3 {
    background-image: url("../img/service_h1_04_sp.svg");
  }

  .pricing .container {
    margin-left: 0;
    margin-right: auto;
  }

  .price-main {
    padding: 24px 18px 72px;
  }

  .price-main h2 {
    font-size: 1.25rem;
  }

  .price-main__text {
    padding-right: 0;
  }

  .price-main__link {
    right: 18px;
    bottom: 20px;
  }

  .pricing__note {
    margin: 60px 30px 0;
    text-align: left;
  }

  .final-cta__inner {
    text-align: left;
  }

  .final-cta__inner p {
    font-size: clamp(1.3125rem, 4.88vw, 2.8rem);
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
  }

  .mobile-menu__catch {
    font-size: clamp(1.375rem, 5.12vw, 3rem);
    letter-spacing: 0.1em;
  }

  .mobile-menu__nav a {
    font-size: clamp(1rem, 3.72vw, 2.2rem);
    letter-spacing: 0;
  }

  .final-cta__inner .cta-primary {
    width: min(202px, calc(100% - 60px));
    height: 80px;
    padding: 19px 29px;
    gap: 10px;
    margin: 18px auto 0;
    min-width: 0;
    border-radius: 5px;
  }

  .site-footer {
    padding-block: 24px 14px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-nav {
    justify-self: start;
  }

  .footer-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-footer__tagline-sp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: stretch;
    justify-content: flex-end;
    grid-column: 1 / -1;
    padding-right: 60px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #c8def9;
  }

  .site-footer__copy {
    text-align: right;
    padding-right: 60px;
  }

  .page-top {
    right: 20px;
    bottom: 0;
    width: 32px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: horizontal-tb;
    font-size: 0;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 900;
  }

  .page-top::before {
    content: "\25C0\2002PAGE TOP";
    display: block;
    font-size: 0.8125rem;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transform: rotate(90deg);
    transform-origin: center;
  }
}

@media (max-width: 420px) {
  :root {
    --sp-header-height: 72px;
    --title-fluid-size: clamp(1.25rem, 6vw, 1.5625rem);
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .site-header__inner {
    min-height: 72px;
  }

  .menu-toggle {
    top: 38px;
    right: 26px;
  }

  body.is-menu-open .menu-toggle {
    top: 38px;
    right: 26px;
  }

  .hero__copy h1 {
    font-size: var(--title-fluid-size);
    line-height: 35px;
  }

  .hero__inner {
    padding-top: 22px;
  }

  .hero {
    --hero-image-width: min(398px, 112vw);
    --hero-image-bottom-offset: 30px;
  }

  #hero.section-shape--left::before {
    width: 396px;
    height: 540px;
    left: auto;
    right: calc(58 / 360 * 100vw);
    top: calc(-1 * (var(--sp-header-height) + 20px));
  }

  #hero.section-shape--left::after {
    width: var(--hero-image-width);
    bottom: 0;
  }

  .mobile-menu__panel {
    padding-inline: 18px;
  }

  .mobile-menu__nav li {
    margin-right: -18px;
    padding-right: 18px;
  }
}
