:root {
  --brand: #d74d74;
  --deep: #b83a60;
  --mag: #e74291;
  --cream: #fcd68c;
  --pale: #fadbda;
  --sky: #d3edfb;
  --ink: #1f1a1c;
  --soft: #5b5155;
  --line: #ecdfe0;
  --tint: #fff8f6;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
}

html {
  scroll-padding-top: 20px;
}

body {
  font-family: "Zen Maru Gothic",sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  line-height: 1.8;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

h1, h2, h3, .h2, .big {
  text-wrap: balance;
}

p, dd, li {
  text-wrap: pretty;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(100% - 32px,1120px);
  margin-inline: auto;
}

.todo {
  background: #fff27a;
  border-radius: 4px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
  color: var(--ink);
}

/* ナビ */
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 48px;
  height: 76px;
  font-weight: 700;
  font-size: 15px;
  position: relative;
  z-index: 10;
  background: #fff;
}

.nav .logo {
  margin-right: auto;
}

.nav .logo img {
  width: 230px;
}

.nav a[aria-current] {
  color: var(--brand);
}

.nav .cta {
  background: var(--ink);
  color: #fff!important;
  padding: 9px 20px;
  border-radius: 999px;
  white-space: nowrap;
}

.nav .hamb, .drawer .dr-close {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  border-radius: 12px;
  place-items: center;
  cursor: pointer;
}

.nav .hamb svg, .drawer .dr-close svg {
  width: 26px;
}

.drawer .dr-close {
  display: grid;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(84vw,340px);
  background: #fff;
  z-index: 30;
  display: flex;
  flex-direction: column;
  padding: 16px 22px 28px;
  box-shadow: -20px 0 60px rgba(40,10,20,.18);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .32s cubic-bezier(.2,.8,.2,1),visibility 0s .32s;
}

.nav.open .drawer {
  transform: none;
  visibility: visible;
  transition: transform .32s cubic-bezier(.2,.8,.2,1),visibility 0s;
}

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(31,26,28,.38);
  z-index: 29;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s;
}

.nav.open .scrim {
  opacity: 1;
  pointer-events: auto;
}

.dr-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.dr-links {
  display: grid;
}

.dr-links a {
  padding: 15px 4px;
  font-size: 18px;
  border-bottom: 1px solid var(--line);
}

.drawer .dr-cta {
  margin-top: 26px;
  text-align: center;
  background: var(--ink);
  color: #fff;
  padding: 14px;
  border-radius: 999px;
}

.dr-sns {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
}

.dr-sns a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.dr-sns svg {
  width: 22px;
  height: 22px;
}

@media(max-width:700px) {
  .wrap :is(h1, h2, h3, p, dl, ul, ol, .eb, .crumb, .when, .big, .n, .badge, .setsumei):not(:is(.box, .panel, .card, .lk, .join, .fresh, .foot, .ticker, .setsumei, .stats, .flow) *) {
    padding-inline: 8px;
  }
  .wrap .flow {
    padding-inline: 8px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .drawer, .nav.open .drawer, .scrim {
    transition: none;
  }
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  transition: transform .15s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn.p {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* 表紙（写真の壁） */
.hero {
  position: relative;
  height: clamp(620px,calc(100vh - 76px),860px);
  overflow: hidden;
  background: #fff;
}

.rows {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(3,1fr);
  gap: 8px;
  padding: 8px 0;
}

.row {
  overflow: hidden;
}

.track {
  display: flex;
  gap: 8px;
  height: 100%;
  width: max-content;
  animation: flow var(--dur,70s) linear infinite;
}

.row.rev .track {
  animation-direction: reverse;
}

.track img {
  height: 100%;
  width: auto;
  border-radius: 10px;
  object-fit: cover;
}

@keyframes flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 2;
  background: #fff;
  border-radius: 28px;
  padding: 40px 56px 70px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  width: min(92vw,720px);
}

.card h1 {
  font-family: "Dela Gothic One";
  font-weight: 400;
  font-size: clamp(32px,6vw,72px);
  line-height: 1.02;
  margin: 0;
  color: var(--brand);
}

.card h1 span {
  display: block;
  white-space: nowrap;
}

.card p {
  font-size: clamp(15px,1.6vw,19px);
  font-weight: 700;
  margin: 16px 0 0;
}

/* 段 */
.sec {
  padding: 110px 0;
}

.sec.tight {
  padding-top: 0;
}

.sec.tint {
  background: var(--tint);
}

.eb {
  font-family: "Dela Gothic One";
  color: var(--brand);
  letter-spacing: .14em;
  font-size: 13px;
}

.h2 {
  font-size: clamp(28px,4vw,40px);
  font-weight: 900;
  margin: 8px 0 22px;
  line-height: 1.35;
}

.lead {
  font-size: 17px;
  color: var(--soft);
  max-width: 36em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 24px;
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stats b {
  font-family: "Dela Gothic One";
  font-weight: 400;
  font-size: 40px;
  color: var(--brand);
  line-height: 1;
}

.stats small {
  font-weight: 700;
  font-size: 14px;
  margin-left: 3px;
}

.stats span {
  display: block;
  font-size: 13px;
  color: var(--soft);
  margin-top: 4px;
}

.work {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 70px;
}

.work:nth-of-type(even)>img {
  order: 2;
}

.work>img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 24px;
}

.work .when {
  color: var(--brand);
  font-weight: 900;
  font-size: 14px;
}

.work h3 {
  font-size: 28px;
  margin: 4px 0 10px;
  line-height: 1.4;
}

.work p {
  color: var(--soft);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.tags li {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 14px;
  font-size: 13.5px;
  font-weight: 700;
}

.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6,1fr);
  margin-top: 50px;
}

.flow::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 11px;
  height: 3px;
  background: var(--brand);
  opacity: .35;
}

.flow div {
  position: relative;
  padding-right: 14px;
}

.flow div::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--brand);
  margin-bottom: 16px;
}

.flow div.peak::before {
  background: var(--brand);
}

.flow b {
  font-family: "Dela Gothic One";
  font-weight: 400;
  color: var(--brand);
}

.flow h3 {
  font-size: 17px;
  margin: 2px 0 6px;
}

.flow p {
  font-size: 13.5px;
  color: var(--soft);
  margin: 0;
}

/* 傾けた帯の左右のはみ出しで横にずれないよう、外側で横だけ切る */
.tk-clip {
  overflow-x: clip;
}

.ticker {
  background: var(--brand);
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  transform: rotate(-2deg);
  margin: 40px -20px;
}

.ticker div {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: tk 30s linear infinite;
  font-family: "Dela Gothic One";
  font-size: 44px;
  white-space: nowrap;
}

.ticker span::after {
  content: "";
  display: inline-block;
  width: .8em;
  height: .8em;
  margin-left: 40px;
  vertical-align: -.04em;
  background: url(mark-cream.png) center/contain no-repeat;
  animation: spin 6s linear infinite;
}

@keyframes tk {
  to {
    transform: translateX(-50%);
  }
}

.join {
  position: relative;
  height: 560px;
  border-radius: 32px;
  overflow: hidden;
  color: #fff;
}

.join img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.join::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(215,77,116,.95) 0,rgba(215,77,116,.75) 45%,rgba(215,77,116,0) 75%);
}

.join .t {
  position: absolute;
  z-index: 2;
  left: 56px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 470px;
}

.join .eb {
  color: var(--cream);
}

.join .h2 {
  color: #fff;
}

.join p {
  color: rgba(255,255,255,.92);
}

.join .btn {
  border-color: #fff;
  color: var(--deep);
  margin-top: 10px;
}

.fresh {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--line);
  margin-top: 36px;
}

.fresh a {
  padding: 26px 20px 26px 0;
  border-bottom: 1px solid var(--line);
  display: block;
}

.fresh a+a {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.fresh b {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
}

.fresh b svg {
  width: 20px;
  color: var(--brand);
  flex: none;
}

.fresh span {
  font-size: 13.5px;
  color: var(--soft);
}

/* 下層ページの頭 */
.phead {
  padding: 0;
}

.ph-img {
  position: relative;
  height: clamp(320px,56vh,560px);
  overflow: hidden;
}

.phead .ph-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  opacity: .88;
}

.ph-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.55) 68%,#fff 100%);
}

.phead .wrap {
  margin-top: -150px;
  position: relative;
  z-index: 1;
}

.phead.plain .wrap {
  margin-top: 0;
  padding-top: 56px;
}

.phead h1 {
  font-size: clamp(34px,5.4vw,58px);
  font-weight: 900;
  line-height: 1.3;
  margin: 10px 0 20px;
}

.phead .lead {
  font-size: 18px;
}

/* メンバー募集の見出しの下：入会説明会の日にち */
.setsumei {
  margin: 26px 0 0;
}

.setsumei .lab {
  font-weight: 900;
  color: var(--deep);
  font-size: 16px;
  letter-spacing: .08em;
}

.setsumei .days {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 44px;
  margin: 4px 0 8px;
}

.setsumei .day {
  display: flex;
  align-items: center;
  gap: 14px;
}

.setsumei .day b {
  font-family: "Dela Gothic One";
  font-weight: 400;
  font-size: clamp(60px,9vw,108px);
  line-height: 1.05;
  color: var(--brand);
}

.setsumei .day span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: 19px;
}

.setsumei p {
  margin: 0;
  font-weight: 700;
  font-size: 17px;
}

.formbtns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0!important;
}

.setsumei .formbtns {
  justify-content: flex-end;
}

.banner {
  margin-top: 44px;
  width: 100%;
  aspect-ratio: 21/8;
  object-fit: cover;
  border-radius: 28px;
}

.crumb {
  font-size: 13px;
  color: var(--soft);
  margin-bottom: 6px;
}

/* 中身の部品 */
.big {
  font-family: "Dela Gothic One";
  font-weight: 400;
  font-size: clamp(34px,6vw,68px);
  line-height: 1.15;
  color: var(--brand);
  margin: 6px 0 16px;
}

.prose {
  max-width: 44em;
}

.prose p {
  margin: 0 0 1.1em;
}

.three {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  margin-top: 40px;
}

.box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 28px;
}

.box .n {
  font-family: "Dela Gothic One";
  color: var(--brand);
  font-size: 28px;
  line-height: 1;
}

.box h3 {
  font-size: 20px;
  margin: 10px 0 8px;
  line-height: 1.45;
}

.box p {
  color: var(--soft);
  font-size: 15px;
  margin: 0;
}

.grid3 .box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.grid3 .box .fit {
  align-self: stretch;
}

.grid3 .box>p {
  padding-bottom: 16px;
}

.box .fit {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
}

.box .fit dt {
  font-weight: 900;
  color: var(--deep);
}

.box .fit dd {
  margin: 0;
  color: var(--soft);
}

.box ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
  color: var(--soft);
  font-size: 14.5px;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 22px;
  margin-top: 40px;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  margin-top: 40px;
}

.flow.five {
  grid-template-columns: repeat(5,1fr);
}

#steps .grid2 {
  margin-top: 60px;
}

.finale {
  position: relative;
  text-align: center;
  margin: 110px auto 0;
  max-width: 780px;
}

.finale .n {
  font-family: "Dela Gothic One";
  color: var(--brand);
  letter-spacing: .06em;
  font-size: 18px;
}

.finale .big {
  font-size: clamp(38px,7vw,80px);
  margin: 10px 0 22px;
}

.finale p {
  max-width: 36em;
  margin-inline: auto;
}

.finale p {
  font-size: 17px;
  line-height: 2;
}

.tsk-finale {
  width: 120px;
  left: -130px;
  top: 30px;
}

#steps .box .n {
  font-size: 18px;
  letter-spacing: .06em;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  color: var(--deep);
  background: var(--pale);
  border-radius: 999px;
  padding: 2px 12px;
}

.dl {
  display: grid;
  grid-template-columns: 10em 1fr;
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
}

.dl dt, .dl dd {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.dl dt {
  font-weight: 900;
  color: var(--deep);
}

.rules {
  columns: 2;
  column-gap: 40px;
  margin: 24px 0 0;
  padding-left: 1.3em;
}

.rules li {
  margin-bottom: 8px;
  break-inside: avoid;
}

.panel {
  background: var(--pale);
  border-radius: 28px;
  padding: 48px;
}

.panel .h2 {
  margin-top: 0;
}

.links {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-top: 36px;
}

.lk {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px 24px;
}

.lk-i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid var(--line);
  color: #000;
  margin-bottom: 16px;
}

.lk-i svg {
  width: 28px;
  height: 28px;
}

.lk-i.ic-note svg {
  width: 34px;
  height: 34px;
}

.lk b {
  display: block;
  font-size: 19px;
  line-height: 1.3;
}

.lk small {
  display: block;
  color: var(--soft);
  font-size: 12.5px;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.lk p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--soft);
  line-height: 1.75;
}

.lk-o {
  position: absolute;
  right: 20px;
  top: 22px;
  color: var(--brand);
}

.lk-o svg {
  width: 20px;
  height: 20px;
}

.foot .ic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.foot .ic svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.foot .ic svg {
  color: #fff;
}

.foot .ic.ic-note svg {
  box-shadow: inset 0 0 0 1.5px #fff;
  border-radius: 4px;
}

@media(max-width:960px) {
  .links {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:560px) {
  .links {
    grid-template-columns: 1fr;
  }
}

.chara {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.chara-logo {
  width: min(100%,380px);
}

.chara-t .lead {
  margin-top: 18px;
}

.poses {
  display: flex;
  justify-content: center;
}

.tsk.pose {
  position: relative;
  width: min(100%,260px);
}

@media(max-width:860px) {
  .chara {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .chara-logo {
    width: min(100%,300px);
  }
  .tsk.pose {
    width: 200px;
  }
}

.sp-intro {
  align-items: start;
}

.sp-intro .dl {
  grid-template-columns: 11em 1fr;
}

.plans {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

.plan h3 {
  margin-top: 8px;
}

.plan .n {
  font-size: 18px;
  letter-spacing: .06em;
}

.ptable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 15px;
}

.ptable th, .ptable td {
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.ptable th {
  font-size: 12.5px;
  color: var(--soft);
  font-weight: 700;
}

.ptable .y {
  text-align: right;
  white-space: nowrap;
}

.ptable td.y {
  font-weight: 900;
  color: var(--deep);
}

.note {
  font-size: 13.5px;
  color: var(--soft);
}

.flow.four {
  grid-template-columns: repeat(4,1fr);
}

@media(max-width:560px) {
  .ptable {
    font-size: 13px;
  }
  .ptable th, .ptable td {
    padding: 10px 4px;
  }
}

.legal h2 {
  font-size: 20px;
  margin: 40px 0 10px;
}

.legal ul {
  padding-left: 1.3em;
}

/* フッター */
.foot {
  background: var(--ink);
  color: rgba(255,255,255,.85);
  padding: 56px 0 30px;
  font-size: 14px;
}

.foot .g {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
}

.foot img {
  width: 230px;
  filter: brightness(0) invert(1);
}

.foot h4 {
  font-family: "Dela Gothic One";
  font-weight: 400;
  color: var(--cream);
  letter-spacing: .12em;
  font-size: 12px;
  margin: 0 0 10px;
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.foot .c {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 36px;
  padding-top: 16px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

@media(max-width:960px) {
  .nav>a:not(.logo):not(.cta) {
    display: none;
  }
  .nav .hamb {
    display: grid;
  }
}

@media(max-width:860px) {
  .sec {
    padding: 80px 0;
  }
  .split, .work, .three, .grid2, .grid3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .work:nth-of-type(even)>img {
    order: 0;
  }
  .work {
    margin-top: 50px;
  }
  .flow, .flow.five, .flow.four {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .fresh {
    grid-template-columns: 1fr;
  }
  .fresh a+a {
    padding-left: 0;
    border-left: 0;
  }
  .join {
    height: auto;
  }
  .join .t {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    padding: 40px 24px;
  }
  .join::after {
    background: rgba(215,77,116,.88);
  }
  .foot .g {
    grid-template-columns: 1fr;
  }
  .dl {
    grid-template-columns: 1fr;
  }
  .dl dt {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .rules {
    columns: 1;
  }
  .panel {
    padding: 32px 22px;
  }
  .ph-img {
    height: 300px;
  }
  .phead .wrap {
    margin-top: -90px;
  }
}

@media(max-width:700px) {
  .nav {
    padding: 0 22px;
  }
  .nav .logo img {
    width: 170px;
  }
  .nav .cta {
    padding: 8px 14px;
    font-size: 14px;
  }
  .card {
    padding: 28px 22px 46px;
    border-radius: 22px;
  }
  .ticker div {
    font-size: 32px;
  }
}

/* つくしん子（公式キャラクター）：見えたところでぴょこっと出て、ゆらゆらする。押すと跳ねる */
.tsk {
  position: absolute;
  z-index: 3;
  display: block;
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px) scale(.85);
  transition: opacity .3s ease,transform .55s cubic-bezier(.34,1.56,.64,1);
}

.tsk.in {
  opacity: 1;
  transform: none;
}

.tsk img, .split .tsk img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
  transform-origin: 50% 100%;
  animation: sway 3.2s ease-in-out infinite alternate;
}

.tsk.hop img {
  animation: hop .5s cubic-bezier(.3,0,.3,1);
}

@keyframes sway {
  from {
    transform: rotate(-3deg);
  }
  to {
    transform: rotate(3deg);
  }
}

@keyframes hop {
  0%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-22px) rotate(-5deg);
  }
}

.tsk-card {
  width: 150px;
  right: -56px;
  bottom: -46px;
}

.peekwrap {
  position: relative;
  z-index: 2;
}

.peekwrap .join, .peekwrap .panel {
  position: relative;
  z-index: 1;
}

/* 箱の右上に重ねて全身を出す（後ろからのぞかせると体の途中で切れる） */
.tsk-peek {
  width: 120px;
  right: 70px;
  top: -96px;
  z-index: 2;
}

.sec.peeksec {
  padding-top: 120px;
}

.tsk-peektop {
  width: 110px;
  right: 40px;
  top: -96px;
  z-index: 2;
}

.panel {
  position: relative;
}

.tsk-panel {
  width: 150px;
  right: 36px;
  bottom: -14px;
}

.split>div {
  position: relative;
}

.tsk-mission {
  width: 110px;
  right: 0;
  top: 10px;
}

.phead .wrap {
  position: relative;
}

.tsk-head {
  width: 150px;
  right: 20px;
  top: 30px;
}

.totop {
  float: right;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.75);
  margin-top: -10px;
}

.totop img {
  width: 34px;
}

@media(max-width:860px) {
  .tsk-card {
    width: 90px;
    right: -12px;
    bottom: -54px;
  }
  .tsk-peek {
    width: 84px;
    right: 16px;
    top: -70px;
  }
  .sec.peeksec {
    padding-top: 100px;
  }
  .tsk-peektop {
    width: 80px;
    right: 12px;
    top: -70px;
  }
  .tsk-panel {
    width: 96px;
    right: 14px;
    bottom: -10px;
  }
  .tsk-mission {
    width: 80px;
  }
  .tsk-head {
    width: 76px;
    right: 0;
    top: -96px;
  }
  .tsk-finale {
    width: 80px;
    left: auto;
    right: 0;
    top: -104px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .track, .ticker div {
    animation: none;
  }
  .btn {
    transition: none;
  }
  .tsk {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .tsk img, .tsk.hop img {
    animation: none;
  }
}

/* トップの最初の段：ステートメント */
.stmt-sec {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}

.stmt {
  max-width: 720px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stmt .h2 {
  font-size: clamp(25px,4.6vw,48px);
  margin: 12px 0 30px;
}

.stmt p {
  font-size: clamp(16px,1.8vw,18.5px);
  line-height: 2.1;
  margin: 0 0 30px;
  color: var(--ink);
}

.cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  --amp: 1px;
}

.cloud span {
  opacity: .5;
  position: absolute;
  left: calc(50% + var(--dx) * min(1vw,13px));
  top: var(--y);
  animation: drift var(--du) ease-in-out infinite alternate;
  animation-delay: calc(var(--k) * -.7s);
}

@keyframes drift {
  from {
    transform: translate(0,0) rotate(var(--r));
  }
  to {
    transform: translate(calc(var(--ax) * var(--amp)),calc(var(--ay) * var(--amp))) rotate(calc(var(--r) * -1));
  }
}

.cloud i {
  display: block;
  font-style: normal;
  white-space: nowrap;
  border-radius: 999px;
  padding: .4em 1em;
  font-weight: 900;
  font-size: var(--fs);
  background: var(--pale);
  color: var(--deep);
}

.cloud i.o {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--brand);
  color: var(--brand);
}

.cloud i.q {
  background: var(--brand);
  color: #fff;
  font-family: "Dela Gothic One";
  font-weight: 400;
  padding: .4em .75em;
}

@media(max-width:1100px) {
  .cloud {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 10px;
    margin: 0 auto 34px;
    max-width: 520px;
    --amp: .4px;
  }
  .cloud span {
    position: static;
  }
  .cloud i {
    font-size: calc(var(--fs) * .8);
  }
}

.ticker.alt {
  background: var(--pale);
  color: var(--brand);
  transform: rotate(1.5deg);
  padding: 14px 0;
}

.ticker.alt div {
  font-size: 30px;
  animation-direction: reverse;
  animation-duration: 40s;
}

.ticker.alt span::after {
  background-image: url(mark-sm.png);
}

@media(max-width:700px) {
  .ticker.alt div {
    font-size: 22px;
  }
}

.intro-sec {
  padding-top: 90px;
}

.intro {
  align-items: start;
}

.intro-logo {
  text-align: center;
  margin-bottom: 70px;
}

.intro-logo img {
  width: min(100%,640px);
  margin: 22px auto 0;
}

.intro .h2 {
  margin: 0;
}

.anim .intro-logo img {
  opacity: 0;
  transform: scale(.7);
  transition: opacity .5s ease,transform 1s cubic-bezier(.3,1.6,.45,1);
}

.anim .intro-logo.in img {
  opacity: 1;
  transform: none;
}

.mk {
  font-style: normal;
  font-weight: 900;
  background: linear-gradient(transparent 58%,var(--cream) 58%) no-repeat 0 0/100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 2px;
}

.floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fl {
  position: absolute;
  width: calc(var(--s) * 1vw);
  aspect-ratio: 1;
  will-change: transform;
}

.flp {
  display: block;
  width: 100%;
  height: 100%;
}

.fl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: 0 16px 40px rgba(80,20,40,.2);
  animation: bob 4.5s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -.8s);
}

.fl:nth-child(even) img {
  animation-duration: 5.5s;
}

@keyframes bob {
  from {
    transform: translateY(-10px) rotate(-3deg);
  }
  to {
    transform: translateY(10px) rotate(3deg);
  }
}

@media(max-width:1180px) {
  .floats {
    display: none;
  }
}

@media(max-width:700px) {
  .stmt p br {
    display: none;
  }
}

/* 新歓委の桜のマーク */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.card-mark {
  width: 64px;
  margin: 0 auto 18px;
}

.anim .card-mark {
  animation: markIn 1.1s cubic-bezier(.3,1.5,.45,1) .35s both;
}

@keyframes markIn {
  from {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media(max-width:700px) {
  .card-mark {
    width: 48px;
    margin-bottom: 12px;
  }
}

@media(max-width:700px) {
  .setsumei .days {
    gap: 6px 28px;
  }
  .setsumei .day {
    gap: 10px;
  }
  .setsumei .day span {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .setsumei p {
    font-size: 15px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .ticker span::after {
    animation: none;
  }
}

/* 動き（JS が html に anim を付けたときだけ。動きを減らす設定の人には付かない） */
.ch, .phw {
  display: inline-block;
}

.phw {
  white-space: nowrap;
}

.anim .rv {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease var(--d,0ms),transform .9s cubic-bezier(.2,.9,.25,1.15) var(--d,0ms);
}

.anim .rv.in {
  opacity: 1;
  transform: none;
}

.anim .rv-pop {
  opacity: 0;
  transform: scale(.9) translateY(30px);
  transition: opacity .6s ease var(--d,0ms),transform .8s cubic-bezier(.3,1.5,.5,1) var(--d,0ms);
}

.anim .rv-pop.in {
  opacity: 1;
  transform: none;
}

.anim .rv-clip {
  clip-path: inset(0 100% 0 0);
  transform: scale(1.12);
  transition: clip-path 1.1s cubic-bezier(.75,0,.2,1) var(--d,0ms),transform 1.6s cubic-bezier(.2,.8,.2,1) var(--d,0ms);
}

.anim .work:nth-of-type(even)>img.rv-clip {
  clip-path: inset(0 0 0 100%);
}

.anim .rv-clip.in, .anim .work:nth-of-type(even)>img.rv-clip.in {
  clip-path: inset(0);
  transform: none;
}

.anim .chars .ch {
  opacity: 0;
  transform: translateY(.7em) rotate(12deg) scale(.4);
}

.anim .chars.in .ch {
  animation: chIn .7s cubic-bezier(.3,1.7,.45,1) forwards;
  animation-delay: calc(var(--c) * 40ms + var(--d,0ms));
}

@keyframes chIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.anim .mk {
  background-size: 0 100%;
  transition: background-size 1s cubic-bezier(.7,0,.2,1) .5s;
}

.anim .in .mk, .anim .in.mk {
  background-size: 100% 100%;
}

.anim .cloud i {
  opacity: 0;
  transform: scale(0) rotate(-25deg);
}

.anim .cloud.in i {
  animation: chipIn .7s cubic-bezier(.3,1.8,.45,1) forwards calc(var(--k) * 90ms);
}

@keyframes chipIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.anim .flp {
  opacity: 0;
  transform: scale(0) rotate(-30deg);
  transition: opacity .4s ease calc(var(--i) * 110ms),transform .9s cubic-bezier(.3,1.6,.45,1) calc(var(--i) * 110ms);
}

.anim .floats.in .flp {
  opacity: 1;
  transform: none;
}

.anim .flow::before {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s cubic-bezier(.7,0,.2,1);
}

.anim .flow.in::before {
  transform: none;
}

.anim .flow>div::before {
  transform: scale(0);
  transition: transform .6s cubic-bezier(.3,1.9,.45,1) var(--d,0ms);
}

.anim .flow.in>div::before {
  transform: none;
}

.flow div.peak::before {
  animation: beat 1.4s ease-in-out infinite;
}

@keyframes beat {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(215,77,116,.5);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(215,77,116,0);
  }
}

.anim .join img {
  transform: scale(1.25);
  transition: transform 2.2s cubic-bezier(.2,.8,.2,1);
}

.anim .join.in img {
  transform: none;
}

.anim .join .t>* {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .6s ease,transform .8s cubic-bezier(.2,.9,.25,1.15);
}

.anim .join.in .t>* {
  opacity: 1;
  transform: none;
}

.join.in .t>:nth-child(2) {
  transition-delay: .12s;
}

.join.in .t>:nth-child(3) {
  transition-delay: .24s;
}

.join.in .t>:nth-child(4) {
  transition-delay: .36s;
}

.join.in .t>:nth-child(5) {
  transition-delay: .48s;
}

.anim .ph-img img {
  animation: heroIn 1.8s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: scale(1.15);
  }
  to {
    opacity: .88;
    transform: none;
  }
}

.anim .card {
  animation: cardIn 1s cubic-bezier(.3,1.5,.45,1) .15s both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translate(-50%,-30%) scale(.7) rotate(-6deg);
  }
  to {
    opacity: 1;
    transform: translate(-50%,-50%);
  }
}

.anim .card h1 span {
  animation: upIn .8s cubic-bezier(.3,1.6,.45,1) both;
}

.anim .card h1 span:nth-child(1) {
  animation-delay: .5s;
}

.anim .card h1 span:nth-child(2) {
  animation-delay: .65s;
}

.anim .card p {
  animation: upIn .8s ease .9s both;
}

@keyframes upIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ticker span {
  display: inline-block;
  transform: skewX(var(--sk,0deg));
  transition: transform .25s ease-out;
}

.btn:hover svg {
  animation: nudge .6s ease-in-out infinite;
}

@keyframes nudge {
  50% {
    transform: translateX(5px);
  }
}

@media(prefers-reduced-motion:reduce) {
  .cloud span, .fl img, .flow div.peak::before, .btn:hover svg {
    animation: none;
  }
  .ticker span {
    transition: none;
  }
}

/* スマホの本文は、文節でも行の長さでもそろえず右端まで使って折り返す（そろえると行が短くなりすぎる）。見出しと、中央そろえのステートメントは文節で折り返す */
@media(max-width:700px) {
  :is(p, dd, li):not(.stmt p) {
    text-wrap: wrap;
    word-break: normal;
  }
}

/* 狭い画面の流れ：縦に1列。左の線で丸をつなぐ */
@media(max-width:860px) {
  .flow::before {
    left: 10.5px;
    right: auto;
    top: 14px;
    bottom: 14px;
    width: 3px;
    height: auto;
  }
  .flow div {
    padding: 0 0 28px 46px;
  }
  .flow div:last-child {
    padding-bottom: 0;
  }
  .flow div::before {
    position: absolute;
    left: 0;
    top: 4px;
    margin: 0;
  }
  .anim .flow::before {
    transform: scaleY(0);
    transform-origin: top;
  }
  .anim .flow.in::before {
    transform: none;
  }
}
