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

/* Declare heights because of positioning of img element */

.carousel-item {
    height: 33rem;
    width: 100%;
    margin-top: 0px;
 padding-top: calc(300 / 1000 * 100%);
   font-family: 'object-fit: cover; object-position: 0% 50%;';/* ie edgeのバグに対処するためにこの一行を追記 */
}


.carousel-item > img {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 32rem;
    /*四角形を傾けます*/
    transform-origin: top left;
    object-fit: cover;
}

@media screen and (max-width:600px) {
    .carousel-item {
     height: 30rem;
    width: 100%;
    margin-top: 20px;
}
.carousel-item > img {
    position: absolute;
    top: -20px;
    left: 0;
    height: 100%;
    height: 29rem;
    /*四角形を傾けます*/
    transform-origin: top left;
}
}
/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}
.marketing h2 {
    font-weight: 400;
}
/* 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 */
.featurette-heading {
    line-height: 1;
    /* rtl:remove */
    letter-spacing: -.05rem;
}

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

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

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