@charset "UTF-8";

:root {
  --navy: #07172a;
  --gold: #d6b568;
  --cream: #fffbf2;
  --green: #06a94e;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #dce0e3;
  color: var(--navy);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

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

h1,
h2,
p {
  margin: 0;
}

.page {
  width: min(100%, 760px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 0 42px rgb(7 23 42 / 12%);
}

main,
section {
  width: 100%;
  max-width: 100%;
}

.campaign-header,
.image-panel {
  margin: 0;
  padding: 0;
  background: var(--navy);
  line-height: 0;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.image-cta,
.entry {
  padding: 24px clamp(18px, 7vw, 60px) 26px;
  text-align: center;
}

.image-cta {
  background: var(--cream);
}

.entry {
  background: var(--navy);
  border-top: 3px solid var(--gold);
}

.image-cta-label,
.entry h2 {
  margin: 0 0 14px;
  font-family: inherit;
  font-size: clamp(14px, 3.9vw, 17px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0;
}

.entry h2 {
  color: var(--cream);
}

.line-button {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 520px);
  min-height: 64px;
  margin: 0 auto;
  padding: 14px 58px;
  border: 1px solid #039d43;
  border-bottom: 4px solid #038339;
  border-radius: 10px;
  background: linear-gradient(110deg, #0db95b, var(--green));
  box-shadow: 0 7px 18px rgb(5 109 40 / 15%);
  color: #fff;
  font-size: clamp(15px, 4vw, 19px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.line-button:hover {
  filter: brightness(1.04);
}

.line-bubble {
  position: absolute;
  left: 20px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 25px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--green);
  font: 800 9px/1 Arial, sans-serif;
  letter-spacing: -0.3px;
}

.line-bubble::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 8px;
  border-top: 7px solid #fff;
  border-right: 7px solid transparent;
  transform: rotate(-10deg);
}

.line-label {
  display: block;
  width: 100%;
  white-space: nowrap;
  text-align: center;
}

@media (min-width: 900px) {
  body {
    padding: 24px 0;
    background-image: radial-gradient(rgb(7 23 42 / 12%) 0.7px, transparent 0.7px);
    background-size: 6px 6px;
  }

  .page {
    border-radius: 10px;
  }
}

@media (max-width: 420px) {
  .image-cta,
  .entry {
    padding: 20px 16px 22px;
  }

  .image-cta-label,
  .entry h2 {
    margin-bottom: 12px;
  }

  .line-button {
    min-height: 60px;
    padding: 13px 48px;
  }

  .line-bubble {
    left: 15px;
    width: 31px;
    height: 23px;
    font-size: 8px;
  }
}

@media (max-width: 320px) {
  .line-button {
    padding-inline: 43px;
    font-size: 14px;
  }

  .line-bubble {
    left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
