body {
  font-size: 1.1rem;
}

@media (min-width:1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1000px
  }
}

div.container {
  padding: 0;
}

img.main-image {
  width: 100%;
}

div.jumbotron {
  position: relative;
  background: #0066bb;
  border-radius: 0;
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
}

h1 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  font-feature-settings: "palt";
}

div.arrow {
  background: #0066bb;
  width: 3.5rem;
  height: 1.5rem;
  margin: 0 auto;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

@media (min-width:576px) {
  h1 {
    font-size: 2.5rem;
  }
}

@media (min-width:768px) {
  h1 {
    font-size: 3rem;
  }
}

@media (min-width:992px) {
  h1 br {
    display: none;
  }
}

div.introduction {
  margin: 2rem 1rem;
}

div.introduction :last-child {
  color: #dc3545;
}

h2 {
  margin: 2rem 1rem 1rem 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #66cc99;
  color: #ffffff;
  font-size: 1.8rem;
}

@media (max-width:575px) {
  h2 {
    font-feature-settings: "palt";
  }
}

h2.confirm, h2.thanks {
  border-radius: 1.9rem;
  background: #ffe066;
  color: #333333;
  text-align: center;
}

div.thanks-message {
  margin: 1rem;
  line-height: 2rem;
}

div.form-group {
  border-bottom: 1px solid #cccccc;
  margin: 1rem;
  padding: 0 0 1rem 0;
}

.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-9 {
  padding: 0;
}

@media (max-width:575px) {
  .col-sm-5 {
    padding-top: 0.5rem;
  }
}

@media (min-width:576px) {
  .col-sm-3 {
    padding-right: 1rem;
  }

  .col-sm-5 {
    padding-left: 0.5rem;
  }
}

label.col-form-label {
  margin-bottom: 0.5rem;
  color: #0066bb;
  font-size: 1.3rem;
  font-weight: bold;
}

@media (max-width:575px) {
  label.col-form-label::before {
    content: '▼ ';
  }
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: 0.5rem;
}

input.form-control:nth-of-type(n+2) {
  margin-top: 1rem;
}

#time_weekday select {
  margin-top: 0;
}

#time_holiday select {
  margin-top: 1rem;
}

#area_city,
#area_town,
#area_direction,
#budget_building,
#budget_land,
#age,
#family {
  display: inline;
  width: 50%;
}

#time_weekday_start,
#time_weekday_end,
#time_holiday_start,
#time_holiday_end {
  display: inline;
  width: 30%;
}

#privacy_policy {
  background: #ffffff;
  border: 1px solid #999999;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 1rem;
  height: 15rem;
  color: #333333;
  overflow: auto;
}

#privacy_policy h3 {
  font-size: 1.4rem;
}

#privacy_policy h4 {
  font-size: 1.2rem;
}

#privacy_policy p {
  font-size: 1rem;
}

#privacy_policy li {
  font-size: 1rem;
}

div.form-check.privacy {
  background: #fff3cd;
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: 1.4rem;
  text-align: center;
}

div.form-check.privacy input[type="checkbox"] {
  width: 1.4rem;
  height: 1.4rem;
}

div.form-check.privacy p {
  margin: 0;
  color: #dc3545;
  font-size: 1.3rem;
}

div.remarks {
  margin: 2rem 1rem 1rem 1rem;
}

div.remarks h3 {
  background: #66ccee;
  border-radius: 0.2rem;
  padding: 0.2rem;
  color: #ffffff;
  font-size: 1.3rem;
  text-align: center;
}

div.remarks ul {
  padding: 0 0 0 1.3rem;
}

div.remarks li {
  font-size: 1rem;
}

div.btn-group {
  display: block;
  margin: 3rem auto;
  text-align: center;
}

div.btn-group input[type="submit"] {
  border-radius: 0.5rem;
  padding: 1rem 3rem;
  font-size: 1.5rem;
  font-weight: 600;
}

p.text-right {
  margin-top: 2rem;
  margin-right: 1rem;
  font-size: 0.7rem;
}

div.footer {
  background-color: #0066bb;
  padding: 1.5rem 1rem;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  vertical-align: middle;
}

div.footer > :nth-child(1) {
  margin: 0;
  font-size: 1rem;
}

div.footer > :nth-child(2) {
  margin: 0;
  font-size: 1.5rem;
  font-feature-settings: "palt";
}

div.footer > :nth-child(2) > span {
  font-size: 2.6rem;
}

div.footer > :nth-child(3) > :nth-child(1) {
  display: inline-block;
  border: 1px solid #ffffff;
  border-radius: 0.3rem;
  margin: 0.5rem 0;
  padding: 0.5rem;
  font-size: 0.75rem;
  font-feature-settings: "palt";
}

div.footer > :nth-child(3) > :nth-child(2) {
  margin: 0.5rem 0;
  padding: 0;
  font-size: 1.1rem;
}

div.footer > :nth-child(3) > :nth-child(2) > span {
  padding: 0;
  font-size: 1.9rem;
}

@media (min-width:576px) {
  div.footer > :nth-child(1) {
    font-size: 1.6rem;
  }

  div.footer > :nth-child(2) {
    font-size: 2.4rem;
  }

  div.footer > :nth-child(2) > span {
    font-size: 4rem;
  }

  div.footer > :nth-child(3) > :nth-child(1) {
    border-radius: 0.5rem;
    margin: 0.75rem 0;
    padding: 0.75rem;
    font-size: 1.15rem;
  }

  div.footer > :nth-child(3) > :nth-child(2) {
    margin: 0.75rem 0;
    padding: 0;
    font-size: 1.7rem;
  }

  div.footer > :nth-child(3) > :nth-child(2) > span {
    padding: 0;
    font-size: 3rem;
  }
}

@media (min-width:992px) {
  div.footer > :nth-child(1) {
    margin: 0;
    font-size: 1.8rem;
  }

  div.footer > :nth-child(1) br {
    display: none;
  }

  div.footer > :nth-child(2) {
    position: relative;
    top: -0.3rem;
    margin: 0;
    font-size: 4rem;
    font-feature-settings: "palt";
  }

  div.footer > :nth-child(2) > span {
    font-size: 6.5rem;
  }

  div.footer > :nth-child(3) {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  div.footer > :nth-child(3) > :nth-child(1) {
    position: relative;
    top: -0.2rem;
    border: 1px solid #ffffff;
    border-radius: 0.3rem;
    margin: 0;
    padding: 0.5rem 1.5rem;
    font-size: 1.1rem;
    font-feature-settings: "palt";
  }

  div.footer > :nth-child(3) > :nth-child(2) {
    margin: 0;
    padding: 0 0 0 1.5rem;
    font-size: 1.1rem;
  }

  div.footer > :nth-child(3) > :nth-child(2) > span {
    padding: 0;
    font-size: 2rem;
  }
}

p.copyright {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: normal;
}