.lpv2-header,
.lpv2-hero {
  --lpv2-bg: #faf1e6;
  --lpv2-ink: #1a1a1a;
  --lpv2-brown: #8e5436;
  --lpv2-header-line: #e0d5c0;
  --lpv2-shadow: rgba(0, 0, 0, 0.2);
  font-family: "Noto Sans JP", sans-serif;
}

.lpv2-header * ,
.lpv2-hero * {
  box-sizing: border-box;
}

.lpv2-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 190;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--lpv2-header-line);
  transition: background-color 0.22s ease, box-shadow 0.22s ease;
}

body.admin-bar .lpv2-header {
  top: 32px;
}

.content {
  margin-top: 68px;
}

body.admin-bar .content {
  margin-top: 68px;
}

.home .content.top,
.front-page .content.top {
  margin-top: 0;
}

.lpv2-header__inner {
  width: 100%;
  max-width: 1920px;
  height: 68px;
  margin: 0 auto;
  padding: 0 20px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.22s ease, padding 0.22s ease;
}

.lpv2-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.lpv2-brand img {
  width: 48px;
  height: 42px;
  display: block;
  max-width: none;
  transition: width 0.22s ease, height 0.22s ease;
}

.lpv2-brand strong {
  font-size: clamp(24px, 1.6vw, 30px);
  font-weight: 900;
  line-height: 1;
  color: #2c1a0e;
  transition: font-size 0.22s ease;
}

.lpv2-brand--image-only,
.lpv2-brand--image-only picture,
.lpv2-brand--mark-with-text picture {
  display: block;
}

.lpv2-brand--image-only .lpv2-brand-image {
  display: block;
  width: auto;
  height: 46px;
  max-width: min(100%, 320px);
  object-fit: contain;
}

.lpv2-brand--mark-with-text .lpv2-brand-image {
  display: block;
  width: 52px;
  height: 52px;
  max-width: none;
  object-fit: contain;
}

.lpv2-header-menu {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
}

.lpv2-header-menu span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #2c1a0e;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.lpv2-header-menu.active span:nth-child(1) {
  transform: translateY(7px) rotate(-45deg);
}

.lpv2-header-menu.active span:nth-child(2) {
  opacity: 0;
}

.lpv2-header-menu.active span:nth-child(3) {
  transform: translateY(-7px) rotate(45deg);
}

.lpv2-mobile-nav {
  display: none;
}

.lpv2-header__right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.2vw, 29px);
  min-width: 0;
}

.lpv2-global-nav {
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 700;
  white-space: nowrap;
}

.lpv2-global-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 20px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.lpv2-global-nav__item {
  position: relative;
}

.lpv2-global-nav a {
  color: #333;
  text-decoration: none;
}

.lpv2-global-nav__child-menu {
  list-style: none;
  margin: 0;
  padding: 10px 12px;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 290px;
  border: 1px solid #e3d5be;
  border-radius: 8px;
  background: rgba(255, 251, 243, 0.98);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.13);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lpv2-global-nav__child-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lpv2-global-nav__child-menu li + li {
  border-top: 1px solid rgba(140, 102, 69, 0.2);
}

.lpv2-global-nav__child-menu a {
  display: block;
  padding: 9px 4px;
  font-size: clamp(13px, 0.9vw, 15px);
  line-height: 1.35;
}

.lpv2-header-cta-group {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.8vw, 16px);
  flex-shrink: 0;
}

.lpv2-header-phone-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  top: -2px;
  position: relative;
}

.lpv2-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
}

.lpv2-header-phone img {
  width: 24px;
  height: 24px;
  display: block;
}

.lpv2-header-phone strong {
  color: #c00;
  font-size: clamp(21px, 1.55vw, 28px);
  font-weight: 900;
  line-height: 1;
}

.lpv2-header-phone-note {
  color: #4b2b1f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.lpv2-header-phone-sub {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: #7a2b1f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.lpv2-header-phone-sub strong {
  color: #7a2b1f;
  font-size: 18px;
  font-weight: 800;
}

.lpv2-header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: clamp(118px, 9.5vw, 144px);
  height: 40px;
  padding: 0 8px 0 clamp(16px, 1.5vw, 22px);
  border: 1px solid #0f210b;
  border-radius: 5px;
  background: radial-gradient(circle at 0 0, #f4ffe0 0%, #e3ffc4 5%, #b6f281 11%, #8dc354 24%, #629835 62%, #4c8326 81%, #376d17 100%);
  color: #fffcf2;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 1px 1px 1px #000;
  text-decoration: none;
  transition: height 0.22s ease, min-width 0.22s ease, padding 0.22s ease, font-size 0.22s ease;
}

.lpv2-header-button img {
  width: 20px;
  height: 20px;
}

.lpv2-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.lpv2-header.is-scrolled .lpv2-header__inner {
  height: 56px;
  padding: 0 16px 0 12px;
}

.lpv2-header.is-scrolled .lpv2-brand img {
  width: 42px;
  height: 36px;
}

.lpv2-header.is-scrolled .lpv2-brand strong {
  font-size: clamp(21px, 1.35vw, 25.5px);
}

.lpv2-header.is-scrolled .lpv2-brand--image-only .lpv2-brand-image {
  height: 38px;
}

.lpv2-header.is-scrolled .lpv2-brand--mark-with-text .lpv2-brand-image {
  width: 44px;
  height: 44px;
}

.lpv2-header.is-scrolled .lpv2-header-button {
  height: 34px;
  min-width: clamp(108px, 8.6vw, 134px);
  font-size: clamp(13.5px, 0.88vw, 16px);
}

.lpv2-header.is-scrolled .lpv2-header-phone img {
  width: 21px;
  height: 21px;
}

.lpv2-header.is-scrolled .lpv2-header-phone strong {
  font-size: clamp(18px, 1.2vw, 23px);
}

.lpv2-header.is-scrolled .lpv2-header-phone-note {
  font-size: 10px;
}

.lpv2-header.is-scrolled .lpv2-header-phone-sub {
  gap: 4px;
  font-size: 10px;
}

.lpv2-header.is-scrolled .lpv2-header-phone-sub strong {
  font-size: 13px;
}

.lpv2-hero {
  position: relative;
  width: 100%;
  background: radial-gradient(circle at 29% 54%, rgba(212, 176, 126, 0.22) 0%, rgba(250, 241, 230, 0) 22%), var(--lpv2-bg);
}

.home .lpv2-hero,
.front-page .lpv2-hero {
  margin-top: 68px;
}

body.admin-bar.home .lpv2-hero,
body.admin-bar.front-page .lpv2-hero {
  margin-top: 68px;
}

.lpv2-hero__inner {
  width: min(1280px, calc(100vw - 48px));
  min-width: 1280px;
  margin: 0 auto;
  position: relative;
  min-height: 686px;
  padding: 21px 48px 30px;
  overflow: visible;
}

.lpv2-hero__photo {
  position: absolute;
  bottom: 0;
  right: min(-10px, calc((1280px - 100vw) / 2 - 10px));
  width: clamp(866px, calc(866px + (100vw - 1280px) * 0.17), 980px);
  aspect-ratio: 866 / 563;
  background:
    linear-gradient(180deg, rgba(250, 241, 230, 0.95) 0%, rgba(250, 241, 230, 0) 24%),
    linear-gradient(270deg, rgba(250, 241, 230, 0) 60%, rgba(250, 241, 230, 0.92) 100%),
    url("../images/lpv2/background-photo.jpg") center right / cover no-repeat;
  -webkit-mask: url("../images/lpv2/hero-mask.svg") top right / 100% 100% no-repeat;
  mask: url("../images/lpv2/hero-mask.svg") top right / 100% 100% no-repeat;
  opacity: 0.98;
}

.lpv2-hero-copy {
  position: relative;
  z-index: 2;
  width: 680px;
}

.lpv2-hero-title {
  position: relative;
  top: -16px;
  display: flex;
  align-items: baseline;
  margin: 0;
  white-space: nowrap;
  font-family: "M PLUS 2", "Noto Sans JP", sans-serif;
  color: #1a1a1a;
}

.lpv2-hero-title__prefecture {
  font-size: 58.7px;
  font-weight: 900;
  line-height: 54px;
}

.lpv2-hero-title__particle {
  font-size: 40px;
  font-weight: 900;
  line-height: 54px;
}

.lpv2-hero-title__main {
  position: relative;
  top: 15px;
  display: inline-flex;
  align-items: center;
  margin: 0 2px 0 6px;
}

.lpv2-svg-title-gold {
  fill: url(#lpv2-hero-title-gold);
  stroke: #8f1515;
  stroke-width: 11px;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-miterlimit: 2;
  paint-order: stroke fill;
}

.lpv2-svg-count-red {
  fill: url(#lpv2-hero-count-red);
  stroke: #fff7ea;
  stroke-width: 6px;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-miterlimit: 2;
  paint-order: stroke fill;
}

.lpv2-svg-estimate-red {
  fill: url(#lpv2-estimate-red);
  stroke: #fff4ae;
  stroke-width: 11px;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-miterlimit: 2;
  paint-order: stroke fill;
}

.lpv2-svg-estimate-red-strong {
  fill: url(#lpv2-estimate-red);
  stroke: #fff4ae;
  stroke-width: 13px;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-miterlimit: 2;
  paint-order: stroke fill;
}


.lpv2-hero-title__main-svg {
  width: 570px;
  height: 86px;
  display: block;
  filter: drop-shadow(0 3px 2.2px rgba(0, 0, 0, 0.22));
}

.lpv2-hero-title__ending {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.lpv2-hero-title__tail {
  font-size: 48px;
  font-weight: 900;
  line-height: 54px;
}

.lpv2-hero-ribbon {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: 584px;
  height: 38px;
  margin: 19px 0 0;
  padding: 10px 0 0 16px;
  text-indent: -2px;
  color: #fffbc6;
  font-size: 27px;
  font-weight: 700;
  line-height: 18px;
  text-shadow: 2px 2px 0.6px rgba(0, 0, 0, 0.66);
  white-space: nowrap;
}

.lpv2-hero-ribbon__break-sp {
  display: none;
}

.lpv2-hero-ribbon::before {
  content: "";
  position: absolute;
  top: -9px;
  left: -28px;
  width: 387px;
  height: 67px;
  z-index: -1;
  background: url("../images/lpv2/ribbon-left-trimmed.png") no-repeat 0 0 / 452px 67px;
  pointer-events: none;
}

.lpv2-hero-ribbon::after {
  content: "";
  position: absolute;
  top: -9px;
  right: -495px;
  width: 843px;
  height: 67px;
  z-index: -2;
  background: url("../images/lpv2/ribbon-left-trimmed.png") no-repeat -296px 0 / 1139px 67px;
  pointer-events: none;
}

.lpv2-hero-points {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 27px 0 0;
  padding: 0;
}

.lpv2-hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  margin-bottom: 18px;
  white-space: nowrap;
}

.lpv2-hero-points li img {
  width: 35px;
  height: 35px;
}

.lpv2-hero-points li span {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
}

.lpv2-hero-points__count {
  display: inline-flex;
  align-items: center;
  margin-left: -8px;
  margin-right: -12px;
}

.lpv2-hero-points__count-svg {
  width: 214px;
  height: 92px;
  display: block;
  filter: drop-shadow(2px 3px 1.2px rgba(0, 0, 0, 0.25));
}

.lpv2-estimate-card {
  position: absolute;
  top: 372px;
  left: 48px;
  width: 584px;
  padding: 87px 20px 26px;
  border: 10px solid #fbd569;
  border-radius: 6px;
  background: #fbe9cd;
  z-index: 4;
}

.lpv2-estimate-card__headline {
  position: absolute;
  top: -50px;
  left: 6px;
  width: 571px;
  height: 138px;
  pointer-events: none;
  z-index: 1;
}

.lpv2-estimate-card__headline-bg {
  position: absolute;
  top: 12px;
  left: 0;
  width: 571px;
  height: 126px;
  object-fit: cover;
  z-index: 0;
}

.lpv2-estimate-card__headline-svg {
  width: 571px;
  height: 138px;
  display: block;
  position: relative;
  z-index: 1;
  overflow: visible;
  filter: drop-shadow(0 3px 2.1px rgba(0, 0, 0, 0.22));
}

.lpv2-estimate-card__sub {
  margin: 0;
  text-align: center;
  font-size: 35px;
  font-weight: 900;
  line-height: 1.05;
}

.lpv2-estimate-card__sub span {
  color: #ae0505;
}

.lpv2-estimate-card__buttons {
  display: flex;
  justify-content: center;
  gap: 19px;
  margin-top: 9px;
}

.lpv2-service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 130px;
  padding: 14px 20px;
  border-radius: 5.6px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.lpv2-service-button img {
  width: 21px;
  height: 21px;
}

.lpv2-service-button--red { background: #c20; }
.lpv2-service-button--blue { background: #1a3a9a; }
.lpv2-service-button--green { background: #2a7a2a; }

.lpv2-area-card {
  position: absolute;
  top: 206px;
  left: 595px;
  z-index: 3;
  display: flex;
  gap: 14px;
  padding: 13px 10px;
  border-radius: 7px;
  background: #fffbf5;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.lpv2-area-card img {
  width: 44px;
  height: 42px;
  max-width: none;
  object-fit: contain;
  transform: scale(1.32);
  transform-origin: center;
}

.lpv2-area-card p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
}

.lpv2-area-map-image {
  position: absolute;
  top: 174px;
  left: 798px;
  z-index: 5;
  width: 90px;
  pointer-events: none;
}

.lpv2-area-map-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.lpv2-hero-badge {
  position: absolute;
  top: 88px;
  right: 39px;
  z-index: 3;
  width: 281px;
  height: 291px;
  padding-top: 41px;
  background: url("../images/lpv2/badge-base.png") center center / contain no-repeat;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
  text-align: center;
}

.lpv2-hero-badge__prefecture,
.lpv2-hero-badge__satisfaction,
.lpv2-hero-badge__count,
.lpv2-hero-badge__burst {
  margin: 0;
  font-family: "M PLUS 2", "Noto Sans JP", sans-serif;
  font-weight: 900;
}

.lpv2-hero-badge__prefecture {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 39px;
  line-height: 1;
}

.lpv2-hero-badge__prefecture-svg {
  width: 130px;
  height: 44px;
  display: block;
  filter: drop-shadow(2px 4px 2px rgba(0, 0, 0, 0.54));
}

.lpv2-hero-badge__satisfaction {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -22px;
  line-height: 1;
}

.lpv2-hero-badge__satisfaction-svg {
  width: 208px;
  height: 62px;
  display: block;
  filter: drop-shadow(2px 4px 2px rgba(0, 0, 0, 0.54));
}

.lpv2-hero-badge__count {
  margin-top: 18px;
  color: #7a0000;
  font-size: 24.8px;
  line-height: 30px;
}

.lpv2-hero-badge__count span {
  font-size: 38px;
}

.lpv2-hero-badge__burst {
  margin-top: 2px;
  color: #7a0000;
  font-size: 39.8px;
  line-height: 48px;
}

.lpv2-hero-human {
  position: absolute;
  right: 66px;
  bottom: 0;
  z-index: 4;
  width: 516px;
  height: 384px;
}

.lpv2-hero-human img {
  position: absolute;
  bottom: 0;
  left: -49px;
  width: 628px;
  max-width: none;
}

@media (max-width: 768px) {
  :root {
    --lpv2-sp-scale: 1;
  }

  .lpv2-header {
    overflow: hidden;
    height: 46px;
  }

  body.admin-bar .lpv2-header {
    top: 46px;
  }

  .home .content.top,
  .front-page .content.top {
    margin-top: 0;
  }

  .content {
    margin-top: 46px;
  }

  body.admin-bar .content {
    margin-top: 46px;
  }

  .lpv2-header__inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 12px;
    align-items: center;
  }

  .lpv2-brand {
    gap: 7.9px;
    min-width: 0;
    max-width: calc(100% - 56px);
  }

  .lpv2-brand img {
    width: 37.94px;
    height: 33.19px;
  }

  .lpv2-brand strong {
    font-size: clamp(13px, calc(28px - var(--site-name-length, 8) * 1.05px), 17px);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    letter-spacing: clamp(0, calc(0.03em - var(--site-name-length, 8) * 0.002em), 0.03em);
  }

  .lpv2-brand--image-only,
  .lpv2-brand--mark-with-text {
    max-width: calc(100% - 56px);
  }

  .lpv2-brand--image-only .lpv2-brand-image {
    height: 30px;
    max-width: min(100%, 200px);
  }

  .lpv2-brand--mark-with-text .lpv2-brand-image {
    width: 34px;
    height: 34px;
  }

  .lpv2-header__right {
    display: none;
  }

  .lpv2-header-menu {
    display: block;
    margin-left: auto;
    flex-shrink: 0;
  }

  .lpv2-mobile-nav {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: 46px;
    height: calc(100dvh - 46px);
    z-index: 220;
    background: rgba(42, 26, 14, 0.95);
    transform: translateX(100%);
    transition: transform 0.32s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.admin-bar .lpv2-mobile-nav {
    top: calc(var(--wp-admin-bar-offset) + 46px);
    height: calc(100dvh - var(--wp-admin-bar-offset) - 46px);
  }

  .lpv2-mobile-nav.open {
    transform: translateX(0);
  }

  .lpv2-header.is-scrolled .lpv2-mobile-nav {
    top: 38px;
    height: calc(100dvh - 38px);
  }

  body.admin-bar .lpv2-header.is-scrolled .lpv2-mobile-nav {
    top: calc(var(--wp-admin-bar-offset) + 38px);
    height: calc(100dvh - var(--wp-admin-bar-offset) - 38px);
  }

  .lpv2-mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 16px 14px 20px;
  }

  .lpv2-mobile-nav__list li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .lpv2-mobile-nav__list a {
    display: block;
    padding: 12px 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.35;
  }

  .lpv2-mobile-nav__parent {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
  }

  .lpv2-mobile-nav__chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid rgba(255, 255, 255, 0.9);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .lpv2-mobile-nav__list .has-child.is-open .lpv2-mobile-nav__chevron {
    transform: rotate(225deg);
  }

  .lpv2-mobile-nav__child-list {
    list-style: none;
    margin: 0;
    padding: 0 0 8px 26px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.28s ease, opacity 0.22s ease;
  }

  .lpv2-mobile-nav__list .has-child.is-open .lpv2-mobile-nav__child-list {
    opacity: 1;
  }

  .lpv2-mobile-nav__child-list a {
    padding: 8px 10px;
    font-size: 14px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
  }

  .lpv2-header.is-scrolled {
    height: 38px;
  }

  .lpv2-header.is-scrolled .lpv2-header__inner {
    height: 38px;
    padding: 0 9px;
  }

  .lpv2-header.is-scrolled .lpv2-brand {
    max-width: calc(100% - 52px);
  }

  .lpv2-header.is-scrolled .lpv2-brand img {
    width: 31px;
    height: 27px;
  }

  .lpv2-header.is-scrolled .lpv2-brand strong {
    font-size: clamp(11px, calc(24px - var(--site-name-length, 8) * 0.9px), 17px);
    line-height: 1.1;
  }

  .lpv2-header.is-scrolled .lpv2-brand--image-only,
  .lpv2-header.is-scrolled .lpv2-brand--mark-with-text {
    max-width: calc(100% - 52px);
  }

  .lpv2-header.is-scrolled .lpv2-brand--image-only .lpv2-brand-image {
    height: 24px;
    max-width: min(100%, 160px);
  }

  .lpv2-header.is-scrolled .lpv2-brand--mark-with-text .lpv2-brand-image {
    width: 28px;
    height: 28px;
  }

  .lpv2-hero {
    overflow: hidden;
    min-height: calc(590px * var(--lpv2-sp-scale));
  }

  .home .lpv2-hero,
  .front-page .lpv2-hero {
    margin-top: 46px;
  }

  body.admin-bar.home .lpv2-hero,
  body.admin-bar.front-page .lpv2-hero {
    margin-top: 46px;
  }

  @media (max-width: 374px) {
    .lpv2-brand {
      gap: 6px;
      max-width: calc(100% - 52px);
    }

    .lpv2-brand img {
      width: 34px;
      height: 29.75px;
    }

    .lpv2-brand strong {
      font-size: clamp(15px, calc(26px - var(--site-name-length, 8) * 0.82px), 19px);
      letter-spacing: 0;
    }

    .lpv2-brand--image-only .lpv2-brand-image {
      height: 26px;
      max-width: min(100%, 160px);
    }

    .lpv2-header.is-scrolled .lpv2-brand {
      max-width: calc(100% - 48px);
    }

    .lpv2-header.is-scrolled .lpv2-brand img {
      width: 28px;
      height: 24.4px;
    }

    .lpv2-header.is-scrolled .lpv2-brand strong {
      font-size: clamp(10px, calc(20px - var(--site-name-length, 8) * 0.75px), 14px);
    }

    .lpv2-header.is-scrolled .lpv2-brand--image-only .lpv2-brand-image {
      height: 21px;
      max-width: min(100%, 140px);
    }
  }

  .lpv2-hero__inner {
    width: 320px;
    min-width: 0;
    min-height: 590px;
    margin: 0;
    padding: 0;
    transform-origin: top left;
    transform: scale(var(--lpv2-sp-scale));
  }

  .lpv2-hero-copy {
    width: 320px;
    top: 10px;
    padding: 5px 5px 0;
    z-index: auto;
  }

  .lpv2-hero-title {
    position: static;
    top: auto;
    display: block;
    margin: 0;
    white-space: normal;
  }

  .lpv2-hero-title__prefecture,
  .lpv2-hero-title__particle {
    display: inline;
    font-size: 32.11px;
    line-height: 29.77px;
    font-weight: 900;
    vertical-align: baseline;
  }

  .lpv2-hero-title__particle {
    font-size: 21.87px;
  }

  .lpv2-hero-title__main {
    position: static;
    top: auto;
    display: block;
    margin: 0;
  }

  .lpv2-hero-title__main-svg {
    width: 307px;
    height: 46.5px;
  }

  .lpv2-hero-title__ending {
    display: block;
    margin-top: -6px;
    vertical-align: baseline;
    line-height: 29.77px;
    white-space: nowrap;
  }

  .lpv2-hero-title__particle--ending,
  .lpv2-hero-title__tail {
    display: inline;
    vertical-align: baseline;
  }

  .lpv2-hero-title__particle--ending {
    font-size: 21.87px;
    line-height: 29.77px;
    font-weight: 900;
  }

  .lpv2-hero-title__tail {
    font-size: 26.24px;
    line-height: 29.77px;
    font-weight: 900;
    white-space: nowrap;
  }

  .lpv2-hero-ribbon {
    width: 444.93px;
    height: 100px;
    margin: 10px 0 0;
    padding: 13px 0 0 17px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.34;
    letter-spacing: 0;
    white-space: normal;
    overflow: visible;
  }

  .lpv2-hero-ribbon__break-sp {
    display: block;
  }

  .lpv2-hero-ribbon::before {
    top: -4.25px;
    left: -12.84px;
    width: 180.7px;
    height: 101.45px;
    background-size: 211.7px 101.45px;
    background-position: 0 0;
  }

  .lpv2-hero-ribbon::after {
    top: -4.25px;
    left: 161.16px;
    right: auto;
    width: 295.65px;
    height: 101.45px;
    background-size: 470.8px 101.45px;
    background-position: -171.5px 0;
  }

  .lpv2-hero-points {
    position: absolute;
    top: 220px;
    left: 5px;
    z-index: 5;
    margin: 0;
    width: 314px;
  }

  .lpv2-hero-points li {
    gap: 5.78px;
    height: 24px;
    margin-bottom: 11px;
    flex-wrap: nowrap;
  }

  .lpv2-hero-points li img {
    width: 20.23px;
    height: 20.23px;
  }

  .lpv2-hero-points li span {
    font-size: 17.34px;
    line-height: 13.18px;
  }

  .lpv2-hero-points__count {
    position: relative;
    z-index: 6;
    margin-left: -4px;
    margin-right: -8px;
  }

  .lpv2-hero-points__count-svg {
    width: 111px;
    height: 47px;
  }

  .lpv2-hero__photo {
    left: -459px;
    top: 0;
    right: auto;
    bottom: auto;
    width: 866px;
    height: 570px;
    aspect-ratio: auto;
    background: url("../images/lpv2/background-photo.jpg") center right / cover no-repeat;
    -webkit-mask-image: url("../images/lpv2/hero-mask.svg");
    -webkit-mask-position: 458px 0;
    -webkit-mask-size: 320px 563px;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("../images/lpv2/hero-mask.svg");
    mask-position: 458px 0;
    mask-size: 320px 563px;
    mask-repeat: no-repeat;
    opacity: 1;
  }

  .lpv2-hero-human {
    left: -63px;
    top: 313px;
    right: auto;
    bottom: auto;
    width: 292px;
    height: 218px;
    z-index: 1;
  }

  .lpv2-hero-human img {
    left: 0;
    top: 0;
    bottom: auto;
    width: 292px;
  }

  .lpv2-hero-badge {
    top: 88px;
    right: -8.4px;
    width: 149.4px;
    height: 154.72px;
    padding-top: 24.99px;
    z-index: 3;
  }

  .lpv2-hero-badge__prefecture {
    height: 21px;
  }

  .lpv2-hero-badge__prefecture-svg {
    width: 97.3px;
    height: 32px;
  }

  .lpv2-hero-badge__satisfaction {
    margin-top: -8px;
  }

  .lpv2-hero-badge__satisfaction-svg {
    width: 110.8px;
    height: 31.37px;
  }

  .lpv2-hero-badge__prefecture-svg text,
  .lpv2-hero-badge__satisfaction-svg text {
    font-weight: 900 !important;
  }

  .lpv2-hero-badge__count {
    margin-top: 3px;
    font-size: 13.2px;
    line-height: 15.84px;
  }

  .lpv2-hero-badge__count span {
    font-size: 20.19px;
  }

  .lpv2-hero-badge__burst {
    margin-top: 2px;
    font-size: 21.16px;
    line-height: 25.39px;
  }

  .lpv2-area-card {
    top: 334px;
    left: 156px;
    width: 158px;
    margin: 0;
    z-index: 4;
    gap: 8.07px;
    padding: 7.5px 5.77px;
    border-radius: 4.04px;
    box-shadow: 0 2.31px 2.31px rgba(0, 0, 0, 0.25);
  }

  .lpv2-area-card img {
    width: 21.91px;
    height: 20.76px;
    transform: scale(1.5);
    transform-origin: center;
  }

  .lpv2-area-card p {
    font-size: 10.38px;
    font-weight: 700;
    line-height: 12.69px;
  }

  .lpv2-area-map-image {
    top: 308px;
    left: 267px;
    width: 52px;
    z-index: 5;
  }

  .lpv2-estimate-card {
    top: 467.76px;
    left: 9px;
    width: 300.82px;
    height: 111.24px;
    padding: 44.81px 10.3px 13.39px;
    border-width: 5.15px;
    border-radius: 3.09px;
  }

  .lpv2-estimate-card__headline {
    top: -25.76px;
    left: 3.09px;
    width: 294.12px;
    height: 71.08px;
    transform: none;
  }

  .lpv2-estimate-card__headline-bg {
    top: 6.18px;
    width: 294.12px;
    height: 64.9px;
    aspect-ratio: auto;
  }

  .lpv2-estimate-card__headline-svg {
    width: 294.12px;
    height: 71.08px;
    filter: drop-shadow(0 1.55px 1.08px rgba(0, 0, 0, 0.22));
  }

  .lpv2-estimate-card__sub {
    font-size: 18.03px;
    line-height: 1.15;
  }

  .lpv2-estimate-card__buttons {
    gap: 9.79px;
    margin-top: 4.64px;
    flex-wrap: nowrap;
  }

  .lpv2-service-button {
    min-width: 85.73px;
    padding: 7.2px 10.3px;
    border-radius: 2.88px;
    font-size: 12.36px;
  }

  .lpv2-service-button img {
    width: 10.8px;
    height: 10.8px;
  }
}

@media  (max-width: 768px) {
  :root {
    --lpv2-sp-scale: calc(100vw / 320px);
  }
}

.lpv2-fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  transform: translateY(112%);
  transition: transform 0.28s ease;
}

.lpv2-fixed-cta.active {
  transform: translateY(0);
}

.lpv2-cta-bar {
  width: 100%;
  background: rgba(250, 241, 230, 0.88);
  border-top: 1px solid #d4c4a0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

.lpv2-cta-bar__inner {
  width: min(1280px, calc(100vw - 48px));
  min-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 55px;
  height: 88px;
  padding: 0 40px;
}

.lpv2-cta-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 62px;
  border: 1px solid;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.19);
  text-decoration: none;
}

.lpv2-cta-box--phone {
  width: 560px;
  border-color: #351204;
  background: radial-gradient(circle at top left, #ffe9e0 0%, #ffd8c4 1.2%, #f8baa3 3%, #f29b81 5.5%, #eb7d5c 8.5%, #e55f36 12.5%, #e34e23 22%, #e03d10 44%, #cc2c08 64%, #b71b00 84%);
  color: #fff;
}

.lpv2-cta-box--web {
  width: 480px;
  border-color: #0f210b;
  background: radial-gradient(circle at top left, #f4ffe0 0%, #e3ffc4 1.2%, #b6f281 3.5%, #8dc354 8.5%, #629835 28%, #4c8326 58%, #376d17 84%);
  color: #fff;
}

.lpv2-cta-box img {
  width: 34px;
  height: 34px;
}

.lpv2-cta-box__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.lpv2-cta-box__copy span {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.lpv2-cta-box__copy small {
  color: #ffe0b0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.lpv2-cta-box strong {
  color: #fff;
  font-size: 33px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 1px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.lpv2-cta-box__number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.lpv2-cta-box--phone-dual {
  cursor: default;
}

.lpv2-cta-box__number--dual {
  align-items: flex-end;
  gap: 0;
}

.lpv2-cta-inline-link {
  color: inherit;
  text-decoration: none;
}

.lpv2-cta-inline-link strong {
  display: block;
}

.lpv2-cta-box__number--dual .lpv2-cta-inline-link strong {
  font-size: 26px;
}

.lpv2-cta-inline-link--secondary {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.lpv2-cta-inline-link--secondary span {
  color: #ffe8d0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.lpv2-cta-box__number--dual .lpv2-cta-inline-link--secondary strong {
  font-size: 16px;
}

.lpv2-cta-box__note {
  margin: 0;
  color: #ffe8d0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.lpv2-cta-box--web strong {
  font-size: 24px;
}

@media (min-width: 769px) and (max-width: 1279px) {
  :root {
    --lpv2-md-scale: calc(100vw / 1280px);
  }

  .lpv2-hero {
    position: relative;
    overflow: hidden;
    height: calc(686px * var(--lpv2-md-scale));
    min-height: calc(686px * var(--lpv2-md-scale));
  }

  .lpv2-hero__inner {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1280px;
    min-width: 1280px;
    margin: 0;
    transform-origin: top center;
    transform: translateX(-50%) scale(var(--lpv2-md-scale));
    will-change: transform;
  }

  .lpv2-hero__photo {
    right: -10px;
    width: 866px;
  }

  .lpv2-cta-bar__inner {
    width: calc(100% - 24px);
    max-width: 100%;
    min-width: 0;
    gap: clamp(10px, 1.2vw, 22px);
    height: 78px;
    padding: 0 clamp(8px, 1.2vw, 18px);
  }

  .lpv2-cta-box {
    min-width: 0;
    height: 56px;
    gap: clamp(6px, 0.9vw, 11px);
    padding: 0 clamp(8px, 1vw, 14px);
  }

  .lpv2-cta-box--phone {
    width: auto;
    flex: 56 1 0;
  }

  .lpv2-cta-box--web {
    width: auto;
    flex: 48 1 0;
  }

  .lpv2-cta-box img {
    width: clamp(22px, 2.2vw, 30px);
    height: clamp(22px, 2.2vw, 30px);
  }

  .lpv2-cta-box__copy span {
    font-size: clamp(12px, 1.18vw, 15px);
  }

  .lpv2-cta-box__copy small {
    font-size: clamp(9px, 0.86vw, 11px);
  }

  .lpv2-cta-box strong {
    font-size: clamp(22px, 2.25vw, 30px);
  }

  .lpv2-cta-box__number--dual .lpv2-cta-inline-link strong {
    font-size: clamp(20px, 2vw, 24px);
  }

  .lpv2-cta-inline-link--secondary span {
    font-size: clamp(9px, 0.85vw, 11px);
  }

  .lpv2-cta-box__number--dual .lpv2-cta-inline-link--secondary strong {
    font-size: clamp(13px, 1.3vw, 16px);
  }

  .lpv2-cta-box--web strong {
    font-size: clamp(16px, 1.6vw, 21px);
  }
}

@media (max-width: 768px) {
  .lpv2-fixed-cta {
    transform: translateY(120%);
  }

  .lpv2-cta-bar__inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    height: auto;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    flex-direction: column;
    gap: 7px;
  }

  .lpv2-cta-box,
  .lpv2-cta-box--phone,
  .lpv2-cta-box--web {
    width: 100%;
    max-width: 460px;
    height: 48px;
    margin-left: auto;
    margin-right: auto;
  }

  .lpv2-cta-box {
    gap: 6.2px;
    min-height: 48px;
    padding: 0 14.45px;
    border-radius: 3.1px;
  }

  .lpv2-cta-box img {
    width: 18px;
    height: 18px;
  }

  .lpv2-cta-box__copy span {
    font-size: 12.89px;
    line-height: 11.15px;
  }

  .lpv2-cta-box__copy small {
    font-size: 8.73px;
    line-height: 9.81px;
  }

  .lpv2-cta-box strong {
    font-size: 16.52px;
    line-height: 13.63px;
  }

  .lpv2-header-phone-sub {
    font-size: 10px;
  }

  .lpv2-header-phone-sub strong {
    font-size: 13px;
  }

  .lpv2-cta-box__number {
    gap: 0;
  }

  .lpv2-cta-box__number--dual {
    gap: 0;
  }

  .lpv2-cta-box__number--dual .lpv2-cta-inline-link strong {
    font-size: 14px;
    line-height: 1;
  }

  .lpv2-cta-box__note {
    font-size: 8.3px;
    line-height: 1;
  }

  .lpv2-cta-inline-link--secondary {
    gap: 4px;
  }

  .lpv2-cta-inline-link--secondary span {
    font-size: 8px;
    line-height: 1;
  }

  .lpv2-cta-box__number--dual .lpv2-cta-inline-link--secondary strong {
    font-size: 11px;
    line-height: 1;
  }

  .lpv2-cta-box--web strong {
    font-size: 13.42px;
    line-height: 11.15px;
  }
}
