body{
    margin: 0px;
    font-family: "Arial", "Helvetica", 'sans-serif';
}
.maintext{
    margin: 10px;
    font-family: "Arial", "Helvetica", 'sans-serif';
}

nav{
    border-bottom: 5px solid #7d7d7d;
    position: relative;
    margin-bottom: 80px;
    }
    nav ul{
    position: absolute;
    left:10%;
    display: table;
    margin: 0 auto;
    padding: 0;
    width: 80%;
    text-align: center;
    }
    nav ul li{
    display: table-cell;
    width: 100px;
    }
    nav ul li a{
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px 0;
    text-decoration: none;
    color: #7d7d7d;
    }
    nav ul li.current{
    font-weight: bold;
    border-top: 5px solid #00B0F0;
    background-color: #f3faff;
    }
    nav ul li.current a{
    color: #00B0F0;
    }
    nav ul li a:hover{
    color: #0089BB;
    background-color: #FBFBDD;
    }
    nav ul li:hover{
    border-top: 5px solid #F8E750;
    }


    .midasi1 {
        padding: 0.4em 0.5em;/*文字の上下 左右の余白*/
        color: #494949;/*文字色*/
        background: #f4f4f4;/*背景色*/
        border-left: solid 5px #7db4e6;/*左線*/
        border-bottom: solid 3px #d7d7d7;/*下線*/
      }

    .midasi2{
        position: relative;
        padding: 0.6em;
        background: #e0edff;
        max-width: 480px;
    }
      
   .midasi2:after {
        position: absolute;
        content: '';
        top: 100%;
        left: 30px;
        border: 15px solid transparent;
        border-top: 15px solid #e0edff;
        width: 0;
        height: 0;
    }

      .list1 {
        line-height: 1.5; /*文の行高*/
        padding: 0.5em 0; /*前後の文との余白*/
        background: #fcfcfc;/*背景色*/
        padding: 0.5em 0.5em 0.5em 1em;/*ボックス内の余白*/
        border: solid 3px gray;/*線の種類 太さ 色*/
        max-width: 460px;

      }

         

    .tab-wrap {
        display: flex;
        flex-wrap: wrap;
      }
      .tab-label {
        color: White;
        background: LightGray;
        margin-right: 5px;
        padding: 3px 12px;
        order: -1;
      }
      .tab-content {
        width: 100%;
        display: none;
        padding: 10px 20px;
        background-color: #eee;
        border: 1px solid #ccc;
      }
      /* アクティブなタブ */
      .tab-switch:checked+.tab-label {
        background: #0088b9;
      }
      .tab-switch:checked+.tab-label+.tab-content {
         display: block;
      }
      /* ラジオボタン非表示 */
      .tab-switch {
        display: none;
      }

      @media screen and (min-width: 1000px) {
        body{
            width: 70%;
            margin: auto;
        }
     }
    

    .midasi3{
        color: #000;/*文字色（黒）*/
        font-size: 18px;/*文字サイズ*/
        padding: 10px 20px 10px 30px;/*文字回りの余白（上 右 下 左）*/
        display: block;
        position: relative;
    }
    
    .midasi3:before,
    .midasi3:after {
        content: "";
        display: block;
        position: absolute;
    }
    
    .midasi3:before {
        bottom: -5px;
        left: 1px;
        width: 5px;/*左下線の間の幅*/
        height: 20px;/*左下線の高さ*/
        border-left: 2px solid #000;/*左下左線（太さ 実線 色）*/
        border-right: 2px solid #000;/*左下右線（太さ 実線 色）*/
        transform: skewX(-15deg);/*左下線の傾き*/
    }
    
    .midasi3:after {
        left: 15px;
        bottom: 0;
        width: calc(100% - 8px);
        height: 2px;/*下線の太さ（高さ）*/
        background: #000;/*背景色（黒）*/
    }



.shop{
    text-align: center;
    
    align-items: stretch;
}

.shop-block{
    background-color: #eeeeee;
    width: 210px;
    height: 260px;
    display: inline-block;
    margin: 3px;
    border: #383838 solid 1px;
    border-radius: 3px;
    vertical-align: top;
    position: relative;
}
.shop-image{
    width: 210px;
}
@media screen and (min-width: 350px) {
    .shop-block{
        width: 155px;
        height: 260px;
    }
    
    .shop-image{
        width: 155px;
    }
}
@media screen and (min-width: 410px) {
    .shop-block{
        width: 170px;
    }
    
    .shop-image{
        width: 170px;
    }
 }
@media screen and (min-width: 480px) {
    .shop-block{
        width: 180px;
    }
    
    .shop-image{
        width: 180px;
    }
 }
 @media screen and (min-width: 580px) {
    .shop-block{
        width: 200px;
        height: 280px;
    }
    
    .shop-image{
        width: 200px;
    }
 }


.shop-btn{
  color: #fff;
  background-color: #0088b9;
  text-decoration: none;
  text-align: center;
  padding: 5px 20px 5px 20px ;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}
.shop-btn:hover {
  color: #fff;
  background: #0074e9;
}

.timetable{
    max-width: 480px;
    width: 100%;
}

.detail-image{
    width: 100%;
    max-width: 500px;
}
.detail-text{
    font-size: 12pt;
}
.detail-btn{
padding: 10px 40px 10px 40px ;
background-color: #0088b9;
text-decoration: none;
color: #FFF;
margin-top: 10px;
position: absolute;
}

@media screen and (min-width: 500px) {
    .detail-image{
        max-width: 380px;
    }
    .detail-text{
        font-size: 14pt;
    }
 }