﻿@media screen and (max-width: 640px) {
  #route {
    width: 100%;
    padding: 50px 0 !important;
    background: url("/miryoku/aruku/secure/8116/route_bg.png") repeat center top #eceeeb;
    background-size: 640px;
  }
  
  #route .route-inner {
    width: 100%;
  }
  
  #route .route-inner .route-lead {
    width: 90%;
    margin: 0 auto 30px auto !important;
  }
  
  #route .route-inner .route-lead h2 {
    margin: 0 auto 30px auto !important;
    width: 154.5px;
    height: 78px;
  }
  
  #route .route-inner .route-lead h2 img {
    width: 100%;
    min-width: 100%;
    height: auto;
    vertical-align: top;
  }
  
  #route .route-inner .route-lead p {
    line-height: 1.66;
    text-align: left;
    font-size: 15px;
  }
  
  #route .route-inner .route-lead p br {display: none;}
  
  #route .route-inner .route-item {
    box-sizing: border-box;
    width: 90%;
    border-radius: 10px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    margin: 0 auto 30px auto !important;
    padding: 15px !important;
    position: relative;
  }
  
  #route .route-inner .route-item:nth-child(1) {
    background: url("/miryoku/aruku/secure/8116/sp_route1_bg.png") no-repeat 85% 20px #fff;
    background-size: 79.5px 96px;
  }
  
  #route .route-inner .route-item:nth-child(2) {
    background: url("/miryoku/aruku/secure/8116/sp_route2_bg.png") no-repeat 85% 20px #fff;
    background-size: 100.5px 96.5px;
  }
  
  #route .route-inner .route-item:nth-child(3) {
    background: url("/miryoku/aruku/secure/8116/sp_route3_bg.png") no-repeat 85% 40px #fff;
    background-size: 108.5px 80.5px;
  }
  
  #route .route-inner .route-item:nth-child(4) {
    background: url("/miryoku/aruku/secure/8116/sp_route4_bg.png") no-repeat 80% 20px #fff;
    background-size: 73px 114.5px;
  }
  
  #route .route-inner .route-item:nth-child(5) {
    background: url("/miryoku/aruku/secure/8116/sp_route5_bg.png") no-repeat 80% 20px #fff;
    background-size: 80.5px 122.5px;
  }
  
  #route .route-inner .route-item:nth-child(6) {
    background: url("/miryoku/aruku/secure/8116/sp_route6_bg.png") no-repeat 80% 20px #fff;
    background-size: 96px 93px;
  }
  
  #route .route-inner .route-item h3 {margin-bottom: 10px !important;}
  
  #route .route-inner .route-item h3 img {
    width: auto;
    height: 21px;
  }
  
  #route .route-inner .route-item p {
    font-size: 15px;
    line-height: 1.5;
    font-feature-settings: "palt";
  }
  
  #route .route-inner .route-item .route-img {display: none;}
  
  #route .route-inner .route-item .route-outline {margin-bottom: 15px !important;}
  
  #route .route-inner .route-item .route-button {
    width: 100%;
    background: #7cbe24;
  }
  
  #route .route-inner .route-item .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 52.5px;
    height: 51.75px;
  }
  
  #route .route-inner .route-item .badge img {
    width: 100%;
    min-width: 100%;
    height: auto;
    vertical-align: top;
  }
}

@media screen and (min-width: 641px) {
  #route {
    width: 100%;
    min-width: 1100px;
    padding: 100px 0 20px 0;
    background: url("/miryoku/aruku/secure/8116/route_bg.png") repeat center top #eceeeb;
  }
  
  #route .route-inner {
    width: 1100px;
    margin: 0 auto;
  }
  
  #route .route-inner .route-lead {margin-bottom: 70px;}
  
  #route .route-inner .route-lead h2 {
    margin: 0 auto 30px auto;
    width: 206px;
    height: 104px;
  }
  
  #route .route-inner .route-lead p {
    line-height: 1.66;
    text-align: center;
    font-size: 15px;
  }
  
  #route .routes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  #route .routes .route-item {
    position: relative;
    background: #fff;
    border-radius: 10px;
    flex: 0 0 330px;
    margin-bottom: 80px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
  }
  
  #route .routes .route-item h3 {margin-bottom: 10px;}
  
  #route .routes .route-item p {
    font-size: 15px;
    line-height: 1.4;
    font-feature-settings: "palt";
  }
  
  #route .routes .route-item .route-img {
    width: 330px;
    height: 160px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    position: relative;
  }
  
  #route .routes .route-item .route-img.r1 {background: url("/miryoku/aruku/secure/8116/route1-img.jpg") no-repeat center #000;}
  #route .routes .route-item .route-img.r2 {background: url("/miryoku/aruku/secure/8116/route2-img.jpg") no-repeat center #000;}
  #route .routes .route-item .route-img.r3 {background: url("/miryoku/aruku/secure/8116/route3-img.jpg") no-repeat center #000;}
  #route .routes .route-item .route-img.r4 {background: url("/miryoku/aruku/secure/8116/route4-img.jpg") no-repeat center #000;}
  #route .routes .route-item .route-img.r5 {background: url("/miryoku/aruku/secure/8116/route5-img.jpg") no-repeat center #000;}
  #route .routes .route-item .route-img.r6 {background: url("/miryoku/aruku/secure/8116/route6-img.jpg") no-repeat center #000;}
  
  #route .routes .route-item .route-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  #route .routes .route-item .route-outline {
    padding: 15px;
    flex-grow: 2;
  }
  
  #route .routes .route-item .route-button {
    background: #7cbe24;
    margin: 0 auto 15px auto !important;
  }
  
  #route .routes .route-item .route-button:hover,
  #route .routes .route-item .route-button:active {background: #96da3b;}
  
  #route .routes .route-item .badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 70px;
    height: 69px;
  }   
}