/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap");

/*=============== VARIABLES CSS ===============*/

/* Reset style */
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

.container {
  width: 100%;
  height: 100vh;
  /* scroll-snap-type: y mandatory; */
  overflow: auto;
}
@media screen and (max-width: 480px) {
  .container {
    scroll-snap-type: none;
    height: 100%;
  }
}
section {
  width: 100%;
  height: auto;
  scroll-snap-align: center;
}

.section-htauto{
  height:auto !important;
}

@media screen and (max-width: 480px) {
  section {
    scroll-snap-align: none;
    height: 100%;
  }
}

/*=============== LeftSideBar ===============*/
.LeftSidebarWrapper {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0px 0;
  background-color: transparent;
  z-index: 10;
  white-space: nowrap;
  margin-top: 7%;
}

.RepeatedText {
  writing-mode: vertical-lr;
  text-orientation: sideways-left;
  line-height: 1;
  letter-spacing: 1px;
  margin: 0;
  padding: 0;
  color: #f19ec2;
  font-family: Inter;
  font-size: 56px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
@media (max-width: 1024px) and (min-width: 768px) {
  .LeftSidebarWrapper {
    margin-top: 12%;
  }
  .RepeatedText {
    letter-spacing: 15px;
    font-size: 80px;
  }
}

@media screen and (max-width: 768px) {
  .LeftSidebarWrapper {
    display: none;
  }
}

/*=============== RightSideBar ===============*/
#sidebar-container {
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  background: #fff;
  display: grid;
  align-items: center;
  top: 0;
  left: 0;
  transition: 0.3s ease-in-out;
  /* isOpenの状態に応じて変更 */
  opacity: 0;
  top: -100%;
}

.icon {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
  outline: none;
}

.sidebar-wrapper {
  color: black;
}

.sidebar-menu {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(6, 70px);
  text-align: center;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  color: black;
  cursor: pointer;
}

.sidebar-menu a:hover {
  color: #01bf71;
  transition: 0.2s ease-in-out;
}

.sidebar-btn-wrap {
  display: flex;
  justify-content: center;
}

.sidebar-route {
  border-radius: 50px;
  background: #3cb9e2;
  white-space: nowrap;
  padding: 16px 64px;
  color: white;
  font-size: 16px;
  outline: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.sidebar-route:hover {
  background: #fff;
  color: #010606;
}

@media screen and (max-width: 480px) {
  .sidebar-menu {
    grid-template-rows: repeat(6, 60px);
  }
}

/*=============== HEADER ===============*/

header {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  background: #fafafa;
}
header .inner {
  position: relative;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 100%;
}
/* .logo */

header .logo {
  position: relative;
  width: 100px;
  margin: 0;
  padding: 0;
}
header .logo a {
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

@media screen and (max-width: 767px) {
  header .logo {
    padding: 0;
  }
  header .logo a {
  }
}

/* scroll */

header {
  transition: height 0.4s cubic-bezier(0.34, 0.615, 0.4, 0.985);
}
header.scroll {
  height: 60px;
  position: fixed;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
header .logo {
  transition: width 0.4s cubic-bezier(0.34, 0.615, 0.4, 0.985);
}
header.scroll .logo {
  width: 70px;
}

/* header-navi-box */

header .navi {
  margin: 0 0 0 auto;
  padding: 0;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  list-style: none;
}
header .navi li {
  margin: 0 0 0 30px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .navi li:first-child {
  margin-left: 0;
}
header .navi li a {
  color: rgb(60, 186, 226);
  font-size:1rem;
  font-weight: bold;
  display: block;
  box-sizing: border-box;
  text-decoration: none;
}
header .navi li:nth-child(4) a{
  color: #fff;
  display: block;
  box-sizing: border-box;
  text-decoration: none;
}

header .navi li .link-current{
  border-bottom: 3px solid rgb(60, 186, 226);
}

.button {
  background: #3cbae2;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  transition: all 0.4s;
}

.button:hover {
  background: #fff;
  color: #000 !important;
  padding: 10px 20px;
  border-radius: 10px;
  transition: all 0.4s;
}

@media screen and (max-width: 767px) {
  header .navi {
    display: none;
  }
}

/* open-button */

.sp-navi-toggle {
  display: none;
  margin: auto 0;
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 40px;
  width: 16px;
  height: 25px;
  transition: all 0.4s;
  color: #464646;
  border: none;
  outline: none;
  background: none;
  -webkit-appearance: unset;
}
.sp-navi-toggle .menu,
.sp-navi-toggle .close {
  position: absolute;
  bottom: 0;
  left: -50%;
  display: block;
  width: 34px;
  height: 11px;
}
.sp-navi-toggle .close {
  display: none;
}
.sp-navi-toggle .bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #464646;
}
.sp-navi-toggle .bar:nth-of-type(1) {
  top: 0;
}
.sp-navi-toggle .bar:nth-of-type(2) {
  top: 5px;
}
.sp-navi-toggle .bar:nth-of-type(3) {
  top: 10px;
}

/* close-button */

html.sidebar-is-open .sp-navi-toggle .bar:nth-of-type(1) {
  top: 5px;
  transform: rotate(45deg);
}
html.sidebar-is-open .sp-navi-toggle .bar:nth-of-type(2) {
  top: 5px;
  transform: rotate(-45deg);
}
html.sidebar-is-open .sp-navi-toggle .bar:nth-of-type(3) {
  display: none;
}
html.sidebar-is-open .sp-navi-toggle .menu {
  display: none;
}
html.sidebar-is-open .sp-navi-toggle .close {
  display: block;
}

@media screen and (max-width: 767px) {
  .sp-navi-toggle {
    display: block;
  }
}

/* sp-navi */

.sp-navi-box {
  display: none;
}
.sp-navi {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
  width: 100%;
  height: 100vh;
  font-size: 14px;
  margin: 0;
  padding: 0;
}
.sp-navi li {
  padding: 20px 0;
}
.sp-navi li a {
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  font-weight: bold;
}
.sp-navi li a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  html.sidebar-is-open .sp-navi-box {
    display: block;
  }
  html.sidebar-is-open {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
  }
}

body {
  margin: 0;
  padding: 0;
}
a {
  color: #333;
}

#nav {
  background: #fafafa;
  height: 80px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar-container {
  background: #fafafa;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 100%;
  padding: 0 24px;
}

.logo-image {
  height: 60px;
  width: 60px;
}

.nav-logo {
  color: black;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  font-weight: bold;
  text-decoration: none;
}

.mobile-icon {
  display: none;
}

@media screen and (max-width: 768px) {
  .mobile-icon {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(-100%, 60%);
    font-size: 1.8rem;
    cursor: pointer;
    color: black;
  }

  .nav-menu {
    display: none;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  text-align: center;
  margin-left: auto;
}

.nav-item {
  height: 80px;
}

.nav-links {
  color: #3cbae2;
  font-weight: bold;
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 0 1rem;
  height: 100%;
  cursor: pointer;
}

.nav-links.active {
  border-bottom: 3px solid #3cbae2;
}

.nav-btn-link {
  border-radius: 15px;
  background: #3cbae2;
  white-space: nowrap;
  padding: 10px 22px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  outline: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.nav-btn-link:hover {
  background: #fff;
  color: #010606;
}

/*=============== TOP ===============*/
.hero-container {
  background: #fafafa; /* デフォルトの背景色 */
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(../img/background-hero.png); /* HeroImageのURLを指定 */
  overflow: hidden;
  /* overflow-y: scroll; */
  padding-top: 8%;
  padding-right: 5%;
}

.hero-content {
  height: 100%;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
}

.hero-title-container {
  text-align: left;
  transform: rotate(-10deg);
  margin-left: 40%;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-title {
  color: #fff;
  font-size: 26px;
  background: linear-gradient(transparent 90%, white 20%);
}

.hero-title span {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
}

.hero-content-container {
  width: 100%;
  margin-top: 50px;
}

.hero-row {
  display: flex;
  align-items: center;
  padding-left: 10%;
}

.hero-column1 {
  margin-bottom: 40px;
}

.hero-column2 {
  margin-left: 3%;
  margin-top: 30px;
}

.hero-text-wrapper {
  padding-bottom: 0px;
  width: 100%;
  margin-top: 0px;
  margin-bottom: 0px;
}

.hero-top-line {
  color: white;
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 20px;
  /* margin-top: 40px; */
  background-color: rgba(241, 158, 194, 0.8);
  padding: 0 8px;
}

.news-wrapper {
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.5);
}

.news-text-wrapper {
  justify-content: left;
  display: flex;
  width: 100%;
  padding: 3px;
}

.news-link {
  text-decoration: none;
}

.news-link:hover {
  text-decoration: none;
}

.news-date {
  color: #000;
  font-size: 14px;
  width: 25%;
}

.news-title {
  color: #000;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
}

.sub-heading-wrapper {
  text-align: right;
  margin-top: 0px;
}

.sub-heading {
  color: #000;
  font-size: 16px;
  text-decoration: none;
}

.sub-heading:hover {
  text-decoration: underline;
}

.hero-event-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
  grid-gap: 16px;
  padding: 10px 0;
  justify-content: left;
}

.event-content-wrapper {
  display: flex;
  flex-direction: column;
}

.event-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-radius: 10px;
  max-height: 180px;
  padding: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.event-card:hover {
  transform: scale(1.02);
}

.event-icon {
  height: 160px;
  object-fit: cover;
  width: 100%;
}

.event-h1 {
  font-size: 14px;
  color: #fff;
  margin-top: 10px;
  text-align: left;
  background-color: rgba(128, 128, 128, 0.8);
}

.img-wrap {
  width: 100%;
  height: 100%;
  text-align: center;
  margin-top: 100px;
}

img {
  width: 100%;
}

/* メディアクエリ */
@media (max-width: 1024px) and (min-width: 1020px) {
  .hero-title-container {
    margin-left: 20%;
    margin-top: 10%;
  }
  .img-wrap {
    width: 150px;
  }
  .hero-event-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1020px) and (min-width: 768px) {
  .hero-container {
    background-size: cover;
    background-repeat: no-repeat;
    height: auto;
  }

  .hero-content {
    height: 100%;
    padding-top: 12%;
  }

  .hero-title-container {
    margin-left: 20%;
    margin-top: 5%;
  }
}

@media screen and (max-width: 768px) {
  .hero-container {
    background-size: cover;
    background-repeat: no-repeat;
    flex-direction: column;
    padding: 0 20px 10% 20px;
    height: 100%;
  }

  .hero-content {
    padding: 0 5%;
  }

  .hero-row {
    flex-direction: column;
    padding: 0;
  }

  .hero-column1 {
    display: none;
  }

  .hero-column2 {
    margin-left: 0;
  }

  .hero-event-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0 20px;
  }

  .hero-title-container {
    margin-left: 15%;
    margin-top: 20%;
  }
  .hero-title {
    font-size: 30px;
  }

  .hero-title span {
    font-size: 34px;
  }
}

@media screen and (max-width: 540px) {
  .hero-title {
    font-size: 26px;
  }

  .hero-title span {
    font-size: 30px;
  }

  .hero-event-wrapper {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }

  .hero-title-container {
    margin-left: 0%;
    margin-top: 30%;
  }
}

@media screen and (max-width: 480px) {
  .hero-container {
    background-size: cover;
    background-repeat: no-repeat;
    flex-direction: column;
    padding: 0 20px 10% 20px;
    height: 100%;
  }

  .hero-content {
    padding: 0 15px;
    height: 100%;
  }

  .hero-title {
    font-size: 20px;
    background: linear-gradient(transparent 90%, white 40%);
  }

  .hero-title span {
    font-size: 20px;
  }

  .hero-text-wrapper {
    width: auto;
    margin-left: auto;
    padding-bottom: 20%;
  }

  .hero-event-wrapper {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .hero-title-container {
    margin-left: 0;
    margin-top: 50%;
  }
}

@media screen and (max-width: 280px) {
  .hero-title {
    font-size: 12px;
    background: linear-gradient(transparent 90%, white 40%);
  }

  .hero-title span {
    font-size: 18px;
  }

  .hero-top-line {
    font-size: 18px;
    font-weight: 600;
  }

  .news-date {
    font-size: 10px;
    width: auto;
  }

  .news-title {
    font-size: 12px;
  }

  .hero-event-wrapper {
    padding: 0;
  }

  .event-icon {
    height: 100px;
  }

  .event-h1 {
    font-size: 16px;
  }
}

/*=============== COMMUNITY ===============*/
/* CommunityContainer */
.community-container {
  background: #fafafa url("../img/background-info.png") no-repeat;
  justify-content: center;
  align-items: center;
  height: auto;
  position: relative;
  background-size: cover;
  overflow: hidden;
  /* overflow-y: scroll; */
  padding-top: 5%;
  padding-right: 5%;
  padding-bottom: 5%;
}

/* Column1 */
.community-column1 {
  margin-bottom: 0;
  padding: 0;
  grid-area: col1;
}

/* TwitterWrapper */
.twitter-wrapper {
  width: 100%;
  padding-left: 10%;
  margin-top: 2%;
}

/* TwitterContainer */
.twitter-container {
  justify-content: center;
  align-items: center;
  background: #f9f9f9;
  padding: 10px 10px 10px 10%;
}

/* TextWrapper */
.community-text-wrapper {
  width: 100%;
  padding-left: 10%;
  margin-top: 2%;
  margin-bottom: 2%;
}

/* TopLine */
.community-top-line {
  color: white;
  font-size: 24px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 24px;
  background-color: rgba(60, 186, 226, 0.8);
  padding: 1px 8px;
}

/* Subtitle */
.subtitle {
  margin-bottom: 1%;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
}

/* CommunityWrapper */
.community-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 5%;
  padding: 0 10px 10px 10%;
}

/* CommunityContentWrapper */
.community-content-wrapper {
  display: flex;
  flex-direction: column;
}

/* CommunityH1 */
.community-h1 {
  font-size: 20px;
  color: #000;
  margin-top: 0px;
  margin-bottom: 10px;
  text-align: center;
}

/* CommunityCard */
.community-card {
  background: #fff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-radius: 10px;
  height: 100%;
  padding: 0px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
}

.community-card:hover {
  transform: scale(1.02);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

/* CommunityCardRow */
.community-card-row {
  display: flex;
  position: relative;
  align-items: center;
  padding: 3%;
  width: 100%;
  justify-content: space-between;
}

.community-card-row::before {
  content: "";
  position: absolute;
  left: 30%;
  top: 20%;
  background: #000000;
  width: 1px;
  height: 60%;
}

/* CommunityIcon */
.community-icon {
  height: 100px;
  object-fit: contain;
  width: auto;
  margin: 0 auto;
  display: block;
}

.community-card-row-inner1{
  width:40%
}

/* CommunityCardTextWrapper */
.community-card-text-wrapper {
  display: flex;
  flex-direction: column;
  padding-inline: 15%;
  width:60%;
}

/* CommunityCardText */
.community-card-text {
  font-size: 10px;
  text-align: center;
  margin: 0;
  padding: 0;
  color: #000;
}

/* JoinButton */
.join-line-button {
  border-radius: 50px;
  background: transparent;
  white-space: nowrap;
  padding: 10px;
  color: black;
  font-size: 14px;
  border: 2px solid #333;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  z-index: 1;
}

.join-line-button:hover {
  background: #02c756;
  color: #fff;
  border: none;
}

/* JoinButton */
.join-slack-button {
  border-radius: 50px;
  background: transparent;
  white-space: nowrap;
  padding: 10px;
  color: black;
  font-size: 14px;
  border: 2px solid #333;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  z-index: 1;
}

.join-slack-button:hover {
  background: #390e3b;
  color: #fff;
  border: none;
}

/* JoinButton */
.join-instagram-button {
  border-radius: 50px;
  background: transparent;
  white-space: nowrap;
  padding: 10px;
  color: black;
  font-size: 14px;
  border: 2px solid #333;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  z-index: 1;
}

.join-instagram-button:hover {
  background: #c6008d;
  color: #fff;
  border: none;
}

/* JoinButton */
.join-discord-button {
  border-radius: 50px;
  background: transparent;
  white-space: nowrap;
  padding: 10px;
  color: black;
  font-size: 14px;
  border: 2px solid #333;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  z-index: 1;
}

.join-discord-button:hover {
  background: #5865F2;
  color: #fff;
  border: none;
}

/* BtnWrap */
.btn-wrap {
  display: flex;
  justify-content: flex-start;
}

/* ImgWrap */
.img-wrap {
  max-width: 555px;
  height: 100%;
}

/* Img */
.img {
  width: 100%;
  margin: 0 0 10px 0;
  padding-right: 0;
}

/* EventWrapper */
.info-event-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 10px 10px 10px 10%;
}

/* Item */
.info-event-item {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 8px;
  background-color: rgba(128, 128, 128, 0.8);
}

.info-event-item:hover {
  cursor: pointer;
  transform: scale(1.02);
  transition: all 0.2s ease-in-out;
}

/* MainImg */
.main-img {
  width: 100%;
  height: auto;
}

/* SubImg */
.sub-img {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

/* ImageItem */
.image-item {
  width: 100%;
  height: 100px;
  background-color: #ddd;
}

/* DateItem */
.date-item {
  background-color: transparent;
  color: white;
  font-size: 14px;
  padding: 0 1rem;
  box-sizing: border-box;
  font-weight: 700;
}

/* TextItem */
.text-item {
  background-color: transparent;
  color: white;
  font-size: 14px;
  padding: 0 1rem 1rem;
  box-sizing: border-box;
  font-weight: 700;
}

/* メディアクエリ */
@media (max-width: 1024px) and (min-width: 768px) {
  .community-container {
    background-size: cover;
    background-repeat: no-repeat;
    height: auto;
    padding: 100px 5% 100px 18%;
  }

  .twitter-wrapper,
  .community-text-wrapper {
    padding: 0;
  }

  .community-wrapper {
    grid-template-columns: 1fr 1fr;
    padding: 5% 0 10% 0;
    gap: 2%;
  }

  .community-card-row {
    padding: 20px 0px 20px 10px;
    /* flex-direction: column; */
    }

  .community-card-row::before {
    left: 35%;
  }

  .community-card-text-wrapper {
    padding-inline: 7%;
  }

  .info-event-wrapper {
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
    padding-bottom: 30%;
  }
}

@media screen and (max-width: 768px) {
  .community-container {
    height: 100%;
    padding: 100px 5%;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .community-column1 {
    padding: 0;
  }

  .twitter-wrapper,
  .community-text-wrapper {
    padding: 0;
  }

  .community-wrapper {
    grid-template-columns: 1fr;
    padding: 5% 0 10% 0;
  }

  .community-card-row {
    padding: 20px 0px 20px 10px;
    flex-direction: column;
    &::before {
      display: none;
    }
  }

  .community-icon {
    width: 30%;
    height: auto;
  }

  .community-card-text-wrapper {
    width: 100%;
    padding-inline: 0px;
    height: 100%;
    margin-inline: 7%;
  }

  .join-line-button {
    margin: 0 auto;
    font-size: 5px;
    padding: 3%;
    margin-bottom: 5%;
    width: 80%;
  }

  .join-slack-button {
    margin: 0 auto;
    font-size: 5px;
    padding: 3%;
    margin-bottom: 5%;
    width: 80%;
  }

  .info-event-wrapper {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 30%;
  }
}

@media screen and (max-width: 480px) {
  .community-container {
    padding: 10%;
  }

  .community-h1 {
    font-size: 20px;
  }

  .community-card-text-wrapper {
    width: 100%;
    height: 100%;
  }

  .info-event-wrapper {
    grid-template-columns: repeat(1, 1fr);
    padding: 0;
    padding-bottom: 20%;
  }
}

@media screen and (max-width: 280px) {
  .community-top-line {
    font-size: 18px;
    font-weight: 600;
  }

  .community-h1 {
    font-size: 16px;
  }

  .community-card-row {
    padding: 20px 30px 20px 10px;
  }

  .community-card-text {
    font-size: 8px;
  }
}

/*=============== EVENT ===============*/
/* EventContainer */
.event-container {
  background: #fafafa url("../img/background-event.png") no-repeat;
  justify-content: center;
  align-items: center;
  height: auto;
  position: relative;
  background-size: cover;
  overflow: hidden;
  /* overflow-y: scroll; */
  padding-top: 5%;
  padding-right: 5%;
}

/*.scroll-y{
  overflow-y: scroll;
}*/

/* Column1 */
.event-column1 {
  margin-bottom: 0;
  padding: 0;
  grid-area: col1;
  padding-bottom: 5%;
}

/* TextWrapper */
.event-text-wrapper {
  width: 100%;
  padding-left: 10%;
  margin-top: 2%;
  padding-bottom: 3%;
}

/* TopLine */
.event-top-line {
  color: white;
  font-size: 24px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 1px 8px;
  background-color: rgba(241, 158, 194, 0.8);
}

/* Subtitle */
.subtitle {
  margin-bottom: 1%;
  font-size: 18px;
  line-height: 24px;
  color: white;
  background-color: rgba(128, 128, 128, 0.8);
  width: 100%;
  margin-top: 10px;
}

/* EventWrapper */
.event-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0px 10px 10px 10%;
}

/* Item */
.event-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  background-color: rgba(128, 120, 128, 0.8);
  height: 100%;
}

.event-item a:hover {
  cursor: pointer;
  transform: scale(1.02);
  transition: all 0.2s ease-in-out;
}

/* ImageBox */
.event-item-image-box {
  width: 100%;
  height: auto;
}

/* EventContent */
.event-item-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}

/* Title */
.event-item-title {
  font-size: 24px;
  color: white;
  flex: 0;
}

/* PlaceholderText */
.placeholder-text {
  height: 20px;
}

/* Text */
.event-item-text {
  margin-bottom: 10px;
  color: white;
  flex: 0;
}

/* SignUpButton */
.event-item-button {
  border-radius: 50px;
  background-color: transparent;
  width: 100%;
  white-space: nowrap;
  padding: 10px;
  color: white;
  font-size: 14px;
  border: 2px solid white;
  cursor: pointer;
  margin-top: 0px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  z-index: 1;
  flex: 0;
}

.event-item-button:hover {
  background-color: #f19ec2;
  color: white;
  border: none;
}

/* FooterBar */
.footer-bar {
  background-color: black;
  height: 30px;
  width: 100%;
}

/* SubHeadingWrapper */
.sub-heading-wrapper {
  text-align: right;
}

/* SubHeading */
.sub-heading {
  color: white;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  padding-right: 20px;
}

.sub-heading:hover {
  text-decoration: underline;
}

/* メディアクエリ */
@media (max-width: 1024px) and (min-width: 1020px) {
  .event-container {
    height: 100%;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .event-container {
    background-size: cover;
    background-repeat: no-repeat;
    height: auto;
    padding: 100px 5% 100px 18%;
  }

  .event-text-wrapper {
    padding: 0;
    padding-bottom: 5%;
  }

  .subtitle {
    margin-bottom: 5%;
  }

  .event-wrapper {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
}

@media screen and (max-width: 768px) {
  .event-container {
    height: 100%;
    padding: 100px 5%;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .event-column1 {
    padding: 0;
  }

  .event-text-wrapper {
    padding: 0;
    padding-bottom: 10%;
  }

  .subtitle {
    margin-bottom: 10%;
  }

  .event-wrapper {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 20%;
  }
}

@media screen and (max-width: 480px) {
  .event-container {
    padding: 10%;
  }

  .event-item {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 2rem;
    background-color: rgba(128, 128, 128, 0.8);
  }

  .event-wrapper {
    grid-template-columns: repeat(1, 1fr);
    padding: 0;
    padding-bottom: 20%;
  }
}

/*=============== Footer ===============*/
/* Wrapper */
.footer-wrapper {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

/* Main Container */
.footer-container {
  background-color: #3cbae2;
  height: 90%;
  padding: 7% 10% 1% 10%;
  color: white;
  font-family: Arial, sans-serif;
  position: relative;
  width: 100%;
}

/* Contact Logo Styling */
.contact-logo {
  font-size: 35px;
  color: white;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-logo span {
  font-size: 75px;
  opacity: 0.5;
}

/* Separator Line */
.line {
  width: 40%;
  border: 1px solid #f19ec2;
  margin-bottom: 20px;
}

/* Information Text */
.info-text {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 16px;
}

/* Copyright Info */
.copyright {
  margin-top: 40px;
  font-size: 12px;
}

/* Logo Container */
.logo-container {
  display: flex;
  height: 10%;
  justify-content: space-around;
  align-items: center;
  background-color: white;
  padding: 2% 30%;
}

/* Logos */
.logo {
  width: 180px;
  height: auto;
  margin: 0 15px;
}

/* メディアクエリ */
@media screen and (max-width: 1024px) {
  .footer-container {
    padding-top: 20%;
    height: 70%;
    padding-left: 15%;
  }

  .info-text {
    font-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  .info-text {
    font-size: 12px;
  }
  /* Logo Container */
.logo-container {
  justify-content: center;
}
.logo {
  width: 120px;
}
}

@media screen and (max-width: 480px) {
  .footer-container {
    padding-top: 20%;
    padding-bottom: 20%;
    height: 80%;
  }

  .info-text {
    font-size: 10px;
  }

  .logo-container {
    height: 20%;
  }
}
