/* Crois Studio の家族のしるし 3: 足もとの帯(「Crois Studio の作品です」)
   全部の作品のサイトで、同じ形。色だけ、下の 5 つの値で そのサイトに合わせられる(何も決めなければ、屋号のサイトの色)。
   書体: 英字は "Unbounded"(このフォルダーの unbounded-fam.woff2。帯に出る字だけ)。日本語は、そのサイトの丸い書体をそのまま使う。 */
@font-face {
  font-family: "Unbounded Fam";
  src: url("unbounded-fam.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
.fam {
  --fam-bg: #0e0e12;                     /* 帯の地 */
  --fam-fg: #f6f2ea;                     /* 字 */
  --fam-line: rgba(246, 242, 234, .22);  /* 丸い札のふち */
  --fam-x: #ffd23f;                      /* 矢印の丸(屋号の黄色) */
  --fam-ink: #131316;                    /* 矢印の色 */
  --fam-pop: cubic-bezier(.3, 1.5, .45, 1);
  position: relative; z-index: 1; box-sizing: border-box;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  padding: 18px clamp(18px, 4.4vw, 68px) calc(22px + env(safe-area-inset-bottom));
  background: var(--fam-bg); color: var(--fam-fg);
  font-size: 14px; line-height: 1.4; font-weight: 900; letter-spacing: .04em;
}
.fam *, .fam *::before, .fam *::after { box-sizing: border-box; }
.fam p { margin: 0; }
.fam a { color: inherit; text-decoration: none; }
.fam__mark { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.fam__chips { display: inline-flex; flex: none; }
.fam__chips i { display: block; width: 14px; height: 14px; border-radius: 34%; transition: transform .6s var(--fam-pop); }
.fam__chips i:nth-child(1) { background: #ff5a5f; }
.fam__chips i:nth-child(2) { background: #3d8bff; margin-left: -3px; }
.fam__chips i:nth-child(3) { background: #ffd23f; margin-left: -3px; }
.fam:hover .fam__chips i:nth-child(1) { transform: translateY(-5px) rotate(-12deg); }
.fam:hover .fam__chips i:nth-child(2) { transform: translateY(-8px); transition-delay: .06s; }
.fam:hover .fam__chips i:nth-child(3) { transform: translateY(-5px) rotate(12deg); transition-delay: .12s; }
.fam__name { font-family: "Unbounded Fam", "Unbounded", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: -.01em; }
.fam__link {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 100px;
  border: 1.5px solid var(--fam-line);
  font-family: "Unbounded Fam", "Unbounded", sans-serif; font-weight: 500; font-size: 12px; letter-spacing: 0; line-height: 1;
  transition: transform .55s var(--fam-pop), background-color .25s, color .25s, border-color .25s;
}
.fam__link b { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--fam-x); color: var(--fam-ink); transition: transform .55s var(--fam-pop); }
.fam__link b svg { display: block; width: 12px; height: 12px; }
.fam__link:hover, .fam__link:focus-visible { transform: scale(1.05) rotate(-1.5deg); background: var(--fam-fg); color: var(--fam-bg); border-color: var(--fam-fg); }
.fam__link:hover b, .fam__link:focus-visible b { transform: rotate(45deg) scale(1.1); }
.fam__link:focus-visible { outline: 3px solid var(--fam-x); outline-offset: 4px; }
.fam__c { font-family: "Unbounded Fam", "Unbounded", sans-serif; font-weight: 500; font-size: 12px; letter-spacing: 0; opacity: .72; }
@media (max-width: 560px) {
  .fam { gap: 10px 12px; }
  .fam__mark { flex: 1 0 100%; }
  .fam__c { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .fam__chips i, .fam__link, .fam__link b { transition: none; }
}
