/* arococo access map */

.arococo-map{
  width:100%;
  margin:42px auto 58px;
  padding:0 10px;
  box-sizing:border-box;

  color:#4a2b1d;
}

.arococo-map-tabs{
  display:flex;
  align-items:flex-end;
  justify-content:center;

  width:100%;
  max-width:660px;

  margin:0 auto -1px;
  padding:0 18px;

  box-sizing:border-box;
}

.arococo-map-tab{
  appearance:none;
  -webkit-appearance:none;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;

  width:50%;
  min-height:44px;
  padding:10px 8px 11px;

  border:none;
  border-radius:8px 8px 0 0;

  background:#cfc7a8;
  color:#5b3b2b;

  font-family:"Kaisei Opti", serif;
  font-size:16px;
  line-height:1.35;
  letter-spacing:.04em;

  cursor:pointer;
}

.arococo-map-tab.is-active{
  background:#a23a22;
  color:#fff;
}

.arococo-map-tab-icon{
  font-size:13px;
  line-height:1;
}

.arococo-map-panels{
  max-width:660px;
  margin:0 auto;
}

.arococo-map-panel{
  display:none;
}

.arococo-map-panel.is-active{
  display:block;
}

.arococo-map-inner{
  padding:48px 20px 30px;

  border:2px solid #a23a22;
  border-radius:10px;

  background:#fff;
  box-sizing:border-box;
}

.arococo-map-line{
  margin:0 0 6px;

  font-size:15px;
  line-height:1.8;
  text-align:center;
  letter-spacing:.04em;
}

.arococo-map-title{
  margin:0;

    font-size:18px;
  line-height:1.55;
  font-weight:500;
  text-align:center;
  letter-spacing:.04em;
}

.arococo-map-time{
  margin:4px 0 24px;

  font-size:18px;
  line-height:1.5;
  text-align:center;
  letter-spacing:.04em;
}

.arococo-map-points{
  display:grid;
  gap:10px;

  max-width:520px;
  margin:0 auto 30px;
  padding:0;

  list-style:none;
}

.arococo-map-points li{
  padding:7px 14px;

  border-radius:7px;

  background:#cfc7a8;
  color:#4a2b1d;

  font-size:15px;
  line-height:1.55;
  letter-spacing:.04em;
  text-align:center;
}

.arococo-map-lead{
  margin:0 0 34px;

  font-size:17px;
  line-height:2.05;
  letter-spacing:.05em;
  text-align:left;
}

/* slider */

.arococo-map-slider-wrap{
  position:relative;

  width:calc(100% + 40px);
  margin:0 -20px 5px;

  box-sizing:border-box;
}

.arococo-map-slider{
  display:flex;
  gap:22px;

  width:100%;
  padding:4px 48px 22px;

  overflow-x:auto;
  overflow-y:hidden;

  scroll-snap-type:x proximity;
  scroll-padding-left:48px;

  -webkit-overflow-scrolling:touch;
  touch-action:pan-x;

  box-sizing:border-box;
}

/* hide horizontal scrollbar */

.arococo-map-slider{
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.arococo-map-slider::-webkit-scrollbar{
  display:none;
}

/* slider card */
@media (max-width:420px){

  .arococo-map-card{
    flex-basis:252px;
    width:252px;
  }

  .arococo-map-photo-button{
    height:178px;
  }

}
.arococo-map-card{
  position:relative;

  flex:0 0 252px;
  width:252px;
  scroll-snap-align:start;

  display:flex;
  flex-direction:column;

  margin:0;
  padding:6px 6px 14px;

  border-radius:8px;

  background:#fff;
  box-shadow:0 2px 8px rgba(52,18,8,.22);

  box-sizing:border-box;
}
.arococo-map-card:not(:last-child)::after{
  content:"▶";

  position:absolute;
  top:82px;
  right:-22px;
  z-index:4;

  color:#fac205;

  font-family:serif;
  font-size:25px;
  line-height:1;
  font-weight:700;

  pointer-events:none;
}
.arococo-map-photo-button{
  appearance:none;
  -webkit-appearance:none;

  display:block;

  width:100%;
  height:178px;
  margin:0 0 10px;
  padding:0;

  overflow:hidden;

  border:none;
  border-radius:7px;

  background:#cfc7a8;

  cursor:pointer;
  line-height:0;

  box-sizing:border-box;
}

.arococo-map-photo-button img{
  display:block;

  width:100% !important;
  height:100% !important;
  max-width:none !important;

  border-radius:7px;

  object-fit:cover;
  object-position:center center;
}

.arococo-map-card figcaption{
  margin:0;
padding: 0px 5px;
  font-size:16px;
  line-height:1.75;
  letter-spacing:.03em;
  text-align:left;
}

.arococo-map-note{
  display:block;

  width:max-content;
  max-width:100%;

  margin:13px auto 0;
  padding:5px 12px 7px 12px;

  border-radius:999px;

  background:#ead6cf;
  color:#a23a22;

  font-size:15px;
  line-height:1.3;
  letter-spacing:.06em;
  text-align:center;

  box-sizing:border-box;
}

/* round scroll buttons */

.arococo-map-scroll-btn{
  appearance:none;
  -webkit-appearance:none;

  position:absolute;
  top:50%;
  z-index:10;

  display:flex;
  align-items:center;
  justify-content:center;

  width:48px;
  height:48px;

  padding:0 0 5px;

  border:none;
  border-radius:999px;

  background:#fff;
  color:#a23a22;

  font-family:Arial, sans-serif;
  font-size:42px;
  line-height:1;
  font-weight:400;

  box-shadow:0 2px 8px rgba(52,18,8,.24);

  transform:translateY(-50%);

  cursor:pointer;
  box-sizing:border-box;
}
.arococo-map-scroll-prev{
  left:8px;
}

.arococo-map-scroll-next{
  right:8px;
}

/* bottom actions */

.arococo-map-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;

  margin:28px 0 0;
}

.arococo-map-action{
  appearance:none;
  -webkit-appearance:none;

  display:flex;
  align-items:center;
  justify-content:center;

  min-height:52px;
  padding:12px 10px;

  border:none;
  border-radius:9px;

  color:#fff !important;
  text-decoration:none !important;

  font-family:"Kaisei Opti", serif;
  font-size:15px;
  line-height:1.35;
  letter-spacing:.04em;

  box-shadow:0 2px 5px rgba(52,18,8,.18);

  cursor:pointer;
  box-sizing:border-box;
}

.arococo-map-action-red{
  background:#a05239;
}

.arococo-map-action-beige{
  background:#cfc7a8;
  color:#4a2b1d !important;
}

.arococo-map-action-green{
  background:#566343;
}

/* lightbox */

.arococo-map-lightbox{
  position:fixed;
  inset:0;
  z-index:9999;

  display:none;
  align-items:center;
  justify-content:center;

  padding:22px;

  background:rgba(0,0,0,.72);

  box-sizing:border-box;
}

.arococo-map-lightbox.is-active{
  display:flex;
}

.arococo-map-lightbox img{
  display:block;

  max-width:100%;
  max-height:82vh;

  border-radius:8px;
  box-shadow:0 4px 20px rgba(0,0,0,.35);

  object-fit:contain;
}

.arococo-map-lightbox-close{
  appearance:none;
  -webkit-appearance:none;

  position:absolute;
  top:16px;
  right:16px;

  width:42px;
  height:42px;

  border:none;
  border-radius:999px;

  background:#fff;
  color:#4a2b1d;

  font-size:28px;
  line-height:1;

  cursor:pointer;
}

/* tablet and pc */

@media (min-width:768px){

  .arococo-map{
    padding:0 24px;
  }

  .arococo-map-inner{
    padding:54px 40px 34px;
  }

  .arococo-map-slider-wrap{
    width:calc(100% + 80px);
    margin-left:-40px;
    margin-right:-40px;
  }

  .arococo-map-actions{
    grid-template-columns:1fr 1fr 1.25fr;
  }

}

/* narrow smartphone */

@media (max-width:420px){

  .arococo-map{
    padding:0;
  }

  .arococo-map-tabs{
    padding:0 14px;
  }

  .arococo-map-tab{
    min-height:42px;
    font-size:14px;
    gap:6px;
  }

  .arococo-map-inner{
    padding:38px 10px 0px;
  }

  .arococo-map-title{
    font-size:18px;
  }

  .arococo-map-time{
    font-size:18px;
  }

  .arococo-map-lead{
    font-size:16px;
    line-height:2.05;
  }

  .arococo-map-slider-wrap{
    width:calc(100% + 36px);
    margin-left:-18px;
    margin-right:-18px;
  }

  .arococo-map-slider{
    gap:20px;
    padding-left:44px;
    padding-right:44px;
    scroll-padding-left:44px;
  }

.arococo-map-scroll-btn{
  width:44px;
  height:44px;
  font-size:38px;
  padding-bottom:5px;
}

  .arococo-map-scroll-prev{
    left:5px;
  }

  .arococo-map-scroll-next{
    right:5px;
  }

.arococo-map-card:not(:last-child)::after{
  top:82px;
  right:-19px;
  font-size:21px;
}

}



/* access page: make map area wider on smartphone */

@media (max-width:767px){

  category-main{
    padding-left:9px;
    padding-right:9px;
  }

  entry-content{
    padding-left:0;
    padding-right:0;
  }

  .arococo-map{
    padding-left:0;
    padding-right:0;
  }

}

@media (max-width:420px){

  .category-main{
    padding-left:6px;
    padding-right:6px;
  }

  .arococo-map-tabs{
    padding-left:6px;
    padding-right:6px;
  }

  .arococo-map-inner{
    padding-left:8px;
    padding-right:8px;
  }

}
.arococo-map-actions-top{
  max-width:660px;
  margin:0 auto 22px;
}

@media (max-width:767px){

  .arococo-map-actions-top{
    margin-bottom:18px;
  }

}