@charset "UTF-8";
/* CSS Document */
body {
    display: none;
}
.section-top {
    text-align: center;
}
.section-top__image {
    height: 460px;
    background-image: url("../images/rental-top.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
h1 {
    color: #FFF;
    font-weight: 600;
    font-size: 3.8rem;
    padding-top: 208px;
}
.section-top__underline {
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    background-color: #FF8C00;
    color: #fff;
    padding: 0px 12px;
}
@media screen and (max-width: 1020px) {
    .section-top__image {
        height: 375px;
    }
    h1 {
        font-size: 3.2rem;
        padding-top: 170px;
    }
}
.section-rental {
    margin: 0px 140px 100px;
}
hr {
    border: solid 1px #fff;
    background-color: #fff;
    margin: 7px 0;
}
h2 {
    background-color: #122a88;
    color: #FFF;
    font-family: 'ヒラギノ明朝 ProN','Hiragino Mincho ProN',sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    padding: 22px 0px;
    text-align: center;
}
h2 p {
    margin: 30px 0px 20px 0px;
}
.section-rental small {
    display: block;
    text-align: right;
    margin: 0 auto 35px;
    max-width: 1160px;
}
.section-rental__step {
    display: flex;
    justify-content: space-between;
    max-width: 1160px;
    margin: 0 auto 80px;
}
.section-rental__box {
    border: solid 1px #8d8d8d;
    width: calc(50% - 50px);
    height: 400px;
    position: relative;
}
a {
    text-decoration: none;
}
.section-rental__box img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    transition-duration: 0.5s;
}
.section-rental__box:hover img{
  transform: scale(1.2);
  transition-duration: 0.5s;
}

.rental-box__tag {
    background-color: #333;
    color: #FFF;
    font-size: 1.4rem;
    display: table;
    padding: 6px 10px;
}
.rental-box__img {
    height: 280px;
    padding: 5px;
    overflow: hidden;
}
.rental-box__description {
    color: #FFF;
    background-color: #122a88;
    position: absolute;
    bottom: 0;
    width: -webkit-fill-available;
    padding: 12px;
    font-weight: 500;
}
@media screen and (max-width: 1020px) {
    .section-rental {
        margin: 0 12px 50px;
    }
    .section-rental h2 {
        font-size: 2.4rem;
        margin: 50px 0px 25px;
    }
    .section-rental small {
        margin: 25px;
    }
    .section-rental__step {
        justify-content: space-around;
    }
}
@media screen and (max-width: 600px) {
    .section-rental small {
        margin: 25px 0px;
        font-size: 1.4rem;
    }
    .section-rental__step {
        display: block;
        margin: 0 auto 40px;
    }
    .section-rental__box {
        width: 100%;
        height: 350px;
    }
    .section-rental__box:first-child {
        margin-bottom: 40px;
    }
    .rental-box__img {
        height: 210px;
    }
}