@charset "UTF-8";

body {
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: 28px;
  text-align: center;
  line-height: 1.5;

  +p {
    color: #FF6043;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
  }
}

main {
  padding: 60px 32px;
  background: var(--background-blue);
  flex: 1;
}

.main-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  padding: 0;
  max-width: 1024px;
  margin: 0 auto;
}

.plans {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
  flex: 1 0 0;
  width: 100%;
  align-self: stretch;
  border-radius: 16px;
  box-sizing: border-box;
}

.white-cnt {
  display: flex;
  width: 500px;
  padding: 32px;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  background: var(--white, #FFF);
  box-sizing: border-box;
  border-radius: 16px;
  box-shadow: 0px 0px 32px 0px rgba(0, 148, 255, 0.15);
  border: #fff 3px solid;
}

.white-cnt h3 {
  font-size: 28px;
  line-height: 1.5;
  text-align: center;
  color: #333;
}

.white-cnt .button {
  width: 100%;
  padding: 12px 40px;
  max-width: 200px;
  min-width: auto;
  position: relative;
  border-radius: 200px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  color: var(--white);
  background: var(--primary);
  border: 2px solid var(--primary);
  line-height: 1;
  transition: .3s;
}

.white-cnt .button::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 16px;
  margin: auto;
  font-size: 1.6em;
  font-weight: normal;
  height: fit-content;
  transition: .3s;
  color: var(--white);
  content: "\f105";
  font-family: "FontAwesome";
}

@media (hover :hover) {
  .white-cnt {
    &:hover, &:focus {
      background: #F8FCFF;
      border: var(--primary) 3px solid;
      border-radius: 16px;

      .button, .tertiary-button {
        opacity: .5;
      }
    }
  }
}

@media screen and (max-width:767px) {
  h1 {
    font-size: 24px;

    +p {
      font-size: 16px;
    }
  }

  main {
    padding: 40px 24px;
  }

  .main-wrap {
    gap: 24px;
  }

  .plans {
    margin: auto;
    flex-direction: column;
    gap: 24px;
    max-width: 480px;
  }

  .white-cnt {
    width: 100%;
    padding: 24px;
    gap: 24px;
    border-radius: 8px;
    position: relative;
    justify-content: center;
    align-items: start;
  }

  .white-cnt::after {
    content: "\f105";
    font-family: "FontAwesome";
    position: absolute;
    right: 24px;
    font-size: 28px;
    color: #0088EB;
    font-weight: bold;
  }

  .white-cnt h3 {
    font-size: 20px;
    text-align: left;
    color: var(--primary);
  }

  .white-cnt .button {
    display: none;
  }
}


/* header, footer 一部非表示
-------------------------------------*/
#footer-navs,
footer .border,
.skip-link,
#footer-navs-sp {
  display: none !important;
}

#footer {
  padding-bottom: 0 !important;
  background: var(--background-blue) !important;
}
