@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  overflow-x: clip;
}

.layout-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  overflow-x: clip;
}

.layout-main {
  flex: 1;
  min-width: 0;
}

body.has-fixed-cta {
  padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}

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

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

.top-banner {
  background-color: #f8f8f8;
  border-bottom: 1px solid #e5e5e5;
  padding: 8px 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  letter-spacing: 0.5px;
}

.top-banner__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

.animate-scale-shrink-draw {
  animation: scaleShrinkDrew 2.5s ease-in-out infinite;
}

@keyframes scaleShrinkDrew {
  0% { transform: scale(1); }
  50% { transform: scale(0.97); }
  100% { transform: scale(1); }
}

.button8 {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button8:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.rich-text-content p,
.rich-text-content div {
  margin-bottom: 1rem;
}

.rich-text-content img {
  border-radius: 12px;
  margin: 20px 0;
}

.sticky-sidebar {
  position: sticky;
  top: 30px;
  align-self: start;
  width: 280px;
  flex-shrink: 0;
  max-width: 100%;
  min-width: 0;
}

.guarantee-section {
  margin: 2rem 0;
}

.guarantee-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #f3f3f3;
  border-radius: 24px;
  padding: 2rem;
  gap: 2rem;
  min-width: 0;
  overflow-x: clip;
}

.guarantee-block__media {
  flex: 1;
  min-width: 0;
}

.guarantee-block__content {
  flex: 2;
  min-width: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.guarantee-block__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.recommended-card {
  border: 1px solid #ababab;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.recommended-card__head {
  text-align: center;
  min-width: 0;
}

.recommended-card__head h3 {
  font-weight: 800;
}

.recommended-card__meta {
  color: #8a8a8a;
}

.recommended-card__title {
  color: #6e9f6d;
  font-weight: 700;
  font-size: 1.3rem;
}

.recommended-card__feature {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-width: 0;
}

.recommended-card__feature img {
  width: 24px;
  height: auto;
  flex-shrink: 0;
}

.recommended-card__image {
  border-radius: 12px;
  margin: 0.5rem 0;
}

.recommended-card__cta {
  background: #6e9f6d;
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  box-sizing: border-box;
  max-width: 100%;
}

.font-bold {
  font-weight: 700;
}

.wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.legal-content {
  word-break: break-word;
}

.legal-content h1 {
  margin-bottom: 1.5rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.site-footer {
  background: #f5f5f5;
  margin-top: 3rem;
  padding: 2rem 1rem;
  text-align: center;
  color: #000;
}

.fixed-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  background: #fff;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
  text-align: center;
  overflow-x: clip;
}

.fixed-cta-bar__link {
  display: inline-block;
  margin: 0 auto;
  background: #6e9f6d;
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 40px;
  max-width: 400px;
  box-sizing: border-box;
}

.site-footer__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.site-footer__nav {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.site-footer__nav a {
  color: #555;
  font-size: 0.9rem;
  text-decoration: underline;
}

.site-footer__nav a:hover {
  color: #000;
}

@media (max-width: 1024px) {
  .sticky-sidebar {
    position: relative;
    top: 0;
    margin-top: 2rem;
    padding-left: 0;
    width: 100%;
    flex-shrink: 1;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .fixed-cta-bar__link {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
  }
}

@media (max-width: 640px) {
  .guarantee-block__title,
  .guarantee-block__content,
  .guarantee-block__content p,
  .recommended-card,
  .recommended-card__head,
  .recommended-card__feature,
  .recommended-card__title,
  .fixed-cta-bar__link {
    word-break: break-all;
  }

  .guarantee-block__title {
    font-size: 1.35rem;
  }
}

@media (max-width: 480px) {
  .page-main {
    padding: 0 12px;
  }

  .guarantee-block {
    padding: 1rem;
    gap: 1rem;
  }

  .guarantee-block__title {
    font-size: 1.15rem;
  }

  .recommended-card {
    padding: 1rem;
  }

  .recommended-card__title {
    font-size: 1.1rem;
  }

  .fixed-cta-bar {
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .fixed-cta-bar__link {
    font-size: 0.95rem;
    padding: 11px 12px;
  }
}
