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

.luois-hero {
  position: relative;
  overflow: hidden;
  color: #252e22;
  background: linear-gradient(
    135deg,
    #fff8d9 0%,
    #f8f9fa 48%,
    #deebd3 100%
  );
}

.luois-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(
    #566640 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  pointer-events: none;
}

.luois-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(35px, 5vw, 70px);
  min-height: 680px;
  padding-top: 65px;
  padding-bottom: 85px;
}

.luois-hero__message,
.luois-hero__visual {
  min-width: 0;
}

.luois-hero__kicker {
  margin: 0 0 15px;
  color: #566640;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.luois-hero__title {
  margin: 0;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.luois-hero__title em {
  position: relative;
  z-index: 1;
  color: #fff;
  font-style: normal;
  white-space: nowrap;
}

.luois-hero__title em::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5% -5% -2%;
  border-radius: 50%;
  background: #f28b4b;
  transform: rotate(-2deg);
}

.luois-hero__title small {
  display: block;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.luois-hero__copy {
  max-width: 560px;
  margin: 18px 0 0;
  color: #65705f;
  font-size: 15px;
  line-height: 1.9;
}

.luois-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
  padding: 13px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.luois-hero__points li {
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
}

.luois-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.luois-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  border: 1px solid #566640;
  border-radius: 999px;
  color: #fff;
  background: #566640;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.luois-hero__button--ghost {
  color: #566640;
  background: transparent;
}

.luois-hero__visual {
  position: relative;
  width: 100%;
  margin: 0;
}

.luois-hero__visual > a {
  display: block;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 25px 65px rgba(38, 50, 31, 0.22);
}

.luois-hero__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.luois-hero__badge {
  position: absolute;
  z-index: 2;
  left: -22px;
  bottom: -34px;
  display: grid;
  place-content: center;
  width: 120px;
  aspect-ratio: 1;
  color: #fff;
  text-align: center;
  background: #566640;
  clip-path: polygon(
    50% 0,
    60% 18%,
    77% 6%,
    79% 27%,
    100% 25%,
    86% 43%,
    100% 56%,
    79% 62%,
    82% 84%,
    62% 76%,
    50% 100%,
    39% 77%,
    18% 88%,
    21% 64%,
    0 56%,
    16% 42%,
    2% 25%,
    24% 26%,
    24% 5%,
    41% 18%
  );
  transform: rotate(-7deg);
}

.luois-hero__badge b,
.luois-hero__badge span {
  display: block;
}

.luois-hero__badge b {
  font-size: 18px;
  line-height: 1.2;
}

.luois-hero__badge span {
  font-size: 10px;
}

.luois-hero__visual figcaption {
  position: absolute;
  right: 10px;
  bottom: -18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #566640;
  background: #fff;
  box-shadow: 0 8px 24px rgba(38, 50, 31, 0.12);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.luois-trust {
  background: rgba(232, 236, 229, 0.75);
}

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

.luois-trust__inner div {
  padding: 22px 8px;
  text-align: center;
  font-size: 13px;
}

/* タブレット */
@media (max-width: 1200px) {
  .luois-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .luois-hero__message {
    max-width: 760px;
  }

  .luois-hero__visual {
    width: min(850px, 100%);
    margin: 15px auto 0;
  }
}

/* スマートフォン */
@media (max-width: 576px) {
  .luois-hero__inner {
    gap: 28px;
    padding-top: 40px;
    padding-bottom: 72px;
  }

  .luois-hero__title {
    font-size: clamp(40px, 13vw, 56px);
  }

  .luois-hero__title small,
  .luois-hero__copy {
    font-size: 13px;
  }

  .luois-hero__actions {
    flex-direction: column;
  }

  .luois-hero__button {
    width: 100%;
  }

  .luois-hero__visual > a {
    border-width: 5px;
    border-radius: 20px;
  }

  .luois-hero__badge {
    left: -8px;
    bottom: -40px;
    width: 92px;
  }

  .luois-hero__badge b {
    font-size: 15px;
  }

  .luois-trust__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ヒーロー画像の傾き：最終上書き */
section.luois-hero figure.luois-hero__visual > a {
    display: block !important;
    transform: rotate(-4deg) !important;
    transform-origin: center center !important;
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease !important;
}

section.luois-hero figure.luois-hero__visual:hover > a {
    transform: rotate(0deg) scale(1.02) !important;
}

@media (max-width: 767px) {
    section.luois-hero figure.luois-hero__visual > a {
        transform: rotate(-1.5deg) !important;
    }

    section.luois-hero figure.luois-hero__visual:hover > a {
        transform: rotate(-1.5deg) !important;
    }
}