

.gp2-text,
.ex2-text,
.ex2-desc,
.rl2-text,
.bv2-text,
.sv2-lead,
.sv2-text {
  margin: 0;
  font: 500 var(--fs-s)/2 "Noto Sans JP", sans-serif;
  letter-spacing: .04em;
}
.gp2-title,
.ex2-title,
.rl2-title,
.bv2-title,
.sv2-title {
  margin: 0;
  font: 700 var(--fs-catch)/1.45 "Noto Sans JP", sans-serif;
  letter-spacing: .04em;
}
:root {
  --ab-gap: clamp(24px, 2.4vw, 36px);
}

.gp2-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: center;
  margin: 0 30px;
}
.gp2-main {
  display: grid;
  gap: var(--ab-gap);
}
.gp2-fig {
  --gp-drop: clamp(64px, 6vw, 96px);
  --gp-stem: clamp(36px, 3.4vw, 52px);
  --gp-gap: 16px;
  margin: 0;
  text-align: center;
}
.gp2-fig[data-reveal="wait"] {
  opacity: 1;
  translate: none;
}
.gp2-top {
  position: relative;
  display: inline-block;
  margin: 0 0 var(--gp-stem);
  padding: 18px 44px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 700 clamp(16px, 1.4vw, 20px)/1.4 "Noto Sans JP", sans-serif;
  letter-spacing: .08em;
  transition: opacity .6s var(--ease), background-color .6s var(--ease) 2.9s;
}
.gp2-top::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: var(--gp-stem);
  margin-left: -1px;
  background: var(--ink);
  transform-origin: top;
  transition: scale .4s var(--ease) .4s;
}
.gp2-parts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gp-gap);
  margin: 0;
  padding: var(--gp-drop) 0 0;
  list-style: none;
}
.gp2-parts::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc((100% - var(--gp-gap) * 2) / 6);
  right: calc((100% - var(--gp-gap) * 2) / 6);
  height: 2px;
  margin-top: -1px;
  background: var(--ink);
  transform-origin: center;
  transition: scale .5s var(--ease) .8s;
}
.gp2-parts li {
  position: relative;
  padding: clamp(28px, 3vw, 44px) 8px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font: 700 clamp(14px, 1.25vw, 18px)/1.5 "Noto Sans JP", sans-serif;
  letter-spacing: .04em;
  transition: opacity .6s var(--ease) 1.5s, translate .6s var(--ease) 1.5s, background-color .6s var(--ease) 2.9s, color .6s var(--ease) 2.9s;
}
.gp2-parts li::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 2px;
  height: var(--gp-drop);
  margin-left: -1px;
  background: var(--ink);
  transform-origin: top;
  transition: scale .4s var(--ease) 1.2s;
}
.gp2-cut {
  position: absolute;
  bottom: calc(100% + var(--gp-drop) / 2 - 7px);
  left: 50%;
  width: 20px;
  height: 14px;
  margin-left: -10px;
  background: var(--page);
  opacity: 0;
  pointer-events: none;
}
.gp2-cut::before,
.gp2-cut::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  height: 2px;
  background: var(--ink);
  rotate: -30deg;
}
.gp2-cut::before {
  top: 2px;
}
.gp2-cut::after {
  bottom: 2px;
}
.gp2-fig[data-reveal="in"] .gp2-cut {
  animation: gpCut 2.9s linear both;
}
@keyframes gpCut {
  0%, 44% { opacity: 0; scale: .4; }
  52%, 86% { opacity: 1; scale: 1; }
  100% { opacity: 0; scale: .2 1; }
}
.gp2-fig[data-reveal="wait"] .gp2-top {
  opacity: 0;
  background: var(--ink);
}
.gp2-fig[data-reveal="wait"] .gp2-top::after {
  scale: 1 0;
}
.gp2-fig[data-reveal="wait"] .gp2-parts::before {
  scale: 0 1;
}
.gp2-fig[data-reveal="wait"] .gp2-parts li::before {
  scale: 1 0;
}
.gp2-fig[data-reveal="wait"] .gp2-parts li {
  opacity: 0;
  translate: 0 12px;
  background: #fff;
  color: var(--ink);
}

.ex2-intro {
  display: grid;
  gap: var(--ab-gap);
  margin: 0 30px clamp(48px, 5vw, 80px);
}
.ex2-lead {
  display: grid;
  gap: var(--ab-gap);
}

.ex2-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sub-gap);
  margin: 0 30px;
  padding: 0;
  list-style: none;
}
.ex2-row {
  display: flex;
  flex-direction: column;
  gap: var(--ab-gap);
  padding: clamp(24px, 2.4vw, 36px);
  border-radius: var(--radius);
  background: #fff;
}
.ex2-no {
  margin: 0;
  font: 700 var(--ui-s)/1.4 "Plus Jakarta Sans", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.ex2-combo span {
  display: inline-block;
}
.ex2-combo {
  margin: 10px 0 14px;
  font: 700 clamp(17px, 1.45vw, 24px)/1.5 "Noto Sans JP", sans-serif;
  letter-spacing: .02em;
}

.ex2-row {
  container-type: inline-size;
}
.ex2-cells {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}
.ex2-cells li {
  display: grid;
  place-items: center;
  padding: 0 8px;
  white-space: nowrap;
  height: clamp(56px, 4.6vw, 72px);
  background: #ececec;
  border-radius: calc(var(--radius) - 4px);
  font: 700 var(--ui-s)/1.3 "Noto Sans JP", sans-serif;
  letter-spacing: 0;
}
.ex2-cells li.on {
  background: var(--ink);
  color: #fff;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
@container (max-width: 380px) {
  .ex2-cells {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .ex2-cells li {
    grid-column: span 2;
  }
  .ex2-cells li:nth-child(n + 4) {
    grid-column: span 3;
  }
}
.ex2-cells li:nth-child(1) { transition-delay: .3s; }
.ex2-cells li:nth-child(2) { transition-delay: .42s; }
.ex2-cells li:nth-child(3) { transition-delay: .54s; }
.ex2-cells li:nth-child(4) { transition-delay: .66s; }
.ex2-cells li:nth-child(5) { transition-delay: .78s; }
.ex2-row[data-reveal="wait"] .ex2-cells li.on {
  background: #ececec;
  color: var(--ink);
}

.rl2-title {
  margin: 0 30px clamp(48px, 5vw, 80px);
}
.rl2-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: stretch;
  margin: 0 30px;
}
.rl2-steps {
  --rl-gap: clamp(36px, 3.6vw, 56px);
  display: grid;
  gap: var(--rl-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.rl2-step {
  --rl-col: clamp(44px, 4vw, 60px);
  position: relative;
  display: grid;
  grid-template-columns: var(--rl-col) minmax(0, 1fr);
  gap: 0 clamp(16px, 2vw, 32px);
  align-items: start;
}
.rl2-no {
  margin: 0;
  padding-top: .1em;
  font: 800 clamp(28px, 2.4vw, 40px)/1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: -.02em;
  text-align: center;
  color: var(--accent);
}
.rl2-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: clamp(44px, 4vw, 56px);
  bottom: calc(-1 * var(--rl-gap) + 12px);
  left: calc(var(--rl-col) / 2);
  width: 1px;
  background: var(--ink);
  transform-origin: top;
  transition: scale .9s cubic-bezier(.7, 0, .2, 1) .4s;
}
.rl2-step[data-reveal="wait"]::before {
  scale: 1 0;
}
.rl2-photo {
  position: relative;
  min-height: 360px;
  border-radius: clamp(120px, 14vw, 240px) var(--radius);
}
.rl2-photo img {
  object-position: 50% center;
}

.bv2-title {
  margin: 0 30px clamp(48px, 5vw, 80px);
}
.bv2-list {
  --bv-d: clamp(180px, 18vw, 350px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 30px;
  padding: 0;
  list-style: none;
}
.bv2-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 clamp(12px, 1.6vw, 28px);
  text-align: center;
}
.bv2-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: var(--bv-d);
  aspect-ratio: 1;
  margin: 0 0 clamp(28px, 3vw, 44px);
  border-radius: 50%;
  background: #fff;
  transition: scale .8s cubic-bezier(.3, 1.3, .5, 1), opacity .6s var(--ease);
}

.bv2-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--bv-d) / 2 - 4px);
  left: calc(50% + var(--bv-d) / 2 + 12px);
  width: calc(100% - var(--bv-d) - 24px);
  height: 8px;
  background: radial-gradient(circle, #fff 3.5px, transparent 4px) center / 20px 8px repeat-x;
  clip-path: inset(0 0 0 0);
  transition: clip-path .8s cubic-bezier(.7, 0, .2, 1);
}
.bv2-item:nth-child(1) .bv2-ring { transition-delay: .1s; }
.bv2-item:nth-child(2) .bv2-ring { transition-delay: .3s; }
.bv2-item:nth-child(3) .bv2-ring { transition-delay: .5s; }
.bv2-item:nth-child(1)::after { transition-delay: .6s; }
.bv2-item:nth-child(2)::after { transition-delay: .8s; }
.bv2-item[data-reveal="wait"] .bv2-ring {
  scale: .6;
  opacity: 0;
}
.bv2-item[data-reveal="wait"]::after {
  clip-path: inset(0 100% 0 0);
}

.bv2-icon {
  --d: calc(.3s + var(--i, 0) * .2s);
  width: clamp(44px, 3.6vw, 68px);
  height: auto;
  overflow: visible;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bv2-item:nth-child(2) .bv2-icon { --i: 1; }
.bv2-item:nth-child(3) .bv2-icon { --i: 2; }
.bv2-icon [pathLength] {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.2s var(--ease) var(--d);
}
.bv2-item[data-reveal="wait"] .bv2-icon [pathLength] {
  stroke-dashoffset: 1;
}
.bv2-icon .ic-dot,
.bv2-icon .ic-bar {
  fill: var(--accent);
  stroke: none;
  transform-box: fill-box;
}
.bv2-icon .ic-dot {
  transform-origin: center;
  transition: scale .6s cubic-bezier(.34, 1.56, .64, 1) calc(var(--d) + .9s);
}
.bv2-item[data-reveal="wait"] .bv2-icon .ic-dot {
  scale: 0;
}
.bv2-icon .ic-bar {
  transform-origin: bottom;
  transition: scale .8s cubic-bezier(.34, 1.3, .64, 1) calc(var(--d) + .7s);
}
.bv2-item[data-reveal="wait"] .bv2-icon .ic-bar {
  scale: 1 0;
}
.bv2-icon .ic-hand {
  transform-box: view-box;
  transform-origin: 38px 38px;
  transition: rotate 1.4s cubic-bezier(.2, .8, .2, 1) calc(var(--d) + .3s);
}
.bv2-item[data-reveal="wait"] .bv2-icon .ic-hand {
  rotate: -300deg;
}
.bv2-word {
  font: 800 clamp(22px, 2.5vw, 48px)/1.1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: -.02em;
}
.bv2-ja {
  margin-top: -2px;
  font: 700 clamp(14px, .95vw, 18px)/1.4 "Noto Sans JP", sans-serif;
  letter-spacing: .08em;
}
.bv2-head {
  margin: 0 0 14px;
  font: 700 clamp(18px, 1.7vw, 24px)/1.5 "Noto Sans JP", sans-serif;
  letter-spacing: .04em;
}

.sv2-intro {
  display: grid;
  gap: var(--ab-gap);
  margin: 0 30px clamp(48px, 5vw, 80px);
}
.sv2-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sub-gap);
  margin: 0 30px;
  padding: 0;
  list-style: none;
}
.sv2-card {
  display: flex;
}
.sv2-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: clamp(14px, 1.4vw, 20px) clamp(14px, 1.4vw, 20px) clamp(24px, 2.4vw, 32px);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.sv2-photo {
  --cut: clamp(36px, 3.6vw, 56px);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.sv2-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .8s var(--ease);
}

.sv2-logo {
  display: grid;
  place-items: center;
  background: #fff;
}
.sv2-photo.sv2-logo img {
  width: 60%;
  height: auto;
  object-fit: contain;
}
.sv2-name {
  margin: clamp(20px, 2vw, 28px) clamp(6px, .6vw, 10px) 14px;
  font: 700 var(--ui-xl)/1.4 "Noto Sans JP", sans-serif;
  letter-spacing: .04em;
}
.sv2-name[lang="en"] {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -.01em;
}
.sv2-text {
  margin: 0 clamp(6px, .6vw, 10px);
  font-size: var(--ui-m);
  line-height: 1.9;
}
.sv2-text + .sv2-text {
  margin-top: 10px;
}
.sv2-more {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: auto clamp(6px, .6vw, 10px) 0;
  padding-top: clamp(20px, 2vw, 28px);
  font: 700 var(--ui-m)/1.4 "Noto Sans JP", sans-serif;
  letter-spacing: .06em;
  transition: color .3s var(--ease);
}
.sv2-arw {
  position: relative;
  width: 28px;
  height: 2px;
  background: currentColor;
  transition: translate .3s var(--ease);
}
.sv2-arw::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  translate: 0 -50%;
  rotate: 45deg;
}
@media (any-hover: hover) {
  .sv2-link:hover .sv2-photo img {
    scale: 1.05;
  }
  .sv2-link:hover .sv2-more {
    color: var(--accent);
  }
  .sv2-link:hover .sv2-arw {
    translate: 6px 0;
  }
}

@media (min-width: 861px) and (max-width: 1199px) {
  .ex2-list {
    grid-template-columns: 1fr;
  }
  .ex2-row {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--ab-gap) clamp(32px, 4vw, 64px);
    align-items: center;
  }
  .ex2-cells {
    margin: 0;
  }
}

@media (max-width: 860px) {
  .gp2-body,
  .ex2-intro,
  .ex2-list,
  .rl2-body,
  .bv2-list {
    grid-template-columns: 1fr;
  }
  .gp2-body {
    gap: 48px;
    margin: 0 15px;
  }
  .gp2-parts li {
    padding: 20px 6px;
    font-size: var(--ui-s);
  }
  .gp2-fig {
    --gp-drop: 56px;
    --gp-stem: 32px;
    --gp-gap: 10px;
  }
  .ex2-combo {
    font-size: 18px;
  }
  .ex2-intro,
  .ex2-list,
  .rl2-title,
  .rl2-body,
  .bv2-title,
  .bv2-list,
  .sv2-intro,
  .sv2-list {
    margin-left: 15px;
    margin-right: 15px;
  }
  .ex2-cells {
    gap: 6px;
  }
  .ex2-list {
    gap: 16px;
  }
  .ex2-row {
    padding: 24px 22px;
  }
  .ex2-cells li {
    height: 52px;
  }
  .rl2-body {
    gap: 40px;
  }
  .rl2-photo {
    order: -1;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 34% var(--radius) 34% var(--radius) / 45% var(--radius) 45% var(--radius);
  }
  .rl2-steps {
    --rl-gap: 32px;
  }
  .bv2-list {
    --bv-d: 180px;
    gap: 48px;
  }
  .bv2-ring {
    margin-bottom: 24px;
  }
  .bv2-item:not(:last-child)::after {
    display: none;
  }
  .bv2-item:nth-child(n) .bv2-ring {
    transition-delay: .1s;
  }
  .bv2-item:nth-child(n) .bv2-icon {
    --i: 0;
  }
  .sv2-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
