/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: #5a5a5a;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 50vh;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

/* Author: Hina Okazaki */
/* nav var */
.navbar-collapse {
  flex-grow: unset;
}
/* Home page Section01 */
.section01-img {
  width: 300px;
  height: 260px;
  border-radius: 5%;
}

.fw-normal {
  margin: 5%;
}

.btn-secondary {
  background-color: #3C8668;
  border-color: #3C8668;
  margin: 20% 0 0 0;
}

.home-video {
  max-width: 100%;
  min-height: 315px;
}

.carousel-item-secondary {
  height: 50vh;
}

/* about page */
.ap-section01 {
  margin-top: 5rem;
}

.sub-header {
  position: relative;
  text-align: center;
  color: #fdfdfd;
}

.sub-header-img{
  height: auto;
}

.p-header-h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* products page */
.p-hero-image {
  background-image: url("images/p-header.jpg"); 
  background-size: cover;
  width: 100%;
  height: 50vh;
}

.p-header-h1 {
  font-size: 4em;
}

.p-section-title {
  font-size: 40px;
  text-align: center;
  margin: 5% 0; 
}

.p-products {
  text-align: left;
  max-width: 300px;
}

.p-price {
  font-size: 20px;
}

.hr01 {
  height: 2px;
  background-color:#555;
  margin: 10% 0 5% 0;
  width: 100%;
}

.section03 {
  display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    flex-direction: row;
}

.form {
  margin: 5%;
  min-width: 50%;
}

.form-opinion {
  height: 100px;
}

/* contact us page */
.cp-section03 {
  margin-bottom: 10%;
}

.cp-title {
  text-align: center;
  margin: 10% 0 5% 0;
  font-size: 2.5em;
}

.form-group {
  margin-bottom: 2%;
}