@charset "UTF-8";

/* =========================================================
  enjoy map
========================================================= */

/* content-map
----------------------------------------------- */
body {
  background: transparent;
}

/* mapList */
#mapList ul {
  display: flex;
  gap: 10px;
  margin: 15px;
}

#mapList ul li {
  flex: 1 1 0;
}

#mapList ul li a {
  display: block;
  position: relative;
  height: 100%;
  padding: 8px 5px;
  border: 1px solid var(--mono-color-7);
  background: var(--mono-color-7);
  color: inherit;
  font-weight: 400;
  font-size: 1.125rem;
  text-decoration: none;
  text-align: center;
}

#mapList ul li:not(.cur) a:hover {
  opacity: 0.6;
}

#mapList ul li a[href$="@kanko.html"]::before,
#mapList ul li a[href$="@foods.html"]::before,
#mapList ul li a[href$="@inn.html"]::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 11px;
  border-radius: 50%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 65% auto;
  background-color: var(--mono-color-9);
  vertical-align: middle;
}

#mapList ul li a[href$="@kanko.html"]::before {
  background-image: url(/_themes/site/images/enjoy/ic-kanko.svg);
}

#mapList ul li a[href$="@foods.html"]::before {
  background-image: url(/_themes/site/images/enjoy/ic-foods.svg);
}

#mapList ul li a[href$="@inn.html"]::before {
  background-image: url(/_themes/site/images/enjoy/ic-inn.svg);
}

#mapList ul li.cur a[href$="/map/"] {
  border-color: var(--ac-color-green-4);
  background: var(--ac-color-green-4);
}

#mapList ul li.cur a[href$="@kanko.html"] {
  border-color: #E25E66;
  background: #E25E66;
  color: var(--mono-color-9);
}

#mapList ul li.cur a[href$="@foods.html"] {
  border-color: #DCA531;
  background: #DCA531;
  color: var(--mono-color-9);
}

#mapList ul li.cur a[href$="@inn.html"] {
  border-color: var(--ac-color-green-1);
  background: var(--ac-color-green-1);
  color: var(--mono-color-9);
}

@media only screen and (max-width: 767px) {
  #mapList ul {
    flex-wrap: wrap;
    margin: 5px 5px 15px;
  }

  #mapList ul li {
    flex-basis: calc((100% - 10px) / 2);
  }

  #mapList ul li a {
    font-size: 0.875rem;
  }

  #mapList ul li a[href$="@kanko.html"]::before,
  #mapList ul li a[href$="@foods.html"]::before,
  #mapList ul li a[href$="@inn.html"]::before {
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
  }
}

/* contentMapMarkers */
.contentMapMarkers {
  position: relative;
}

.contentMapMarkers #map_canvas {
  width: 100% !important;
  height: 700px !important;
}

.contentMapMarkers table {
  position: absolute;
  z-index: 0;
}

.contentMapMarkers table,
.contentMapMarkers table thead,
.contentMapMarkers table tbody,
.contentMapMarkers table tfoot,
.contentMapMarkers table tr,
.contentMapMarkers table th,
.contentMapMarkers table td {
  display: block;
}

.contentMapMarkers table tbody tr {
  position: relative;
  padding: 24px 10px 24px 44px;
  border-bottom: 1px solid var(--mono-color-9);
  color: var(--mono-color-9);
  font-size: 0.875rem;
  transition: background 0.25s ease-in-out;
}

.contentMapMarkers table tbody tr:hover {
  background: var(--mono-color-0);
}

.contentMapMarkers table tbody tr:last-child {
  border-bottom: none;
}

.contentMapMarkers table tbody tr td.category {
  position: absolute;
  top: 20px;
  left: 7px;
  font-size: 0;
}

.contentMapMarkers table tbody tr td.category span {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 65% auto;
  background-color: var(--mono-color-9);
}

.contentMapMarkers table tbody tr td.category span.kanko {
  background-image: url(/_themes/site/images/enjoy/ic-kanko.svg);
}

.contentMapMarkers table tbody tr td.category span.foods {
  background-image: url(/_themes/site/images/enjoy/ic-foods.svg);
}

.contentMapMarkers table tbody tr td.category span.inn {
  background-image: url(/_themes/site/images/enjoy/ic-inn.svg);
}

.contentMapMarkers table tbody tr td.category span.medical {
  background-image: url(/_themes/site/images/enjoy/ic-medical.svg);
}

.contentMapMarkers table tbody tr td.image {
  display: none;
}

.contentMapMarkers table tbody tr td.title {
  font-weight: 700;
}

.contentMapMarkers table tbody tr td.marker_link a {
  visibility: hidden;
  display: block;
  font-size: 0;
}

.contentMapMarkers table tbody tr td.marker_link a::before {
  content: "";
  visibility: visible;
  position: absolute;
  inset: 0;
  background: none !important;
}

@media only screen and (max-width: 767px) {
  .contentMapMarkers #map_canvas {
    height: 500px !important;
  }
}

/* contentMapMarkers table / open */
.contentMapMarkers table.open {
  display: flex;
  flex-direction: column;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: rgba(0, 0, 0, 0.7);
}

.contentMapMarkers table.open thead {
  flex-shrink: 0;
}

.contentMapMarkers table.open thead a {
  display: block;
  position: relative;
  padding: 15px 42px;
  background: var(--mono-color-0);
  color: var(--mono-color-9);
  text-decoration: none;
  text-align: center;
  transition: color 0.3s;
}

.contentMapMarkers table.open thead a:hover {
  color: rgba(255,255,255,0.6)
}

.contentMapMarkers table.open thead a::before {
  content: "";
  position: absolute;
  top: calc(50% - 12px);
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: url(/_themes/site/images/enjoy/menu-close.svg) center center / 10px auto no-repeat var(--ac-color-green-1);
}

.contentMapMarkers table.open tbody {
  flex-grow: 1;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.contentMapMarkers table.open tfoot .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 10px;
  padding: 15px;
  background: var(--mono-color-0);
  color: var(--mono-color-9);
}

.contentMapMarkers table.open tfoot .pagination * {
  display: inline-block;
  min-width: 30px;
  padding: 5px;
  border: 1px solid var(--mono-color-9);
  border-radius: 4px;
  font-style: normal;
  line-height: 1.2;
  text-align: center;
}

.contentMapMarkers table.open tfoot .pagination .separator {
  display: none;
}

.contentMapMarkers table.open tfoot .pagination a {
  background: var(--mono-color-9);
  text-decoration: none;
  text-align: center;
  transition: opacity 0.25s ease-in-out;
}

.contentMapMarkers table.open tfoot .pagination a:hover {
  opacity: 0.8;
}

@media only screen and (max-width: 767px) {
  .contentMapMarkers {
    position: static;
  }

  .contentMapMarkers table.open {
    inset: 25% 30px 10% 30px;
    z-index: 0;
    width: auto;
  }

  .contentMapMarkers table.open thead a::after {
    /*
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.5);
    */
  }

  .contentMapMarkers table.open tbody {
    position: relative;
    height: 100%;
  }
}

/* contentMapMarkers table / close */
.contentMapMarkers table:not(.open) {
  top: 70px;
  right: 0;
}

.contentMapMarkers table:not(.open) thead {
  border-radius: 25px 0 0 25px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  background: var(--mono-color-9);
  transition: visibility 0.3s, opacity 0.3s;
}

.contentMapMarkers table:not(.open) thead a {
  display: block;
  padding: 15px 42px 15px 20px;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.contentMapMarkers table:not(.open) thead a:hover {
  color: var(--ac-color-green-1);
}

.contentMapMarkers table:not(.open) thead a::before {
  content: "";
  position: absolute;
  top: calc(50% - 12px);
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: url(/_themes/site/images/enjoy/menu-open.svg) center center / 10px auto no-repeat var(--ac-color-green-1);
}

.contentMapMarkers table:not(.open) tbody,
.contentMapMarkers table:not(.open) tfoot {
  display: none;
}

@media only screen and (max-width: 767px) {
  .contentMapMarkers table:not(.open) {
    top: auto;
    bottom: 40px;
  }
}

/* contentMapMarkers ol-popup */
.ol-popup {
  bottom: 46px !important;
}

.mapInfoSection {
  width: 360px;
  padding-top: 10px;
  font-size: 0.875rem;
}

.mapInfoSection figure,
.mapInfoSection .catchArea {
  float: left;
  width: 38.89%;
}

.mapInfoSection .catchArea > figure {
  float: none;
  width: auto;
  margin-bottom: 10px;
}

.mapInfoSection figure img {
  width: 100%;
}

.mapInfoSection .text {
  margin-left: 44.44%;
  padding-bottom: 10px;
}

.mapInfoSection .text .summary {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: solid 1px #dfdede;
}

.mapInfoSection .text .summary:empty {
  padding-bottom: 0;
}

.mapInfoSection .clear {
  clear: both;
  padding-bottom: 12px;
}

.mapInfoSection h2 {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1.15em;
}

.mapInfoSection .link {
  display: table;
  width: 100%;
}

.mapInfoSection .link a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 40px;
 	padding: 0;
  border-radius: 20px;
  background: #387fc9;
  font-weight: 700;
  color: var(--mono-color-9);
  text-align: center;
  vertical-align: middle;
}

@media only screen and (max-width: 424px) {
  .mapInfoSection {
    width: 300px;
    font-size: 0.75rem;
  }

  .mapInfoSection h2 {
    font-size: 0.875rem;
  }
}

/* not-in-iframe */
body.not-in-iframe #content-map {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  height: 100dvh;
}

body.not-in-iframe #mapList .pieceContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.not-in-iframe #mapList .pieceContainer::before {
  content: "神山マップ";
  display: block;
  padding: 15px 0 5px 78px;
  background: url(/_themes/site/images/enjoy/tit_map01.png) left 60% no-repeat;
  font-weight: 500;
  font-size: 2.5rem;
  font-family: "Zen Maru Gothic", sans-serif;
}

body.not-in-iframe #mapList .pieceBody {
  width: 100%;
}

body.not-in-iframe .contentMapMarkers {
  flex-grow: 1;
  flex-shrink: 1;
  overflow-x: hidden;
}

body.not-in-iframe .contentMapMarkers #map_canvas,
body.not-in-iframe .contentMapMarkers #map_canvas .ol-viewport,
body.not-in-iframe .contentMapMarkers #map_canvas .ol-viewport canvas {
  height: 100% !important;
}

@media only screen and (max-width: 534px) {
  body.not-in-iframe #mapList .pieceContainer::before {
    padding-left: 44px;
    background-size: 34px auto;
    font-size: 1.75rem;
  }
}

/* in-iframe */
body.in-iframe#page-enjoy-map-indexGenreMedical #mapList {
  display: none;
}

@media only screen and (max-width: 767px) {
  body.in-iframe#page-enjoy-map-indexGenreMedical .contentMapMarkers table.open {
    inset: 10% 30px 10% 30px;
  }
}