/* ---------- RESET & BASE ---------- */

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
  font-family:'Noto Sans JP',sans-serif;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: "toppan-bunkyu-midashi-go-std", sans-serif;
  font-weight: 900;
  font-style: italic;
  margin:0;
}

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

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

article {
  margin: 0;
}

main {
  padding-top: 115px;
  padding-bottom: 5rem;
  background: #a7beaf;
}

.wrap {
  width: 80%;
  margin:0 auto;
}

/* ---------- CTA BUTTON ---------- */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-family: "toppan-bunkyu-midashi-go-std", sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 25px;
  padding: 1rem;
  border-radius: 100px;
  width: 80%;
  height: auto;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cta:hover {
  background: #000;
  color: #ffeb3b;
  transform: translateY(-4px);
  box-shadow: 0 0 0 4px #ffeb3b;
}

.cta-row {
  display: flex;
  justify-content: center;
  padding: 3rem 0;
}

@media (max-width:767px) {
  .wrap {
    margin: 0 auto;
  }

  main .wrap {
    display: flex;
    flex-direction: column;
    width: 90%;
  }

  .cta {
    width: 90%;
    height: auto;
    font-size: 20px;
  }

  footer #foot_nav ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================================
   TABLET (768px〜1024px)
   ========================================================== */

@media (min-width:768px) and (max-width:1024px) {
  .wrap {
    width: 90%;
  }

  .cta {
    font-size: 20px;
    padding: 0.9rem 3rem;
    width: 90%;
  }
}