main {
  overflow-x: hidden;
}

/*-------------------------------

    FV

-------------------------------*/


.fv .fv-wr .fv-content {
  padding: 100px 0 80px;
  text-align: center;
}

.fv .fv-wr .fv-content .fv-flex {
  max-width: 1200px;
  margin: 0 auto;
}

.fv .fv-wr .fv-content h1 {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
}


@media (min-width:900px) {
  .fv .fv-wr .fv-content h1::before {
    content: '';
    background-image: url(yousetsu.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 280px;
    aspect-ratio: 223 / 327;
    position: absolute;
    top: -70px;
    left: -30px;
    opacity: 0.6;
    z-index: 10;
  }
  .fv .fv-wr .fv-content h1::after {
    content: '';
    background-image: url(nozoki.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 270px;
    aspect-ratio: 282 / 191;
    position: absolute;
    bottom: -330px;
    right: 0;
  }
}
@media (min-width:1061px) {
    .fv .fv-wr .fv-content h1::before {
    top: -50px;
    left: 40px;
  }
  .fv .fv-wr .fv-content h1::after {
    width: 270px;
    bottom: -45px;
    right: 0;
  }
}

.fv .fv-wr .fv-content .fv-logo {
  width: calc(100% - 20px);
  max-width: 520px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 100;
}

/*- FV見出し・文章共通-*/
.fv .fv-wr .fv-content .fv-font {
  margin: 10px 0;
  letter-spacing: 5px;
}

.fv .fv-wr .fv-content .sns-wr .fv-font {
  letter-spacing: -1px;
}

/*- 開催日-*/
.fv .fv-wr .fv-content .date {
  border-bottom: 1px solid #fff;
  position: relative;
  width: fit-content;
  margin: 0 auto 28px;
}

.fv .fv-wr .fv-content .date::after {
  content: '';
  position: absolute;
  background-color: #fff;
  bottom: -8px;  
  left: 0;
  width: 100%;
  height: 3px;
}

.fv .fv-wr .fv-content .date .fv-font {
  margin: 0 auto;
  width: fit-content;
}

.fv .fv-wr .fv-content .date .header-font {
  padding-bottom: 4px;
  font-weight: 900;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 25%);
}

.fv .fv-wr .fv-content .date .header-font b {
  font-size: 32px;
  letter-spacing: 2px;
}
/*- 地域-*/
.fv .fv-wr .fv-content .region {
  position: relative;
  width: fit-content;
  margin: 0 auto 16px;
  border-bottom: 3px solid white;
}

.fv .fv-wr .fv-content .region::after {
  content: '';
  position: absolute;
  background-color: #fff;
  bottom: -8px;  
  left: 0;
  width: 100%;
  height: 1px;
}

.fv .fv-wr .fv-content .region .fv-font {
  width: fit-content;
  margin: 10px auto;
}

.fv .fv-wr .fv-content .region .header-font {
  padding-bottom: 8px;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 25%);
}

.fv .fv-wr .fv-content .region .header-font .pre {
  margin-bottom: 16px;
}

.fv .fv-wr .fv-content .region .header-font br {
  display: none;
}

/*- 開催まで-*/
.fv .fv-wr .fv-content .remain-days {
  font-size: 20px;
  text-shadow: 1px 1px 10px var(--sub-color-darkblue);
  margin: 22px auto;
}

.fv .fv-wr .fv-content .remain-days span {
  margin-left: 10px;
  font-size: 24px;
}

.fv .fv-wr .fv-content .remain-days b {
  margin: 0 10px;
  font-size: 32px;
  font-weight: 900;
}

/*- SNS-*/
.fv .fv-wr .fv-content .sns-wr {
  background-color: #fff;
  color: var(--sub-color-darkblue);
}
.fv .fv-wr .fv-content .sns-wr .fv-font::before {
    background-image: url(sns-left.svg);
}
.fv .fv-wr .fv-content .sns-wr .fv-font {
  margin: 0 auto;
}
.fv .fv-wr .fv-content .sns-wr .fv-font::after {
    background-image: url(sns-right.svg);
}
@media (min-width:360px) {
  .fv .fv-wr .fv-content .date .fv-font {
    letter-spacing: 0px;
  }
}
@media (min-width:500px) {
  .fv .fv-wr .fv-content {
    font-size: 22px;
  }
  /*- 開催日 -*/
  .fv .fv-wr .fv-content .date {
    font-size: 20px;
    height: fit-content;
  }
  .fv .fv-wr .fv-content .date .fv-font {
    font-size: 22px;
    letter-spacing: 0px;
  }
  .fv .fv-wr .fv-content .date .header-font {
    display: flex;
    flex-direction: column;
    width: 350px;
    justify-content: center;
    align-items: start;
    padding-left: 30px;
  }
  .fv .fv-wr .fv-content .date .header-font b {
    font-size: 36px;
  }
  /*- 地域 -*/
  .fv .fv-wr .fv-content .region .header-font {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 350px;
  }
  .fv .fv-wr .fv-content .region .header-font br {
    display: inline;
  }
  .fv .fv-wr .fv-content .region .header-font .none {
    display: none;
  }
  /*- 開催まで -*/
  .fv .fv-wr .fv-content .remain-days {
    font-size: 26px;
    margin: 32px;
  }
  .fv .fv-wr .fv-content .remain-days span {
    font-size: 32px;
  }

  .fv .fv-wr .fv-content .remain-days b {
    font-size: 40px;
  }
    /*- SNS -*/
  .fv .fv-wr .fv-content .sns-wr {
    font-size: 16px;
    max-width: 450px;
    margin: 0 auto;
    letter-spacing: 1px;
  }
}
@media (min-width:700px) {
  .fv .fv-wr .fv-content {
    padding: 160px 0 80px;
  }
}
@media (min-width:750px) {
  /*- fv-wr -*/
  .fv .fv-wr .fv-content .fv-logo {
    margin: 0 80px 20px;
  }
  .fv .fv-wr .fv-content {
    position: relative;
  }
  .fv .fv-wr .fv-content .fv-flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 20px auto;
    gap: 8px;
  }
  .fv .fv-wr .fv-content .fv-flex .remain-days {
    position: absolute;
  }
  /*- 開催日-*/
  .fv .fv-wr .fv-content .date {
    display: flex;
    flex-direction: column;
  }
  /*- 地域-*/
  .fv .fv-wr .fv-content .region {
    height: fit-content;
  }
  .fv .fv-wr .fv-content .region .fv-font {
    margin: 0 auto;
  }
  .fv .fv-wr .fv-content .region .header-font{
    padding-bottom: 6px;
    min-height: 85px;
    align-items: end;
  }

  /*- 開催まで-*/
  .fv .fv-wr .fv-content .remain-days {
    writing-mode: vertical-rl;
    top: 180px;
    right: calc((100% - 620px) / 6);    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  /*- SNS-*/
  .fv .fv-wr .fv-content .sns-wr {
    width: clamp(325px, 30vw, 400px);
    height: fit-content;
    align-self: center;
  }
  .fv .fv-wr .fv-content .sns-wr .fv-font {
    margin: 12px auto;
  }
  .fv .fv-wr .fv-content .sns-wr .sns-link {
    margin: 8px auto;
  }
}
@media (min-width:820px) {
    .fv .fv-wr .fv-content .fv-logo {
    margin: 0 auto 20px;
  }
}
@media (min-width:1000px) {
    /*- 開催まで-*/
  .fv .fv-wr .fv-content .remain-days {
    right: calc((50% - 310px) / 1.5);
  }
}
/*-------------------------------

    FV スクロール

-------------------------------*/

.carousel-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  margin-top: -80px;
}

.carousel {
  display: flex;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.card {
  width: 150px;
  height: 200px;
  margin: 0 20px;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  border-radius: 10px;
  color: white;
  font-size: 48px;
  font-weight: bold;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  animation: rotateX 0.6s ease forwards;
  transition: background-image 0s linear 0.15s, background-size 0.3s linear 0.6s;
}

.card > img {
  display: block;
  position: absolute;
  border-radius: 10px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
}

.card img.front {
  animation: rotateX 0.6s ease forwards;
  background-color: var(--sub-color-darkblue);
}

.card img.back {
  animation: rotateY 0.6s ease forwards;
}

.card.visible {
  animation: rotateY 0.6s ease forwards;
  background-size: cover;
  background-repeat: no-repeat;
}

.carousel-wrapper .carousel .c01 .back {
  background-image: url(fv-01.jpg);
  object-position: 40% 50%;
}
.carousel-wrapper .carousel .c02 .back {
  background-image: url(fv-02.jpg);
  object-position: 50% 50%;
}
.carousel-wrapper .carousel .c03 .back {
  background-image: url(fv-03.jpg);
  object-position: 48% 50%;
}
.carousel-wrapper .carousel .c04 .back {
  background-image: url(fv-04.jpg);
  object-position: 55% 50%;
}
.carousel-wrapper .carousel .c05 .back {
  background-image: url(fv-05.jpg);
  object-position: 50% 50%;
}
.carousel-wrapper .carousel .c06 .back {
  background-image: url(fv-06.jpg);
  object-position: 60% 50%;
}
.carousel-wrapper .carousel .c07 .back {
  background-image: url(fv-07.jpg);
  object-position: 43% 50%;
}
.carousel-wrapper .carousel .c08 .back {
  background-image: url(fv-08.jpg);
  object-position: 47% 50%;
}
.carousel-wrapper .carousel .c09 .back {
  background-image: url(fv-09.jpg);
  object-position: 60% 50%;
}
.carousel-wrapper .carousel .c10 .back {
  background-image: url(fv-10.jpg);
  object-position: 56% 50%;
}

@keyframes rotateY {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(180deg);
  }
}
@keyframes rotateX {
  from {
    transform: rotateY(180deg);
  }
  to {
    transform: rotateY(0deg);
  }
}

.panel1 {
  display: flex;
  animation: panel1 40s linear infinite;
}

.panel2 {
  display: flex;
  animation: panel2 40s linear infinite;
}

@keyframes panel1 {
  0% {
    order: 1;
  }
  100% {
    order: 2;
  }
}
@keyframes panel2 {
  0% {
    order: 2;
  }
  100% {
    order: 1;
  }
}

@media(min-width:500px) {
  .carousel-wrapper {
    margin-top: -60px;
  }
}
@media(min-width:700px) {
  .carousel-wrapper {
    margin-top: -70px;
  }
}
@media(min-width:750px) {
  .carousel-wrapper {
    margin-top: -70px;
  }
}

/*-------------------------------

    ページ内ナビ

-------------------------------*/

/*---------- page-nav ----------*/

.page-nav {
  max-width: 980px;
  margin: 32px auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.page-nav a {
  width: 300px;
  padding: 16px;
  border-radius: 30px;
  border: 1px solid var(--sub-color-ocher);
  color: var(--sub-color-ocher);
  background-color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
}

.page-nav a::after {
  content: '';
  background-image: url(down-arrow.svg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 15px;
  height: 30px;

}

@media (min-width:750px) {
  .page-nav {
    margin: 64px auto;
  }
}


/*-------------------------------

    キャッチコピー

-------------------------------*/

/*---------- content ----------*/

.catch-wr::before {
    position: absolute;
    content: '';
    width: min(60%, 300px);
    aspect-ratio: 559 / 208;
    top: -5vh;
    left: -80px;
    transform: scale(1, -1);
    background-image: url(cloud.png);
    background-size: 100%;
    background-repeat: no-repeat;
    z-index: -10;
}

.catch-wr {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  overflow: visible;
}

.catch-wr::after {
    position: absolute;
    content: '';
    width: min(60%, 500px);
    aspect-ratio: 559 / 208;
    bottom: -3%;
    right: -100px;
    transform: scale(1, 1);
    background-image: url(cloud.png);
    background-size: 100%;
    background-repeat: no-repeat;
    z-index: -10;
}

.catch-wr .theme {
  display: flex;
  flex-direction: row-reverse;
  margin: 2em 0;
  font-weight: 600;
}

.catch-wr div:nth-child(2) {
  flex-direction: row-reverse;
  position: relative;
}

.catch-wr .theme .catch {
  display: block;
  font-size: 1.5rem;
  line-height: 2;
  color: black;
  writing-mode: vertical-rl;
}

.catch-wr .theme .catch b {
  color: var(--main-color);
}

.catch-wr .theme .mask-reveal {
  mask-image: linear-gradient(to bottom, black 0%, transparent 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 30%, transparent 100%);
  mask-size: 100% 500%;
  -webkit-mask-size: 100% 500%;
  mask-position: bottom;
  -webkit-mask-position: bottom;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  animation: revealText 2.5s ease-out,forwardsmaskImageNone 8s linear forwards;
}

@keyframes revealText {
  to {
    mask-position: top;
    -webkit-mask-position: top;
  }
}
@keyframes maskImageNone {
  to {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.catch-wr .content {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 2;
  max-width: 400px;
}

@media (min-width:750px) {
  .catch-wr::before {
    width: min(60%, 300px);
    top: -20vh;
    left: -80px;
  }
  .catch-wr {
    flex-direction: row-reverse;
    justify-content: space-evenly;
    align-items: flex-start;
    margin: 10em auto;
    gap: 16px;
  }
  .catch-wr::after {
    width: min(60%, 300px);
    right: -80px;
    bottom: -40%;
  }
  .catch-wr .theme {
    margin: 0;
  }
  .catch-wr .content {
    font-size: 18px;
  }
  .catch-wr .theme .catch {
    font-size: 2rem;
  }
} 

@media (min-width:1000px) {
  .catch-wr .theme .catch {
    font-size: 2.25rem;
  }
}
/*-------------------------------

    ニュース

-------------------------------*/

/*---------- section ----------*/

.news {
  padding: 0 20px;
}

/*---------- ul ----------*/

.news ul {
  display: grid;
  grid-template-columns: 3fr;
  gap: 1em;
  margin: 2em 0;
}

.news ul li a {
  display: flex;
  flex-flow: row nowrap;
  text-decoration: none;
  gap: 16px;
  font-weight: 600;
  color: #000;
}

.news ul li a:visited {
    color: #000;
}
.news ul li a:hover{
    color: var(--main-color);
}

.news ul li img {
  width: 45%;
  object-fit: cover;
  aspect-ratio: 15 / 13;
  background-color: var(--sub-color-darkblue);
  padding: 10px;
}
.news ul li img.white-logo {
  background-color: var(--sub-color-darkblue);
  padding: 40px;
  object-fit: contain;
}

.news ul li .news-date {
  margin: 8px 0;
  color: var(--main-color);
}

.news ul li .news-cont {
  line-height: 1.8;
}

.news-link {
  width: 280px;
  margin: 0 auto;
  padding: 16px;
  border-radius: 30px;
  border: 1px solid var(--sub-color-ocher);
  color: var(--sub-color-ocher);
  background-color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
}

.news-link::after {
  content: '';
  background-image: url(left-arrow.svg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 30px;
  height: 15px;

}

@media (min-width:650px) {
  .news ul {
    grid-template-columns: 1fr 1fr;
  }
  .news-link {
    margin: 32px auto;
  }
}
@media (min-width:1000px) {
  .news ul {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .news ul li a {
    flex-flow: column nowrap;
    gap: 16px;
  }
  .news ul li img {
    width: 100%;
    aspect-ratio: 3 / 2;
  }
}
/*-------------------------------

    Youtube

-------------------------------*/

.youtube {
  width: 100%;
  max-width: 530px;
  padding: 0 20px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.youtube iframe {
  width: 100%;
  height: 100%;
}
/*-------------------------------

    楽しむために

-------------------------------*/
.about {
  padding: 0 20px;
}

/*---------- section ----------*/
.link-area {
    position: relative;
}

.link-area .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;;
    justify-items: center;
    gap: 0 2%;
    max-width: 300px;
    margin: 32px auto 0;
}

.link-area .container > a.item::before {
    position: absolute;
    content: '';
    width: 6px;
    height: 80px;
    top: 100%;
    left: 0;
    background: #D7B47B;
}

.link-area .container > a.item {
    background: linear-gradient(to bottom, #B7282E, #80060B);
    padding: 24px 16px;
    text-decoration: none;
    color: white;
    display: block;
    width: fit-content;
    letter-spacing: .1em;
    height: 260px;
    margin-bottom: 120px;
    position: relative;
    z-index: 10;
}


.link-area .container > a.item::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, #80060B, #B7282E);
    opacity: 0;
    transition: .2s;
    z-index: -10;
}

.link-area .container > a.item:hover::after {
    opacity: 1;
}

.link-area .container > a.item p::before {
    position: absolute;
    content: '';
    width: 150%;
    aspect-ratio: 1/1;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-size: 100%;
    background-repeat: no-repeat;
}

.link-area .container > a.item p {
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    padding-top: 48px;
    position: relative;
    height: 100%;
    box-sizing: border-box;
    width: 1em;
}

.link-area .container > a.item p::after {
    position: absolute;
    content: '';
    width: 100%;
    aspect-ratio: 2/1;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(w-arrow.svg);
    background-size: 100%;
    background-repeat: no-repeat;
}

.link-area .container a.item:nth-of-type(1) p::before {
    background-image: url(about-ico.svg);
}
.link-area .container a.item:nth-of-type(2) p::before {
    background-image: url(list-ico.svg);
}
.link-area .container a.item:nth-of-type(3) p::before {
    background-image: url(volunteer-ico.svg);
}

/*-------------------------------

    楽しむために

-------------------------------*/

/*---------- overview ----------*/
@media(min-width:1000px) {
  .about {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2em;
  }
  .overview {
    max-width: 500px;
    margin: 0;
  }
}
