/* Group map: source and compiled CSS are intentionally identical.
   The original theme has no SCSS build configuration. */
.topGroup {
  padding: 12rem 0;
}

.group-map {
  width: 100%;
}

.group-map-stage {
  position: relative;
  margin-right: auto;
  margin-left: auto;
}

.group-map-stage img {
  display: block;
  width: 100%;
  height: auto;
}

.group-map-stage--pc {
  width: 100%;
  max-width: 1200px;
}

.group-map-hotspot {
  position: absolute;
  z-index: 2;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

.group-map-hotspot--facility::after {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #173f82;
  content: "";
  transition: width 0.22s ease;
}

.group-map-hotspot--facility:hover::after,
.group-map-hotspot--facility:focus::after,
.group-map-hotspot--facility:focus-visible::after {
  width: 100%;
}

.group-map-hotspot--chugoku::after {
  background: #87ba43;
}

.group-map-hotspot--kyoto-hyogo::after {
  background: #4faaa6;
}

.group-map-hotspot--osaka-nara::after {
  background: #60a978;
}

.group-map-hotspot--tokyo-kanagawa::after {
  background: #50addc;
}

.group-map-hotspot:focus-visible {
  border-radius: 0.2rem;
  outline: 0.2rem solid #173f82;
  outline-offset: 0.2rem;
}

.group-map-hotspot--facility:focus-visible {
  outline: 0;
}

.group-map-hotspot--sdx::after {
  background: #173f82;
}

.group-map-accordions {
  width: 100%;
  margin: 3.6rem auto 0;
}

.group-map-accordion {
  margin-bottom: 0.6rem;
  --group-map-color: #87ba43;
  --group-map-accent: #a7ca52;
}

.group-map-accordion--chugoku {
  --group-map-color: #8fbd32;
  --group-map-accent: #aeca5e;
}

.group-map-accordion--kyoto-hyogo {
  --group-map-color: #4faaa6;
  --group-map-accent: #8fc3c2;
}

.group-map-accordion--osaka-nara {
  --group-map-color: #60a978;
  --group-map-accent: #9cc598;
}

.group-map-accordion--tokyo-kanagawa {
  --group-map-color: #50addc;
  --group-map-accent: #8fc7e6;
}

.group-map-accordion .area_title {
  position: relative;
  z-index: 0;
  display: block;
  height: 3.6rem;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background-color: var(--group-map-accent);
  background-image: none;
  color: #fff;
  cursor: pointer;
}

.group-map-accordion .area_title::before {
  position: absolute;
  z-index: 0;
  top: 0;
  left: -1.6rem;
  width: 14rem;
  height: 100%;
  background: var(--group-map-color);
  content: "";
  transform: skewX(-24deg);
}

.group-map-accordion .area_title::after,
.group-map-sdx-link a::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 0.8rem;
  width: auto;
  height: auto;
  color: #fff;
  content: "›";
  font-family: Arial, sans-serif;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.group-map-accordion .area_title.is_active::after {
  transform: translateY(-50%) rotate(90deg);
}

.group-map-accordion .area_title_jp {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 1.8rem;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.group-map-accordion .area_title_en {
  position: absolute;
  z-index: 1;
  right: 3rem;
  bottom: 0.15rem;
  left: 12.8rem;
  margin: 0;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}

.group-map-accordion .area_box {
  display: none;
}

.group-map-sdx-link {
  margin: 0;
}

.group-map-sdx-link a {
  position: relative;
  z-index: 0;
  display: block;
  height: 3.6rem;
  overflow: hidden;
  background: #3d5899;
  color: #fff;
}

.group-map-sdx-link a::before {
  position: absolute;
  z-index: 0;
  top: 0;
  left: -1.6rem;
  width: 14rem;
  height: 100%;
  background: #0d3477;
  content: "";
  transform: skewX(-24deg);
}

.group-map-sdx-title {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 1.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  white-space: nowrap;
}

@media all and (min-width: 768px) {
  .group-map-accordions {
    display: none !important;
  }
}

@media only screen and (max-width: 767px) {
  .topGroup {
    padding: 6rem 0;
  }

  .topGroupTxt {
    margin-bottom: 2rem;
  }

  .group-map-stage--sp {
    width: 100%;
  }

  .group-map-accordions {
    margin-top: 2.8rem;
  }

  .group-map-hotspot--area:focus-visible,
  .group-map-hotspot--marker:focus-visible {
    background: rgba(255, 255, 255, 0.16);
  }
}
