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

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
}

/* header-nav */
header {
  width: 100%;
}
header ul {
  list-style-type: none;
  overflow: hidden;
}
header ul li {
  text-align: center;
}
header ul li a {
  display: block;
  padding: 16px;
  text-decoration: none;
}
header .logo {
  float: left;
  display: block;
  padding: 8px 16px;
}
header .logo img {
  width: 100px;
}
header .menu {
  clear: both;
  max-height: 0;
  transition: max-height 0.4s ease-out;
}
header .menu-btn {
  display: none;
}
header .menu-btn:checked ~ .menu {
  max-height: 280px;
}
header .menu-btn:checked ~ .menu-icon .nav-icon {
  background: transparent;
}
header .menu-btn:checked ~ .menu-icon .nav-icon:before {
  transform: rotate(-45deg);
  top: 0;
}
header .menu-btn:checked ~ .menu-icon .nav-icon:after {
  transform: rotate(45deg);
  top: 0;
}
header .menu-icon {
  cursor: pointer;
  float: right;
  padding: 36px 36px;
  position: relative;
  user-select: none;
}
header .menu-icon .nav-icon {
  background: #333;
  display: block;
  height: 4px;
  position: relative;
  transition: background 0.4s ease-out;
  width: 32px;
}
header .menu-icon .nav-icon:before, header .menu-icon .nav-icon:after {
  background: #333;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.4s ease-out;
  width: 100%;
}
header .menu-icon .nav-icon:before {
  top: 8px;
}
header .menu-icon .nav-icon:after {
  top: -8px;
}

/* main content */
.card {
  width: 80vw;
  margin: 0 auto;
}
.card .card-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.story-card {
  width: 90vw;
  margin: 0 auto;
}
.story-card .story-images {
  display: grid;
  grid-template-rows: 1fr;
  justify-content: center;
  align-items: center;
  grid-gap: 8px;
}
.story-card .story-images img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.story-card .content h1 {
  text-align: center;
  font-size: 18px;
  margin: 16px 0;
}

.service {
  width: 90vw;
  margin: 0 auto;
}
.service .service-content h1 {
  text-align: center;
  font-size: 32px;
  margin: 16px 0;
}
.service .service-images {
  display: grid;
  grid-template-rows: 1fr;
  justify-content: center;
  align-items: start;
  grid-gap: 8px;
}
.service .service-images .service-item {
  margin-bottom: 16px;
}
.service .service-images .service-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.service .service-images .service-item h3 {
  margin: 16px 0;
  text-align: center;
  font-size: 24px;
}
.service .service-images .service-item p {
  text-align: center;
}

.contact {
  width: 90vw;
  margin: 0 auto;
  display: grid;
  grid-template-rows: 1fr;
  justify-content: center;
}
.contact .contact-map {
  display: none;
}
.contact .contact-entry .contact-form span {
  color: red;
}
.contact .contact-entry .contact-form input[type=text], .contact .contact-entry .contact-form input[type=email], .contact .contact-entry .contact-form textarea {
  width: 100%;
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}
.contact .contact-entry .contact-form input[type=submit] {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.contact .contact-entry .contact-form textarea {
  width: 100%;
  height: 200px;
  font-size: 16px;
}

/* footer */
.footer-container {
  padding: 16px;
  display: grid;
  width: 100%;
  grid-template-areas: "name" "address" "contact" "copyright";
  align-items: center;
}
.footer-container .name {
  grid-area: name;
}
.footer-container .address {
  grid-area: address;
}
.footer-container .phone-email {
  grid-area: contact;
}
.footer-container .copyright {
  grid-area: copyright;
}
.footer-container .name, .footer-container .address, .footer-container .phone-email, .footer-container .copyright {
  text-align: center;
}
.footer-container .address, .footer-container .phone-email {
  line-height: 1.25;
}

@media only screen and (min-width: 768px) {
  /* header-nav */
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  header li {
    float: left;
  }
  header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  header .menu-icon {
    display: none;
  }

  /* content */
  .story-card .story-images {
    grid-template-columns: repeat(3, 1fr);
  }
  .story-card .story-images img {
    height: 250px;
  }
  .story-card .content h1 {
    font-size: 32px;
  }

  .service .service-content h1 {
    font-size: 32px;
  }
  .service .service-images {
    grid-template-columns: repeat(3, 1fr);
  }
  .service .service-images .service-item h3 {
    font-size: 24px;
  }
  .contact {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 16px;
    justify-content: center;
  }
  .contact .contact-map {
    display: block;
    padding: 16px;
    width: 100%;
  }
  .contact .contact-map #mapContainer {
    height: 500px;
    width: 100%;
  }
  .contact .contact-entry {
    width: 100%;
  }
  /* footer */
  .footer-container {
    grid-template-areas: "name name name address contact" "copyright copyright copyright copyright copyright ";
  }
  .footer-container .name h2 {
    text-align: left;
  }
}

/*# sourceMappingURL=main.css.map */
