/* Genkan Web サービスサイト（C案 スクロール演出） */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}
body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #ffffff;
  background: #0e1b2a;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #8fb4ff;
}
a:hover {
  color: #bfd3ff;
}
.c-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.c-stage-wrap {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.c-stage {
  position: relative;
  width: 560px;
  height: 560px;
  flex-shrink: 0;
}
.c-blk {
  position: absolute;
  box-sizing: border-box;
  white-space: pre-line;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 900;
  line-height: 1.3;
  transition:
    left 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    top 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    height 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-radius 0.9s,
    background-color 0.9s,
    opacity 0.7s,
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    font-size 0.6s,
    color 0.6s;
}
.c-step {
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 96px 6vw 96px 9vw;
}
.c-dots {
  position: absolute;
  left: 50%;
  bottom: -48px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.c-wide {
  padding-left: 9vw;
  padding-right: 9vw;
}
.c-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.c-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 820px) {
  .c-story {
    grid-template-columns: minmax(0, 1fr);
  }
  .c-stage-wrap {
    order: -1;
    height: 40vh;
    z-index: 2;
    background: #0e1b2a;
  }
  .c-stage {
    transform: scale(0.5);
  }
  .c-step {
    min-height: 72vh;
    padding: 32px 24px 64px;
  }
  .c-wide {
    padding-left: 20px;
    padding-right: 20px;
  }
  .c-grid3,
  .c-grid2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .c-hbtn {
    padding: 0 12px !important;
    font-size: 13px !important;
  }
  .c-hnav {
    gap: 6px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .c-blk {
    transition: none;
  }
}

/* テンプレート一覧：横スクロール */
.c-tscroll > a { scroll-snap-align: start; }
.c-tscroll::-webkit-scrollbar { height: 8px; }
.c-tscroll::-webkit-scrollbar-thumb { background: #C9D3E2; border-radius: 4px; }
@media (max-width: 480px) { .c-tscroll { grid-auto-columns: 78% !important; } }
