@charset "utf-8";

/* reset.cssを先頭で読み込むことを推奨
   例: <link rel="stylesheet" href="reset.css">
*/

/* カスタムプロパティ定義 */
:root {
  --color-bg: #fafafa;
  --color-white: #fff;
  --color-main: #222;
  --color-accent: #a2c800;
  --color-border: #707070;
  --color-border-light: #e5e5e5;
  --color-brand: #E9FF50;
  --color-brand-blue: #d2e6ff;
  --color-brand-bage: #e4c8a4;
  --color-gray: #888;
  --color-box: #e0e0e0;
  --color-box-light: #f5f5f5;

  --font-main: 'Noto Serif JP', sans-serif;
  --font-sub: 'Noto Sans JP', sans-serif;
  --font-size-base: 1.5rem;
  --font-size-xl: 2.4rem;
  --font-size-lg: 2.1rem;
  --font-size-md: 1.8rem;
  --font-size-mm: 1.5rem;
  --font-size-sm: 1.3rem;
  --font-size-xs: 1.1rem;

  --radius: 8px;
  --transition: color 0.2s;
  --letter-spacing-base: 0.1em;
  --letter-spacing-lg: 0.6em;
  --letter-spacing-title: 0.7em;
  --section-padding: 200px 1.5vw 0 1.5vw;
  --container-max: 1000px;
}


/* ベース */
body {
  font-family: var(--font-main);
  margin: 0;
  background: var(--color-bg);
  color: var(--color-main);
  letter-spacing: var(--letter-spacing-base);
  font-size: var(--font-size-base);
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border: none;
  background: #fff;
  display: block;
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.5s ease-in-out, filter 0.5s ease-in-out;
}

img.is-loaded {
  opacity: 1;
  filter: blur(0px);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: 100%;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.wrapper {
  max-width: var(--container-max);
  margin: 0 auto;
  background: var(--color-white);
  min-height: 100vh;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.03);
  overflow: clip;
}

main {
  position: relative;
}

main::before {
  content: "";
  display: block;
  width: 1px;
  background: var(--color-border);
  position: absolute;
  left: 0;
  top: 0;
  height: 0;
  transition: height 5s cubic-bezier(.4, 0, .2, 1);
}

main.section-title-animate::before {
  height: calc(100% + 1000px);
}

main .main-section {
  margin-left: 1vw;
  padding-bottom: 48px;
  position: relative;
  background-color: #fff;
}

main .main-section::before {
  content: "";
  display: block;
  width: 1px;
  background: var(--color-border);
  position: absolute;
  left: 0;
  top: 0;
  height: 0;
  transition: height 3s cubic-bezier(.4, 0, .2, 1);
}

main .section-title-animate.main-section::before {
  height: calc(100%);
}

main .main-section::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--color-border);
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  z-index: 100;
  transition: width 3s cubic-bezier(.4, 0, .2, 1);
}

main .section-title-animate.main-section::after {
  width: calc(100%);
}

/* 共通背景キャンバス (全画面固定・透過対応) */
#bg-canvas-container,
#particles-js,
#gradient-canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* 緩やかな浮遊呼吸モーション */
@keyframes ribbonPulse1 {
  0% {
    transform: translate(-50%, -50%) rotate(-32deg) translateY(0px);
    opacity: 0.55;
  }

  50% {
    transform: translate(-50%, -50%) rotate(-29deg) translateY(-18px);
    opacity: 0.75;
  }

  100% {
    transform: translate(-50%, -50%) rotate(-35deg) translateY(18px);
    opacity: 0.5;
  }
}

@keyframes ribbonPulse2 {
  0% {
    transform: translate(-50%, -50%) rotate(32deg) translateY(0px);
    opacity: 0.65;
  }

  50% {
    transform: translate(-50%, -50%) rotate(35deg) translateY(18px);
    opacity: 0.45;
  }

  100% {
    transform: translate(-50%, -50%) rotate(29deg) translateY(-18px);
    opacity: 0.7;
  }
}

.wrapper {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

/* ヘッダー */
.site-header {
  padding: 32px 0 0 0;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 250, 250, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--color-border);
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  transition: width 2.5s cubic-bezier(.4, 0, .2, 1);
}

.site-header.section-title-animate::after {
  width: calc(100%);
}

.header-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  padding: 0 32px;
  justify-content: space-between;
  position: relative;
}

.site-title {
  font-size: 3.2rem;
  letter-spacing: 0.72em;
  font-family: var(--font-sub);
  font-weight: 400;
  margin: 0 0 2px -0.3vw;
}

.site-nav {
  display: block;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 0 0 8px 0;
}

.site-nav a {
  color: var(--color-main);
  font-size: var(--font-size-sm);
  letter-spacing: 0.15em;
  transition: var(--transition);
}

.site-nav a:hover {
  color: var(--color-brand-bage);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  cursor: pointer;
  z-index: 100;
  background: none;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* ホバー時のマイクロモーション */
.hamburger:hover .trademark-triangle {
  transform: scale(1.15) rotate(-8deg);
}

/* タップ/押下時 (Active Touch Motion) */
.hamburger:active .trademark-triangle {
  transform: scale(0.85) rotate(-20deg);
}

/* メニュー開閉アクティブ時 (.active) のダイナミック連動モーション */
.hamburger.active .trademark-triangle {
  transform: scale(1.2) rotate(180deg);
  background: #000000;
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.hamburger.active .trademark-triangle i {
  transform: rotate(-180deg);
}

.hamburger span {
  display: block;
  position: absolute;
  height: 0.5px;
  width: 28px;
  background: #3c3c3c;
  opacity: 1;
  left: 6px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2) {
  top: 20px;
}

.hamburger span:nth-child(3) {
  top: 28px;
}

.hamburger span:nth-child(4) {
  top: 14px;
  left: -8px;
  rotate: 90deg;
}

/* メニュー開閉時 */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 14px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 14px;
}

.hamburger.active span:nth-child(4) {
  left: 6px;
  rotate: 0deg;
}

/* メインセクション */
.main-visual-section,
.main-page-section {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  z-index: 1;
  gap: 32px;
  padding: 0px 1.5vw 0 1.5vw;
}

.main-visual-left {
  flex: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 80px;
  gap: 32px;
}

.main-visual-left h1,
.main-visual-left h2 {
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
}

.main-visual-right {
  flex: 7;
}

.main-visual-img {
  display: flex;
  align-items: flex-end;
  vertical-align: bottom;
}

/* メインビジュアル */
.main-section .catchcopy p {
  position: relative;
  font-size: var(--font-size-lg);
}

.main-section .catchcopy p::after {
  content: "";
  display: block;
  height: 0.5px;
  background: var(--color-border);
  position: absolute;
  left: -2.5vw;
  bottom: 0;
  transition: width 1s cubic-bezier(.4, 0, .2, 1);
  width: 0;
}

.section-title-animate.main-section .catchcopy p::after {
  width: calc(11em + 2.5vw);
}

/* メインビジュアルスライダー */
.main-visual-img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3/4;
  vertical-align: bottom;
}

.marin-visual-right {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.main-visual-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.main-visual-slide {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(.4, 0, .2, 1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 32px;
}


/* program-section */
section.program-section .program-list {
  /* Masonry.jsが自動で配置するため、gapやdisplay:gridは不要 */
}

/* 各アイテムのCSS */
section.program-section .program-list .program-item {
  width: calc(27% - 21.3333px);
  /* 3カラムの幅 (32pxのgutterを考慮) */
  margin: 0 3% 80px;
}

/* SNS icon */
.page-links span {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 2px;
}

.page-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-box-light);
  color: var(--color-main);
  transition: all 0.3s ease;
  font-size: 9px;
  margin-left: 5px;
}

.page-links a:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.1);
}

.page-links a[href*="公式サイト"] {
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
  text-decoration: none;
  position: relative;
}

.page-links a[href*="公式サイト"]::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* セクションタイトル下の細い横線、タイトルより1文字分長く */
.main-page-section h1,
.news-section h2,
.pickup-section h2,
.themes-section h2,
.program-section h2,
.main-page-section h2,
.single-section h2,
.page-section h2 {
  position: relative;
  padding-bottom: 0px;
  margin-bottom: 70px;
  border-bottom: none;
  display: inline-block;
  font-size: var(--font-size-lg);
  letter-spacing: var(--letter-spacing-lg);
  font-weight: 400;
  /* 動的幅調整のための設定 */
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: width 0.3s ease;
}

.main-page-section h1::after,
.news-section h2::after,
.pickup-section h2::after,
.themes-section h2::after,
.program-section h2::after,
.main-page-section h2::after,
.single-section h2::after,
.page-section h2::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--color-border);
  position: absolute;
  left: -2.5vw;
  bottom: 0;
  width: 0;
  transition: width 1s cubic-bezier(.4, 0, .2, 1);
}

/* ロード時にborderを伸ばす */
.section-title-animate.main-page-section h1::after,
.section-title-animate.news-section h2::after,
.section-title-animate.pickup-section h2::after,
.section-title-animate.themes-section h2::after,
.section-title-animate.program-section h2::after,
.section-title-animate.main-page-section h2::after,
.section-title-animate.single-section h2::after,
.section-title-animate.page-section h2::after {
  width: calc(100% + 0.5em + 2.5vw);
}

.main-page-section h1 span,
.news-section h2 span,
.pickup-section h2 span,
.themes-section h2 span,
.program-section h2 span,
.main-page-section h2 span,
.single-section h2 span,
.page-section h2 span {
  display: inline-block;
  position: absolute;
  top: 3.5rem;
  left: 0;
  letter-spacing: 0.3em;
  font-size: var(--font-size-xs);
  color: #707070;
}

.center-section h2 span {
  display: inline-block;
  position: absolute;
  top: 3.5rem;
  left: 0;
  letter-spacing: 0.3em;
  font-size: var(--font-size-xs);
  color: #707070;
}

.center-section {
  padding: var(--section-padding);
}

.center-section h2 {
  font-size: var(--font-size-md);
  display: flex;
  justify-content: center;
}

.center-section h2::after {
  width: 0 !important;
  left: calc(50% - 9rem - 2px);
  transition: width 2s cubic-bezier(.4, 0, .2, 1) !important;
}

.section-title-animate.center-section h2::after {
  width: 18rem !important;
}

.center-section h2 span {
  display: inline-block;
  text-align: center;
  left: calc(50%);
  transform: translateX(-50%);
}

/* ページテンプレート */
.main-page-section .main-visual-left {
  justify-content: flex-end;
}

.page-section .p-s-content {
  display: flex;
  align-items: center;
  font-size: var(--font-size-base);
}

.page-section .right-content h3 {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 0 8px 0;
  letter-spacing: 0.15em;
}

.p-s-content {
  height: 100%;
}

.page-section .left-content,
.page-section .right-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: baseline;
  height: 100%;
  margin: 0 30px;
}

.page-section .left-content p,
.page-section .right-content p,
.page-section .center-content {
  flex: 1;
  font-size: var(--font-size-sm);
  padding-top: 1.3rem;
}

.page-section.concept p {
  font-size: var(--font-size-mm);
}

.page-section .center-content {
  width: 80%;
  margin: 0 auto;
}

.page-section .center-content .left-content {
  align-items: flex-end;
}

/* 投稿テンプレート */
.single-section,
.page-section {
  padding: var(--section-padding);
}

.gutenberg-content {
  margin: 20px 40px;
}

/* map */
#connect-map {
  width: 100% !important;
  height: 100vh !important;
  min-height: 600px !important;
  display: block !important;
}

/* フッター */
.site-footer {
  padding: 0;
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: flex-start;
}

.footer-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding: 0 0 32px 32px;
  position: relative;
}

/* 左側：タイトルとメニュー */
.footer-left {
  flex: 1;
  min-width: 320px;
}

.footer-title {
  font-size: 3.2rem;
  letter-spacing: 0.72em;
  font-family: var(--font-sub);
  font-weight: 400;
  margin-bottom: 50px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 10px;
  font-size: var(--font-size-xs);
  color: var(--color-gray);
}

.footer-nav li:last-child {
  margin-bottom: 0;
}

/* 右側：SNSとコピーライト */
.footer-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding-right: 32px;
  min-width: 220px;
}

.footer-sns {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.footer-sns img {
  width: 23px;
  height: 23px;
  background-color: #fff;
}

.footer-sns-label {
  font-size: 1rem;
  color: var(--color-gray);
  margin-top: 4px;
  letter-spacing: 0.15em;
}

.footer-copy {
  margin-top: 32px;
  color: var(--color-gray);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}

/* 黄色縦ライン */
.footer-highlight {
  position: absolute;
  top: 0;
  right: 220px;
  width: 32px;
  height: 100%;
  background: #E9FF50;
  z-index: 1;
}

/* 戻るボタンのスタイル */
#backToTop {
  position: fixed;
  right: calc(50% - 8px);
  bottom: 32px;
  width: 48px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: 9999;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
}

#backToTop::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 16px solid #222;
}

/* 管理系 */
.tml {
  margin: 5vw;
}

.tml input.tml-field,
#siteguard_captcha {
  border-radius: 5px;
  border: 1px solid var(--color-brand-bage);
}

.tml .tml-submit-wrap {
  margin-top: 40px;
}

.tml ul li.tml-lostpassword-link {
  display: none;
}

.tml .tml-submit-wrap button {
  background-color: var(--color-brand);
  text-align: center;
  padding: 5px 80px;
  transition: background-color 0.5s ease, color 0.5s ease;
  cursor: pointer;
}

.tml .tml-submit-wrap button:hover {
  background: #f0f8ff;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .wrapper {
    max-width: 100%;
  }

  .main-visual-right .main-info {
    width: 35vw;
  }

  .main-visual-section,
  .main-page-section,
  .themes-content {
    flex-direction: column;
    gap: 24px;
  }

  .main-visual-img,
  .pickup-img {
    max-width: 100%;
    width: 100%;
  }

  .header-inner,
  .footer-inner {
    padding: 0 16px;
  }

  .news-section,
  .pickup-section,
  .themes-section,
  .program-section,
  .single-section,
  .page-section {
    padding-left: 16px;
    padding-right: 16px;
  }


  .footer-highlight {
    right: 0;
    width: 16px;
  }
}

@media (max-width: 788px) {

  /*ヘッダー*/
  .header-inner {
    padding: 0 16px;
  }

  /* ハンバーガーメニュー */
  .site-nav ul {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    width: 100vw;
    background: var(--color-white);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    padding: 24px 0;
    z-index: 99;
  }

  .site-nav.open ul {
    display: flex;
    top: 43px;
    padding: 30px 3vw;
  }

  .hamburger {
    display: block;
  }

  .hamburger span {
    height: 1px;
  }
}

@media (max-width: 549px) {
  :root {
    --color-bg: #fafafa;
    --color-white: #fff;
    --color-main: #222;
    --color-accent: #a2c800;
    --color-border: #707070;
    --color-border-light: #e5e5e5;
    --color-brand: #E9FF50;
    --color-brand-blue: #d2e6ff;
    --color-brand-bage: #e4c8a4;
    --color-gray: #888;
    --color-box: #e0e0e0;
    --color-box-light: #f5f5f5;

    --font-main: 'Noto Serif JP', sans-serif;
    --font-sub: 'Noto Sans JP', sans-serif;
    --font-size-base: 1.5rem;
    --font-size-xl: 2.4rem;
    --font-size-lg: 2.1rem;
    --font-size-md: 1.8rem;
    --font-size-sm: 1.3rem;
    --font-size-xs: 1.1rem;

    --radius: 8px;
    --transition: color 0.2s;
    --letter-spacing-base: 0.1em;
    --letter-spacing-lg: 0.6em;
    --letter-spacing-title: 0.7em;
    --section-padding: 80px 1.5vw 0 1.5vw;
    --container-max: 1000px;
  }

  /* メインセクション */
  main .main-section {
    margin-left: 3vw;
  }

  .main-page-section h1,
  .news-section h2,
  .pickup-section h2,
  .themes-section h2,
  .program-section h2,
  .single-section h2,
  .page-section h2 {
    font-size: var(--font-size-md);
    margin-bottom: 50px;
    white-space: normal;
  }

  .main-page-section h1::after,
  .news-section h2::after,
  .pickup-section h2::after,
  .themes-section h2::after,
  .program-section h2::after,
  .single-section h2::after,
  .page-section h2::after {
    left: -5vw;
  }

  .center-section h2::after {
    left: auto;
  }

  .main-page-section h1 span,
  .news-section h2 span,
  .pickup-section h2 span,
  .themes-section h2 span,
  .program-section h2 span,
  .main-page-section h2 span,
  .single-section h2 span,
  .page-section h2 span {
    bottom: 0px;
    top: auto;
    transform: translateY(100%);
  }

  .center-section h2 span {
    transform: translate(-50%, 100%);
  }

  .site-header {
    padding: 10px 0 0;
  }

  .site-title {
    font-size: 2.4rem;
    letter-spacing: 0.3em;
  }

  .site-nav ul,
  .footer-nav ul {
    gap: 12px;
    font-size: 0.9rem;
  }

  .main-visual-section,
  .main-page-section .pickup-content,
  .themes-content {
    gap: 16px;
  }

  /*
  .program-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
*/

  /*page*/
  .main-page-section {
    z-index: 1;
    flex-direction: row;
    align-items: flex-end;
    gap: 20px !important;
    padding: 0px 0vw 0 1.5vw;
  }

  .page-section .left-content,
  .page-section .right-content {
    margin: 0 10px;
  }

  .page-section .center-content {
    width: 100%;
    margin: 0 auto;
  }

  .page-section .p-s-content {
    flex-direction: column;
  }

  /*program*/
  section.program-section .program-list .program-item {
    width: calc(45% - 16px);
    /* 2カラムの幅 (16pxのgutterを考慮) */
    margin-bottom: 50px;
  }

  /*フッター*/
  .footer-inner {
    padding-top: 0px;
    padding-bottom: 40px;
  }

  .footer-left {
    z-index: 10;
  }

  .footer-left .footer-title {
    font-size: 3.8rem;
  }

  .footer-nav li {
    font-size: var(--font-size-sm);
  }

  .footer-nav ul li:last-child {
    margin-bottom: 0;
  }

  .footer-right {
    position: absolute;
    display: flex;
    align-items: flex-end;
    right: -16px;
    bottom: 40px;
    z-index: 11;
    mix-blend-mode: multiply;
  }

  .footer-highlight {
    left: calc(5 * 3.8rem + 2rem);
    width: 3rem;
    z-index: 0;
  }

  /*戻るボタン*/
  #backToTop {
    right: calc(50% - 5px);
    bottom: 40px;
    width: 38px;
    height: 15px;
  }

  #backToTop::before {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid #222;
  }
}