@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&display=swap);

:root {
  /* --color-main: #97F4A4; */
  --color-main: #4f8bc2;
  /* 79, 139, 194 */
  --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;

  /* Pop (index) */
  --pop-bg-a: #fff4d8;
  --pop-bg-b: #e8f7ff;
  --pop-bg-c: #f6ecff;
  --pop-card: rgba(255, 255, 255, 0.78);
  --pop-card-strong: rgba(255, 255, 255, 0.9);
  --pop-ink: #2b2b2b;
  --pop-shadow: 0 18px 55px rgba(0, 0, 0, 0.14);
  --pop-border: rgba(0, 0, 0, 0.1);
  --pop-yellow: #ffd93d;
  --pop-pink: #ff4d9d;
  --pop-mint: #00d1b2;
  --pop-sky: #35a7ff;

  /* layout */
  --header-h: 40px;
}

/*全体の設定*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  /* background-color: #f5f9fc; */
  background:
    radial-gradient(
      900px 520px at 12% 12%,
      rgba(255, 217, 61, 0.22),
      rgba(255, 255, 255, 0) 60%
    ),
    radial-gradient(
      900px 520px at 92% 20%,
      rgba(255, 77, 157, 0.16),
      rgba(255, 255, 255, 0) 62%
    ),
    radial-gradient(
      900px 520px at 55% 95%,
      rgba(0, 209, 178, 0.14),
      rgba(255, 255, 255, 0) 65%
    ),
    linear-gradient(180deg, var(--pop-bg-b), var(--pop-bg-a));
  font-family: "Noto Sans JP", sans-serif;
}

.text {
  line-height: 1.5;
}

/* @font-face {
  font-family: 'NotoSansJP-Bold';
  src: url("../font/NotoSansJP-Bold.otf");
} */
/* @font-face {
  font-family: 'font-article';
  src: url("../font/NotoSansJP-Medium.otf");
} */

/* @font-face {
  font-family: 'JosefinSlab-Medium';
  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");
}

/* h1 {
  font-family: "JosefinSlab-Medium";
  margin: 20px;
  color: #363636;
} */

/* h2 {
  font-family: "JosefinSlab-Medium";
  margin: 20px;
  color: #363636;
} */

.green_line {
  margin: 40px auto 30px;
  border: solid 2px var(--color-main);
  width: 80%;
  text-align: center;
}

.green_line_short {
  margin: 40px auto 30px;
  border: solid 2px var(--color-main);
  width: 50%;
  text-align: center;
}

/* 区切り線：硬いborderをやめて柔らかグラデ線に */
.green_line,
.green_line_top {
  border: none !important;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(79, 139, 194, 0),
    rgba(79, 139, 194, 0.85),
    rgba(79, 139, 194, 0)
  );
  width: min(92%, 960px) !important;
}
.green_line_top {
  margin-top: 12px;
  margin-bottom: 10px;
}
.green_line {
  margin-top: 32px;
}

.green_line_short {
  border: none !important;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(79, 139, 194, 0),
    rgba(79, 139, 194, 0.85),
    rgba(79, 139, 194, 0)
  );
  width: 50%;
  margin-top: 32px;
}

.orange_line {
  margin: 40px auto 0;
  border: solid 2px var(--color-sub2);
  width: 80%;
  text-align: center;
}

.fit-picture {
  width: 95%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  border: solid 2px var(--color-main);
}

.section {
  width: 80%;
  margin: 40px auto 0;
  text-align: center;
}

.section a {
  text-decoration: none;
  /* font-family: "font-article"; */
  font-weight: 500;
  color: var(--gray-7);
}

.section p {
  text-decoration: none;
  /* font-family: "font-article"; */
  font-weight: 500;
  color: var(--gray-7);
}

.section .section_title {
  /* font-family: "JosefinSlab-Bold"; */
  font-size: 32px;
  margin: 20px;
  color: #363636;
}

.news a {
  text-decoration: none;
  /* font-family: "font-article"; */
  font-weight: 500;
  color: var(--gray-7);
}

.news .for a {
  text-decoration: none;
  /* font-family: "font-article"; */
  font-weight: 500;
  color: var(--gray-7);
  text-decoration: underline;
}

.news .publication a {
  text-decoration: none;
  /* font-family: "font-article"; */
  font-weight: 500;
  color: var(--gray-7);
  text-decoration: underline;
}

.section a:hover {
  color: var(--color-sub2);
}

.intro {
  text-align: center;
  width: 80%;
  font-size: 24px;
  /* font-family: "font-article"; */
  font-weight: 700;
  margin: 50px auto 50px;
  color: #363636;
}

/* .intro h1 {
  width: 60%;
  font-size: 24px;
  font-weight: 700;
  margin: 50px auto 50px;
  color: #363636;
} */

/* .intro h2 {
  font-weight: 500;
  margin: 20px;
  color: #363636;
} */

.space {
  height: 30vh;
}

.space_low {
  height: 12vh;
}

.space_high {
  height: 60vh;
}

/* flex-container（ここから） */
/*dlタグの設定*/
.flex-container {
  padding: 1em 0px 0px 0px;
  display: flex;
  justify-content: space-around;
}

.flex-item {
  border: 3px solid var(--color-main);
  border-top-left-radius: 5px 5px;
  border-top-right-radius: 30px 30px;
  border-bottom-right-radius: 40px 40px;
  border-bottom-left-radius: 40px 40px;
  color: var(--gray-7);
  padding: 1em;
  flex-basis: 31%;

  position: relative;

  transition: opacity 0.3s;
}

.flex-item:hover {
  border: 3px solid rgba(151, 244, 164, 0);
  background: rgba(151, 244, 164, 0);
}

.flex-item .caption {
  /* font-family: "Fredoka-Medium"; */
  font-weight: 500;
  font-size: 130%;
  text-align: center;
  padding-top: 110px;
  color: var(--color-sub2);
}

.flex-item .mask {
  width: 100%;
  height: 100%;
  position: absolute;
  /* 絶対位置指定 */
  top: 0;
  left: 0;
  opacity: 0;
  /* マスクを表示しない */

  /* マスクは半透明 */
  /* background-color: rgba(151, 244, 164, 0.6); */
  background-color: rgba(79, 139, 194, 0.6);

  /* border: 3px solid rgba(151,244,164,0.4); */
  border-top-left-radius: 5px 5px;
  border-top-right-radius: 30px 30px;
  border-bottom-right-radius: 40px 40px;
  border-bottom-left-radius: 40px 40px;

  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.flex-item:hover .mask {
  opacity: 1;
  /* マスクを表示する */
}

.flex-item a:hover {
  color: #777777;
}

.old-news {
  text-align: left;
  margin-left: 20px;
}

.old-news a {
  /* font-family: "font-article"; */
  font-weight: 700;
  font-size: 1.2em;
  margin-right: 15px;
}

.flex-item dt {
  margin-bottom: 10px;
  font-size: 1em;
  /* font-family: "font-article"; */
  font-weight: 700;
}

.flex-item dd {
  font-size: 0.8em;
  /* font-family: "font-article"; */
  font-weight: 500;
}

.flex-item dd a {
  /* font-family: "font-article"; */
  font-weight: 500;
  color: var(--gray-7);
}

.flex-item dd a:hover {
  color: var(--color-sub2);
}

.flex-container2 {
  padding: 1em 0px 0px 0px;
  display: flex;
  justify-content: space-around;
  width: 66.66%;
}

.flex-item2 {
  border: 3px solid var(--color-main);
  border-top-left-radius: 5px 5px;
  border-top-right-radius: 30px 30px;
  border-bottom-right-radius: 40px 40px;
  border-bottom-left-radius: 40px 40px;
  color: var(--gray-7);
  padding: 1em;
  flex-basis: 46.5%;

  position: relative;

  transition: opacity 0.3s;
}

.flex-item2:hover {
  border: 3px solid rgba(151, 244, 164, 0);
  background: rgba(151, 244, 164, 0);
}

.flex-item2 .caption {
  /* font-family: "Fredoka-Medium"; */
  font-weight: 500;
  font-size: 130%;
  text-align: center;
  padding-top: 110px;
  color: var(--color-sub2);
}

.flex-item2 .mask {
  width: 100%;
  height: 100%;
  position: absolute;
  /* 絶対位置指定 */
  top: 0;
  left: 0;
  opacity: 0;
  /* マスクを表示しない */

  /* background-color: rgba(151, 244, 164, 0.6); */
  background-color: rgba(79, 139, 194, 0.6);

  border-top-left-radius: 5px 5px;
  border-top-right-radius: 30px 30px;
  border-bottom-right-radius: 40px 40px;
  border-bottom-left-radius: 40px 40px;

  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.flex-item2:hover .mask {
  opacity: 1;
  /* マスクを表示する */
}

.flex-item2 a:hover {
  color: var(--gray-7);
}

.flex-item2 dt {
  margin-bottom: 10px;
  font-size: 1em;
  /* font-family: "NotoSansJP-Bold"; */
  /* font-family: "font-article"; */
  font-weight: 700;
}

.flex-item2 dd {
  font-size: 0.8em;
  /* font-family: "font-article"; */
  font-weight: 500;
}

.flex-item2 dd a {
  /* font-family: "font-article"; */
  font-weight: 500;
  color: var(--gray-7);
}

.flex-item2 dd a:hover {
  color: var(--color-sub2);
}

/* flex-container（ここまで） */

.main {
  padding-top: 40px;
  display: block;
  z-index: 2;
  position: relative;
}

.news .main {
  padding-top: 40px;
  z-index: 2;
}

.news .background {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  z-index: 1;
}

.section .for {
  padding-top: 10px;
  z-index: 2;
}

.section .for .title {
  /* font-family: "font-article"; */
  font-weight: 700;
  text-align: left;
  font-size: 24px;
  padding-bottom: 18px;
  padding-left: 25px;

  color: #363636;
}

.section .for .title_sub {
  /* font-family: "font-article"; */
  font-weight: 700;
  text-align: left;
  font-size: 20px;
  padding-bottom: 18px;
  padding-left: 40px;

  color: #363636;
}

.book ul {
  /* font-family: "font-article"; */
  font-weight: 500;
  text-align: left;
  font-size: 16px;
  padding-top: 1px;
  padding-left: 70px;
  color: #363636;
}

.section .under {
  background: linear-gradient(transparent 70%, var(--color-main) 70%);
}

.section p {
  color: #363636;
}

.section .for p {
  /* font-family: "font-article"; */
  font-weight: 500;
  text-align: left;
  font-size: 16px;
  padding-top: 1px;
  padding-left: 40px;

  color: #363636;
}

.section .for a {
  /* font-family: "font-article"; */
  font-weight: 500;
  font-size: 16px;
}

.modern-button {
  display: inline-block;
  padding: 14px 64px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: #4f8bc2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.modern-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  background: #4f8bc2;
}

.modern-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* .people .main {
  padding-top: 40px;
  z-index: 2;
}
.people .main p {
  font-family: "font-article";
  text-align: left;
  font-size: 18px;
  padding-top: 8px;
  padding-left: 40px;
  z-index: 2;

  color: #363636;
}
.people .main a {
  text-decoration: none;
  font-family: 'font-article';
  color: var(--gray-7);
}
.people .main a:hover {
  color: var(--color-sub2);
}
.people .member {
  width: 75%;
  margin: 0px auto 0;
  text-align: center;
  display: flex;
}
.people .left {
  width: 30%;
  width: 108pt;
}
.people .right {
  width: 70%;
} */

canvas {
  display: block;
  position: absolute;
  /* top: 100vh; */
  top: 0;
  left: 0;
  z-index: 0;
  /* 背景に */
}

/* 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: 40px;
  width: 100%;
  /* background-color: #DDDDDD; */
  background: rgba(255, 255, 255, 0.82);
  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 0.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関係　ここまで */

/* スマホ　1080px以下 */
/* @media only screen and (max-width: 1280px) { */
/* @media (orientation: portrait) and (max-width: 1280px){ */
/* @media screen and (orientation: portrait) and (width <= 1280px){ */
@media screen and (width <=1023px) {
  .flex-container {
    flex-direction: column;
  }

  .flex-item {
    margin: 0 1em 1em;
  }

  .flex-item dt {
    font-size: 1em;
  }

  .flex-item dd {
    font-size: 0.8em;
    font-family: "font-article";
  }

  .flex-container2 {
    flex-direction: column;
    width: 100%;
  }

  .flex-item2 {
    margin: 0 1em 1em;
  }

  .flex-item2 dt {
    font-size: 1em;
  }

  .flex-item2 dd {
    font-size: 0.8em;
    font-family: "font-article";
  }

  .section .section_title {
    font-size: 48px;
  }

  .section {
    width: 90%;
  }

  .section a {
    font-size: 20px;
  }

  .section .for p {
    /* font-family: "font-article"; */
    font-weight: 500;
    font-size: 18px;
    /* padding-left: 40px; */
    color: #363636;
  }

  .section .for a {
    /* font-family: "font-article"; */
    font-weight: 500;
    font-size: 18px;
  }

  .section .book ul {
    /* font-family: "font-article"; */
    font-weight: 500;
    font-size: 18px;
    /* padding-left: 40px; */
    color: #363636;
  }

  .section .book li {
    /* font-family: "font-article"; */
    font-weight: 500;
    font-size: 18px;
  }

  html {
    -webkit-text-size-adjust: 100%;
  }

  .l-inner {
    padding: 0 4rem;
  }

  .pc {
    display: none !important;
  }

  .intro {
    width: 90%;
    font-size: 24px;
    margin: 50px;
  }

  .explain p {
    font-size: 24px;
  }

  .explain a {
    font-size: 24px;
  }

  .news .main {
    padding-top: 64px;
  }

  /* .people .member {
    width: 100%;
  }
  .people .main p {
    font-size: 18px;

    color: #363636;
  }
  .people .left {
    width: 150pt;
  }
  .people .main p {
    font-family: "font-article";
    font-size: 22px;
  }
  .people .main a {
    font-family: "font-article";
    font-size: 22px;
  } */

  .invisible {
    display: none;
  }

  .pop-hero .sticker,
  .pop-hero .hero-kicker,
  .pop-hero .hero-sub,
  .pop-hero .hero-actions,
  .pop-hero .hero-tags {
    font-size: 28px !important;
  }
}

/* @media (orientation: portrait) and (max-width: 1280px){ */
@media screen and (width <=1023px) {
  .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 as card */
body.page-index .section {
  background: var(--pop-card);
  border: 1px solid var(--pop-border);
  border-radius: 26px;
  padding: 26px 18px 28px;
  box-shadow: var(--pop-shadow);
  overflow: hidden;
}

/* section title: marker effect */
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;
}
body.page-index .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, 0.85),
    rgba(255, 77, 157, 0.55),
    rgba(0, 209, 178, 0.55)
  );
  z-index: -1;
  transform: rotate(-1.2deg);
}

/* intro as speech bubble */
body.page-index .intro {
  background: var(--pop-card-strong);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 22px;
  padding: 18px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}
body.page-index .intro::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 20px;
  height: 20px;
  background: var(--pop-card-strong);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 0 0 6px 0;
}

/* Reduced motion */
/* @media (prefers-reduced-motion: reduce){
  body.page-index *{
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
} */
