h1.plans_h1, .fv_text, li, h3 {
  opacity: 0;
  transition: opacity 0.4s ease;
}

html.wf-active h1.plans_h1, html.wf-active .fv_text, html.wf-active li, html.wf-active h3 {
  opacity: 1;
}

div#header-logo img {
  width: 100%;
  height: auto;
}

div#header-logo {
  width: 200px;
}

ul {
  list-style: none;
}

.header-nav_pc ul {
  display: flex;
  height: 16px;
  width: 350px;
  justify-content: space-between;
}

.header-nav_pc ul li {
  list-style: none;
}

.header-nav_pc {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}

.burger {
  display: none;
  cursor: pointer;
  position: relative;
  z-index: 5;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--color-gold);
  margin: 5px;
  transition: 0.5s ease;
}

.header-nav_sp,
.header-nav_sp-inner {
  display: none;
}

@media only screen and (max-width: 830px) {
  .header-nav_pc {
    display: none;
  }
  .header-nav_sp {
    display: block;
    align-items: center;
    width: 90%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    position: fixed;
    opacity: 0.98;
    top: 77px;
    height: 80%;
    background-color: var(--color-logoBG);
    background-image: url(img/wajima_line_bg.png);
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center 80%;
    right: 0;
  }
  .header-nav_sp-inner ul {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 50px;
    font-size: 1.5rem;
    margin-top: 100px;
  }
  .header-nav_sp-inner {
    overflow-y: scroll;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 5px;
  }
  .header-nav_sp-inner ul li a {
    display: block;
    border-bottom: 3px solid;
  }
  .nav-active {
    transform: translateX(0%) !important;
  }
  .burger {
    display: block;
  }
  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .toggle .line2 {
    opacity: 0;
  }
  .toggle .line3 {
    transform: rotate(405deg) translate(-5px, -6px);
  }
  div#header-logo {
    width: 120px;
  }
}
h1.plans_h1 {
  color: var(--color-gold);
  font-family: var(--font-title);
  font-size: 6rem;
}

h1.plans_h1 span {
  font-size: 2rem;
  display: block;
}

.fv_text {
  position: absolute;
  color: var(--color-gold);
  font-family: var(--font-title);
  bottom: 0;
  right: 0;
  text-align: right;
}
.fv_text p:first-child {
  font-size: 3rem;
}
.fv_text p:nth-child(2) {
  font-size: 2.5rem;
}

.video-background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1;
  -o-object-fit: cover;
     object-fit: cover;
}

.video-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding-top: 10vh;
  margin: 0 auto;
  max-width: var(--container);
}

section {
  position: relative;
  width: 100%;
  margin-top: 100px;
  padding-top: 100px;
  padding-bottom: 100px;
}

section.main_title {
  height: 300px;
  margin-top: 150px;
}

.floating-h2 {
  width: 100%;
}

.floating-h2.floating {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10;
}

.floating-h2.normal {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  pointer-events: auto;
}

.floating-h2.normal::after {
  position: absolute;
  z-index: -1;
  content: "";
  bottom: -103px;
  right: 0;
  width: 50%;
  height: auto;
  aspect-ratio: 1/1;
  background-image: url(img/bg_hanabi.png);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  -webkit-animation: fadeInAfter 1s ease-in-out forwards;
          animation: fadeInAfter 1s ease-in-out forwards;
}

@-webkit-keyframes fadeInAfter {
  to {
    opacity: 1;
  }
}

@keyframes fadeInAfter {
  to {
    opacity: 1;
  }
}
.floating-h2 h2 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
  font-size: 2rem;
  color: var(--text-main);
  text-align: center;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000, -2px 0px 0 #000, 2px 0px 0 #000, 0px -2px 0 #000, 0px 2px 0 #000;
}

.floating-h2 h2.is-active {
  opacity: 1;
  transform: translateY(0);
}

@media only screen and (max-width: 1000px) {
  .video-overlay, .floating-h2, .fv_text {
    padding-right: 5%;
    padding-left: 5%;
  }
}
@media only screen and (max-width: 630px) {
  .floating-h2 h2 {
    font-size: 1.5rem;
  }
  .fv_text p:first-child {
    font-size: 2.5rem;
  }
  .fv_text p:nth-child(2) {
    font-size: 2.3rem;
  }
}
@media only screen and (max-width: 460px) {
  h1.plans_h1 {
    font-size: 5rem;
  }
  .floating-h2 h2 {
    font-size: 1.1rem;
  }
  .fv_text p:first-child {
    font-size: 2rem;
  }
  .fv_text p:nth-child(2) {
    font-size: 2rem;
  }
  section.main_title {
    height: 120px;
  }
}
@media only screen and (max-width: 370px) {
  h1.plans_h1 {
    font-size: 4rem;
  }
  .floating-h2 h2 {
    font-size: 1rem;
  }
}
.purpose_texts {
  padding-right: 5%;
  padding-left: 5%;
  color: #000;
  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: 200;
  font-style: normal;
  margin-bottom: 3%;
  padding-bottom: 5%;
  padding-top: 150px;
  position: relative;
  background-image: url(img/purpose_bg.jpg);
  background-repeat: no-repeat;
  z-index: -1;
  background-position: center 30%;
  background-size: cover;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 95%, 28% 100%, 0 100%);
          clip-path: polygon(0 0, 100% 0, 100% 95%, 28% 100%, 0 100%);
}

.purpose_texts_inner {
  max-width: var(--container);
  margin-right: auto;
  margin-left: auto;
}

.purpose_text {
  position: relative;
  margin-bottom: 100px;
  padding: 50px;
  width: 60%;
  background-color: rgba(255, 255, 255, 0.831372549);
}

.purpose_text p {
  margin-bottom: 8px;
  font-size: 13px;
}

.purpose_text:nth-of-type(3) p {
  font-size: 1rem;
}

.purpose_text p span {
  font-size: 2rem;
  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.purpose_text:nth-of-type(2) {
  margin-left: 40%;
}

.purpose_text:first-of-type:before, .purpose_text:nth-of-type(3)::before {
  top: 15px;
  right: 26px;
  position: absolute;
  content: "";
  width: 94%;
  height: 95%;
  border: 1px solid var(--color-gold);
}

.purpose_text:first-of-type:after, .purpose_text:nth-of-type(3)::after {
  bottom: 19px;
  left: 20px;
  position: absolute;
  content: "";
  width: 95%;
  height: 93%;
  border: 1px solid #ee4816;
  border: 1px solid var(--color-gold);
}

.purpose_text:nth-of-type(2):before {
  top: 9px;
  left: 10px;
  position: absolute;
  content: "";
  width: 95%;
  height: 95%;
  border: 1px solid var(--color-gold);
}

.purpose_text:nth-of-type(2):after {
  bottom: 5px;
  right: 10px;
  position: absolute;
  content: "";
  width: 95%;
  height: 95%;
  border: 1px solid #ee4816;
  border: 1px solid var(--color-gold);
}

@media only screen and (max-width: 1000px) {
  .purpose_text p {
    font-size: 12px;
  }
  .purpose_text p span {
    font-size: 1.2rem;
  }
  .purpose_text {
    padding: 5%;
  }
  .purpose_text {
    width: 100%;
  }
  .purpose_text:first-of-type:before, .purpose_text:nth-of-type(3)::before {
    right: 2%;
    top: 3%;
  }
  .purpose_text:first-of-type:after, .purpose_text:nth-of-type(3)::after {
    left: 2%;
    bottom: 5%;
  }
  .purpose_text:nth-of-type(2) {
    margin-left: 0;
  }
  .purpose_text:nth-of-type(2):before {
    left: 2%;
    top: 3%;
  }
  .purpose_text:nth-of-type(2):after {
    bottom: 4%;
    right: 1%;
  }
}
.section_inner {
  margin: 0 auto;
  padding-right: 5%;
  padding-left: 5%;
  max-width: var(--container);
  position: relative;
}

section.schedule .section_inner::before {
  content: "";
  position: absolute;
  background-image: url(img/bg_hanabi_2.png);
  background-size: contain;
  width: 50%;
  height: 30%;
  background-repeat: no-repeat;
  right: 0;
  top: -250px;
}

section.schedule .section_inner_content {
  background-color: rgba(255, 255, 255, 0.631372549);
  color: var(--color-gold);
  padding: 30px;
  background-image: url(img/bg_hanabi_3.png);
  background-position: 96% 25%;
  background-repeat: no-repeat;
  background-size: 76%;
}

.schedule_list h4 {
  font-size: 1.5rem;
  color: #ccc;
  background-color: #555;
  display: inline-block;
  padding: 5px;
  border-radius: 5px;
  margin-bottom: 8px;
}

.schedule_list p {
  font-size: 2.3rem;
  margin-bottom: 10px;
  background-color: #444;
  display: inline-block;
  padding: 10px;
  border-radius: 5px;
}

.schedule_list_text {
  border-bottom: 5px #000 solid;
}

.schedule_list_text span {
  font-size: 3rem;
}

.schedule_list {
  margin-bottom: 80px;
}

.schedule_list_content {
  margin-top: 50px;
  max-width: 600px;
}

.schedule_list_content iframe {
  aspect-ratio: 4/3;
}

.schedule_list_text a {
  color: inherit;
  text-decoration: underline;
}

@media only screen and (max-width: 830px) {
  .schedule_list:last-of-type p {
    font-size: 1.4rem;
  }
  section.schedule .section_inner_content {
    padding: 3%;
  }
  .schedule_list_text span {
    font-size: 2.8rem;
  }
  .schedule_list p {
    font-size: 2.2rem;
  }
}
@media only screen and (max-width: 530px) {
  .schedule_list h4 {
    font-size: 1.5rem;
  }
  .schedule_list p {
    font-size: 1.7rem;
  }
  .schedule_list_text span {
    font-size: 2.4rem;
  }
  .schedule_list:last-of-type p {
    font-size: 1rem;
  }
}
@media only screen and (max-width: 430px) {
  .schedule_list_text span {
    font-size: 2rem;
  }
}
@media only screen and (max-width: 380px) {
  .schedule_list_text span {
    font-size: 1.6rem;
  }
  .schedule_list:last-of-type p {
    font-size: 0.9rem;
  }
}
section#about_us {
  background: linear-gradient(275deg, #f8e100, #b64572);
}

section#about_us h3 img {
  width: 200px;
}

section h3 {
  font-size: 2.5rem;
}

.about_text {
  background-color: #ffffff;
  margin-bottom: 50px;
  padding: 50px;
  color: #000;
  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 1.2rem;
}

.about_text a {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.about_text img {
  width: 50px;
}

.about_slideshow_wrapper {
  background-color: rgba(255, 255, 255, 0.3019607843);
  padding-top: 20px;
  padding-bottom: 30px;
}

.about_slideshow {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: auto;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about_slideshow .slide {
  position: absolute;
  width: 90%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  -webkit-animation: aboutFade 25s infinite;
          animation: aboutFade 25s infinite;
}

.about_slideshow .slide:nth-child(1) {
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
.about_slideshow .slide:nth-child(2) {
  -webkit-animation-delay: 5s;
          animation-delay: 5s;
}
.about_slideshow .slide:nth-child(3) {
  -webkit-animation-delay: 10s;
          animation-delay: 10s;
}
.about_slideshow .slide:nth-child(4) {
  -webkit-animation-delay: 15s;
          animation-delay: 15s;
}
.about_slideshow .slide:nth-child(5) {
  -webkit-animation-delay: 20s;
          animation-delay: 20s;
}

@-webkit-keyframes aboutFade {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes aboutFade {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@media only screen and (max-width: 860px) {
  .about_slideshow {
    width: 80%;
  }
}
section#donation {
  background-image: url(img/about_bg.jpg);
  background-size: 96%;
}

section#donation .section_inner {
  padding-top: 100px;
}
section#donation .section_inner .section_inner_content {
  background-color: rgba(4, 4, 4, 0.7607843137);
  color: #ffffff;
  margin-top: 100px;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
          clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
  padding: 30px;
  padding-bottom: 80px;
}
section#donation .section_inner .section_inner_content h3 {
  margin-bottom: 50px;
}
section#donation .section_inner .section_inner_content p {
  font-size: 1.5rem;
  margin-bottom: 50px;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000, -2px 0px 0 #000, 2px 0px 0 #000, 0px -2px 0 #000, 0px 2px 0 #000;
}
section#donation .section_inner .section_inner_content ul {
  font-size: 1.3rem;
  margin-top: 50px;
}

section#donation .section_inner .section_inner_content:last-of-type {
  color: #fff;
  background-color: rgba(4, 4, 4, 0.8784313725);
  background-image: url(img/wajima_line_bg.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  font-size: 1.8rem;
  -webkit-clip-path: initial;
          clip-path: initial;
  display: flex;
  justify-content: center;
  padding: 50px;
  padding-bottom: 250px;
}

@media only screen and (max-width: 1000px) {
  section#donation .section_inner .section_inner_content {
    padding: 3%;
  }
  section#donation .section_inner .section_inner_content:last-of-type {
    padding: 5%;
    padding-bottom: 136px;
  }
  section#donation {
    background-size: 150%;
  }
}
section#donation ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
section#donation ul li {
  display: flex;
  align-items: center;
}

.donation_address {
  border: 1px solid rgba(255, 255, 255, 0.5294117647);
  width: 80%;
}

.donation_text {
  font-size: 1.8rem;
}

@media only screen and (max-width: 460px) {
  .donation_address {
    width: 100%;
  }
}
@media only screen and (max-width: 374px) {
  .donation_text {
    font-size: 1.6rem;
  }
}
.donation_fixed-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: var(--gradientLogo);
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background 0.5s;
}

.donation_fixed-button:hover {
  background: var(--gradientLogoRe);
}

footer#footer small {
  color: #000;
  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: lighter;
}
/*# sourceMappingURL=style_wajima.css.map */