/* base design */
body{
    font-family: 'Kosugi Maru', sans-serif !important;
}

.bg-origin{
    background-color: #FDF1F5;
}

.mb-6{
    margin-bottom: 6rem;
}

/* navbar */
header .navbar-expand-lg .navbar-nav .nav-link{
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.dropdown-menu{
    width: 100%;
}

.nav-item{
    min-width: 190px;
}

/* top-content */
.carousel-item .carousel-caption{
    bottom: 5rem;
}

.carousel-caption h1,.carousel-caption h2{
    color: #725f25;
    line-height: 4rem;
    text-shadow: #ffffff 2px 2px 5px, #ffffff -2px 2px 5px, #ffffff 2px -2px 5px, #ffffff -2px -2px 5px;
}

.carousel-caption h2{
    font-size: 2.5rem;
}

.carousel-caption p{
    font-size: 1.1rem;
    color: #504415;
    margin-top: 2rem;
    text-shadow: #ffffff 3px 3px 10px, #ffffff -3px 3px 10px, #ffffff 3px -3px 10px, #ffffff -3px -3px 10px;
}

/* feature */
.feature img.feature_icon{
    top: -40px;
    left: -10px;
    z-index: 20;
    position: absolute;
}

.feature_img{
    z-index: 10;
}

.feature button.modal-button{
    background-color: rgba(0, 0, 0, 0);
    border: none;
}

.feature button img{
    animation: popup 3s ease infinite;
}

@keyframes popup {
  0% { transform:translateY(0) }
  5% { transform:translateY(0) }
  10% { transform:translateY(0) }
  20% { transform:translateY(-15px) }
  25% { transform:translateY(0) }
  30% { transform:translateY(-15px) }
  50% { transform:translateY(0) }
  100% { transform:translateY(0) }
}



/* Infomation */

.info{
    border: solid 1px #eeeeee;
}

.info-table th {
    background: #FDF1F5;
    color: #707070;
    padding: 1.5rem;
    border-bottom: solid 6px #fff;
  }
.info-table td {
    padding: 1rem 1.5rem;
    width: 100%;
}

/* Message */
.jumbotron {
  background-image: url("../img/about.jpg");
  background-size: cover;
  background-position: center 60%;
}

.jumbotron h1, .jumbotron p{
    color: #725f25;
    text-shadow: #ffffff 2px 2px 5px, #ffffff -2px 2px 5px, #ffffff 2px -2px 5px, #ffffff -2px -2px 5px;
}

#merit h4 img{
    padding-bottom: 6px;
}

#company .table th{
    width: 140px;
}

.card{
    min-height: 324px;
}
.box {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Flow */
.step{
    text-align: right !important;
    color: #28dfa2;
}

#flow h5{
    color: #204539;
}

/* Price */
#price .list-group-item.active{
    background-color: #FDF1F5;
    color: #323031;
    border-color: #FDF1F5;
}

#price .online .list-group-item:last-child{
    min-height: 0;
}

#price .list-group-item:last-child{
    min-height: 130px;
}

#price p{
    line-height: .85rem;
}

#price .list-group-item{
    border: 1px solid #FDF1F5;
}

/* RKC for Business */
.jumbotron.rkc-top {
  background-image: url("../img/rkc_jumbotron.jpg");
  min-height: 450px;
}

.issue li{
    margin-top: 1rem;
    list-style: none;
    font-size: 1.4rem;
    font-weight: 500;
    position: relative;
    padding-left: 2.5rem;
}

.issue li::after{
    content: "";
    display: block;
    background-image: url(../img/check.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 12%;
    left: 0;
}

/* Feature */


#ai h3, #concierge h3, #selfcare h3, #technology h3, #price h3{
    font-size: 1.3rem;
    padding: 0.5em;
    color: #494949;
    background: #efe7ce;
    border-left: solid 5px #725f25;
}

#price .modal-body p{
    line-height: 1.5;
}

iframe.iframe{
    height: 880px;
}

footer li a{
    font-size: 12px;
}


/* Support Form */
.badge-origin{
    color: #707070;
    background-color: #F8DEDD;
}

.comment{
    margin-left: 18%;
    margin-bottom: -3%;
}

.container a{
    color: #8c6239
}

form a{
    color: #8c6239;
}

.custom-radio .custom-control-label{
    cursor: pointer;
}

.card-body-height{
    min-height: 372px;
}


@media screen and (max-width: 1024px) {
    /* Top */
    .carousel-caption h1,.carousel-caption h2{
        font-size: 3.5rem;
        font-weight: 600;
        line-height: 4rem;
    }
    .carousel-item .carousel-caption-first{
        bottom: 30rem;
    }

    .card-body-height{
        min-height: 372px;
    }

}
   
@media screen and (max-width: 640px) {
    br{
        display: none;
    }

    /* Top */
    .carousel-caption h1,.carousel-caption h2{
        font-size: 1.5rem;
        font-weight: 600;
        line-height: 2rem;
    }
    .carousel-item .carousel-caption-first{
        bottom: 14rem;
    }

    .carousel-caption p{
        font-size: 1rem;
    }

    /* Infomation */    
    .info-table td:last-child {
        width: 100%;
    }
    .info-table {
        width: 100%;
    }
    .info-table th,
    .info-table td {
    　　border-bottom: none;
        display: block;
        width: 100%;
        padding: 1rem;
    }

    /* about */
    .jumbotron h1{
        font-size: 2rem;
        margin-top: 2rem;
    }

    /* Flow */
    .step{
        text-align: left !important;
    }
        

}

@media screen and (max-width: 320px) {
    /* Top */
    .carousel-item .carousel-caption{
        bottom: 2rem;
    }
    .carousel-item .carousel-caption-first{
        bottom: 8rem;
    }

}