#plan {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: auto;
  padding: 72px 36px 36px;
  box-sizing: border-box;
}

#data {
  display: flex;
  align-items: center;
  justify-content: center;
}

#data .box {
  display: none;
}

#data .box.show {
  display: grid;
  gap: 27px;
}

#data .ttl {
  width: 100%;
  font-size: 4.9rem;
  font-weight: 500;
  color: var(--c-blue);
}

#data .ttl::after {
  content: "type";
  margin: 0 0 0 9px;
  font-size: 3.2rem;
}

#data .txt {
  font-size: 2.1rem;
  color: var(--c-gray);
}

#main {
  position: relative;
  margin: 0 18px;
  max-width: 810px;
  width: 100%;
  min-height: 100%;
}

#main img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transform: scale(.9);
  opacity: 0;
  cursor: zoom-in;
  transition:
    opacity 270ms var(--timing-function),
    transform 270ms var(--timing-function);
}

#main img.show {
  pointer-events: all;
  transform: scale(1);
  opacity: 1;
}

#list .ttl {
  width: 100%;
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--c-gray);
}

#list {
  width: 198px;
}

#list .box {
  display: grid;
  gap: 18px;
  margin: 18px 0 54px;
}

#list .btn.active {
  color: var(--c-white);
  background: var(--c-blue);
  pointer-events: none;
  cursor: default;
}

#list .btn {
  width: 100%;
  height: 45px;
  line-height: 45px;
  text-align: center;
  font-size: 2.1rem;
  color: var(--c-gray);
  background: var(--c-whisper);
  cursor: pointer;
  transition:
    opacity 180ms var(--timing-function);
}

#list .btn::after {
  content: "type";
  margin: 0 0 0 9px;
  font-size: 1.8rem;
}

/* zoom */
#zoom {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  background: rgba(0, 0, 0, .9);
  cursor: zoom-out;
  z-index: 3005;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 270ms var(--timing-function);
}

#zoom.show {
  pointer-events: all;
  opacity: 1;
}

#zoom img {
  display: block;
  margin: auto;
  padding: 27px;
  width: 90%;
  height: auto;
  transform: scale(.9);
  opacity: 0;
  animation:
    show 234ms var(--timing-function) forwards;
}

@keyframes show {
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* hover */
@media (hover :hover) {
  #list .btn:hover {
    opacity: .7;
  }
}