@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&display=swap);

:root {

  --color-main: #4f8bc2;

  --color-main-light: color-mod(var(--color-main) tint(15%));
  --color-main-dark: color-mod(var(--color-main) shade(15%));
  --color-main-bg: color-mod(var(--color-main) alpha(20%));

  --color-sub1: #8546F8;
  --color-sub1-light: color-mod(var(--color-sub1) tint(15%));
  --color-sub1-dark: color-mod(var(--color-sub1) shade(15%));
  --color-sub1-bg: color-mod(var(--color-sub1) alpha(20%));

  --color-sub2: #F0784D;
  --color-sub2-light: color-mod(var(--color-sub2) tint(15%));
  --color-sub2-dark: color-mod(var(--color-sub2) shade(15%));
  --color-sub2-bg: color-mod(var(--color-sub2) alpha(20%));

  --gray-7: #777777;
}

/*全体の設定*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  /* background-color: #eeeeee; */
  background-color: #ffffff;
  font-family: 'Noto Sans JP', sans-serif;
}

/* @font-face {
  font-family: 'JosefinSlab-Medium.ttf';
  src: url("../font/JosefinSlab-Medium.ttf");
} */
/* @font-face {
  font-family: 'JosefinSlab-Bold';
  src: url("../font/JosefinSlab-Bold.ttf");
} */

@font-face {
  font-family: 'Fredoka-Medium';
  src: url("../font/Fredoka-Medium.ttf");
}

/* @font-face {
  font-family: 'ShipporiMincho-Medium.ttf';
  src: url("../font/ShipporiMincho-Medium.ttf");
} */


/* h1 {
  font-family: "JosefinSlab-Medium.ttf";
  margin: 0px 0px 30px 0px;
  text-align: center; 
  color: #fff;
} */

/* h3 {
  font-family: "ShipporiMincho-Medium.ttf";
  margin: 0px 0px 0px 0px;
  font-size: 16px;
  text-align: center;
  color: #575757;
} */

a:hover {
  color: var(--color-sub2);
}

.green_line {
  margin: 20px auto 0;
  border: solid 2px var(--color-main);
  width: 80%;
  text-align: center;
}

.main {
  padding-top: 40px;
  display: block;
  z-index: 10;
  position: relative;
  text-align: center;
  margin: 0;
  padding: 0;
}

.section_title {
  /* font-family: "JosefinSlab-Bold"; */
  font-size: 32px;
  margin: 20px;
  color: #fff;
  display: inline-block;
  position: relative;
  font-family: 'Fredoka-Medium', 'Noto Sans JP', sans-serif;
  letter-spacing: 0.02em;
  margin: 6px auto 10px;
  /* color: #1f1f1f; */
}

/* body.page-index .section_title{
  display: inline-block;
  position: relative;
  font-family: 'Fredoka-Medium', 'Noto Sans JP', sans-serif;
  letter-spacing: 0.02em;
  margin: 6px auto 10px;
  color: #1f1f1f;
} */
.section_title::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: 6px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg,
      rgba(255, 217, 61, .40),
      rgba(255, 77, 157, .25),
      rgba(0, 209, 178, .25));
  /* z-index: -1; */
  transform: rotate(-1.2deg);
}



.space {
  height: 40vh;
}


/* 動画再生関係　ここから */
/* kv */
.kv {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kv .main-copy {
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  letter-spacing: .2em;
}

.kv .sub-copy {
  color: #fff;
  font-size: 20px;
  text-align: center;
}

.kv .about-copy {
  /* font-family: "ShipporiMincho-Medium.ttf"; */
  font-family: 'Fredoka-Medium', 'Noto Sans JP', sans-serif;
  color: #fff;
  font-size: 16px;
  text-align: center;
  line-height: 1.3;
  margin: 10px 0px 0px 0px;
}

/* video */
.video {
  width: 100%;
  height: 100vh;
  /* background: url(../img/kv-alternative.jpg) no-repeat center/cover; */
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.video::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #10394b;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  opacity: .3;
}

.video video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

/* 動画再生関係　ここまで */

/* header関係　ここから */
.header {
  height: 40px;
  width: 100%;
  /* background-color: #DDDDDD; */
  background: rgba(255, 255, 255, 0.82);
  color: var(--gray-7);

  position: fixed;
  top: 0;
  z-index: 100;
}

.footer {
  height: 80px;
  width: 100%;
  background-color: #DDDDDD;
  color: #777777;
  position: sticky;
  top: 100vh;
  bottom: 0;
}

.nav-list {
  line-height: 20px;
  float: right;
  margin-right: 30px;
  list-style: none;
}

.nav-list-item {
  list-style: none;
  display: inline-block;
  margin: 10px 8px;
}

.nav-list li a {
  /*線の基点とするためrelativeを指定*/
  position: relative;
  text-decoration: none;
  /* font-family: 'Fredoka-Medium'; */
  font-weight: 700;
  color: var(--gray-7);
}

.nav-list li.current a,
.nav-list li a:hover {
  color: var(--color-sub2);
}

.nav-list li a::after {
  content: '';
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0;
  left: -10%;
  /*線の形状*/
  width: 120%;
  height: 2px;
  background: var(--color-sub2);
  /*アニメーションの指定*/
  transition: all .3s;
  transform: scale(0, 1);
  /*X方向0、Y方向1*/
  transform-origin: center top;
  /*上部中央基点*/
}

/*現在地とhoverの設定*/
.nav-list li.current a::after,
.nav-list li a:hover::after {
  transform: scale(1, 1);
  /*X方向にスケール拡大*/
}

/* header関係　ここまで */


/* =======================================================================
   POP ABOUT PAGE (CSS only, fun daytime pop)
   - 既存HTMLのまま（.headerはそのまま）
   - 動画背景 + 透明ガラスカード + ステッカー + マーカー見出し
   ======================================================================= */

:root {
  --about-header-h: 40px;
  --pop-card: rgba(255, 255, 255, .90);
  --pop-border: rgba(0, 0, 0, .08);
  --pop-shadow: 0 22px 55px rgba(0, 0, 0, .18);
}

/* 本文がヘッダーに隠れないように（元CSSでは padding-top が上書きで消えていた） */
.main {
  padding-top: var(--about-header-h) !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}

.kv {
  min-height: calc(100vh - var(--about-header-h));
  height: auto;
  padding: 22px 16px 18px;
  display: grid;
  place-items: center;
}

/* 動画の暗幕：昼ポップ寄りに（暗すぎない） */
.video::after {
  background: linear-gradient(180deg,
      rgba(16, 57, 75, .42) 0%,
      rgba(16, 57, 75, .28) 50%,
      rgba(16, 57, 75, .45) 100%) !important;
  opacity: 1 !important;
}

/* キャッチ部分を「ガラスカード」に */
.catch-copy {
  width: min(920px, 92vw);
  padding: 22px 20px 18px;
  border-radius: 28px;
  background: var(--pop-card);
  border: 1px solid var(--pop-border);
  box-shadow: var(--pop-shadow);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);

  background: rgba(255, 255, 255, .62);
  /* ← 0.90 → 0.62 に */
  border: 1px solid rgba(255, 255, 255, .42);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .16);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);

}

/* カード内に淡いブロブ（紙吹雪っぽい雰囲気） */
.catch-copy::before {
  content: "";
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(420px 260px at 10% 20%, rgba(255, 217, 61, .20), rgba(255, 255, 255, 0) 60%),
    radial-gradient(520px 320px at 95% 18%, rgba(255, 77, 157, .16), rgba(255, 255, 255, 0) 62%),
    radial-gradient(520px 320px at 55% 115%, rgba(0, 209, 178, .14), rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
  z-index: 0;
}

/* 右上の小ステッカー（擬似要素もう1つ分は .section_title で） */
.section_title {
  color: #1f1f1f !important;
  font-family: 'Fredoka-Medium', 'Noto Sans JP', sans-serif !important;
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 26px auto 10px !important;
  position: relative;
  z-index: 1;
  letter-spacing: .04em;
}

/* マーカー下線（元CSSの rgba(…,40) が無効になりがちなので修正） */
.section_title::before {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: 8px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg,
      rgba(255, 217, 61, .45),
      rgba(255, 77, 157, .28),
      rgba(0, 209, 178, .28));
  z-index: -1;
  transform: rotate(-1.2deg);
}

/* 右上の小バッジ */
.section_title::after {
  content: "Since 2023";
  position: absolute;
  top: -8px;
  right: -10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 209, 178, .16);
  border: 1px dashed rgba(0, 0, 0, .12);
  color: #1f1f1f;
  font-size: 12px;
  font-weight: 800;
  transform: rotate(6deg);
}

/* about-copy：読みやすい幅・行間、左寄せ */
.kv .about-copy {
  /* width: min(760px, 92vw); */
  margin: 12px auto 0 !important;
  color: #1f1f1f !important;
  /* text-align: left !important; */
  line-height: 1.7 !important;
  font-size: clamp(14px, 1.2vw, 17px) !important;
}

/* 強調 */
.kv .about-copy p:nth-child(1),
.kv .about-copy p:nth-child(2) {
  font-weight: 800;
}

.kv .about-copy p:nth-child(3) {
  font-weight: 800;
  background: linear-gradient(transparent 70%, rgba(255, 217, 61, .25) 70%);
  display: inline;
  box-decoration-break: clone;
}

/* カード内要素を前面へ */
.catch-copy>* {
  position: relative;
  z-index: 1;
}

/* PC：少し浮遊 */
@media (prefers-reduced-motion: no-preference) {
  .catch-copy {
    animation: aboutFloat 6.5s ease-in-out infinite;
  }

  @keyframes aboutFloat {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-6px);
    }
  }
}

/* 小さい画面：文字を小さくしすぎない */
@media screen and (orientation: portrait) and (width <=767px) {
  .catch-copy {
    padding: 18px 16px 16px;
    border-radius: 22px;
  }

  .kv .about-copy {
    font-size: 13.5px !important;
    /* line-height: 1.85 !important; */
  }
}

/* End POP ABOUT PAGE */

/* =======================================================================
   catch-copy stickers around the card (like index .sticker-layer)
   - .catch-copy の外側にステッカーを散らす（カード周り）
   ======================================================================= */

.catch-wrap {
  position: relative;
  width: min(920px, 92vw);
  /* kv中央配置は既存の .kv が担う。ここでは外周の余白だけ */
  padding: 26px 22px;
  /* ステッカーがカード外にはみ出すための“余白キャンバス” */
  border-radius: 36px;
}

/* catch-copy は既存のガラスカード設定を維持しつつ、wrap内で前面に */
.catch-wrap .catch-copy {
  width: 100%;
  position: relative;
  z-index: 2;
}

/* ステッカー層：カードの周り（overflow visible） */
.catch-stickers {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  /* クリックはカード側へ */
}

/* ステッカー見た目（index風） */
.catch-stickers .sticker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;
  border-radius: 18px;
  font-family: 'Fredoka-Medium', 'Noto Sans JP', sans-serif;
  font-weight: 900;
  letter-spacing: .04em;

  color: #1a1a1a;
  background: rgba(255, 255, 255, .92);
  border: 2px solid rgba(0, 0, 0, .10);
  box-shadow: 0 18px 35px rgba(0, 0, 0, .18);

  transform: rotate(var(--r, -8deg));
  animation: floatySticker 4.2s ease-in-out infinite;
  will-change: transform;
  white-space: nowrap;
  user-select: none;
}

/* ふんわりカラーフレア */
.catch-stickers .sticker::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 217, 61, .85), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(255, 77, 157, .60), transparent 55%),
    radial-gradient(circle at 40% 85%, rgba(0, 209, 178, .55), transparent 55%);
  opacity: .40;
  z-index: -1;
  filter: blur(10px);
}

/* 配置（カードの“外側”に回り込ませる） */
.catch-stickers .s1 {
  top: 6px;
  left: 10px;
  --r: -10deg;
  animation-delay: .0s;
}

.catch-stickers .s2 {
  top: 2px;
  right: 12px;
  --r: 9deg;
  animation-delay: .4s;
}

.catch-stickers .s3 {
  top: 70px;
  left: -8px;
  --r: 6deg;
  animation-delay: .8s;
}

.catch-stickers .s4 {
  top: 92px;
  right: -10px;
  --r: -7deg;
  animation-delay: 1.1s;
}

.catch-stickers .s5 {
  bottom: 78px;
  left: -6px;
  --r: -5deg;
  animation-delay: 1.4s;
}

.catch-stickers .s6 {
  bottom: 88px;
  right: -8px;
  --r: 7deg;
  animation-delay: 1.8s;
}

.catch-stickers .s7 {
  bottom: 18px;
  left: 18px;
  --r: 8deg;
  animation-delay: 2.1s;
}

.catch-stickers .s8 {
  bottom: 10px;
  right: 22px;
  --r: -9deg;
  animation-delay: 2.4s;
}

@keyframes floatySticker {

  0%,
  100% {
    transform: translateY(0) rotate(var(--r, -8deg));
  }

  50% {
    transform: translateY(-10px) rotate(var(--r, -8deg));
  }
}

@media screen and (width <=1023px) {
  :root {
    --about-header-h: 64px;
  }

  .header {
    overflow-x: scroll;
    height: 64px;
  }

  .header::-webkit-scrollbar {
    display: none;
  }

  .nav-list {
    line-height: 40px;
  }

  .header .nav-list ul {
    width: max-content;
  }

  .nav-list li a {
    font-size: 32px;
    margin-right: 12px;
  }

  .main {
    padding-top: 64px;
  }


  .section_title {
    font-size: 48px;
  }

  .section_title::after {
    font-size: 28px;
    width: 20vw;
    top: -24px;
    right: -68px;
  }

  .kv .about-copy p {
    font-size: 28px;
  }

  .catch-stickers .sticker {
    font-size: 28px;
  }



  .catch-wrap {
    padding: 22px 14px;
  }

  .catch-stickers .sticker {
    padding: 8px 11px;
    /* font-size: 13px; */
    border-radius: 16px;
  }

  .catch-stickers .s3 {
    left: 2px;
  }

  .catch-stickers .s4 {
    right: 2px;
  }

  .catch-stickers .s5 {
    left: 4px;
  }

  .catch-stickers .s6 {
    right: 4px;
  }



  .catch-wrap {
    padding: 0 !important;
  }

  .catch-stickers {
    position: relative !important;
    inset: auto !important;
    z-index: 1 !important;
    pointer-events: none;
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 10px;
    padding: 32px 10px 32px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .40);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
  }

  .catch-stickers .sticker {
    position: static !important;
    animation: none !important;
    transform: rotate(var(--r, -4deg));
    padding: 8px 11px;
    /* font-size: 13px; */
    border-radius: 16px;
  }

  .catch-stickers .s1,
  .catch-stickers .s2,
  .catch-stickers .s3,
  .catch-stickers .s4,
  .catch-stickers .s5,
  .catch-stickers .s6,
  .catch-stickers .s7,
  .catch-stickers .s8 {
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
  }

  .catch-stickers .s1 {
    --r: -6deg;
  }

  .catch-stickers .s2 {
    --r: 6deg;
  }

  .catch-stickers .s3 {
    --r: -3deg;
  }

  .catch-stickers .s4 {
    --r: 4deg;
  }

  .catch-stickers .s5 {
    --r: 2deg;
  }

  .catch-stickers .s6 {
    --r: -4deg;
  }

  .catch-stickers .s7 {
    --r: 5deg;
  }

  .catch-stickers .s8 {
    --r: -2deg;
  }

}

/* 画面が小さいときはステッカーを少し内側へ＆小さく */
/* @media screen and (max-width: 767px) {
  .catch-wrap {
    padding: 22px 14px;
  }

  .catch-stickers .sticker {
    padding: 8px 11px;
    font-size: 13px;
    border-radius: 16px;
  }

  .catch-stickers .s3 {
    left: 2px;
  }

  .catch-stickers .s4 {
    right: 2px;
  }

  .catch-stickers .s5 {
    left: 4px;
  }

  .catch-stickers .s6 {
    right: 4px;
  }
} */

@media (prefers-reduced-motion: reduce) {
  .catch-stickers .sticker {
    animation: none;
  }
}

/* =======================================================================
   Mobile: move catch stickers to below the card
   ======================================================================= */
/* @media screen and (max-width: 767px) {
  .catch-wrap {
    padding: 0 !important;
  }

  .catch-stickers {
    position: relative !important;
    inset: auto !important;
    z-index: 1 !important;
    pointer-events: none;
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 10px;
    padding: 10px 10px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .40);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
  }

  .catch-stickers .sticker {
    position: static !important;
    animation: none !important;
    transform: rotate(var(--r, -4deg));
    padding: 8px 11px;
    font-size: 13px;
    border-radius: 16px;
  }

  .catch-stickers .s1,
  .catch-stickers .s2,
  .catch-stickers .s3,
  .catch-stickers .s4,
  .catch-stickers .s5,
  .catch-stickers .s6,
  .catch-stickers .s7,
  .catch-stickers .s8 {
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
  }

  .catch-stickers .s1 {
    --r: -6deg;
  }

  .catch-stickers .s2 {
    --r: 6deg;
  }

  .catch-stickers .s3 {
    --r: -3deg;
  }

  .catch-stickers .s4 {
    --r: 4deg;
  }

  .catch-stickers .s5 {
    --r: 2deg;
  }

  .catch-stickers .s6 {
    --r: -4deg;
  }

  .catch-stickers .s7 {
    --r: 5deg;
  }

  .catch-stickers .s8 {
    --r: -2deg;
  }
} */

/* =======================================================================
   About: mobile header height tune (prevent wrap -> smaller header)
   ======================================================================= */
/* @media screen and (max-width: 767px) {
  :root {
    --about-header-h: 28px;
  }

  .header {
    height: 28px !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .nav-list {
    margin-right: 8px;
    line-height: 1;
    white-space: nowrap;
    display: flex;
    flex-wrap: nowrap;
  }

  .nav-list-item {
    margin: 0;
    display: block;
  }

  .nav-list li a {
    display: inline-block;
    font-size: 14px;
    margin-right: 12px;
  }
} */

@media screen and (max-width: 360px) {
  :root {
    --about-header-h: 48px;
  }

  .header {
    height: 48px !important;
  }

  /* .nav-list li a{ padding: 9px 9px; font-size: 13px; } */
}