@charset "utf-8";

.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border: solid 2px #3B9EA0;
  margin: 3% 0;
}
.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.youtube_ttl{
  text-align: center;
  color: #3B9EA0;
  font-size: 2rem;
  font-weight: 600;
  margin-top: 2em;
}


/*---------------------------------カレンダー---------------------------------*/

table.inbox {
border-spacing: 0;
border-collapse: collapse;
width: 100%;
table-layout: fixed;
}
th.mcap {
  text-align : center;
  height : 80px;
  line-height : 80px;
  font-size : 2.2rem;
}
th.tuki{
  cursor : pointer;
  font-size : 2.2rem;
  color : #666;
}
table.inbox  td {
  text-align : center;
  height: 20vw;
  font-size : 1.5rem;
  border : 1px solid #dadbdf;
}
table.inbox tr:nth-child(3) > td:hover,
table.inbox tr:nth-child(4) > td:hover,
table.inbox tr:nth-child(5) > td:hover,
table.inbox tr:nth-child(6) > td:hover,
table.inbox tr:nth-child(7) > td:hover,
table.inbox tr:nth-child(8) > td:hover{
  border: solid 2px #3B9EA0;
  z-index: 1;
  cursor: pointer;
}



/* カレンダー日付選択用 */
.selected {
  background-color: #E0FFE0 !important;
  border: solid 2px #3B9EA0 !important;
}




/*---------------------------------レンタサイクル---------------------------------*/
.items{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.item{
    position: relative;
    width: 47vw;
    border: solid 1px #dadbdf;
    padding: 7.5vw 13px 13px;
    margin-bottom: 3vw;
    background-color: #fff;
}
.item label{
    user-select: none;
}
.item .brand{
    font-size: 1.2rem;
}
.item h3{
    font-size: 1.6rem;
}
.item_cp{
    font-size: 1.4rem;
    line-height: 1.6em;
}
.item_detailsIcon{
    position: absolute;
    display: block;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
.item_detailsIcon:hover{
    opacity: .7;
}
.item h3{
    border-bottom: solid 1px #545454;
    margin-bottom: 1rem;
    line-height: 1.8em;
}

.item-input{
    display: none;
}
.item-parts:hover{
    cursor: pointer;
}
.item-parts::before{
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    border: 1px solid #999;
    background: #fff;
    border-radius: 4px;
}
.item-input:checked + .item-parts::after{
    content: "";
    display: block;
    position: absolute;
    top: 15px;
    left: 25px;
    width: 10px;
    height: 25px;
    transform: rotate(40deg);
    border-bottom: 3px solid #e35927;
    border-right: 3px solid #e35927;
}

/* NEWマーク表示 */
.new-item{
    position: absolute;
    display: block;
    top: 125px;
    right: 20px;
    /* cursor: pointer; */
}

/* レンタル不可　グレーアウト */
.can_not,
.def {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
    z-index: 5;
}



/*---------------------------------モーダル---------------------------------*/
.overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    background-color: rgba(0, 0, 0, .65);
}

.modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 99;
    transform: translate(-50%, -50%);
    max-height: 80vh;
    width: 90vw;
    overflow-y: auto;
    height: 100%;
    max-width: 640px;
    box-sizing: border-box;
    padding: 32px;
    border-radius: 8px;
    background-color: #fff;
}
.modal_ttl{
    font-weight: 900;
    border-bottom: 1px solid #333;
    padding-bottom: .3em;
    margin-bottom: .3em;
}
.pop_close{
    font-size: 1.3rem;
    background: #555;
    border-radius: 4px;
    cursor: pointer;
    padding: .5em 1em;
    color: #fff;
}
.active {
    display: block !important;
}

/*「お客様情報の入力」を選択不可にする*/
#input_btn[type="submit"]:disabled{
    background: #eee;
    color: #aaa !important;
    box-shadow: 0px 6px 0 #eee;
}


/*「お客様情報の入力」下に入力漏れ表示する*/
#alt {
    margin-top: 10px;
    color: #f00;
    text-align: center;
}


/*---------------------------------

PCここから

---------------------------------*/

@media screen and (min-width:768px){
    .main_img{
        max-width: 800px;
        margin: 0 auto;
    }
    /*---------------------------------カレンダー---------------------------------*/
    table.inbox  td {
        height: 100px;
    }

    /*---------------------------------レンタサイクル---------------------------------*/
    .items{
        max-width: 750px;
        margin: 0 auto;

    }
    .item{
        width: 230px;
        padding: 13px;
    }
    /*---------------------------------モーダル---------------------------------*/
    .modal {
        max-height: 600px;
    }
}
