﻿@charset "utf-8";
/*--------------------------------------------------------------------------------

  junkai

--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------
  .junkai-img-area
--------------------------------------------------------------------------------*/
@media (min-width: 761px) {
  .junkai-img-area { --img-area-wide: calc(50% - (var(--space-s) / 2)); }
  .junkai-img-area { margin-bottom: 1.5rem; }
}
@media (max-width: 760px) {
  .junkai-img-area { margin-bottom: var(--space-l); }
}

/*--------------------------------------------------------------------------------
  .junkai-setting
--------------------------------------------------------------------------------*/
.junkai-setting {
  max-width: 720px;
  margin-inline: auto;
}

/*--------------------------------------------------------------------------------
  .junkai-flow
--------------------------------------------------------------------------------*/
@media (min-width: 761px) { .junkai-flow { --cgap: 1.25rem; } }
@media (max-width: 760px) { .junkai-flow { --cgap: 0.75rem; --fs: var(--fs-s); }
.junkai-flow-wrap.is-scrollable { padding-bottom: 1rem; } }
.junkai-flow {
  max-width: calc(var(--pc-min-width) * 1px);
  margin-inline: auto;
}
.junkai-flow {
  font-size: var(--fs);
  white-space: nowrap;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(2, auto);
  row-gap: 1rem;
  column-gap: var(--cgap);
}
.junkai-flow_step:nth-of-type(1) { grid-area: 1 / 1 / 2 / 2; }
.junkai-flow_step:nth-of-type(2) { grid-area: 1 / 2 / 2 / 3; }
.junkai-flow_step:nth-of-type(3) { grid-area: 1 / 3 / 2 / 4; }
.junkai-flow_step:nth-of-type(4) { grid-area: 1 / 4 / 2 / 5; }
.junkai-flow_step:nth-of-type(5) { grid-area: 1 / 5 / 2 / 6; }
.junkai-flow_step:nth-of-type(6) { grid-area: 1 / 6 / 2 / 7; }
.junkai-flow_step:nth-of-type(7) { grid-area: 1 / 7 / 2 / 8; }
.junkai-flow_step:nth-of-type(8) { grid-area: 1 / 8 / 2 / 9; }
.junkai-flow_step:last-of-type { grid-area: 1 / 9 / 2 / 10; }
.junkai-flow_venue:first-of-type { grid-area:  2 / 1 / 3 / 7; }
.junkai-flow_venue:last-of-type { grid-area: 2 / 7 / 3 / 10; }
.junkai-flow_step {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 0.75rem;
  border: 2px solid var(--color-gray-lighter);
  padding: 1rem 1.25rem;
  line-height: 1;
}
.junkai-flow_step:last-of-type {
  border-color: var(--color-gray-lightest);
  background-color: var(--color-gray-lightest);
}
.junkai-flow_step .no {
  line-height: 1;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--pale-color-primary);
  color: #FFF;
  border-radius: 100%;
}
.junkai-flow_step:last-of-type .no { opacity: 0; }
.junkai-flow_step .txt {
  writing-mode: vertical-rl;
  margin-right: 0.2rem;
}
.junkai-flow_venue {
  font-size: var(--fs-s);
  text-align: center;
  display: flex;
  position: relative;
  justify-content: center;
}
.junkai-flow_venue:before,
.junkai-flow_venue:after {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--color-primary);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.junkai-flow_venue:before { left: 0; clip-path: polygon(0 50%, 90% 0, 90% 90%); }
.junkai-flow_venue:after { right: 0; clip-path: polygon(90% 50%, 0 0, 0 90%); }
.junkai-flow_venue .txt {
  flex-shrink: 0;
  color: var(--color-primary);
  background-color: #FFF;
  padding: 0 1.5em;
}
.junkai-flow_venue .txt:before {
  content: "";
  width: calc(100% - 1rem);
  height: 1px;
  background-color: var(--color-primary);
  position: absolute;
  top: calc(50% - 0.5px);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
